/* ============================================
   CSS Design System — Başka İnşaat
   Palette: Navy Blue #0D1B35 + Gold #C9A84C
   ============================================ */

:root {
    /* === Navy Blues === */
    --clr-navy-darkest:  #070F1C;
    --clr-navy-dark:     #0D1B35;
    --clr-navy-medium:   #152340;
    --clr-navy-light:    #1E3258;
    --clr-navy-subtle:   #243A66;

    /* === Gold Accents === */
    --clr-gold:          #C9A84C;
    --clr-gold-light:    #DFC470;
    --clr-gold-dark:     #A88830;
    --clr-gold-muted:    rgba(201, 168, 76, 0.15);

    /* === Neutrals === */
    --clr-white:         #FFFFFF;
    --clr-bg-light:      #F6F7FA;
    --clr-bg-alt:        #ECEEF3;
    --clr-border:        rgba(201, 168, 76, 0.18);
    --clr-border-light:  rgba(201, 168, 76, 0.08);

    /* === Text === */
    --clr-text-dark:     #0D1B35;
    --clr-text-body:     #374869;
    --clr-text-muted:    #6B80A5;
    --clr-text-on-dark:  rgba(255, 255, 255, 0.85);
    --clr-text-faint:    rgba(255, 255, 255, 0.45);

    /* === Typography === */
    --font-title:        'Playfair Display', serif;
    --font-body:         'Inter', sans-serif;

    /* === Transitions === */
    --transition-fast:   all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow:   all 0.85s cubic-bezier(0.16, 1, 0.3, 1);

    /* === Layout === */
    --container-width:   1200px;
    --header-height:     90px;
}

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

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

body {
    background-color: var(--clr-bg-light);
    color: var(--clr-text-body);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar       { width: 7px; }
::-webkit-scrollbar-track { background: var(--clr-navy-dark); }
::-webkit-scrollbar-thumb { background: var(--clr-gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-gold); }

h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 600;
    line-height: 1.2;
    color: var(--clr-text-dark);
}

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

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

/* ——————————————————————————
   Layout Utilities
   —————————————————————————— */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

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

.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.dark-bg {
    background-color: var(--clr-navy-dark);
}

/* ——————————————————————————
   Section Labels & Titles
   —————————————————————————— */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: 18px;
}

.section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background-color: var(--clr-gold);
    flex-shrink: 0;
}

.section-tag.light { color: var(--clr-gold); }

.section-title {
    font-size: 2.9rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: var(--clr-navy-dark);
}

.section-title.light {
    color: var(--clr-white);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    max-width: 580px;
    margin-bottom: 55px;
    line-height: 1.7;
}

.dark-bg .section-subtitle {
    color: var(--clr-text-on-dark);
    opacity: 0.7;
}

.section-header {
    text-align: center;
}

.section-header .section-tag {
    justify-content: center;
}

.section-header .section-tag::before { display: none; }
.section-header .section-tag::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background-color: var(--clr-gold);
}

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ——————————————————————————
   Button Component
   —————————————————————————— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 38px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
    background-color: var(--clr-gold);
    color: var(--clr-navy-darkest);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
    background-color: var(--clr-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(201, 168, 76, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
}

.btn-block { width: 100%; }

/* ——————————————————————————
   Header & Logo
   —————————————————————————— */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo Component */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-mark {
    width: 42px;
    height: auto;
    fill: var(--clr-gold);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--clr-white);
    transition: var(--transition-smooth);
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 3.5px;
    color: var(--clr-gold);
    text-transform: uppercase;
}

/* Navigation */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--clr-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--clr-white);
}

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

.nav-link-cta {
    padding: 9px 22px;
    background-color: var(--clr-gold-muted);
    border: 1px solid var(--clr-border);
    color: var(--clr-gold) !important;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.nav-link-cta::after { display: none; }
.nav-link-cta:hover {
    background-color: var(--clr-gold);
    color: var(--clr-navy-darkest) !important;
    border-color: var(--clr-gold);
}

/* Scrolled Header — becomes opaque navy */
.main-header.scrolled {
    height: 72px;
    background-color: rgba(13, 27, 53, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(7, 15, 28, 0.4);
    border-bottom: 1px solid var(--clr-border-light);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--clr-white);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* ——————————————————————————
   Hero Section — Parallax
   —————————————————————————— */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-parallax-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 125%;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center top;
    z-index: 1;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(7, 15, 28, 0.82) 0%,
        rgba(13, 27, 53, 0.65) 45%,
        rgba(7, 15, 28, 0.80) 100%
    );
    z-index: 2;
}

