/* Modern Luxury Theme for The Cabin */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Montserrat:wght@200;300;400;500;600&display=swap');

/* Global Box Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    /* Refined Palette */
    --gold-primary: #C8A165;
    /* Champagne Gold */
    --gold-hover: #D4AF37;
    /* Rich Gold */
    --gold-soft: rgba(200, 161, 101, 0.2);

    --dark-deep: #0B0C10;
    /* Deepest Charcoal/Black */
    --dark-surface: #1F2833;
    /* Gunmetal */

    --light-bg: #EFEFEF;
    /* Darker Off-White for better contrast with white elements */
    --white: #ffffff;

    --text-main: #1A1A1A;
    /* Darker text */
    --text-light: #555555;

    /* Spacing & Layout */
    --section-padding: 80px;
    /* Reduced from 120px */
    --container-width: 1440px;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --blur: blur(12px);
    --shadow-soft: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    --transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.8;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: var(--dark-deep);
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    width: 100%;
    display: block;
    height: auto;
}

/* Animations */
.fade-in-up {
    /* opacity: 0; -- DISABLED to ensure visibility */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/*
.fade-in-up.hidden-initial {
    opacity: 0;
    transform: translateY(30px);
}
*/

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Header - Fixed White */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    /* Reduced padding by default */
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    /* White background immediately */
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Even stronger shadow */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* 
header.scrolled {
   padding: 15px 0; 
   No longer needed as it is always white, 
   but we can keep specific scroll effects if desired later 
}
*/

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
    /* Fluid padding */
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
        width: 100%;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--dark-deep);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--dark-deep);
    /* Dark color by default */
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links li.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    /* Slightly rounded corners */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    /* Ensure no list styles */
    padding: 0;
    /* Added for consistency */
    margin: 0;
    /* Added for consistency */
}

.nav-links li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-deep);
    font-size: 0.95rem;
    font-weight: 300;
    text-transform: none;
    /* Keep generic capitalization for sub-items */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #f9f9f9;
    color: var(--gold-primary);
    padding-left: 25px;
    /* Slight shift on hover */
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    position: relative;
    width: 30px;
    height: 20px;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark-deep);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.bar:nth-child(1) {
    top: 0;
}

.bar:nth-child(2) {
    top: 9px;
}

.bar:nth-child(3) {
    top: 18px;
}

/* Hero Section - Cinematic */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--white);
    background-color: #f5f5f5;
}

#hero::before {
    display: none;
    /* Remove static background */
}

/* Slider proper styling */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


.swiper-slide {
    height: 100%;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Mobilde de Masaüstünde de tam ekran kapla */
    object-position: center;
    /* Resmi her zaman ortala */
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Very light overlay as requested */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
    /* On top of slider */
    pointer-events: none;
    /* Let interactions pass click through if needed, but slider is swipeable */
}

.hero-content {
    position: relative;
    z-index: 3;
    /* On top of everything */
    max-width: 900px;
    padding: 0 20px;
}

/* Swiper Navigation Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition);
    z-index: 20;
    /* Ensure they are above overlays */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--gold-primary);
    opacity: 1;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 2rem;
    /* Adjust size if needed */
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    background: var(--white) !important;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: #000 !important;
    /* Black as requested */
    opacity: 1;
}

.hero-content h1 {
    font-size: 6rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
    color: var(--white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.hero-content p {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    display: inline-block;
    padding: 20px 60px;
    border: 1px solid var(--white);
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--dark-deep);
}

/* Features Band */
.features {
    padding: 60px 0;
    /* Reduced from 80px */
    background-color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: translateY(-5px);
}

.feature-item h4 {
    font-family: 'Montserrat', sans-serif;
    /* Match top menu font */
    font-size: 0.9rem;
    /* Adjusted size for better proportion */
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

/* Sections Global */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    /* Reduced from 100px */
}

.section-title h2 {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    position: relative;
    display: inline-block;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
    }
}

/* About Section - Asymetric */
#about {
    padding: var(--section-padding) 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 80%;
    height: 80%;
    border: 1px solid var(--gold-primary);
    z-index: -1;
    opacity: 0.5;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 30px;
    color: var(--text-main);
    font-weight: 300;
}

/* Production - Minimal Grid */
#production {
    background-color: var(--white);
    padding: 50px 0 80px 0;
}

#production .section-title {
    margin-bottom: 30px;
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.prod-item {
    text-align: left;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.prod-item:hover {
    border-color: var(--gold-primary);
    transform: translateY(-10px);
}

.prod-item i {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 30px;
}

.prod-item h3 {
    font-family: 'Montserrat', sans-serif;
    /* Match top menu font */
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.prod-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Gallery - Masonry Feel */
#products {
    padding: var(--section-padding) 0;
    background-color: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* 6 columns for flexible layout: 2 items (span 3) then 3 items (span 2) */
    gap: 20px;
}

/* First 2 items take half width (3/6) */
.gallery-item:nth-child(1),
.gallery-item:nth-child(2) {
    grid-column: span 3;
}

/* Remaining items take third width (2/6) */
.gallery-item:nth-child(n+3) {
    grid-column: span 2;
}

.gallery-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}

/* Sub-page specific grid override */
.product-page-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

.product-page-grid .gallery-item {
    grid-column: span 1 !important;
}

.gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.2, 1, 0.4, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 1;
    /* Always visible */
    transition: opacity 0.6s ease;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.gallery-item:hover .overlay {
    opacity: 1;
    /* Keep it visible */
}

.overlay-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 5px;
    transform: translateY(0);
    /* Reset position */
    transition: transform 0.6s ease 0.1s;
}

.gallery-item:hover .overlay-content h3 {
    transform: translateY(0);
}

