/* styles.css */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.font-instrument {
    font-family: 'Instrument Serif', serif;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    transition: all 0.5s;
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 3rem;
}

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

nav img {
    height: 68px;
    width: auto;
}

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

nav .nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

nav .nav-links a:hover {
    color: #fff;
}

.btn {
    padding: 0.75rem 2rem;
    border: 1px solid #c9a962;
    color: #c9a962;
    background: transparent;
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn:hover {
    background: #c9a962;
    color: #000;
}

.btn-primary {
    background: #c9a962;
    color: #000;
    border: none;
}

.btn-primary:hover {
    background: #d4b877;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 25%;
    right: 0;
    width: 400px;
    height: 400px;
    background: rgba(201, 169, 98, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 25%;
    left: 0;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    padding: 0 3rem;
}

.hero-subtitle {
    color: #c9a962;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero h1 span {
    font-style: italic;
    opacity: 0.9;
}

.hero-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 8rem 3rem;
}

.section-alt {
    background: #0a0a0a;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    color: #c9a962;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.5s;
}

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

.service-icon {
    width: 32px;
    height: 32px;
    color: #c9a962;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    line-height: 1.8;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-content {
    space-y: 2rem;
}

.about-content h2 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about-content h2 span {
    font-style: italic;
}

.about-text {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 2.5rem;
    color: #c9a962;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.about-image {
    position: relative;
    aspect-ratio: 4/5;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 169, 98, 0.2);
}

.about-image img {
    position: absolute;
    inset: 1rem;
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.7s;
}

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

/* Philosophy Section */
.philosophy-quote {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
}

.philosophy-quote h2 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-style: italic;
    line-height: 1.4;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.philosophy-item {
    background: #0a0a0a;
    padding: 3rem;
}

.philosophy-item .number {
    color: #c9a962;
    font-family: 'Instrument Serif', serif;
    font-size: 3rem;
    display: block;
    margin-bottom: 1.5rem;
}

.philosophy-item h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.philosophy-item p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

/* CTA Section */
.cta {
    text-align: center;
    background: linear-gradient(to bottom, #0a0a0a, #000);
}

.cta h2 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.cta h2 span {
    font-style: italic;
    color: #c9a962;
}

.cta-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Footer */
footer {
    padding: 5rem 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    grid-column: span 2;
}

.footer-brand img {
    height: 58px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    max-width: 400px;
    line-height: 1.8;
}

.footer-section h4 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: #c9a962;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
}

/* Responsive - general */
@media (max-width: 768px) {
    section {
        padding: 4rem 1.5rem;
    }

    .about-grid,
    .footer-brand {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }

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

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ────────────────────────────────────────
   Hamburger Menu
───────────────────────────────────────── */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1101;
    padding: 0;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #c9a962;
    border-radius: 2px;
    transition: all 0.35s ease;
}

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

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

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

/* ────────────────────────────────────────
   Mobile Menu
───────────────────────────────────────── */

@media (max-width: 780px) {

    .hamburger {
        display: flex;
    }

    nav .nav-links {
        /* Reset for mobile – we control visibility via .active class */
        display: flex;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: transform 0.4s ease;
        transform: translateX(100%);
        z-index: 1000;
        padding: calc(5.5rem + env(safe-area-inset-top, 0px)) 2rem 4rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    nav .nav-links.active {
        transform: translateX(0);
    }

    nav .nav-links a {
        font-size: 1.3rem;
        color: rgba(255, 255, 255, 0.9);
    }

    nav .nav-links a.btn {
        margin-top: 1.5rem;
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    nav {
        padding: 1.2rem 1.8rem;
    }

    nav.scrolled {
        padding: 0.9rem 1.8rem;
    }

    /* Optional: slightly smaller logo on small screens */
    nav img {
        height: 60px;
    }
}
