:root{
	--darkpink:#E94E77;
	--lighttan:#EEEBE6;
	--rose:#D68189;
	--tan:#C6A49A;
	--bluegreen:#C6E5D9;
	--ivory:#E3CFB4;
}

/* ========================= */
/* OVERALL */
/* ========================= */
body{
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 18px;
	margin:0;
}

img {
	max-width:100%;
	display: block;
}

h1{
	font-family: 'Aubrey', cursive;
	font-weight: 800;
	font-size:48px;
	text-transform: capitalize;
	text-align:center;
	margin-bottom: 20px;
}

p{
	font-size:18px;
}


/* ========================= */
/* HEADER */
/* ========================= */
main {
	margin-top: 120px;
}
header{
	background-color:white;
	padding:20px 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position:fixed;
	width: 100%;
	box-sizing: border-box;
	top: 0;
	left: 0;
	z-index: 1;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

#logo-container{
	width: auto;
	max-width: 100%;
}

header.dark{
	background-color: white;
}

header img.dark-version{
	display: none;
}

header.dark img.light-version{
	display: inherit;
}

nav ul {
	display:flex;
	padding-right:30px;
	margin: 0;
}

header nav ul li {
	list-style: none;
	margin-left: 20px;
}

header nav ul li a {
	background-color: var(--rose);
	color:white;
	padding: 15px 20px;
	border-radius:10px;
	transition: background-color .3s, transform .2s;
	text-transform: uppercase;
	text-decoration: none;
}

header nav ul li a:hover {
	background-color: var(--darkpink);
	transform: translateY(-5px);
}

/* ========================= */
/* SECTIONS */
/* ========================= */

.section {
	width: 100%;
	padding: 90px 30px;
}

.main-container{
	max-width: 1100px;
	margin: 0 auto;
}

.bgcolor{
	background-color: var(--lighttan);
}

h2.section-title{
	text-align: center;
	letter-spacing: 25px;
	font-size: 30px;
	font-weight: 400;
	text-transform: uppercase;
	margin-bottom: 15px;
}

.section-subtitle{
	text-align: center;
	margin-bottom: 22px;
	color: #555;
}

section:not(.section) .main-container p {
	margin-top: 70px;
	margin-bottom: 70px;
}

.map-section {
    width: 100%;
    height: 450px;
    margin-top: 120px; /* Adjust based on your header height */
    padding: 0;
}

.map-section iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

/* ========================= */
/* HOME PAGE ONLY */
/* ========================= */

/**FEATURED LESSONS **/
.featured-container{
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-top: 40px;
}

.featured-desc {
	flex:1;
}

.featured-text {
	display: flex;
	justify-content: space-between;
	gap: 40px;
}
.featured-img img  {
	width: 100%;
}

.featured-cta {
	margin-top: 30px;
	margin-left: 30px;
	flex: 0 0 350px;
	background-color: var(--tan);
	padding: 30px;
	text-align: center;
	color: white;
	border-radius: 10px;
	align-self: flex-start;
}

.featured-cta sup{
	font-size: 18px;
}

.price{
	background-color: #E3CFB4;
	text-align: center;
	width: 100px;
	height: 100px;
	margin: 0 auto;
	border: 3px solid white;
	border-radius: 50%;
	font-size: 40px;
}

.price span{
	display: inline-block;
	margin-top: 25px;
	color: #E94E77;
}

a.button{
	background-color: #E94E77;
	padding: 10px 20px;
	color: white;
	border-radius: 10px;
	cursor: pointer;
	display: inline-block;
	transition: background-color .3s, transform .2s;
}

a.button:hover{
	background-color: black;
	transform: translateY(-3px);
}

/** MASTERCLASS LESSONS **/
.card-container{
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: nowrap;
}

