/* ================================================
   ALPHA INTERIOR — site.css
   Luxury & High-End Theme
   Palette: Deep Charcoal · Warm Black · Gold (#cda434) · Off-White
   Fonts: Cormorant Garamond (display) · Montserrat (body)
   ================================================ */

/* 1. Variables & Reset */
:root {
    --black:       #0e0e0e;
    --dark:        #161616;
    --dark-card:   #1c1c1c;
    --mid:         #2a2a2a;
    --gold:        #cda434;
    --gold-light:  #e0bb5f;
    --gold-dark:   #a8861e;
    --white:       #f5f0e8;
    --grey:        #888880;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Montserrat', sans-serif;
    --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-behavior: smooth;
    /* Offsets the scroll target so the top of the section isn't hidden behind your navbar */
    scroll-padding-top: 0px;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 2. Shared Utilities */
.section-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    display: block;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-heading em {
    font-style: italic;
    font-weight: 300;
    color: var(--gold-light);
}

.section-subheading {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--grey);
    max-width: 540px;
    margin: 0 auto 50px;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.section-body {
    font-size: 0.9rem;
    font-weight: 300;
    color: #aaa;
    line-height: 1.9;
    margin-bottom: 18px;
}

section { padding: 100px 20px; scroll-margin-top: 0px; }

/* 3. Navbar */
#mainNav {
    background-color: transparent;
    padding: 10px 0;
    transition: background-color var(--transition), padding var(--transition), box-shadow var(--transition);
    z-index: 1030;
}

#mainNav.scrolled {
    background-color: rgba(10,10,10,0.97);
    padding: 12px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.nav-logo { max-height: 28px; width: auto; filter: brightness(0) invert(1); margin-right: 10px; }

/* Sticky Navigation Bar */
.navbar {
    position: fixed; /* Locks the navbar to the screen */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050; /* Ensures the navbar stays on top of all other images and content */
    /* Styling for visibility when scrolling */
    background-color: rgba(10, 10, 10, 0.98);
     /* A dark, slightly transparent background */
    backdrop-filter: blur(8px); /* Blurs whatever is scrolling behind it */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Adds a subtle drop shadow */
}

.nav-brand-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 5px;
    color: #fff;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75) !important;
    padding: 8px 16px !important;
    transition: color var(--transition);
}

.nav-link:hover { color: var(--gold) !important; }

.nav-cta {
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    border-radius: 0 !important;
    padding: 8px 20px !important;
    transition: background-color var(--transition), color var(--transition) !important;
}

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

.navbar-toggler { border: none; background: transparent; padding: 4px; display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
.navbar-toggler:focus { box-shadow: none; outline: none; }
.toggler-bar { display: block; width: 26px; height: 1.5px; background-color: var(--white); transition: var(--transition); }
.navbar-collapse {
    background-color: rgba(10, 10, 10, 0.98);
    padding: 0.5rem;
}

/* 4. Hero */
#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    text-align: center;
    scroll-margin-top: 80px;
}

.home-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111;
    z-index: 0;
    transform: scale(1.04);
    transition: transform 8s ease;
}

#home:hover .home-bg { transform: scale(1.0); }

.home-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.45) 40%,
        rgba(0,0,0,0.82) 75%,
        rgba(14,14,14,1)  100%
    );
    z-index: 1;
}

.home-content { position: relative; z-index: 2; padding: 0 20px; max-width: 860px; }

.home-eyebrow {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.home-title {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
    line-height: 1.6;
}

.home-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(3rem, 7vw, 4rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    width: 100%;
}

.home-divider { width: 60px; height: 1px; background: var(--gold); margin: 36px auto; opacity: 0.7; }

.home-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-hero-primary {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    background-color: var(--gold);
    color: var(--black);
    padding: 16px 40px;
    text-decoration: none;
    transition: background-color var(--transition), transform var(--transition);
    display: inline-block;
}

.btn-hero-primary:hover { background-color: var(--gold-light); color: var(--black); transform: translateY(-2px); }

.btn-hero-secondary {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.45);
    padding: 16px 40px;
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition), transform var(--transition);
    display: inline-block;
}

.btn-hero-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.home-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.home-scroll-hint span { font-size: 0.62rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.4); }

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

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* 5. Stats Bar */
.stats-bar {
    background-color: var(--dark-card);
    border-top: 1px solid rgba(205,164,52,0.2);
    border-bottom: 1px solid rgba(205,164,52,0.2);
    padding: 36px 20px;
}

.stats-grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }

