/* ==========================================================================
   1. CORE ARCHITECTURE & THEME VARIABLES
   ========================================================================== */
:root {
    --bg-color: #000000;
    --card-bg: #0b0b0b;
    --text-primary: #ffffff;
    --text-muted: #aaaaaa;
    --accent-color: #c5a059;
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Global Core Button Styles */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}
.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}
.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: rgba(255,255,255,0.05);
}

/* ==========================================================================
   2. SITE HEADER & NAVIGATION BAR LAYOUT
   ========================================================================== */
.site-header {
    background-color: #000000;
    border-bottom: 1px solid #141414;
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid #141414;
    letter-spacing: 1px;
}

.top-bar-left a, .top-bar-right a {
    display: inline-flex;
    align-items: center;
}
.top-bar-right a {
    margin-left: 20px;
    font-size: 0.9rem;
}
.top-bar-right a:hover {
    color: var(--accent-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: relative;
    height: 75px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================================================
   3. DESKTOP WORKSTATION MEDIA QUERIES (Widths above 1024px)
   ========================================================================== */
@media (min-width: 1025px) {
    .menu-toggle {
        display: none !important;
    }
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        list-style: none !important;
        align-items: center !important;
        position: static !important;
        background: transparent !important;
        height: auto !important;
        width: auto !important;
        padding: 0 !important;
    }
    .nav-item {
        position: relative !important;
        padding: 0 16px !important;
        height: 75px;
        display: flex;
        align-items: center;
    }
    .nav-link {
        font-size: 0.85rem;
        font-weight: 500;
        letter-spacing: 2px;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .nav-link:hover {
        color: var(--accent-color);
    }
    .dropdown-menu {
        position: absolute !important;
        top: 75px !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(15px) !important;
        background-color: var(--card-bg) !important;
        border: 1px solid #1a1a1a !important;
        min-width: 240px !important;
        list-style: none !important;
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s !important;
        padding: 10px 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.8);
    }
    .dropdown-menu li a {
        display: block !important;
        padding: 12px 24px !important;
        font-size: 0.8rem !important;
        color: var(--text-muted) !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        text-align: left;
    }
    .dropdown-menu li a:hover {
        background-color: #111111 !important;
        color: var(--text-primary) !important;
    }
    .nav-item:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) translateY(0) !important;
    }
}

/* ==========================================================================
   4. MOBILE STACK CONTROLS (Widths up to 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 16px;
        background: none;
        border: none;
        cursor: pointer;
    }
    .menu-toggle span {
        width: 100%;
        height: 2px;
        background-color: var(--text-primary);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 85% !important;
        max-width: 360px;
        height: 100vh !important;
        background-color: #050505 !important;
        border-right: 1px solid #111111;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 100px 40px 40px 40px !important;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        list-style: none !important;
        overflow-y: auto !important;
        z-index: 9998 !important;
    }
    .nav-menu.active {
        left: 0 !important;
    }
    .nav-item {
        width: 100% !important;
        border-bottom: 1px solid #111111;
        padding: 8px 0;
    }
    .nav-link {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 12px 0 !important;
        font-size: 0.9rem !important;
        letter-spacing: 2px !important;
        text-transform: uppercase !important;
    }
    .dropdown-menu {
        display: none !important;
        list-style: none !important;
        background-color: #0b0b0b !important;
        padding-left: 15px !important;
        width: 100% !important;
    }
    .nav-item.open .dropdown-menu {
        display: block !important;
    }
    .dropdown-menu li a {
        display: block !important;
        padding: 10px 0 !important;
        font-size: 0.8rem !important;
        color: var(--text-muted) !important;
        text-transform: uppercase !important;
    }
}

.search-icon-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1rem;
}

/* ==========================================================================
   5. HERO FULLSCREEN SLIDER SUBSYSTEM RULES (Cinematic Update)
   ========================================================================== */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px);
    overflow: hidden;
    background-color: #000;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    padding: 0 10%;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Base states for content animation elements */
.slide-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

/* Staggered text delays execution when slide activates AFTER the image fades in */
.slide.active .slide-tagline {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}
.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}
.slide.active .slide-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.0s;
}
.slide.active .btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

.slide-tagline {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.slide-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 10px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.slider-arrow:hover { background: rgba(0,0,0,0.7); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}
.dot.active {
    background-color: var(--text-primary);
    transform: scale(1.3);
}

/* ==========================================================================
   6. INNER HOMEPAGE CONTENT BLOCKS & ASYMMETRICAL GRID
   ========================================================================== */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.intro-statement {
    padding: 120px 5%;
    border-bottom: 1px solid #141414;
}

.intro-statement h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 30px;
}

.showcase-grid-section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
}

/* Asymmetrical Grid Execution */
.asymmetrical-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 25px;
}

.grid-item {
    position: relative;
    overflow: hidden;
    background-color: #000;
}
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.6s ease;
}
.grid-item:hover img {
    opacity: 0.4;
    transform: scale(1.03);
}

.tall { grid-column: span 1; grid-row: span 2; }
.wide { grid-column: span 2; grid-row: span 2; }
.square { grid-column: span 1; grid-row: span 1; }

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 5;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}
.item-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 5px;
}
.item-overlay p {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.parallax-banner {
    padding: 160px 5%;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    text-align: center;
}
.parallax-content h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.parallax-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #dddddd;
}

/* ==========================================================================
   7. NEWSLETTER SUBSCRIPTION UI LAYOUT
   ========================================================================== */
.newsletter-footer-signup {
    background-color: #070707;
    border-top: 1px solid #141414;
    padding: 60px 5%;
    text-align: center;
}
.newsletter-footer-container {
    max-width: 600px;
    margin: 0 auto;
}
.newsletter-footer-container h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.newsletter-footer-container p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}
.newsletter-footer-form {
    display: flex;
    gap: 10px;
    width: 100%;
}
.newsletter-footer-form input[type="email"] {
    flex: 1;
    background-color: #000000;
    border: 1px solid #222222;
    padding: 15px 20px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}
.newsletter-footer-form input[type="email"]:focus {
    border-color: var(--accent-color);
}
.newsletter-footer-form .btn {
    margin-top: 0;
    padding: 0 30px;
}

/* ==========================================================================
   8. FOOTER STRUCTURES
   ========================================================================== */
.site-footer {
    background-color: #030303;
    padding: 80px 5% 40px;
    border-top: 1px solid #141414;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.footer-col p, .footer-col ul {
    color: var(--text-muted);
    font-size: 0.85rem;
    list-style: none;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-bottom {
    border-top: 1px solid #141414;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

#back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    background-color: #0b0b0b;
    color: var(--text-primary);
    border: 1px solid #1a1a1a;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99999;
}
#back-to-top.show { opacity: 1; visibility: visible; }

/* ==========================================================================
   9. MEDIA QUERIES FOR MAIN SECTIONS RESIZING
   ========================================================================== */
@media (max-width: 1024px) {
    .slide-title { font-size: 2.5rem; }
    .hero-slider-container { height: 65vh; }
    .asymmetrical-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }
    .tall, .wide { grid-column: span 2; grid-row: span 1; }
    .newsletter-footer-form {
        flex-direction: column;
    }
    .newsletter-footer-form .btn {
        padding: 15px 0;
    }
}
@media (max-width: 576px) {
    .asymmetrical-grid { grid-template-columns: 1fr; }
    .tall, .wide, .square { grid-column: span 1; }
    .intro-statement h2 { font-size: 1.6rem; }
}