:root {
    --primary-mirage: #192337;
    --primary-midnight: #191D23;
    --primary-ice-white: #F5F6FC;
    --accent-spring: #1EFE9B;
    --accent-lime: #A5E355;
    --accent-yellow: #FFE680;
    --accent-morning: #A4DDE9;
    --accent-white-linen: #F5EBDF;
    --grey-strom: #6E7180;
    --grey-mako: #40424D;
    --grey-shark: #1E1E24;
    --black: #000000;
    
    /* Light mode variables - initially same as dark */
    --lm-primary-mirage: #f5f5f7;
    --lm-primary-midnight: #ffffff;
    --lm-primary-ice-white: #2d2d2d;
    --lm-accent-spring: #1a936f;
    --lm-accent-lime: #88d498;
    --lm-grey-strom: #6E7180;
    --lm-grey-mako: #e6e6e6;
    --lm-grey-shark: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-midnight);
    color: var(--primary-ice-white);
    overflow-x: hidden;
    font-family: 'Outfit', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode {
    background-color: var(--lm-primary-midnight);
    color: var(--lm-primary-ice-white);
}

h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-spring);
}

body.light-mode h3, 
body.light-mode h4, 
body.light-mode h5, 
body.light-mode h6 {
    color: var(--lm-accent-spring);
}

h1, h2{
    font-family: 'Outfit', sans-serif;
    color: var(--primary-ice-white);
}

body.light-mode h1,
body.light-mode h2 {
    color: var(--lm-primary-ice-white);
}

p {
    color: var(--primary-ice-white);
}

body.light-mode p {
    color: var(--lm-primary-ice-white);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-midnight);
}

body.light-mode ::-webkit-scrollbar-track {
    background: var(--lm-primary-midnight);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-spring);
    border-radius: 5px;
}

body.light-mode ::-webkit-scrollbar-thumb {
    background: var(--lm-accent-spring);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-spring);
}

body.light-mode ::-webkit-scrollbar-thumb:hover {
    background: var(--lm-accent-spring);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(25, 29, 35, 0.95);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease;
}

body.light-mode header {
    background-color: rgba(255, 255, 255, 0.95);
}

header.hide {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-spring);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-left: 50px;
    font-family: 'Outfit', sans-serif;
}

body.light-mode .logo {
    color: var(--lm-accent-spring);
}

.logo span {
    margin-left: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: var(--primary-ice-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

body.light-mode .nav-menu a {
    color: var(--lm-primary-ice-white);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-spring);
    transition: width 0.3s ease;
}

body.light-mode .nav-menu a:after {
    background-color: var(--lm-accent-spring);
}

.nav-menu a:hover:after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--accent-spring);
}

body.light-mode .nav-menu a:hover {
    color: var(--lm-accent-spring);
}

/* Header button container */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px; /* Added gap between theme toggle and CTA button */
}

.cta-button {
    background-color: var(--accent-spring);
    color: var(--primary-midnight);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-spring);
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
}

body.light-mode .cta-button {
    background-color: var(--lm-accent-spring);
    color: var(--lm-primary-midnight);
    border-color: var(--lm-accent-spring);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-spring);
}

body.light-mode .cta-button:hover {
    background-color: transparent;
    color: var(--lm-accent-spring);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 33px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    background: var(--primary-ice-white);
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(30, 254, 155, 0.3);
}

body.light-mode .mobile-menu-btn {
    background: var(--lm-primary-ice-white);
}

.mobile-menu-btn span {
    height: 2px;
    width: 100%;
    background-color: var(--primary-midnight);
    border-radius: 1px;
    transition: all 0.3s ease;
    display: block;
}

body.light-mode .mobile-menu-btn span {
    background-color: var(--lm-primary-midnight);
}

