/* ===========================
   Amanda.Yoga — Stylesheet
   =========================== */

:root {
    --cream: #F9F5F0;
    --warm-white: #FDFAF7;
    --brown: #8B6E55;
    --brown-dark: #6B5040;
    --brown-light: #C4A882;
    --sage: #7A8C6E;
    --sage-light: #A8B89A;
    --charcoal: #2C2420;
    --text: #3D302A;
    --text-muted: #7A6B60;
    --border: rgba(139, 110, 85, 0.15);
    --shadow: 0 4px 30px rgba(44, 36, 32, 0.08);
    --shadow-lg: 0 12px 60px rgba(44, 36, 32, 0.12);
    --radius: 12px;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Jost', system-ui, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--warm-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================
   Navigation
   =========================== */
#nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
}

#nav.scrolled {
    background: rgba(253, 250, 247, 0.96);
    backdrop-filter: blur(14px);
    padding: 0.85rem 0;
    box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

#nav.scrolled .nav-logo { color: var(--charcoal); }

.nav-logo span { color: var(--brown-light); }
#nav.scrolled .nav-logo span { color: var(--brown); }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
}

#nav.scrolled .nav-links a { color: var(--text-muted); }

.nav-links a:hover { color: white; }
#nav.scrolled .nav-links a:hover { color: var(--charcoal); }

.nav-hamburger span { background: white; transition: background 0.3s; }
#nav.scrolled .nav-hamburger span { background: var(--charcoal); }

.nav-cta {
    background: var(--brown) !important;
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 100px;
    text-transform: uppercase;
    transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--brown-dark) !important; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    width: 24px;
    height: 1.5px;
    background: var(--charcoal);
    display: block;
    transition: var(--transition);
}

/* ===========================
   Mobile Menu
   =========================== */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--warm-white);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--charcoal);
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 0.9rem 2.25rem;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brown);
    color: white;
}

.btn-primary:hover {
    background: var(--brown-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(139, 110, 85, 0.35);
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-full { width: 100%; text-align: center; }

.btn-small {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--brown);
    color: white;
    border-radius: 100px;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    transition: background 0.2s;
}

.btn-small:hover { background: var(--brown-dark); }

/* ===========================
   Section Utilities
   =========================== */
.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brown);
    display: block;
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
}

h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
}

h2 em {
    font-style: italic;
    color: var(--brown);
}

h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

/* ===========================
   Hero
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--charcoal);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brown-light);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 300;
    color: white;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
}

.hero h1 .dot { color: var(--brown-light); }

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-style: italic;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 0.8s 1.2s forwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   About
   =========================== */
.about {
    padding: 8rem 0;
    background: var(--warm-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    background: var(--cream);
    border-radius: var(--radius);
    aspect-ratio: 3/4;
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--brown);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    opacity: 0.85;
    text-transform: uppercase;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1.025rem;
}

.about-credentials {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text);
}

.cred-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(139, 110, 85, 0.12);
    color: var(--brown);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ===========================
   Classes
   =========================== */
.classes {
    padding: 8rem 0;
    background: var(--cream);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.class-card {
    background: var(--warm-white);
    border-radius: var(--radius);
    padding: 2.25rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.class-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(139,110,85,0.3);
}

.class-card.featured {
    background: var(--charcoal);
    color: white;
    border-color: var(--charcoal);
}

.class-card.featured h3 { color: white; }
.class-card.featured p { color: rgba(255,255,255,0.65); }
.class-card.featured .class-details li { color: rgba(255,255,255,0.75); }
.class-card.featured .class-details li::before { background: var(--brown-light); }
.class-card.featured .class-link { color: var(--brown-light); }

.class-badge-featured {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--brown);
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
}

.class-icon {
    width: 48px;
    height: 48px;
    color: var(--brown);
    margin-bottom: 1.25rem;
}

.class-card.featured .class-icon { color: var(--brown-light); }

.class-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.class-details {
    list-style: none;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.class-details li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
}

.class-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brown-light);
}

.class-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brown);
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.class-link:hover { color: var(--brown-dark); }

/* ===========================
   Philosophy Quote
   =========================== */
.philosophy {
    padding: 7rem 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.philosophy-bg {
    position: absolute;
    inset: 0;
}

.philosophy-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(0.35);
}

.philosophy blockquote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.philosophy blockquote p {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3.5vw, 2.25rem);
    font-style: italic;
    font-weight: 300;
    color: white;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.philosophy blockquote cite {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}

/* ===========================
   Gallery
   =========================== */
.gallery {
    padding: 8rem 0 0;
    background: var(--warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 6px;
    margin-top: 3rem;
}

.gallery-item {
    overflow: hidden;
    background: var(--cream);
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img { transform: scale(1.05); }

/* ===========================
   Videos
   =========================== */
.videos-section {
    padding: 8rem 0;
    background: var(--cream);
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.video-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--charcoal);
    box-shadow: var(--shadow-lg);
}

.video-wrap video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .gallery-item.wide { grid-column: span 2; }
    .videos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}

/* ===========================
   Schedule
   =========================== */
.schedule {
    padding: 8rem 0;
    background: var(--warm-white);
}

.schedule-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.schedule-table th {
    background: var(--cream);
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.schedule-table td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    vertical-align: middle;
}

.schedule-table tr:last-child td { border-bottom: none; }

.schedule-table tr:hover td { background: var(--cream); }

.schedule-table .day {
    font-weight: 500;
    color: var(--charcoal);
}

.schedule-table .time {
    color: var(--brown);
    font-weight: 500;
    white-space: nowrap;
}

.level {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.level.all { background: rgba(122,140,110,0.12); color: var(--sage); }
.level.beginner { background: rgba(139,110,85,0.1); color: var(--brown); }
.level.intermediate { background: rgba(44,36,32,0.08); color: var(--charcoal); }

.online-badge {
    font-size: 0.7rem;
    background: rgba(122,140,110,0.15);
    color: var(--sage);
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    margin-left: 0.5rem;
    font-weight: 500;
    vertical-align: middle;
}

/* ===========================
   Testimonials
   =========================== */
.testimonials {
    padding: 8rem 0;
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--warm-white);
    border-radius: var(--radius);
    padding: 2.25rem;
    border: 1px solid var(--border);
}

.stars {
    color: var(--brown-light);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brown);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--charcoal);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===========================
   Contact
   =========================== */
.contact {
    padding: 8rem 0;
    background: var(--warm-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 6rem;
    align-items: start;
}

.contact-info h2 { margin-bottom: 1.25rem; }

.contact-info > p {
    color: var(--text-muted);
    font-size: 1.025rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-icon {
    font-size: 1.1rem;
    color: var(--brown);
    width: 24px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 0.875rem;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--brown);
    color: var(--brown);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Form */
.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(139, 110, 85, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.875rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--charcoal);
    padding: 5rem 0 2rem;
    color: rgba(255,255,255,0.6);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2rem;
}

.footer-brand .nav-logo {
    color: white;
    font-size: 1.4rem;
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.footer-made {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.3);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-image { max-width: 380px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .hero h1 { font-size: clamp(3.5rem, 16vw, 6rem); }

    .classes-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

    section { padding: 5rem 0 !important; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .contact-form-wrap { padding: 1.5rem; }
}