.overlay-content p {
    color: var(--gold-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: translateY(0);
    /* Reset position */
    transition: transform 0.6s ease 0.2s;
}

.gallery-item:hover .overlay-content p {
    transform: translateY(0);
}

/* Contact - Modern Luxury Redesign */
#contact {
    padding: var(--section-padding) 0;
    background-color: #f8f8f8;
    /* Soft contrast background */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Asymmetric layout */
    gap: 60px;
    align-items: flex-start;
}

/* Contact Info Card */
.contact-info {
    background: var(--white);
    padding: 50px;
    box-shadow: var(--shadow-soft);
    border-radius: 4px;
    /* Slight rounding */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background-color: var(--gold-primary);
}

.info-item {
    display: flex;
    align-items: center;
    /* Vertical center alignment */
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.8rem;
    /* Larger icons */
    color: var(--gold-primary);
    margin-right: 20px;
    width: 30px;
    /* Fixed width for alignment */
    text-align: center;
}

.info-item p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* Contact Form Styling */
.contact-form {
    background: var(--white);
    padding: 50px;
    box-shadow: var(--shadow-soft);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-form form {
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eee;
    background-color: #fafafa;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
    border-radius: 2px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(200, 161, 101, 0.1);
}

/* Button Styling adjustments in global or here if specific override needed */
.btn-submit {
    justify-self: start;
    padding: 15px 50px;
    background-color: var(--dark-deep);
    color: var(--white);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-submit:hover {
    background-color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--dark-deep);
    color: var(--white);
    padding: 100px 0 40px;
    text-align: center;
}

@media (max-width: 768px) {
    footer {
        padding: 60px 0 30px;
    }
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 40px;
    display: inline-block;
}

@media (max-width: 768px) {
    .footer-logo {
        font-size: 2rem;
    }
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 20px;
    opacity: 0.5;
}

.social-links a:hover {
    opacity: 1;
    color: var(--gold-primary);
}

.copyright {
    margin-top: 60px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    /* Tablet & Mobile Menu (Combined) */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        transition: var(--transition);
        z-index: 99;
        gap: 30px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--dark-deep);
        display: block;
    }

    .hamburger {
        display: flex !important;
        z-index: 100;
        position: relative;
    }

    .hamburger.active .bar {
        background-color: var(--dark-deep);
    }

    .hamburger.active .bar:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        top: 9px;
        transform: rotate(-45deg);
    }

    /* Grid Adjustments for Tablet */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(n+3) {
        grid-column: span 1 !important;
    }

    .production-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    /* Mobile Menu */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* Center items */
        width: 100%;
        transition: var(--transition);
        z-index: 99;
        gap: 30px;
        /* Space between links */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.5rem;
        /* Larger touch targets */
        color: var(--dark-deep);
        display: block;
    }

    .hamburger {
        display: flex !important;
        z-index: 100;
        position: relative;
        /* Ensure it's clickable */
    }

    .hamburger.active .bar {
        background-color: var(--dark-deep);
        /* Ensure visible on white menu */
    }

    .hamburger.active .bar:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        top: 9px;
        transform: rotate(-45deg);
    }

    /* Hero adjustments */
    .hero-content {
        padding: 0 15px;
    }

    #hero {
        height: 100vh;
        /* Revert to full height (uzun) */
    }

    /* Disable zoom animation on mobile to prevent blurry/extreme zoom issues */
    .swiper-slide::before {
        animation: none;
        transform: scale(1);
    }

    /* Fix iOS background attachment issue */
    .swiper-slide {
        background-attachment: scroll;
        background-position: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        /* Smaller for mobile */
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    /* Hide slider arrows on mobile to prevent overlap */
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .features-grid,
    .about-grid,
    .production-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
        margin-top: 40px !important;
    }

    .about-image {
        order: -1;
        margin-bottom: 30px;
    }

    /* Mobile: 1 Column Standard */
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }

    /* Reset spans for mobile */
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(n+3) {
        grid-column: span 1 !important;
    }

    .gallery-item {
        height: 300px !important;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }

    .about-text h3 {
        font-size: 1.8rem;
    }

    .prod-item h3 {
        font-size: 1.3rem;
    }

    nav {
        justify-content: flex-end;
        /* Hamburgeri sağa yasla */
        min-height: 50px;
        /* Header yüksekliğini daha da kısalt */
        padding: 0;
        /* Paddingi sıfırla */
    }

    .logo {
        font-size: 1.7rem;
        /* Logo büyütüldü */
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    /* Parallax section mobil optimize */
    section[style*="background-attachment: fixed"] {
        background-attachment: scroll !important;
        padding: 60px 0 !important;
    }

    section[style*="background-attachment: fixed"] h2 {
        font-size: 1.8rem !important;
    }

    section[style*="background-attachment: fixed"] p {
        font-size: 1rem !important;
    }

    /* Ensure all sections don't overflow */
    section {
        max-width: 100%;
        overflow-x: hidden;
    }

    .mv-item {
        padding: 30px !important;
    }

    /* Mobile Dropdown Fix */
    .nav-links li.dropdown {
        flex-direction: column;
        height: auto;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        /* Hidden by default, toggled via JS */
        transform: none;
        box-shadow: none;
        background-color: transparent;
        padding-left: 0;
        text-align: center;
    }

    .dropdown-menu.active {
        display: block;
        animation: fadeIn 0.3s;
    }

    .dropdown-menu li a {
        padding: 10px;
        font-size: 1.1rem;
        border-bottom: none;
        color: var(--text-light);
    }

    .dropdown-menu li a:hover {
        padding-left: 10px;
        /* Reset hover shift */
        color: var(--dark-deep);
        background: transparent;
    }

    /* Rotate carets when active */
    .nav-links li.dropdown.active>a i {
        transform: rotate(180deg);
        transition: transform 0.3s;
    }
}