/* ==== PREMIUM DARK EDITORIAL DESIGN TOKENS ==== */
:root {
    --bg-color: #F5F3EF;
    /* Cream / Off-white from Stitch */
    --surface-color: #FFFFFF;
    /* White for cards */
    --text-primary: #1A1A1A;
    /* Charcoal */
    --text-secondary: #555555;
    /* Muted gray for descriptions */
    --gold: #A67C52;
    /* Muted Gold from Stitch */
    --gold-hover: #8a6540;
    --gold-muted: rgba(166, 124, 82, 0.15);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-script: 'Great Vibes', cursive;

    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;

    --container-width: 1400px;
}

/* ==== RESET & BASE ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* ==== TYPOGRAPHY ==== */
.branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold);
    padding: 2px;
}

.script-logo {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.large-script {
    font-size: 4rem;
}

.script-accent {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--gold);
    display: block;
    margin-bottom: -15px;
    position: relative;
    z-index: 1;
}

/* ==== BUTTONS & LINKS ==== */
.btn-solid {
    background-color: var(--gold);
    color: #FFFFFF;
    padding: 16px 36px;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-block;
    border: 1px solid var(--gold);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-slow);
}

.btn-solid::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    transition: var(--transition-slow);
}

.btn-solid:hover::before {
    left: 0;
}

.btn-solid:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    padding: 16px 36px;
    border-radius: 0;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-block;
    border: 1px solid var(--gold);
    position: relative;
    transition: var(--transition-slow);
}

.btn-outline:hover {
    border-color: var(--gold);
    background: var(--gold-muted);
}

.link-arrow {
    font-family: var(--font-heading);
    color: var(--gold);
    font-style: italic;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-arrow i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.link-arrow:hover i {
    transform: translateX(8px);
}

/* ==== NAVIGATION ==== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(245, 243, 239, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-slow);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links li a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    color: var(--text-primary);
    opacity: 0.8;
    position: relative;
}

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

.nav-links li a:hover {
    opacity: 1;
    color: var(--gold);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a.active {
    color: var(--gold);
    opacity: 1;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ==== HERO SECTION ==== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 25s infinite alternate;
    filter: brightness(0.6);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.1) 0%, rgba(10, 10, 10, 0.8) 100%);
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-content {
    max-width: 900px;
    margin-top: 60px;
    z-index: 2;
    color: #FFFFFF;
}

.sub-headline {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    color: var(--gold);
    font-weight: 500;
}

.headline {
    font-size: 6.5rem;
    line-height: 1.05;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.headline i {
    font-family: var(--font-script);
    color: var(--gold);
    font-weight: normal;
    font-size: 7.5rem;
    margin-left: -15px;
}

.hero-desc {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 50px;
    color: #FFFFFF;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.hero-cta .btn-outline {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.hero-cta .btn-outline:hover {
    background: #FFFFFF;
    color: var(--text-primary);
}

/* ==== SECTION LAYOUTS ==== */
.section-padding {
    padding: 150px 5%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-top: 10px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 25px auto 0;
    color: var(--text-secondary);
}

/* ==== ABOUT PREVIEW ==== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    height: 700px;
    width: 100%;
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition-slow);
}

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

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gold);
    color: #000;
    padding: 40px;
    border-radius: 50%;
    text-align: center;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 10px solid var(--bg-color);
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 5px;
}

.about-content h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

/* ==== EXPERTISE GRID ==== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.expertise-card {
    background: var(--surface-color);
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

.expertise-card:hover {
    transform: translateY(-10px);
    background: var(--surface-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.card-num {
    font-family: var(--font-script);
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
    transition: var(--transition-slow);
}

.expertise-card:hover .card-num {
    color: var(--gold-muted);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 35px;
}

.expertise-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.expertise-card p {
    color: var(--text-secondary);
    margin-bottom: 35px;
}

/* ==== PORTFOLIO SLIDER PREVIEW ==== */
.portfolio-preview {
    background: var(--surface-color);
    position: relative;
}

.portfolio-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.portfolio-text-side {
    flex: 0 0 35%;
    padding-left: 5%;
}

.portfolio-text-side h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.portfolio-text-side p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.portfolio-carousel {
    flex: 1;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 100px 5% 100px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--bg-color);
}

.portfolio-item {
    flex: 0 0 450px;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(30%);
}

.portfolio-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.portfolio-item:hover .item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.item-overlay h4 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.item-category {
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==== FOOTER ==== */
footer {
    padding: 100px 5% 40px;
    background: var(--surface-color);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    max-width: var(--container-width);
    margin: 0 auto 80px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 400px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
}

/* ==== ANIMATIONS ==== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==== RESPONSIVE ==== */
@media (max-width: 1200px) {
    .headline {
        font-size: 5rem;
    }

    .headline i {
        font-size: 6rem;
    }

    .about-preview {
        gap: 40px;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-flex {
        flex-direction: column;
    }

    .portfolio-text-side {
        padding: 100px 5% 0;
    }

    .portfolio-carousel {
        padding: 50px 5%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 5%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-slow);
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .headline {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }

    .headline i {
        font-size: 4rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero {
        align-items: flex-start;
        padding-top: 130px;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero-desc {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .sub-headline {
        font-size: 0.75rem;
        letter-spacing: 3px;
        margin-bottom: 15px;
    }

    .about-preview {
        grid-template-columns: 1fr;
    }

    .about-img-wrapper {
        height: 400px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}