/* Fixed hamburger to cross animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--accent-spring);
    color: var(--accent-spring);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.light-mode .theme-toggle {
    border-color: var(--lm-accent-spring);
    color: var(--lm-accent-spring);
}

.theme-toggle:hover {
    background-color: var(--accent-spring);
    color: var(--primary-midnight);
}

body.light-mode .theme-toggle:hover {
    background-color: var(--lm-accent-spring);
    color: var(--lm-primary-midnight);
}

/* Hero Section - UPDATED with proper image sizing */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden; /* Prevent image from overflowing */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 650px;
    z-index: 10;
}

.hero h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent-spring);
}

body.light-mode .hero h1 span {
    color: var(--lm-accent-spring);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Make container full height */
    max-height: 80vh; /* Limit maximum height */
}

.hero-image img {
    max-width: 100%;
    max-height: 100%; /* Limit image to container size */
    width: auto;
    height: auto;
    object-fit: contain; /* Maintain aspect ratio */
    box-shadow: none;
    /* Added filter for sewing machine image */
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(90deg);
    transition: filter 0.3s ease;
}

body.light-mode .hero-image img {
    box-shadow: none;
    filter: brightness(0) invert(0.2) sepia(1) saturate(5) hue-rotate(90deg);
}

.secondary-button {
    background-color: transparent;
    color: var(--accent-spring);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-spring);
    font-family: 'Outfit', sans-serif;
}

body.light-mode .secondary-button {
    color: var(--lm-accent-spring);
    border-color: var(--lm-accent-spring);
}

.secondary-button:hover {
    background-color: var(--accent-spring);
    color: var(--primary-midnight);
}

body.light-mode .secondary-button:hover {
    background-color: var(--lm-accent-spring);
    color: var(--lm-primary-midnight);
}

/* Categories Section - Optimized */
.categories {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-spring);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

body.light-mode .section-title h2:after {
    background: var(--lm-accent-spring);
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background: linear-gradient(145deg, var(--grey-mako), var(--grey-shark));
    border-radius: 25px; /* Increased from 15px to make it more rounded */
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(30, 254, 155, 0.1);
}

body.light-mode .category-card {
    background: linear-gradient(145deg, var(--lm-grey-mako), var(--lm-grey-shark));
    border-color: rgba(26, 147, 111, 0.1);
}

.category-card:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(30, 254, 155, 0.1), transparent);
    top: 0;
    left: -100%;
    transition: left 0.6s ease;
    z-index: 1;
}

body.light-mode .category-card:before {
    background: linear-gradient(45deg, transparent, rgba(26, 147, 111, 0.1), transparent);
}

.category-card:hover:before {
    left: 100%;
}

.category-card:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--accent-spring), var(--accent-lime));
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

body.light-mode .category-card:after {
    background: linear-gradient(90deg, var(--lm-accent-spring), var(--lm-accent-lime));
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(30, 254, 155, 0.2);
}

body.light-mode .category-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(26, 147, 111, 0.2);
}

.category-card:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.category-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--accent-spring);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

body.light-mode .category-icon {
    color: var(--lm-accent-spring);
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-lime);
}

body.light-mode .category-card:hover .category-icon {
    color: var(--lm-accent-lime);
}

.category-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.category-card p {
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* NEW GALLERY SECTION STYLES (replacing the old one) */
.gallery {
    padding: 100px 0;
    background-color: var(--primary-mirage);
}

body.light-mode .gallery {
    background-color: var(--lm-primary-mirage);
}

.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 600px;
    background: var(--grey-mako);
    box-shadow: 0 30px 50px var(--grey-shark);
    overflow: hidden;
    border-radius: 15px;
}

body.light-mode .gallery-container {
    background: var(--lm-grey-mako);
    box-shadow: 0 30px 50px var(--lm-grey-shark);
}

.gallery-slide {
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px var(--grey-shark);
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
    cursor: pointer;
}

body.light-mode .gallery-slide {
    box-shadow: 0 30px 50px var(--lm-grey-shark);
}

.gallery-slide:nth-child(1),
.gallery-slide:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    box-shadow: none;
}