/* Gold left-edge accent line */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--clr-gold), transparent);
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--clr-white);
    max-width: 820px;
    padding-top: 60px;
}

.hero-subtitle {
    font-size: 0.82rem;
    letter-spacing: 5px;
    font-weight: 600;
    color: var(--clr-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-subtitle::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--clr-gold);
}

.hero-title {
    font-size: 4.8rem;
    color: var(--clr-white);
    margin-bottom: 25px;
    line-height: 1.08;
    letter-spacing: -1px;
}

.hero-title em {
    font-style: italic;
    color: var(--clr-gold-light);
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 580px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 44px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* Scroll badge */
.hero-scroll-badge {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    position: relative;
}

.mouse-icon .wheel {
    width: 3px;
    height: 8px;
    background-color: var(--clr-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
    0%   { top: 6px;  opacity: 1; }
    50%  { top: 16px; opacity: 0.2; }
    100% { top: 6px;  opacity: 1; }
}

/* ——————————————————————————
   About Section
   —————————————————————————— */
.about-section { background-color: var(--clr-white); }

.about-text-content { padding-right: 10px; }

.about-desc {
    color: var(--clr-text-body);
    margin-bottom: 18px;
    line-height: 1.75;
}

.about-desc.lead {
    font-size: 1.12rem;
    color: var(--clr-navy-dark);
    font-family: var(--font-title);
    line-height: 1.65;
    font-style: italic;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 45px;
    border-top: 1px solid var(--clr-bg-alt);
    padding-top: 35px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--clr-gold);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--clr-text-muted);
}

.about-image-wrapper {
    position: relative;
    padding-bottom: 45px;
    padding-right: 45px;
}

.about-img-main {
    width: 100%;
    height: 450px;
    object-fit: cover;
    box-shadow: 20px 20px 60px rgba(13, 27, 53, 0.12);
}

.about-img-accent-card {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--clr-navy-dark);
    padding: 32px;
    max-width: 290px;
    box-shadow: 15px 20px 40px rgba(7, 15, 28, 0.2);
    border-left: 3px solid var(--clr-gold);
}

.about-img-accent-card h3 {
    font-size: 1.05rem;
    color: var(--clr-gold);
    margin-bottom: 10px;
}

.about-img-accent-card p {
    font-size: 0.85rem;
    color: var(--clr-text-on-dark);
    line-height: 1.65;
}

/* ——————————————————————————
   Services Section
   —————————————————————————— */
.services-grid { margin-top: 10px; }

.service-card {
    border: 1px solid rgba(255,255,255,0.06);
    padding: 50px 36px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(201, 168, 76, 0.03);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-icon {
    font-size: 2rem;
    color: var(--clr-gold);
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.service-title {
    color: var(--clr-white);
    font-size: 1.3rem;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.service-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.15);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after  { opacity: 1; }
.service-card:hover .service-desc { color: rgba(255, 255, 255, 0.8); }

/* ——————————————————————————
   Projects Section
   —————————————————————————— */
.projects-section { background-color: var(--clr-bg-light); }

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--clr-bg-alt);
    color: var(--clr-text-muted);
    padding: 9px 26px;
    font-size: 0.82rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--clr-navy-dark);
    color: var(--clr-white);
    background-color: var(--clr-navy-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/2;
    background-color: var(--clr-bg-alt);
    transition: var(--transition-smooth);
}

.project-card:hover { box-shadow: 0 20px 50px rgba(13, 27, 53, 0.15); }

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 15, 28, 0.92) 0%, rgba(13, 27, 53, 0.3) 65%);
    padding: 35px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-info {
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.project-cat {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--clr-gold);
    display: block;
    margin-bottom: 6px;
}

.project-name {
    color: var(--clr-white);
    font-size: 1.4rem;
}

.project-view-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--clr-gold);
    color: var(--clr-navy-darkest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transform: scale(0.7) translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
    margin-bottom: 4px;
    flex-shrink: 0;
}

.project-card:hover .project-img        { transform: scale(1.08); }
.project-card:hover .project-hover-overlay { opacity: 1; }
.project-card:hover .project-info       { transform: translateY(0); }
.project-card:hover .project-view-btn   { transform: scale(1) translateY(0); opacity: 1; }

/* ——————————————————————————
   Contact Section
   —————————————————————————— */
.contact-section { background-color: var(--clr-white); }