.lesson-card {
	background: white;
	border-radius: 16px;
	padding: 10px 12px 2px;
	text-align: center;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	flex: 0 0 23%;
	box-sizing: border-box;

	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.lesson-card h3 {
	margin: 6px 0 9px;
	font-size: 18px;
}

.lesson-card img{
	width: 100%;
	height: 180px;
	border-radius: 14px;
	margin-bottom: 10px;
}

.lesson-card p.lesson-description {
	text-align: left;
	font-size: 15px;
	line-height: 1.1;
	color: #333;
	margin-bottom: 12px;
}

.lesson-card p.lesson-description::after {
	content: "";
	display: block;
	margin-top: 8px;
}

.skill-level {
	margin-top: 2px;
	text-align: left;
}

.skill-level .skill {
	font-size: 25px;
	font-weight: bold;
	color: white;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: var(--darkpink);
	padding: 15px 20px;
	border-radius: 12px;
	line-height: 1.1;
}

.skill-level small{
	font-size: 15px;
	font-weight: 500;
	margin-top: 2px;
	color: black;
}

/* ========================= */
/* CARD GRIDS (ABOUT & LESSONS) */
/* ========================= */
.about-content .card-container{
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
}

.about-content .lesson-card {
	flex: 0 0 calc(25% - 30px);
	background: #EAD6BC;
	border-radius: 8px;
	padding: 15px;
	text-align: center;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.about-content .lesson-card img{
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 10px;
}

.about-content .lesson-card h3 {
	margin: 6px 0;
	font-size: 16px;
}

/** ENROLL BUTTON **/
.about-content .enroll{
	background-color: var(--darkpink);
	color: white;
	padding: 8px 18px;
	border-radius: 8px;
	display: inline-block;
	margin: 10px auto 0;
	cursor: pointer;
	transition: background-color .3s, transform ,2s;
}

.about-content .enroll:hover{
	background-color: black;
	transform: translateY(-3px);
}

/** VIDEO LESSONS **/
.video-card {
	display: flex;
	flex-direction: column;
}

.bgcolor .lesson-card{
	flex: 0 0 calc(33.333% - 30px);
	background: white;
	border-radius: 8px;
	padding: 15px;
	text-align: center;
}

.bgcolor iframe{
	width: 100%;
	height: 180px;
	border-radius: 12px;
}

.video-card h3 {
	font-size: 20px;
    margin-top: 15px;  
}

/* ========================= */
/* PAGE TITLES */
/* ========================= */
section.page-title {
  background-image: url("../images/bg_tile.png");
  background-repeat: repeat;
  background-color: var(--tan);
  height: 120px;
  margin-top: 180px;

  display: flex;
  justify-content: flex-start;   
  align-items: center;
  padding-left: 40px;             
}

section.page-title h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 72px;
  font-weight: 500;
  color: white;
  margin: 0;
  text-align: left;
}

/* ========================= */
/* ABOUT US PAGE */
/* ========================= */
.masters-container{
	display: flex;
	justify-content: center;
	gap: 120px;
	margin-top: 40px;
}

.masters-content{
	text-align: center;
}

.about-content h3 {
	margin-bottom: 3px;
	font-size: 18px;
}

.about-content small{
	display: block;
	margin-top: 0;
	font-size: 14px;
	color: #555;
}

.masters-content img{
	width: 280px;
	height: 280px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 15px;
}

.schoolmasters-container{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 50px;
	gap: 120px
}

.headmaster {
	width: 320px;
	text-align: center;
}

.headmaster img {
	width: 100%;
	border-radius: 20px;
	margin-bottom: 15px;
}

.lessonmasters {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	text-align: center;
}

.lessonmaster-content{
	text-align: center;
}

.lessonmaster-content img{
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius:50%;
	border: 6px solid var(--lighttan);
	margin-bottom: 10px;
}

.lessonmaster-content img:hover{
	border: 6px solid var(--darkpink);
}

/* =========================
   CONTACT PAGE 
========================= */

.contact-container {
    display: flex;
    justify-content: center; 
    align-items: flex-start;
    gap: 100px;             
    max-width: 1100px;
    margin: 80px auto; 
    padding: 0 20px;
}

.contact-form {
    width: 600px; 
}

.contact-form h2 {
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

/* Standard Labels  */
.contact-form label:not(.row-label):not(.radio-group label):not(.checkbox-group label) {
    display: inline-block;
    width: 120px;      /* Fixed column width */
    font-weight: 500;
    margin-top: 15px;
    vertical-align: top;
}

/* Standards */
.contact-form input:not([type="radio"]):not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
    display: inline-block;
    width: 400px;       /* Keeps inputs from stretching full-width */
    background: #F0EEEB;
    border-radius: 8px;
    border: none;
    padding: 12px;
    margin-bottom: 12px;
    font-family: inherit;
}

/* Skill Level & Interests */
.form-row {
    display: flex;
    align-items: flex-start;
    margin: 15px 0;
}

.row-label {
    width: 120px;       
    flex-shrink: 0;
    font-weight: 500;
}

.radio-group, .checkbox-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.checkbox-group {
    flex-direction: column; 
    gap: 8px;
}

/* 4. Send Button */
.contact-form button {
    margin-left: 120px;  
    background: var(--rose);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: var(--darkpink);
}

/* RIGHT SIDE */
.contact-info {
    width: 300px;
    text-align: left;
}

.contact-info h2 {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 0;      
}

.contact-info p {
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons img {
    width: 30px;
    filter: grayscale(100%); 
    opacity: 0.7;
}

/* ========================= */
/* FOOTER */
/* ========================= */
footer{
	text-transform: capitalize;
	font-size: 12px;
	width: 100%;
	padding: 20px;
	background-color:var(--tan);

	display: flex;
	justify-content: space-between;
	align-items: center;
}

footer img{
	width:200px;
	margin-right:10px;
}

footer p{
	font-size:12px;
	margin-left:auto;
}

/* social icons */
.social-icons {
  display: flex;
  justify-content: flex-start;
  align-items: left;
}

.social-icons a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: left;
}

.social-icons img {
  width: 30px;
}

/* ========================= */
/* MOBILE VERSION */
/* ========================= */
@media (max-width: 768px) {

/* ===== GLOBAL ===== */
  body {
    margin: 0;
  }

  section {
    padding: 15px;
    max-width: 340px;
    margin: 0 auto;
  }

  h1 {
    font-size: 28px;
    max-width: 260px;
    margin: 0 auto 15px;
    text-align: center;
    line-height: 1.2;
  }

  h2.section-title {
    font-size: 22px;
    letter-spacing: 4px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 12px;
  }

  p {
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
    max-width: 280px;
    margin: 0 auto 16px;
  }
  
  ol, li {
    font-size: 12px;
    line-height: 1.4;
  }

  main {
    margin-top: 95px;
  }

/* ===== HEADER ===== */
  header {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

/* ===== LOGO CONTAINER ===== */
  #logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* hide dark logo */
  #logo-container img.dark-version {
    display: none;
  }

  /* BIGGER flower logo */
  #logo-container img.light-version {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 8px;
  }

/* ===== NAVIGATION ===== */
  header nav {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  header nav ul {
    display: flex;
    justify-content: center;
    margin: 0;
    gap: 6px;
  }
  
  header nav ul li {
    margin: 0;
  }
  
  header nav ul li a {
    padding: 10px 14px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

/* ===== LOGO CONTAINER ===== */
  .featured-container,
  .card-container {
    flex-direction: column;
    gap: 15px;
  }

  .featured-text {
    flex-direction: column;
  }

  .featured-container img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
  }
  
 .skill-level {
    align-self: flex-start;
    margin-left: 0;
    margin-right: 0;;
  }

  /* ENROLL CARD MOBILE FIX */
.featured-cta {
    margin-left: 0;
    align-self: center;          
    max-width: 320px;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .featured-cta p {
    max-width: 260px;
    text-align: center;
  }

  .price {
    width: 130px;                
    height: 130px;
    display: flex;               
    justify-content: center;
    align-items: center;
    margin: 20px auto;
  }

  .price span {
    display: flex;               
    align-items: baseline;
    margin-top: 0;               
  }

  .button {
    margin-top: 15px;
  }
  
  /* ===== LESSONS PAGE ===== */
  .bgcolor .lesson-card {
    flex: 1 1 100%;
  }

  iframe {
    width: 100%;
    height: 180px;
  }
  
  section.page-title {
  height: auto;
  padding: 30px 15px;
  margin-top: 120px;

  display: flex;
  justify-content: center;   /* center ONLY on mobile */
  align-items: center;
  width: 100%;
}

section.page-title h1 {
  font-size: 36px;
  margin: 0;
  text-align: center;
  padding-left: 0;
}

  /* ===== ABOUT PAGE ===== */
  .masters-container,
  .schoolmasters-container {
    flex-direction: column;
    gap: 20px;
  }

  .masters-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .masters-content img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
  }

  .lessonmasters {
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
  }

  .lessonmaster-content img {
    width: 120px; 
    height: 120px;
    object-fit: cover;
  }

  .lessonmaster-content h3 {
    font-size: 16px;
  }

  .lessonmaster-content small {
    font-size: 13px;
  }
}
  
  .headmaster,
  .lessonmaster-content {
    text-align: center;
  }

 /* ===== CONTACT PAGE ===== */

.map-section {
        height: 250px !important; 
        margin-top: 95px;         /* Matches your mobile header spacing */
    }

    .map-section iframe {
        height: 250px !important; /* Ensures the actual map matches the container */
    }

.contact-section {
        padding: 30px 20px;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .contact-form, .contact-info {
        width: 100%;
    }

    /* Stack labels on top of inputs for mobile */
    .contact-form label:not(.row-label) {
        width: 100%;
        display: block;
        margin-bottom: 5px;
    }

    .contact-form input:not([type="radio"]):not([type="checkbox"]),
    .contact-form select,
    .contact-form textarea {
        width: 100%;
        display: block;
    }

    .form-row {
        flex-direction: row; 
    }

    .row-label {
        width: 90px;
        font-size: 14px;
    }

    .contact-form button {
        margin-left: 0;
        width: 100px; 
    }

    /* HQ Section  */
    .contact-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;   
        text-align: center;     
    }

    .contact-info p {
        text-align: center;
        width: 100%;            
        margin: 0 auto 15px;    
    }

    .social-icons {
        display: flex;
        justify-content: center; 
        width: 100%;
    }

    .contact-form input:not([type="radio"]):not([type="checkbox"]),
    .contact-form select,
    .contact-form textarea {
        width: 100%; 
        display: block;
    }

    .contact-form label:not(.row-label) {
        width: 100%;
        display: block;
    }

    .contact-form button {
        margin-left: 0; 
    }

  /* ===== FOOTER ===== */
  footer {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 10px;
  }

  footer img {
    width: 200px;
    text-align: center;
    margin-top: 8px;
  }

  footer p {
    font-size: 10px;
    text-align: center;
  }
}