.gallery-slide:nth-child(3) {
    left: 50%;
}

.gallery-slide:nth-child(4) {
    left: calc(50% + 220px);
}

.gallery-slide:nth-child(5) {
    left: calc(50% + 440px);
}

.gallery-slide:nth-child(n+6) {
    left: calc(50% + 660px);
    opacity: 0;
}

.gallery-content {
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: var(--primary-midnight);
    transform: translate(0, -50%);
    font-family: 'Outfit', sans-serif;
    display: none;
}

body.light-mode .gallery-content {
    color: var(--lm-primary-midnight);
}

.gallery-slide:nth-child(2) .gallery-content {
    display: block;
}

.gallery-content .name {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
    color: var(--accent-spring);
}

body.light-mode .gallery-content .name {
    color: var(--lm-accent-spring);
}

.gallery-content .des {
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
    color: var(--primary-midnight);
}

body.light-mode .gallery-content .des {
    color: var(--lm-primary-midnight);
}

.gallery-content button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
    background-color: var(--accent-spring);
    color: var(--primary-midnight);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif; /* Added Outfit font */
}

body.light-mode .gallery-content button {
    background-color: var(--lm-accent-spring);
    color: var(--lm-primary-midnight);
}

.gallery-content button:hover {
    background-color: var(--accent-lime);
}

body.light-mode .gallery-content button:hover {
    background-color: var(--lm-accent-lime);
}

@keyframes animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }
    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

.gallery-buttons {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
    z-index: 100;
}

.gallery-buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    margin: 0 10px;
    border: 1px solid var(--primary-mirage);
    background: var(--primary-mirage);
    color: var(--primary-ice-white);
    transition: 0.3s;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.light-mode .gallery-buttons button {
    border: 1px solid var(--lm-primary-mirage);
    background: var(--lm-primary-mirage);
    color: var(--lm-primary-ice-white);
}

.gallery-buttons button:hover {
    background: var(--accent-spring);
    color: var(--primary-midnight);
    border-color: var(--accent-spring);
}

body.light-mode .gallery-buttons button:hover {
    background: var(--lm-accent-spring);
    color: var(--lm-primary-midnight);
    border-color: var(--lm-accent-spring);
}

/* Bulk Order Section */
.bulk-order {
    padding: 100px 0;
}

.bulk-order-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.bulk-order-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.bulk-order-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    background-color: var(--accent-spring);
    color: var(--primary-midnight);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    flex-shrink: 0;
}

body.light-mode .step-number {
    background-color: var(--lm-accent-spring);
    color: var(--lm-primary-midnight);
}

.step-content h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 16px;
}

.quote-form-container {
    background-color: var(--grey-shark);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

body.light-mode .quote-form-container {
    background-color: var(--lm-grey-shark);
}

.iphone-mockup {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 600px;
    background: url("../images/iphone-mockup.png") no-repeat center center;
    background-size: contain;
    opacity: 0.1;
    z-index: 0;
}

.quote-form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--grey-mako);
    background-color: var(--primary-midnight);
    color: var(--primary-ice-white);
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