.contact-intro {
    font-size: 1.05rem;
    color: var(--clr-text-body);
    margin-bottom: 40px;
    line-height: 1.75;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: var(--clr-navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon-wrapper {
    background-color: var(--clr-gold);
    color: var(--clr-navy-dark);
}

.contact-text h4 {
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--clr-navy-dark);
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.contact-text p,
.contact-text a {
    font-size: 0.9rem;
    color: var(--clr-text-body);
    line-height: 1.5;
}

.contact-text a:hover {
    color: var(--clr-gold-dark);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--clr-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--clr-navy-dark);
    border-color: var(--clr-navy-dark);
    color: var(--clr-gold);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-container {
    background-color: var(--clr-navy-dark);
    padding: 55px;
    box-shadow: 30px 30px 60px rgba(13, 27, 53, 0.1);
    border-top: 3px solid var(--clr-gold);
}

.form-group {
    position: relative;
    margin-bottom: 38px;
}

.form-control {
    width: 100%;
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--clr-white);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    outline: none;
    transition: var(--transition-smooth);
    resize: none;
}

.form-label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: -13px;
    font-size: 0.72rem;
    color: var(--clr-gold);
    font-weight: 500;
    letter-spacing: 1px;
}

.form-control:focus {
    border-bottom-color: var(--clr-gold);
}

.form-control::placeholder { color: transparent; }

/* ——————————————————————————
   Footer
   —————————————————————————— */
.footer {
    background-color: var(--clr-navy-darkest);
    color: var(--clr-white);
    padding: 80px 0 0;
    border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 70px;
    padding-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 25px;
}

.footer-brand .logo-name {
    font-size: 1.3rem;
}

.footer-brand > p {
    color: var(--clr-text-faint);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 300px;
    margin-top: 18px;
}

.footer-links h3,
.footer-contact-quick h3 {
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: 28px;
}

.footer-links ul,
.footer-contact-quick ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a,
.footer-contact-quick a,
.footer-contact-quick li {
    color: var(--clr-text-faint);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: var(--transition-fast);
}

.footer-links a:hover,
.footer-contact-quick a:hover {
    color: var(--clr-gold);
    padding-left: 4px;
}

.footer-contact-quick i {
    color: var(--clr-gold);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

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

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

/* ——————————————————————————
   Lightbox Modal
   —————————————————————————— */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(7, 15, 28, 0.96);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 35px; right: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--clr-white);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 1001;
}

.lightbox-close:hover {
    color: var(--clr-gold);
    border-color: var(--clr-gold);
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 950px;
    width: 100%;
    background-color: var(--clr-navy-dark);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border-top: 3px solid var(--clr-gold);
    transform: translateY(20px);
    transition: var(--transition-smooth);
    max-height: 90vh;
    overflow: hidden;
}

.lightbox.active .lightbox-content {
    transform: translateY(0);
}

.lightbox-img {
    width: 100%;
    height: 100%;
    max-height: 540px;
    object-fit: cover;
    display: block;
}

.lightbox-info {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lightbox-cat {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--clr-gold);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.lightbox-title {
    font-size: 2rem;
    color: var(--clr-white);
    margin-bottom: 20px;
}

.lightbox-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* ——————————————————————————
   Scroll Reveal Animations
   —————————————————————————— */
.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.65s; transition-delay: 0.65s; }

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

/* ——————————————————————————
   Responsive
   —————————————————————————— */
@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 55px;
    }
    .grid-3, .projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    .footer-contact-quick {
        grid-column: span 2;
    }
    .hero-title { font-size: 3.8rem; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    .section { padding: 80px 0; }
    .section-title { font-size: 2.2rem; }
    .hero-title { font-size: 2.6rem; }

    .mobile-menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background-color: var(--clr-navy-darkest);
        z-index: 100;
        padding: 110px 40px 40px;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
        border-left: 1px solid var(--clr-border-light);
    }

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

    .nav-menu ul {
        flex-direction: column;
        gap: 28px;
    }

    .nav-link {
        font-size: 1.1rem;
        color: rgba(255,255,255,0.65);
    }

    .nav-link-cta {
        display: inline-block;
        margin-top: 10px;
    }

    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .lightbox-content {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }
    .lightbox-img { max-height: 280px; }
    .lightbox-info { padding: 30px; }
    .contact-form-container { padding: 40px 28px; }
}

@media (max-width: 580px) {
    .grid-3, .projects-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-contact-quick {
        grid-column: span 1;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 14px;
    }
    .btn { width: 100%; }
    .about-stats {
        flex-direction: column;
        gap: 25px;
    }
    .about-image-wrapper {
        padding-bottom: 30px;
        padding-right: 30px;
    }
    .about-img-accent-card {
        max-width: 240px;
        padding: 22px;
    }
}
