/* ============================================
   MAGGY STARK — Premium Founder Website
   Palette: #0a0a0a, #f5f0eb, #c9a96e
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --cream: #f5f0eb;
    --gold: #c9a96e;
    --gold-light: #d4b87a;
    --gray: #888;
    --gray-dark: #1a1a1a;
    --gray-medium: #2a2a2a;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--black);
    color: var(--cream);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 35px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
    opacity: 0.8;
}

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

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link--cta {
    border: 1px solid var(--gold);
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--gold);
    color: var(--black);
}

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

.nav-toggle span {
    display: block;
    width: 25px;
    height: 1.5px;
    background: var(--cream);
    transition: all 0.3s ease;
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.7) 50%, var(--black) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-intro {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 1.5rem;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.hero-discover {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(201, 169, 110, 0.3);
    padding-bottom: 0.3rem;
}

.hero-discover:hover {
    border-bottom-color: var(--gold);
}

.hero-discover svg {
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* --- Fade In Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-delay-1 { animation-delay: 0.3s; }
.fade-delay-2 { animation-delay: 0.6s; }
.fade-delay-3 { animation-delay: 0.9s; }
.fade-delay-4 { animation-delay: 1.2s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Reveal on Scroll --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Sections --- */
.section {
    padding: 8rem 0;
}

.section--dark {
    background: var(--gray-dark);
}

.section-label {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-label.center,
.section-title.center {
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 3rem;
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    border: 1px solid rgba(201, 169, 110, 0.2);
    filter: grayscale(15%);
    transition: filter 0.5s ease;
}

.about-image img:hover {
    filter: grayscale(0%);
}

.about-image {
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201, 169, 110, 0.1);
    pointer-events: none;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: rgba(245, 240, 235, 0.85);
}

.quote-highlight {
    border-left: 2px solid var(--gold);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--cream) !important;
}

.signature-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem !important;
    color: var(--gold) !important;
    margin-top: 2rem;
    line-height: 1.6;
}

.signature-text em {
    font-style: italic;
}

/* --- Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid rgba(201, 169, 110, 0.15);
    transition: border-color 0.3s ease;
}

.stat-card:hover {
    border-color: var(--gold);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--gold);
    display: inline;
}

.stat-plus {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
}

.stat-icon {
    margin-bottom: 1rem;
    color: var(--gold);
    display: flex;
    justify-content: center;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(245, 240, 235, 0.7);
    margin-top: 1rem;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

/* --- Pillars --- */
.section--approach {
    background: var(--black);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.pillar-card {
    padding: 3rem 2rem;
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: rgba(201, 169, 110, 0.2);
    margin-bottom: 1rem;
}

.pillar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--cream);
}

.pillar-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 1.5rem;
}

.pillar-text {
    font-size: 0.95rem;
    color: rgba(245, 240, 235, 0.7);
    line-height: 1.8;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 110, 0.1);
    transition: border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(201, 169, 110, 0.3);
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: rgba(245, 240, 235, 0.8);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
}

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

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    opacity: 0.5;
}

.testimonial-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--gray);
}

/* --- CTA --- */
.section--cta {
    padding: 10rem 0;
    text-align: center;
    position: relative;
    background: var(--black);
    overflow: hidden;
}

.cta-image {
    position: absolute;
    right: -5%;
    bottom: 0;
    width: 35%;
    max-width: 400px;
    opacity: 0.15;
    z-index: 0;
}

.cta-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.section--cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.05) 0%, transparent 60%);
}

.cta-content {
    position: relative;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(245, 240, 235, 0.7);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.cta-button:hover {
    background: var(--gold);
    color: var(--black);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(5px);
}

/* --- Footer --- */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--gray);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .pillars-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .section {
        padding: 5rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 2rem auto 0;
    }

    .hero-scroll {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