body.light-mode .form-group input,
body.light-mode .form-group textarea,
body.light-mode .form-group select {
    border-color: var(--lm-grey-mako);
    background-color: var(--lm-primary-midnight);
    color: var(--lm-primary-ice-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-spring);
    box-shadow: 0 0 0 3px rgba(30, 254, 155, 0.2);
    outline: none;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus,
body.light-mode .form-group select:focus {
    border-color: var(--lm-accent-spring);
    box-shadow: 0 0 0 3px rgba(26, 147, 111, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--accent-spring);
    color: var(--primary-midnight);
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Outfit', sans-serif;
}

body.light-mode .submit-btn {
    background-color: var(--lm-accent-spring);
    color: var(--lm-primary-midnight);
}

.submit-btn:hover {
    background-color: var(--accent-lime);
}

body.light-mode .submit-btn:hover {
    background-color: var(--lm-accent-lime);
}

/* Manufacturing Section */
.equipment-section {
    padding: 100px 0;
    background-color: var(--primary-mirage);
}

body.light-mode .equipment-section {
    background-color: var(--lm-primary-mirage);
}

.video-container {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Custom play button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--accent-spring);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

body.light-mode .play-button {
    background-color: var(--lm-accent-spring);
}

.play-button:hover {
    background-color: var(--accent-lime);
    transform: translate(-50%, -50%) scale(1.1);
}

body.light-mode .play-button:hover {
    background-color: var(--lm-accent-lime);
}

.play-button i {
    color: var(--primary-midnight);
    font-size: 30px;
    margin-left: 5px;
}

body.light-mode .play-button i {
    color: var(--lm-primary-midnight);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.video-overlay h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.video-overlay p {
    font-size: 18px;
}

/* Europe Slider Section - Updated */
.europe-slider {
    padding: 100px 0;
    background-color: var(--primary-ice-white);
    position: relative;
    overflow: hidden;
}

body.light-mode .europe-slider {
    background-color: var(--lm-primary-midnight);
}

.europe-slider .section-title h2,
.europe-slider .section-title p {
    color: var(--primary-midnight);
}

body.light-mode .europe-slider .section-title h2,
body.light-mode .europe-slider .section-title p {
    color: var(--lm-primary-ice-white);
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slider {
    display: flex;
    gap: 25px;
    padding: 30px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.slide {
    flex: 0 0 280px; /* Slightly smaller width */
    height: 160px; /* Reduced height to half */
    border-radius: 15px; /* More rounded corners */
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: var(--primary-mirage);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
}

body.light-mode .slide {
    background: var(--lm-primary-mirage);
}

.slide:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(30, 254, 155, 0.3);
}

body.light-mode .slide:hover {
    box-shadow: 0 15px 35px rgba(26, 147, 111, 0.3);
}

.country-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
    justify-content: center;
}

.country-flag {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-ice-white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

body.light-mode .country-flag {
    background-color: var(--lm-primary-ice-white);
}

/* Hide the emoji text */
.country-flag span {
    display: none;
}

/* Add specific flag backgrounds */
.country-flag.uk { background-image: url('https://flagcdn.com/w320/gb.png'); }
.country-flag.fr { background-image: url('https://flagcdn.com/w320/fr.png'); }
.country-flag.de { background-image: url('https://flagcdn.com/w320/de.png'); }
.country-flag.it { background-image: url('https://flagcdn.com/w320/it.png'); }
.country-flag.bg { background-image: url('https://flagcdn.com/w320/be.png'); }

.slide h3 {
    font-size: 18px;
    color: var(--accent-spring);
    margin: 0;
}

body.light-mode .slide h3 {
    color: var(--lm-accent-spring);
}

.divider {
    width: 80%;
    height: 1px;
    background: var(--accent-spring);
    margin: 8px 0;
    opacity: 0.5;
}

body.light-mode .divider {
    background: var(--lm-accent-spring);
}

.country-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.slide p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 100%;
    color: var(--primary-ice-white);
}

body.light-mode .slide p {
    color: var(--lm-primary-ice-white);
}

.slide i {
    margin-right: 8px;
    color: var(--accent-yellow);
    width: 16px;
    text-align: center;
    font-size: 12px;
}

/* Remove slider controls */
.slider-controls {
    display: none;
}

/* Footer */
footer {
    background-color: var(--primary-mirage);
    padding: 80px 0 30px;
}

body.light-mode footer {
    background-color: var(--lm-primary-mirage);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 22px;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--primary-ice-white);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

body.light-mode .footer-links a {
    color: var(--lm-primary-ice-white);
}

.footer-links a:hover {
    color: var(--accent-spring);
}

body.light-mode .footer-links a:hover {
    color: var(--lm-accent-spring);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--grey-mako);
    color: var(--primary-ice-white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

body.light-mode .social-links a {
    background-color: var(--lm-grey-mako);
    color: var(--lm-primary-ice-white);
}

.social-links a:hover {
    background-color: var(--accent-spring);
    color: var(--primary-midnight);
}

body.light-mode .social-links a:hover {
    background-color: var(--lm-accent-spring);
    color: var(--lm-primary-midnight);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--grey-mako);
    color: var(--grey-strom);
}

body.light-mode .copyright {
    border-top-color: var(--lm-grey-mako);
    color: var(--lm-grey-strom);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-spring);
    color: var(--primary-midnight);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

body.light-mode .back-to-top {
    background-color: var(--lm-accent-spring);
    color: var(--lm-primary-midnight);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-lime);
    transform: translateY(-5px);
}

body.light-mode .back-to-top:hover {
    background-color: var(--lm-accent-lime);
}

/* Mobile menu icons */
.nav-menu li a i {
    display: none;
    margin-right: 8px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .gallery-container {
        width: 90%;
        height: 500px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .bulk-order-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 45px;
    }
    
    .hero-buttons {
        flex-wrap: wrap;
    }
    
    .hero-buttons a {
        flex: 1;
        min-width: 150px;
        text-align: center;
    }

    .cta-button {
        padding: 10px 15px;
        font-size: 14px;
    }

    .gallery-container {
        height: 450px;
    }

    .gallery-content {
        left: 50px;
        width: 250px;
    }

    .gallery-content .name {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--primary-mirage);
        flex-direction: column;
        align-items: flex-start; /* Changed to flex-start for left alignment */
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1000;
        padding-left: 40px; /* Added padding for better alignment */
    }
    
    body.light-mode .nav-menu {
        background-color: var(--lm-primary-mirage);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-menu li a i {
        display: inline-block;
        width: 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        min-height: calc(100vh - 80px);
        padding-top: 120px;
        padding-bottom: 30px;
        height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-image {
        max-height: 50vh; /* Further reduce height on mobile */
        order: 1; /* Move image above text on mobile if needed */
        margin-bottom: -20px;
    }
    
    .hero-image img {
        max-height: 40vh; /* Ensure image fits on mobile */
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left; /* Changed to left alignment */
    }
    
    .video-container {
        height: 300px;
    }
    
    .footer-col {
        text-align: left; /* Changed to left alignment */
    }
    
    .social-links {
        justify-content: flex-start; /* Changed to flex-start for left alignment */
    }

    .cta-button {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .hero-buttons a {
        flex: 1;
        min-width: unset;
        padding: 10px 15px;
        font-size: 14px;
    }

    .slide {
        flex: 0 0 250px;
        height: 160px;
    }
    
    .gallery-container {
        height: 400px;
    }

    .gallery-content {
        left: 30px;
        width: 200px;
    }

    .gallery-content .name {
        font-size: 28px;
    }

    .gallery-content .des {
        font-size: 14px;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
    }
    
    .header-buttons {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-image {
        max-height: 60vh; /* Further adjustment for small screens */
    }
    
    .hero-image img {
        max-height: 65vh; /* Ensure image fits on very small screens */
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .category-card {
        height: auto;
        min-height: 250px;
    }
    
    .bulk-order-text h2 {
        font-size: 32px;
    }
    
    .iphone-mockup {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero-buttons a {
        width: auto;
    }

    .header-inner {
        justify-content: space-around;
    }
    
    .cta-button {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .mobile-menu-btn {
        left: 10px;
        padding: 6px;
    }

    .slide {
        flex: 0 0 220px;
        height: 160px;
        padding: 15px;
    }
    
    .country-flag {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .slide h3 {
        font-size: 16px;
    }
    
    .slide p {
        font-size: 12px;
    }
    
    .gallery-container {
        height: 350px;
    }

    .gallery-content {
        left: 20px;
        width: 180px;
    }

    .gallery-content .name {
        font-size: 24px;
    }

    .gallery-content .des {
        font-size: 12px;
    }

    .gallery-content button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/*collection.php*/

    /* Gallery Hero Section */
    .gallery-hero {
        height: 60vh;
        display: flex;
        align-items: center;
        position: relative;
        padding-top: 80px;
        overflow: hidden;
        background: linear-gradient(135deg, var(--primary-mirage) 0%, var(--primary-midnight) 100%);
    }
    
    .gallery-hero-content {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
        z-index: 10;
    }

    .gallery-hero h1 {
        font-size: 48px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 20px;
        color: var(--accent-spring);
    }
    
    body.light-mode .gallery-hero h1 {
        color: var(--lm-accent-spring);
    }

    .gallery-hero p {
        font-size: 18px;
        margin-bottom: 30px;
        line-height: 1.6;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Advanced Filters Section */
    .filters-section {
        padding: 20px 0;
        background-color: var(--primary-mirage);
        position: static;
        top: 80px;
        z-index: 99;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode .filters-section {
        background-color: var(--lm-primary-mirage);
    }

    .filters-container {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }

    .filter-group {
        position: relative;
    }

    .filter-label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--accent-spring);
        font-size: 14px;
    }
    
    body.light-mode .filter-label {
        color: var(--lm-accent-spring);
    }

    .filter-select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: var(--primary-midnight);
        color: var(--primary-ice-white);
        border: 2px solid var(--grey-mako);
        border-radius: 25px;
        padding: 10px 40px 10px 20px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 150px;
    }
    
    body.light-mode .filter-select {
        background-color: var(--lm-primary-midnight);
        color: var(--lm-primary-ice-white);
        border-color: var(--lm-grey-mako);
    }

    .filter-select:focus {
        outline: none;
        border-color: var(--accent-spring);
        box-shadow: 0 0 0 3px rgba(30, 254, 155, 0.2);
    }
    
    body.light-mode .filter-select:focus {
        border-color: var(--lm-accent-spring);
        box-shadow: 0 0 0 3px rgba(26, 147, 111, 0.2);
    }

    .filter-group::after {
        content: "▼";
        font-size: 12px;
        color: var(--accent-spring);
        position: absolute;
        right: 15px;
        top: 38px;
        pointer-events: none;
    }
    
    body.light-mode .filter-group::after {
        color: var(--lm-accent-spring);
    }

    .filter-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
        justify-content: center;
    }

    .filter-chip {
        background-color: var(--grey-mako);
        color: var(--primary-ice-white);
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    body.light-mode .filter-chip {
        background-color: var(--lm-grey-mako);
        color: var(--lm-primary-ice-white);
    }

    .filter-chip.active {
        background-color: var(--accent-spring);
        color: var(--primary-midnight);
    }
    
    body.light-mode .filter-chip.active {
        background-color: var(--lm-accent-spring);
        color: var(--lm-primary-midnight);
    }

    .filter-chip i {
        font-size: 12px;
    }

    .filter-chip:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Gallery Grid Section */
    .gallery-grid-section {
        padding: 60px 0;
    }

    .results-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
    }

    .results-count {
        font-size: 16px;
        color: var(--accent-spring);
    }
    
    body.light-mode .results-count {
        color: var(--lm-accent-spring);
    }

    .sort-select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: var(--primary-midnight);
        color: var(--primary-ice-white);
        border: 2px solid var(--grey-mako);
        border-radius: 25px;
        padding: 8px 35px 8px 15px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    body.light-mode .sort-select {
        background-color: var(--lm-primary-midnight);
        color: var(--lm-primary-ice-white);
        border-color: var(--lm-grey-mako);
    }

    .sort-select:focus {
        outline: none;
        border-color: var(--accent-spring);
    }
    
    body.light-mode .sort-select:focus {
        border-color: var(--lm-accent-spring);
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
        margin-bottom: 50px;
    }

    .gallery-item {
        background: linear-gradient(145deg, var(--grey-mako), var(--grey-shark));
        border-radius: 15px;
        overflow: hidden;
        transition: all 0.4s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        position: relative;
        cursor: pointer;
    }
    
    body.light-mode .gallery-item {
        background: linear-gradient(145deg, var(--lm-grey-mako), var(--lm-grey-shark));
    }

    .gallery-item:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(30, 254, 155, 0.2);
    }
    
    body.light-mode .gallery-item:hover {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(26, 147, 111, 0.2);
    }

    .gallery-image {
        width: 100%;
        height: 250px;
        overflow: hidden;
        position: relative;
    }

    .gallery-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-item:hover .gallery-image img {
        transform: scale(1.1);
    }

    .item-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background-color: var(--accent-spring);
        color: var(--primary-midnight);
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        z-index: 2;
    }
    
    body.light-mode .item-badge {
        background-color: var(--lm-accent-spring);
        color: var(--lm-primary-midnight);
    }

    .item-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        padding: 20px;
        color: white;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .gallery-item:hover .item-overlay {
        transform: translateY(0);
    }

    .quick-view-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: var(--accent-spring);
        color: var(--primary-midnight);
        border: none;
        padding: 10px 20px;
        border-radius: 30px;
        font-weight: 600;
        cursor: pointer;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 2;
    }
    
    body.light-mode .quick-view-btn {
        background-color: var(--lm-accent-spring);
        color: var(--lm-primary-midnight);
    }

    .gallery-item:hover .quick-view-btn {
        opacity: 1;
    }

    .item-info {
        padding: 20px;
    }

    .item-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--accent-spring);
    }
    
    body.light-mode .item-title {
        color: var(--lm-accent-spring);
    }

    .item-details {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        color: var(--primary-ice-white);
    }
    
    body.light-mode .item-details {
        color: var(--lm-primary-ice-white);
    }

    .item-price {
        font-weight: 700;
        color: var(--accent-lime);
    }
    
    body.light-mode .item-price {
        color: var(--lm-accent-lime);
    }

    .item-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 10px;
    }

    .item-tag {
        background-color: var(--grey-shark);
        color: var(--primary-ice-white);
        padding: 3px 8px;
        border-radius: 10px;
        font-size: 11px;
    }
    
    body.light-mode .item-tag {
        background-color: var(--lm-grey-shark);
        color: var(--lm-primary-ice-white);
    }

    /* Pagination */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-top: 40px;
    }

    .page-btn {
        background-color: var(--grey-mako);
        color: var(--primary-ice-white);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    body.light-mode .page-btn {
        background-color: var(--lm-grey-mako);
        color: var(--lm-primary-ice-white);
    }

    .page-btn:hover {
        background-color: var(--accent-spring);
        color: var(--primary-midnight);
    }
    
    body.light-mode .page-btn:hover {
        background-color: var(--lm-accent-spring);
        color: var(--lm-primary-midnight);
    }

    .page-btn.active {
        background-color: var(--accent-spring);
        color: var(--primary-midnight);
    }
    
    body.light-mode .page-btn.active {
        background-color: var(--lm-accent-spring);
        color: var(--lm-primary-midnight);
    }

    .page-dots {
        color: var(--grey-strom);
        font-size: 16px;
    }
    
    body.light-mode .page-dots {
        color: var(--lm-grey-strom);
    }

    /* Quick View Modal */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .product-modal {
        background-color: var(--primary-midnight);
        border-radius: 15px;
        width: 90%;
        max-width: 1000px;
        max-height: 90vh;
        overflow-y: auto;
        position: relative;
        padding: 30px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    body.light-mode .product-modal {
        background-color: var(--lm-primary-midnight);
    }

    .close-modal {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--primary-ice-white);
        cursor: pointer;
        z-index: 10;
    }
    
    body.light-mode .close-modal {
        color: var(--lm-primary-ice-white);
    }

    .close-modal:hover {
        color: var(--accent-spring);
    }
    
    body.light-mode .close-modal:hover {
        color: var(--lm-accent-spring);
    }

    .modal-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .modal-image-gallery {
        position: relative;
    }

    .main-image {
        width: 100%;
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 15px;
    }

    .main-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .thumbnail-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .thumbnail {
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        opacity: 0.7;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

    .thumbnail.active {
        opacity: 1;
        border-color: var(--accent-spring);
    }
    
    body.light-mode .thumbnail.active {
        border-color: var(--lm-accent-spring);
    }

    .thumbnail:hover {
        opacity: 1;
    }

    .thumbnail img {
        width: 100%;
        height: 80px;
        object-fit: cover;
        display: block;
    }

    .modal-product-info h2 {
        font-size: 24px;
        margin-bottom: 15px;
        color: var(--accent-spring);
    }
    
    body.light-mode .modal-product-info h2 {
        color: var(--lm-accent-spring);
    }

    .modal-product-info .price {
        font-size: 22px;
        font-weight: 700;
        color: var(--accent-lime);
        margin-bottom: 15px;
    }
    
    body.light-mode .modal-product-info .price {
        color: var(--lm-accent-lime);
    }

    .modal-product-info .description {
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .product-details {
        margin-bottom: 25px;
    }

    .detail-item {
        display: flex;
        margin-bottom: 10px;
    }

    .detail-label {
        font-weight: 600;
        width: 120px;
        color: var(--accent-spring);
    }
    
    body.light-mode .detail-label {
        color: var(--lm-accent-spring);
    }

    .detail-value {
        flex: 1;
    }

    .modal-actions {
        display: flex;
        gap: 15px;
    }

    .modal-btn {
        padding: 12px 25px;
        border-radius: 30px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Outfit', sans-serif;
    }

    .btn-primary {
        background-color: var(--accent-spring);
        color: var(--primary-midnight);
        border: 2px solid var(--accent-spring);
    }
    
    body.light-mode .btn-primary {
        background-color: var(--lm-accent-spring);
        color: var(--lm-primary-midnight);
        border-color: var(--lm-accent-spring);
    }

    .btn-primary:hover {
        background-color: transparent;
        color: var(--accent-spring);
    }
    
    body.light-mode .btn-primary:hover {
        background-color: transparent;
        color: var(--lm-accent-spring);
    }

    .btn-secondary {
        background-color: transparent;
        color: var(--accent-spring);
        border: 2px solid var(--accent-spring);
    }
    
    body.light-mode .btn-secondary {
        color: var(--lm-accent-spring);
        border-color: var(--lm-accent-spring);
    }

    .btn-secondary:hover {
        background-color: var(--accent-spring);
        color: var(--primary-midnight);
    }
    
    body.light-mode .btn-secondary:hover {
        background-color: var(--lm-accent-spring);
        color: var(--lm-primary-midnight);
    }

    /* Responsive Styles */
    @media (max-width: 1200px) {
        .modal-content {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 992px) {
        .gallery-grid {
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        }
    }

    @media (max-width: 768px) {
        .gallery-hero {
            height: 50vh;
            padding-top: 120px;
        }
        
        .gallery-hero h1 {
            font-size: 36px;
        }
        
        .filters-container {
            flex-direction: column;
            align-items: stretch;
        }
        
        .filter-group {
            width: 100%;
        }
        
        .filter-select {
            width: 100%;
        }
        
        .results-info {
            flex-direction: column;
            gap: 15px;
            align-items: flex-start;
        }
        
        .thumbnail-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 576px) {
        .gallery-hero h1 {
            font-size: 32px;
        }
        
        .gallery-hero p {
            font-size: 16px;
        }
        
        .gallery-grid {
            grid-template-columns: 1fr;
        }
        
        .filter-chips {
            justify-content: flex-start;
        }
        
        .pagination {
            flex-wrap: wrap;
        }
        
        .modal-product-info h2 {
            font-size: 20px;
        }
        
        .modal-actions {
            flex-direction: column;
        }
        
        .modal-btn {
            width: 100%;
            text-align: center;
        }
    }