.stat-item { display: flex; flex-direction: column; align-items: center; padding: 12px 40px; text-align: center; }

.stat-number { font-family: var(--font-display); font-size: 2.8rem; font-weight: 400; color: var(--gold); line-height: 1; }

.stat-label { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); margin-top: 6px; }

.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.1); }

/* 6. About */
#about { background-color: var(--dark); }

.about-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--gold-light);
    border-left: 2px solid var(--gold);
    padding-left: 20px;
    margin-top: 32px;
    line-height: 1.7;
}

.about-gallery-wrapper { position: relative; overflow: hidden; }

.about-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.about-gallery-track::-webkit-scrollbar { display: none; }

.about-gallery-img { flex: 0 0 100%; width: 100%; height: 420px; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; display: block; }

/* 7. Vision Band */
.vision-band {
    background-color: var(--black);
    border-top: 1px solid rgba(205,164,52,0.15);
    border-bottom: 1px solid rgba(205,164,52,0.15);
}

.vision-panel, .mission-panel { padding: 70px 50px; }
.vision-panel { border-right: 1px solid rgba(205,164,52,0.15); }

.vision-icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 20px; opacity: 0.7; }

.vision-heading {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
}

.vision-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 300; font-style: italic; color: #aaa; line-height: 1.8; }
.vision-text em { color: var(--gold-light); }

/* 8. Services */
#services { background-color: var(--dark); }

.section-header { margin-bottom: 60px; }

.service-card {
    background-color: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    height: 100%;
}

.service-card:hover { transform: translateY(-6px); border-color: rgba(205,164,52,0.35); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }

.service-img-wrap {
    overflow: hidden;
    height: 180px;
    width: 100%;
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    display: block;
}

.service-card:hover .service-img { transform: scale(1.06); }
.service-card img { max-width: 100%}

.service-card-body { padding: 28px; }

.service-title { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }

.service-desc { font-size: 0.83rem; font-weight: 300; color: var(--grey); line-height: 1.8; margin: 0; }

/* 9. Projects */
.projects-section { background-color: var(--black); padding: 100px 20px; scroll-margin-top: 80px; }

.project-card { position: relative; overflow: hidden; cursor: pointer; height: 100%; }

.project-img { width: 100%; height: 320px; object-fit: cover; display: block; transition: transform 0.7s ease; filter: brightness(0.75); }

.project-card:hover .project-img { transform: scale(1.07); filter: brightness(0.55); }

.project-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    transition: padding var(--transition);
}

.project-card:hover .project-overlay { padding-bottom: 36px; }

.project-tag { font-size: 0.62rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }

.project-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: #fff; margin-bottom: 4px; }

.project-scope { font-size: 0.73rem; font-weight: 300; color: rgba(255,255,255,0.55); letter-spacing: 0.5px; margin: 0; }

/* Gallery */
.gallery-label { margin-top: 20px; }
.gallery-wrapper { position: relative; }

.gallery-container { width: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }

.horizontal-scroll-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horizontal-scroll-wrapper::-webkit-scrollbar { display: none; }

.horizontal-scroll-image {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-height: 40%;
    object-fit: cover;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: block;
    filter: brightness(0.85);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(10,10,10,0.7);
    color: var(--gold);
    border: 1px solid rgba(205,164,52,0.4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.gallery-arrow:hover { background-color: var(--gold); color: var(--black); transform: translateY(-50%) scale(1.1); }
.gallery-arrow.prev { left: 14px; }
.gallery-arrow.next { right: 14px; }

/* */

/* Base container for projects */
#projects .container > .project-block {
    margin-bottom: 3rem;
}

/* Desktop View: 2 Columns */
@media (min-width: 992px) {
    #projects .container {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Creates two equal columns */
        gap: 30px; /* Space between the two project blocks */
    }

    /* Adjusting the header and gallery for the smaller 2-column width */
    .project-block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .project-header-full {
        grid-column: 1 / -1;
        width: 100%;
    }

    .horizontal-scroll-image {
        /* Adjust image height for 2-column layout to prevent them being too tall */
        height: 350px;
    }
}

/* --- Scroll Reveal Animation --- */

/* The initial state (Hidden) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
    will-change: opacity, transform;
}

    /* The active state (Triggered by JS when in view) */
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Optional: Subtle stagger for images to feel more high-end */
img.reveal {
    transition-duration: 1.2s;
}

/* 10. Clients — Infinite Marquee Ticker */
#clients { background-color: var(--dark); padding: 80px 0; scroll-margin-top: 80px; }
#clients .container { padding-bottom: 0; }

.clients-ticker-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0 40px;
    /* Fade edges to dark */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.clients-ticker {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: ticker-scroll 40s linear infinite;
}

.clients-ticker:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 80px;
    padding: 0 32px;
    border-right: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
    position: relative;
}

.client-logo-item img {
    max-height: 44px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.45;
    transition: opacity var(--transition), filter var(--transition);
    display: block;
}

.client-logo-item:hover img {
    opacity: 0.9;
    filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(5deg);
}

.client-text-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    text-align: center;
    transition: color var(--transition);
    white-space: nowrap;
}

.client-logo-item:hover .client-text-fallback { color: var(--gold); }

/* 11. Contact */
.contact-section { background-color: var(--black); padding: 100px 20px; scroll-margin-top: 80px; }

.contact-info-list { display: flex; flex-direction: column; gap: 28px; }

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

.contact-icon { font-size: 1rem; color: var(--gold); min-width: 24px; margin-top: 2px; opacity: 0.8; }

.contact-info-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }

.contact-info-value { font-size: 0.87rem; font-weight: 300; color: #bbb; text-decoration: none; line-height: 1.7; transition: color var(--transition); }

.contact-info-value:hover { color: var(--gold); }

.contact-form-card { background-color: var(--dark-card); border: 1px solid rgba(255,255,255,0.07); padding: 48px; }

.form-heading { font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; font-style: italic; color: var(--white); margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid rgba(205,164,52,0.2); }

.form-label-custom { font-size: 0.68rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; display: block; }

.form-control-custom {
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.87rem;
    font-weight: 300;
    padding: 14px 18px;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}

.form-control-custom::placeholder { color: rgba(255,255,255,0.2); }

.form-control-custom:focus { background-color: rgba(255,255,255,0.06); border-color: var(--gold); box-shadow: 0 0 0 2px rgba(205,164,52,0.15); color: var(--white); outline: none; }

.btn-submit {
    background-color: var(--gold);
    color: var(--black);
    border: none;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 18px;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
    display: block;
    width: 100%;
}

.btn-submit:hover { background-color: var(--gold-light); transform: translateY(-2px); }

/* 12. Footer */
.site-footer { background-color: var(--dark-card); border-top: 1px solid rgba(205,164,52,0.15); padding: 50px 20px; }

.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }

.footer-brand { display: flex; align-items: center; gap: 10px; }

.footer-logo { max-height: 24px; filter: brightness(0) invert(1); opacity: 0.6; }

.footer-brand-name { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; letter-spacing: 5px; color: rgba(255,255,255,0.5); }

.footer-tagline { font-size: 0.72rem; font-weight: 300; letter-spacing: 1px; color: var(--grey); margin: 0; }

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }

.footer-nav a { font-size: 0.65rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); text-decoration: none; transition: color var(--transition); }

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

.footer-copy { font-size: 0.65rem; color: rgba(255,255,255,0.2); margin: 0; letter-spacing: 0.5px; }

/* 13. Scroll Fade-Up Animation */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }


/* Project Blocks */
.project-block {
    margin-bottom: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.project-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.project-block-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.project-block-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}

.project-block-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--white);
    margin: 0;
    line-height: 1.15;
}

.project-block-count {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    white-space: nowrap;
}

.gallery-hint {
    display: none;
}

@media (hover: none) and (pointer: coarse) {
    .gallery-hint {
        display: block;
    }
}

/* 14. Responsive */
@media (max-width: 768px) {
    section { padding: 70px 16px; }
    .home-tagline { font-size: 2.8rem; }
    .home-title { font-size: 0.82rem; letter-spacing: 3px; }
    .stat-divider { display: none; }
    .stat-item { padding: 12px 20px; }
    .vision-panel { border-right: none; border-bottom: 1px solid rgba(205,164,52,0.15); }
    .vision-panel, .mission-panel { padding: 50px 24px; }
    .contact-form-card { padding: 28px 20px; }
    .about-gallery-img { height: 260px; }
    .project-img { height: 240px; }
    .section-heading { font-size: 1.9rem; }
    .gallery-arrow { display: none !important; }
    .horizontal-scroll-image { height: 240px; }
}

/* Button — btn-gold (used in contact form submit) */
.btn-gold {
    background-color: var(--gold);
    color: var(--black);
    border: none;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 16px 36px;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
    display: inline-block;
    text-decoration: none;
}
.btn-gold:hover { background-color: var(--gold-light); color: var(--black); transform: translateY(-2px); }
