@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
    --swiper-theme-color: #1c8097;
    --primary-color: #1c8097;
    --primary-font-color: #8a5630;
    --primary-hover: #156b7a;
    --primary-light: #2a9bb0;
}

/* Global heading colors */
h2, h3 {
    color: #8a5630 !important;
}

/* ===== NAVBAR SCROLL BEHAVIOR ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(-100%) !important; /* Force hidden by default */
    transition: transform 0.3s ease-in-out;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    opacity: 0; /* Start completely hidden */
}

/* Only show navbar when explicitly scrolled past hero */
body.hero-scrolled #header {
    transform: translateY(0) !important;
    opacity: 1;
}

/* Ensure navbar stays hidden during hero section and page load */
body:not(.hero-scrolled) #header,
body.hero-active #header,
#header:not(.show) {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
}

/* Show class for when scrolled */
#header.show {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Aurora animation styles removed */

/* ===== FANCY GLOWING BUTTON STYLES ===== */
:root {
    --btn-m: 1rem; /* Button scaling factor */
    --btn-red: #FF6565;
    --btn-pink: #FF64F9;
    --btn-purple: #6B5FFF;
    --btn-blue: #4D8AFF;
    --btn-green: #5BFF89;
    --btn-yellow: #FFEE55;
    --btn-orange: #FF6D1B;
}

.fancy-btn,
button.fancy-btn,
.action-btn,
a.action-btn,
input[type="submit"],
button[type="submit"] {
    border: calc(0.08 * var(--btn-m)) solid transparent !important;
    position: relative;
    color: #F3F3F3 !important;
    font-family: 'Outfit', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: calc(0.8 * var(--btn-m)) !important;
    border-radius: calc(0.7 * var(--btn-m)) !important;
    padding: calc(0.5 * var(--btn-m)) calc(1 * var(--btn-m)) !important;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.3s ease;
    z-index: 20; /* Ensure button is above its background effect */

    background:
        /* fake texture */
        radial-gradient(70% 3% at 30% 5%, #c633 80%, #0000 0) 50% 50% / 100% 40%,
        radial-gradient(60% 2.3% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 70% 30%,
        radial-gradient(50% 1.7% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 50% 70%,
        radial-gradient(60% 2% at 30% 5%, #c632 80%, #0000 0) 0% 10% / 60% 38%,
        radial-gradient(80% 2.3% at 30% 5%, #a412 80%, #0000 0) 70% 20% / 66% 30%,
        radial-gradient(100% 2.1% at 30% 5%, #c632 80%, #0000 0) 0% 17% / 70% 50%,
        radial-gradient(60% 3% at 50% 0, #c632 80%, #0000 0) 0% 10% / 70% 30% repeat-y,
        radial-gradient(40% 4% at 70% 5%, #b522 80%, #0000 0) 100% 2% / 70% 20%,
        /* wood stains */
        radial-gradient(80% 50% at 20% 20%, #c0824334 10%, #0000 25%),
        radial-gradient(140% 50% at 90% 45%, #c0824324 10%, #0000 15%),
        radial-gradient(100% 50% at 70% 50%, #c0824324 10%, #0000 15%),
        /* base */
        linear-gradient(to top right, #0001, #ffc5),
        #f0a274 !important;
    opacity: 1 !important;
    border: 1px solid #d4a574 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 2px 10px rgba(173, 34, 1, 0.4) !important;
    position: relative;
}

/* Using CSS-generated wood texture pattern directly on buttons */

.fancy-btn:hover,
button.fancy-btn:hover,
.action-btn:hover,
a.action-btn:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.1) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Removed rainbow animation keyframes and hover effects */

/* Responsive button scaling */
@media screen and (max-width: 1000px) {
    :root {
        --btn-m: 0.8rem;
    }
}

body {
    font-family: 'Outfit', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Keep default text colors - only theme colors changed */
}

/* Loading Screen Styles with Neumorphism Gradient Loader */
body.loading {
    overflow: hidden;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ededed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

#loading-screen.fade-out {
    opacity: 0;
}

/* New SVG Loader Container */
.loader-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader {
    max-width: 15rem;
    width: 100%;
    height: auto;
    stroke-linecap: round;
    margin-bottom: 2rem;
}

.loader circle {
    fill: none;
    stroke-width: 3.5;
    animation-name: preloader;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    transform-origin: 170px 170px;
    will-change: transform;
}

.loader circle:nth-of-type(1) {
    stroke-dasharray: 550px;
    animation-delay: -0.15s;
}

.loader circle:nth-of-type(2) {
    stroke-dasharray: 500px;
    animation-delay: -0.3s;
}

.loader circle:nth-of-type(3) {
    stroke-dasharray: 450px;
    animation-delay: -0.45s;
}

.loader circle:nth-of-type(4) {
    stroke-dasharray: 300px;
    animation-delay: -0.6s;
}

@keyframes preloader {
    50% {
        transform: rotate(360deg);
    }
}

/* Logo below loader - replaces loading text */
.loading-logo {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-logo .logo-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    opacity: 0.9;
}

/* Loading Text - No longer used, logo replaces text */



/* Hide content during loading */
body.loading #main-content {
    opacity: 0 !important;
    pointer-events: none;
}

/* Show content after loading */
body.loaded #main-content {
    opacity: 1;
    pointer-events: auto;
}

/* Loading screen fade out */
#loading-screen.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

/* Prevent FOUC (Flash of Unstyled Content) */
#main-content {
    visibility: visible;
    opacity: 1;
}

body.loaded #main-content {
    visibility: visible;
    opacity: 1;
}

/* Smooth content appearance */
#main-content {
    transition: opacity 0.5s ease-in-out;
}

/* Loading state for specific elements */
body.loading #categories-grid,
body.loading #featured-products {
    opacity: 0.5;
}

/* Ensure categories grid is visible */
#categories-grid {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.loaded #categories-grid,
body.loaded #featured-products,
body.loaded .slide-text,
body.loaded footer,
body.loaded #regular-content,
body.loaded .navbar-trigger-indicator {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out;
}

/* Prevent any content from appearing above hero during loading */
body.loading * {
    z-index: 1 !important;
}

body.loading #loading-screen {
    z-index: 9999 !important;
}

body.loading #hero-slider {
    z-index: 100 !important;
}

/* Seamless Pattern Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pattern.png');
    background-repeat: repeat;
    background-size: 400px 400px;
    background-position: 0 0;
    opacity: 0.10;
    z-index: -1;
    pointer-events: none;
}

.swiper {
    width: 100%;
    height: 100%;
}

.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        transform: translateX(100%);
    }
    .nav-menu.show {
        transform: translateX(0);
    }
}

/* Removed old product card animations - using new card design */

/* Rainbow animation styles removed */

/* ===== NAVBAR SCROLL BEHAVIOR WITH WOOD TEXTURE ===== */
#header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#header.show {
    transform: translateY(0);
    opacity: 1;
}

/* Hero mode - hide navbar */
body.hero-active #header {
    transform: translateY(-100%);
    opacity: 0;
}

/* After hero - show navbar */
body.hero-scrolled #header {
    transform: translateY(0);
    opacity: 1;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Enhanced navbar styling when scrolled */
body.hero-scrolled #header.scrolled {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15) !important;
}

/* Navbar text styling for wood background */
#header .text-gray-700 {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
    font-weight: 600 !important;
}

#header .text-gray-700:hover {
    color: #fff3cd !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
}

/* Mobile menu button styling */
#header .md\\:hidden button {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
}

/* Mobile menu background */
#mobile-menu {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Mobile menu links styling */
#mobile-menu a {
    color: #374151 !important;
    font-weight: 600 !important;
}

#mobile-menu a:hover {
    color: #1c8097 !important;
}

/* Force wood texture visibility - override any conflicting styles */
header#header,
#header {
    background:
        /* fake texture */
        radial-gradient(70% 3% at 30% 5%, #c633 80%, #0000 0) 50% 50% / 100% 40%,
        radial-gradient(60% 2.3% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 70% 30%,
        radial-gradient(50% 1.7% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 50% 70%,
        radial-gradient(60% 2% at 30% 5%, #c632 80%, #0000 0) 0% 10% / 60% 38%,
        radial-gradient(80% 2.3% at 30% 5%, #a412 80%, #0000 0) 70% 20% / 66% 30%,
        radial-gradient(100% 2.1% at 30% 5%, #c632 80%, #0000 0) 0% 17% / 70% 50%,
        radial-gradient(60% 3% at 50% 0, #c632 80%, #0000 0) 0% 10% / 70% 30% repeat-y,
        radial-gradient(40% 4% at 70% 5%, #b522 80%, #0000 0) 100% 2% / 70% 20%,
        /* wood stains */
        radial-gradient(80% 50% at 20% 20%, #c0824334 10%, #0000 25%),
        radial-gradient(140% 50% at 90% 45%, #c0824324 10%, #0000 15%),
        radial-gradient(100% 50% at 70% 50%, #c0824324 10%, #0000 15%),
        /* base */
        linear-gradient(to top right, #0001, #ffc5),
        #f0a274 !important;
}

/* Ensure glassy effect is visible in all states */
body.hero-scrolled #header,
body.hero-scrolled #header.show,
#header.show {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* ===== CUSTOM WOOD TEXTURE BUTTON BACKGROUND ===== */
.fancy-btn,
.action-btn,
button[type="submit"],
input[type="submit"],
.bg-\[#c1a242\],
.bg-\[#1c8097\],
a[class*="bg-"],
button[class*="bg-"] {
    background:
        /* Wood pattern image */
        url('wood-pattern.png'),
        /* Base color in case image doesn't load */
        #f0a274 !important;
    background-size: cover;
    background-position: center;

    border: 1px solid #ad2201 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 2px 4px rgba(173, 34, 1, 0.3) !important;
    transition: all 0.3s ease !important;
}

.fancy-btn:hover,
.action-btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.bg-\[#c1a242\]:hover,
.bg-\[#1c8097\]:hover,
a[class*="bg-"]:hover,
button[class*="bg-"]:hover {
    transform: translateY(-1px) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 4px 8px rgba(173, 34, 1, 0.4) !important;
    filter: brightness(1.1) !important;
}

.fancy-btn:active,
.action-btn:active,
button[type="submit"]:active,
input[type="submit"]:active,
.bg-\[#c1a242\]:active,
.bg-\[#1c8097\]:active,
a[class*="bg-"]:active,
button[class*="bg-"]:active {
    transform: translateY(1px) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 1px 2px rgba(173, 34, 1, 0.3) !important;
}

/* Additional button selectors for comprehensive coverage */
.btn,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger,
.button,
[role="button"],
.wp-block-button__link,
.elementor-button,
input[type="button"],
.submit-btn,
.cta-button,
.primary-button,
.secondary-button {
    background:
        /* fake texture */
        radial-gradient(70% 3% at 30% 5%, #c633 80%, #0000 0) 50% 50% / 100% 40%,
        radial-gradient(60% 2.3% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 70% 30%,
        radial-gradient(50% 1.7% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 50% 70%,
        radial-gradient(60% 2% at 30% 5%, #c632 80%, #0000 0) 0% 10% / 60% 38%,
        radial-gradient(80% 2.3% at 30% 5%, #a412 80%, #0000 0) 70% 20% / 66% 30%,
        radial-gradient(100% 2.1% at 30% 5%, #c632 80%, #0000 0) 0% 17% / 70% 50%,
        radial-gradient(60% 3% at 50% 0, #c632 80%, #0000 0) 0% 10% / 70% 30% repeat-y,
        radial-gradient(40% 4% at 70% 5%, #b522 80%, #0000 0) 100% 2% / 70% 20%,
        /* wood stains */
        radial-gradient(80% 50% at 20% 20%, #c0824334 10%, #0000 25%),
        radial-gradient(140% 50% at 90% 45%, #c0824324 10%, #0000 15%),
        radial-gradient(100% 50% at 70% 50%, #c0824324 10%, #0000 15%),
        /* base */
        linear-gradient(to top right, #0001, #ffc5),
        #f0a274 !important;

    border: 1px solid #ad2201 !important;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 2px 4px rgba(173, 34, 1, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn:hover,
.btn-primary:hover,
.btn-success:hover,
.btn-info:hover,
.btn-warning:hover,
.btn-danger:hover,
.button:hover,
[role="button"]:hover,
.wp-block-button__link:hover,
.elementor-button:hover,
input[type="button"]:hover,
.submit-btn:hover,
.cta-button:hover,
.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-1px) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 4px 8px rgba(173, 34, 1, 0.4) !important;
    filter: brightness(1.1) !important;
}

/* Removed duplicate category card styles - using new card design */

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Section Styles - Modern Minimalist */
#categories {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.1) 0%, transparent 50%);
    z-index: 0;
}

#categories > * {
    position: relative;
    z-index: 1;
}

#categories h2 {
    color: #1e293b;
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Removed duplicate modern category card styles - using new card design */

/* Smooth line clamp for descriptions */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pulse animation for status indicator */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient text effect */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Enhanced hover effects for buttons */
.group\/btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

/* Infinite Slider Hero Styles */
#hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05) rotate(0.5deg);
    transition: all 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    filter: blur(2px);
}

.slide.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    z-index: 2;
    filter: blur(0px);
}

.slide.prev {
    opacity: 0;
    transform: scale(0.95) rotate(-0.5deg);
    z-index: 0;
    filter: blur(1px);
}

.slide.next {
    opacity: 0;
    transform: scale(1.1) rotate(0.5deg);
    z-index: 0;
    filter: blur(2px);
}

.slide-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    will-change: transform;
    transition: all 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.1) rotate(1deg);
    z-index: 0; /* Ensure it's behind the overlay */
}

/* Helper class for backgrounds set via JavaScript */
.slide-bg.has-background {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Fallback backgrounds for carousel slides - applied directly via CSS */
.slide:nth-child(1) .slide-bg {
    background-image: url('carousel-image/1.jpg') !important;
}

.slide:nth-child(2) .slide-bg {
    background-image: url('carousel-image/2.jpg') !important;
}

.slide:nth-child(3) .slide-bg {
    background-image: url('carousel-image/3.jpg') !important;
}

.slide:nth-child(4) .slide-bg {
    background-image: url('carousel-image/4.jpg') !important;
}

.slide:nth-child(5) .slide-bg {
    background-image: url('carousel-image/5.jpg') !important;
}

.slide:nth-child(6) .slide-bg {
    background-image: url('carousel-image/6.jpg') !important;
}

.slide.active .slide-bg {
    transform: scale(1) rotate(0deg);
    transition-delay: 0.1s;
}

.slide.prev .slide-bg {
    transform: scale(0.95) rotate(-0.5deg);
}

.slide.next .slide-bg {
    transform: scale(1.15) rotate(1deg);
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 65%; /* Moved lower from 50% to 65% */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.slide-text {
    font-size: clamp(1.5rem, 3.5vw, 2.8rem); /* Slightly reduced text size */
    font-weight: 800; /* Much bolder weight */
    color: #ffffff !important; /* Ensuring white color with !important */
    text-shadow: 0 4px 20px rgba(0,0,0,0.8), 0 2px 10px rgba(0,0,0,0.6);
    line-height: 1.2;
    margin: 0;
    padding: 0 2rem;
    text-transform: uppercase;
    font-family: 'Outfit', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    letter-spacing: 2px;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Uniform text animations for all slides - same as "Crafted with Excellence" */
.slide .slide-text {
    transform: translateY(-50px) scale(1.2);
    filter: blur(5px);
}

.slide.active .slide-text {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
    transition-delay: 0.3s;
    animation: slideInBlur 2s ease-out 0.3s both;
}

/* Prevent text flicker during transitions */
.slide:not(.active) .slide-text {
    opacity: 0 !important;
    transition: all 0.4s ease-out;
}

/* Keyframe Animations */
@keyframes slideInBounce {
    0% {
        transform: translateY(50px) scale(0.8);
        opacity: 0;
    }
    60% {
        transform: translateY(-10px) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideInRotate {
    0% {
        transform: translateX(-100px) rotateY(45deg);
        opacity: 0;
    }
    50% {
        transform: translateX(10px) rotateY(-5deg);
        opacity: 0.7;
    }
    100% {
        transform: translateX(0) rotateY(0deg);
        opacity: 1;
    }
}

@keyframes slideInBlur {
    0% {
        transform: translateY(-50px) scale(1.2);
        filter: blur(10px);
        opacity: 0;
    }
    70% {
        transform: translateY(5px) scale(0.98);
        filter: blur(2px);
        opacity: 0.9;
    }
    100% {
        transform: translateY(0) scale(1);
        filter: blur(0px);
        opacity: 1;
    }
}

@keyframes slideInSpin {
    0% {
        transform: scale(0.5) rotate(180deg);
        filter: brightness(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(-10deg);
        filter: brightness(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
        opacity: 1;
    }
}

@keyframes slideInReveal {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
        transform: translateY(30px);
        opacity: 0;
    }
    50% {
        clip-path: polygon(0 0, 60% 0, 60% 100%, 0% 100%);
        transform: translateY(10px);
        opacity: 0.7;
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        transform: translateY(0);
        opacity: 1;
    }
}

/* Slide Actions */
.slide-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-btn:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    color: #fbbf24;
}

.action-btn i {
    font-size: 1.5rem;
}

.action-btn span {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: #ffffff;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

/* Slider Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    width: 0%;
    transition: width 0.1s linear;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    animation: scrollBounce 2s infinite;
}

.scroll-text {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    opacity: 0.9;
}

.scroll-arrow {
    color: #ffffff;
    font-size: 1.2rem;
    opacity: 0.8;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Navbar Transition Styles */
#header {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

#header.translate-y-0 {
    transform: translateY(0);
}

#header.-translate-y-full {
    transform: translateY(-100%);
}

#header.opacity-0 {
    opacity: 0;
}

#header.opacity-100 {
    opacity: 1;
}

/* Hero Section Exit Animation */
#hero-slider {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Regular Content Entry Animation */
#regular-content {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar Trigger Indicator */
.navbar-trigger-indicator {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced navbar transition */
#header {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating Action Buttons - Always on top */
#scroll-up,
a[href*="wa.me"] {
    z-index: 99999 !important;
    position: fixed !important;
}

/* Main content padding for pages using includes/header.php */
main {
    padding-top: 20px; /* Additional padding for main content */
}

/* Ensure navbar is visible on pages using includes/header.php */
body.loaded.hero-scrolled #header,
body.loaded #header.show,
body.hero-scrolled #header.show {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Force navbar visibility for non-index pages */
body.loaded.hero-scrolled #header {
    transform: translateY(0) !important;
    opacity: 1 !important;
    z-index: 1000 !important;
}

/* Custom CTA Glossy Background - Matches Navbar Style */
.custom-cta-glossy {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.custom-cta-glossy:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15) !important;
}

/* About section enhanced styling - scroll margin handled in smooth scroll section */

/* ===== ENHANCED SMOOTH SCROLL BEHAVIOR ===== */
html {
    /* Let Lenis control scrolling; remove native smooth-behavior to prevent interference */
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
}

/* Lenis required classes */
html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

/* Smooth scroll with custom timing for better UX */
* {
    scroll-behavior: smooth;
}

/* Scroll margin for all sections to account for fixed navbar */
section {
    scroll-margin-top: 100px; /* Account for navbar height + padding */
}

/* Specific scroll margins for different sections */
#about {
    scroll-margin-top: 80px; /* Slightly less for about section */
}

#categories {
    scroll-margin-top: 60px; /* Less margin for categories with indicator */
}

#products {
    scroll-margin-top: 80px;
}

#contact {
    scroll-margin-top: 80px;
}

/* Smooth scrollbar styling for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1c8097 0%, #2a9bb0 100%);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #156b7a 0%, #1c8097 100%);
}

/* Firefox scrollbar styling */
html {
    scrollbar-width: thin;
    scrollbar-color: #1c8097 #f1f1f1;
}

/* ===== SMOOTH SCROLL ENHANCEMENTS ===== */

/* Remove global pointer-events lock that blocked clicks sitewide */
body.scrolling {
    /* pointer-events lock removed to keep page interactive */
}

body.scrolling * {
    /* no override needed */
}

/* Smooth transitions for scroll-triggered animations */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid #1c8097;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Remove green border on card clicks */
.product-card:focus,
.category-card:focus,
.product-card a:focus,
.category-card a:focus,
.grid .bg-white.rounded-2xl.shadow-lg:focus,
.grid .bg-white.rounded-2xl.shadow-lg a:focus {
    outline: none !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Remove any green outline or border on click/active states */
.product-card:active,
.category-card:active,
.product-card a:active,
.category-card a:active,
.grid .bg-white.rounded-2xl.shadow-lg:active,
.grid .bg-white.rounded-2xl.shadow-lg a:active {
    outline: none !important;
    border: none !important;
}

/* Comprehensive removal of all possible green borders and outlines */
.sri-card:focus,
.sri-card:active,
.sri-card a:focus,
.sri-card a:active,
.card-wrapper:focus,
.card-wrapper:active,
.card-image:focus,
.card-image:active,
.card-info:focus,
.card-info:active,
.card-title:focus,
.card-title:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Remove default browser focus styles on all card elements */
.sri-card *:focus,
.sri-card *:active,
.product-card *:focus,
.product-card *:active,
.category-card *:focus,
.category-card *:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Override any Tailwind focus styles */
.sri-card:focus-visible,
.sri-card a:focus-visible,
.product-card:focus-visible,
.category-card:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Premium Category tag styling for product cards - HIDDEN */
.category-tag {
    display: none !important;
    visibility: hidden !important;
}

.category-tag::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.6s ease !important;
}

.category-tag:hover::before {
    left: 100% !important;
}

.category-tag:hover {
    transform: translateY(-4px) scale(1.08) rotate(0deg) !important;
    box-shadow:
        0 12px 35px rgba(28, 128, 151, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 3px 0 rgba(255, 255, 255, 0.5),
        inset 0 -3px 0 rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

/* Premium Product count tag styling for category cards - HIDDEN */
.product-count-tag {
    display: none !important;
    visibility: hidden !important;
}

.product-count-tag::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.6s ease !important;
}

.product-count-tag:hover::before {
    left: 100% !important;
}

.product-count-tag:hover {
    transform: translateY(-4px) scale(1.08) rotate(0deg) !important;
    box-shadow:
        0 12px 35px rgba(193, 162, 66, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 3px 0 rgba(255, 255, 255, 0.5),
        inset 0 -3px 0 rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

/* Enhanced card hover effects to complement the beautiful tags */
.sri-card:hover .category-tag,
.sri-card:hover .product-count-tag {
    animation: tagPulse 0.6s ease-in-out !important;
}

@keyframes tagPulse {
    0% { transform: translateY(-4px) scale(1.08) rotate(0deg); }
    50% { transform: translateY(-6px) scale(1.12) rotate(0deg); }
    100% { transform: translateY(-4px) scale(1.08) rotate(0deg); }
}

/* Add subtle glow effect to cards when tags are hovered - REMOVED BORDER */
.sri-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

/* Special effects for tag containers */
.card-wrapper {
    position: relative !important;
    overflow: visible !important;
}

/* Ensure tags are always visible and properly positioned */
.category-tag,
.product-count-tag {
    white-space: nowrap !important;
    user-select: none !important;
    pointer-events: none !important;
}

/* Smooth scroll indicator (optional) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(28, 128, 151, 0.2);
    z-index: 9999;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1c8097 0%, #2a9bb0 100%);
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Smooth hover effects for navigation */
nav a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1c8097 0%, #2a9bb0 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        scroll-behavior: auto;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-fade-in {
        transition: none;
    }
}

/* ================= NAV OVERLAY SAFETY =================
   Ensure the hidden full-screen nav never blocks page clicks */
body:not(.navigation-is-open) #nav.nav,
body:not(.navigation-is-open) #nav.nav * {
    pointer-events: none !important;
}
body:not(.navigation-is-open) #nav.nav {
    z-index: -1 !important;
    opacity: 0 !important;
}

/* When nav is open, enable interactions explicitly */
body.navigation-is-open #nav.nav {
    z-index: 10000 !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

.first .bg .clip-text, .second .bg .clip-text, .third .bg .clip-text, .fourth .bg .clip-text, .fifth .bg .clip-text {
    overflow: hidden;
}

/* Background Images for Each Section - Using Local Carousel Images */
.first .bg {
    background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 100%
    ),
    url("carousel-image/1.jpg");
}

.second .bg {
    background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 100%
    ),
    url("carousel-image/2.jpg");
}

.third .bg {
    background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 100%
    ),
    url("carousel-image/3.jpg");
}

.fourth .bg {
    background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 100%
    ),
    url("carousel-image/4.jpg");
}

.fifth .bg {
    background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 100%
    ),
    url("carousel-image/5.jpg");
    background-position: 50% 45%;
}

.sixth .bg {
    background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 100%
    ),
    url("carousel-image/6.jpg");
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-heading i {
    font-size: 3rem;
    margin: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.section-heading i:hover {
    transform: scale(1.2);
    color: #f59e0b;
}

.section-heading a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

/* Performance optimizations */
.first, .second, .third, .fourth, .fifth {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.first .bg, .second .bg, .third .bg, .fourth .bg, .fifth .bg {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.section-heading {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform, opacity;
    text-rendering: optimizeLegibility;
}

/* Smooth text transitions */
.section-heading {
    transition: all 0.3s ease;
}

/* Loading state */
.gsap-loading .section-heading {
    opacity: 0;
    transform: translateY(30px);
}

/* Ensure proper stacking */
.first { z-index: 15; }
.second { z-index: 14; }
.third { z-index: 13; }
.fourth { z-index: 12; }
.fifth { z-index: 11; }

/* Ensure regular content appears after hero sections */
#regular-content {
    position: relative;
    z-index: 10;
    margin-top: 100vh; /* Start below the hero section */
    min-height: 100vh;
}

/* Show regular content by default */
#regular-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.loaded #regular-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#about, #categories, #products, #contact {
    position: relative;
    z-index: 10;
}

/* Footer should be behind hero slider initially */
footer {
    position: relative;
    z-index: 5;
    background-color:#363737;
    background-size: auto;
    background-position: 0 0;
}

/* Footer should always be visible - fixed footer visibility issue */
footer {
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.3s ease-in-out;
}

/* Optional: Slight fade during loading but still visible */
body.loading footer {
    opacity: 0.8;
    visibility: visible;
}

body.loaded footer {
    opacity: 1;
    visibility: visible;
}

/* Hero section positioning and animation */
#hero-slider {
    will-change: auto;
    animation-play-state: running !important;
    pointer-events: none; /* Prevent interference with content */
    overflow: hidden;
    /* Removed background color to allow slide backgrounds to show */
}

/* Hero slider positioning */
#hero-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
}

/* Allow pointer events only on interactive elements */
#hero-slider .indicator,
#hero-slider .action-btn {
    pointer-events: auto;
}

/* Ensure hero slider covers everything during loading */
body.loading #hero-slider {
    z-index: 100;
}

body.loaded #hero-slider {
    z-index: 2;
}

/* Footer styling - with seamless pattern background */
footer {
    position: relative;
    z-index: 5;
     background-color:#363737;
    background-size: auto;
    background-position: 0 0;
    background-attachment: scroll;
    /* Enhanced rendering for seamless pattern */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Show footer when content is loaded */
body.loaded footer {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 5;
}

/* Footer visible during loading too */
body.loading footer {
    opacity: 0.8 !important;
    visibility: visible !important;
}

/* Footer text styling for better readability on pattern background */
footer * {
    position: relative;
    z-index: 1;
}

footer h3,
footer h4,
footer .text-lg,
footer .font-bold {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

footer p,
footer a,
footer .text-gray-600 {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

footer a:hover {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Ensure slider animations never pause */
#hero-slider * {
    animation-play-state: running !important;
}

/* Force slider to stay active */
.slider-container {
    animation-play-state: running !important;
}

.slide {
    animation-play-state: running !important;
}

.slide-bg {
    animation-play-state: running !important;
}

/* Hide body overflow initially */
body.gsap-scroll {
    overflow: hidden;
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .slide-text {
        font-size: clamp(1.2rem, 4vw, 2.5rem);
        padding: 0 1rem;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }

    .slide-actions {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .action-btn {
        padding: 0.8rem;
    }

    .action-btn i {
        font-size: 1.2rem;
    }

    .action-btn span {
        font-size: 0.7rem;
    }

    .slider-indicators {
        bottom: 1.5rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .slide-text {
        font-size: clamp(1rem, 3.5vw, 2rem);
        padding: 0 0.5rem;
        letter-spacing: 0px;
    }

    .slide-actions {
        flex-direction: row;
        gap: 0.8rem;
        margin-top: 1rem;
    }

    .action-btn {
        padding: 0.6rem;
        min-width: 60px;
    }

    .action-btn span {
        display: none;
    }

    .slider-indicators {
        bottom: 1rem;
        gap: 0.3rem;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .scroll-indicator {
        bottom: 2rem;
    }

    .scroll-text {
        font-size: 0.8rem;
    }

    .scroll-arrow {
        font-size: 1rem;
    }
}

/* Additional Pattern Overlays for Enhanced Visual Appeal */

/* Hero Section Pattern */
#home {
    position: relative;
}



#home > * {
    position: relative;
    z-index: 2;
}

/* ===== CONSISTENT BACKGROUND PATTERNS FOR ALL SECTIONS ===== */








/* Ensure content appears above patterns */
#about > *,
#why-choose-us > *,
#contact > *,
#testimonials > * {
    position: relative;
    z-index: 10;
}

/* ===== CAROUSEL STYLES ===== */

/* About Title Styling */
.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: #8a5630;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    opacity: 0.15;
    font-family: 'Outfit', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.about-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(138, 86, 48, 0.1) 50%, transparent 70%);
    z-index: -1;
}




/* Testimonials Section Styles */
#testimonials {
    background: transparent !important;
}

#testimonials .wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #8a5630;
    padding: 1.5em;
}

#testimonials header {
    margin: 0;
    padding: 0;
}

#testimonials header h1 {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin: 0 0 1.5em 0;
    color: #8a5630;
}

#testimonials .testimonial-swiper {
    padding: 1.5em;
}

#testimonials .content-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: ".";
    width: 100%;
    justify-items: center;
    align-items: center;
}

#testimonials .content {
    padding: 3em 1.5em;
    text-align: center;
    display: grid;
    justify-items: center;
    align-items: center;
    margin: 0 auto;
    color: #8a5630;
}

#testimonials .content :first-child {
    margin: 0;
}

#testimonials .quote-icon {
    width: 100%;
    max-width: 80px;
    height: auto;
    margin-bottom: 1.5em;
    font-size: 3rem;
    color: #1c8097;
    opacity: 0.8;
}

#testimonials .quote-icon i {
    display: block;
}

#testimonials .content p {
    line-height: 1.6;
    margin: 0.75em 0 0;
    color: #6b7280;
    font-size: 1.1rem;
}

#testimonials .cite {
    font-size: 16px;
    font-weight: bold;
    margin-top: 1.5em;
    color: #1c8097;
}

#testimonials .swiper-slide {
    margin: 0;
    height: auto;
    width: 100%;
    padding: 0;
    opacity: 0.3;
    background: rgba(138, 86, 48, 0.1);
    border: 2px solid rgba(138, 86, 48, 0.2);
    border-radius: 12px;
    transition: all 0.5s ease-in-out;
}

#testimonials .swiper-slide.swiper-slide-active {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #1c8097;
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(28, 128, 151, 0.2);
}

#testimonials .swiper-nav-wrapper {
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: auto;
    padding-top: 3em;
}

#testimonials .swiper-button-next,
#testimonials .swiper-button-prev {
    top: 0;
    top: auto;
    left: auto;
    right: auto;
    position: relative !important;
    margin-top: 0;
    width: 50px;
    height: 50px;
    background: #1c8097;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(28, 128, 151, 0.3);
}

#testimonials .swiper-button-next:hover,
#testimonials .swiper-button-prev:hover {
    background: #8a5630;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(138, 86, 48, 0.4);
}

#testimonials .swiper-button-next:after,
#testimonials .swiper-button-prev:after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 18px;
    color: white;
}

#testimonials .swiper-button-next:after {
    content: "\f054"; /* fa-chevron-right */
}

#testimonials .swiper-button-prev:after {
    content: "\f053"; /* fa-chevron-left */
}

#testimonials .swiper-pagination {
    margin: 0;
    padding: 0 1.5em;
    width: auto;
    position: relative !important;
    display: block;
    width: auto;
}

#testimonials .swiper-pagination-bullet {
    background: #8a5630 !important;
    opacity: 0.4;
    transition: all 0.3s ease-in-out;
}

#testimonials .swiper-pagination-bullets.swiper-pagination-horizontal {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    bottom: 0;
    top: 0;
    bottom: 0;
    width: auto;
    padding: 0 1.5em;
}

#testimonials .swiper-pagination-bullet-active {
    background: #1c8097 !important;
    opacity: 1;
    transform: scale(1.3);
}

/* Responsive Design */
@media (min-width: 640px) {
    #testimonials .testimonial-swiper {
        padding: 1.5em;
    }
}

@media (min-width: 992px) {
    #testimonials .testimonial-swiper {
        padding: 1.5em;
    }
}

/* Removed old card pattern enhancement - using new card design */

/* ===== BACKGROUND PATTERN REMOVED - NOW HANDLED INLINE ===== */
/* Background patterns are now handled inline in HTML for better control */

/* Products and Contact sections - background patterns removed, handled inline */

/* Main content areas - background patterns removed, handled inline */

/* Ensure content appears above the pattern */
main > * {
    position: relative;
    z-index: 1;
}

/* Ensure all content within these sections appears above the background */
#about > *,
#products > *,
#contact > * {
    position: relative;
    z-index: 1;
}

/* Featured Products section specific styling */
#products {
    position: relative;
}

#products > * {
    position: relative;
    z-index: 2; /* Higher z-index to ensure content appears above blob background */
}

/* ===== SEAMLESS PATTERN ANIMATIONS ===== */

/* Optional: Subtle floating animation for About section pattern */
@keyframes seamlessFloat {
    0%, 100% {
        background-position: 0 0;
    }
    25% {
        background-position: 10px 5px;
    }
    50% {
        background-position: 5px 10px;
    }
    75% {
        background-position: -5px 5px;
    }
}

/* Static pattern - no animation for About section */
#products:hover::before {
    animation: seamlessFloat 20s ease-in-out infinite;
}

/* Responsive pattern sizes - maintain large visibility across devices */
@media (max-width: 768px) {
    #about::before,
    #products::before,
    main::before {
        background-size: 350px 350px; /* Larger pattern for tablets */
        opacity: 1; /* Full opacity for maximum visibility */
    }

    #contact::before,
    #testimonials::before {
        background-size: 350px 350px; /* Larger pattern for tablets */
        opacity: 1; /* Full opacity for maximum visibility */
    }

    body::before {
        background-size: 350px 350px; /* Larger pattern for tablets */
    }


}

@media (max-width: 480px) {
    #about::before,
    #products::before,
    main::before {
        background-size: 300px 300px; /* Larger pattern for mobile */
        opacity: 1; /* Full opacity for maximum visibility */
    }

    #contact::before,
    #testimonials::before {
        background-size: 300px 300px; /* Larger pattern for mobile */
        opacity: 1; /* Full opacity for maximum visibility */
    }

    body::before {
        background-size: 300px 300px; /* Larger pattern for mobile */
    }


}

/* High DPI displays - maintain large pattern visibility */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    #about::before,
    #products::before,
    main::before {
        background-size: 250px 250px; /* Larger pattern size for retina */
        opacity: 1; /* Full opacity for maximum visibility */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    #contact::before,
    #testimonials::before {
        background-size: 250px 250px; /* Larger pattern size for retina */
        opacity: 1; /* Full opacity for maximum visibility */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    body::before {
        background-size: 250px 250px; /* Larger pattern size for retina */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }


}





/* ===== PERFECT IMAGE FITTING FOR PRODUCT CARDS ===== */

/* Removed old image container styles - using new card design */

/* ===== NEW CONSTANT HEIGHT CARD DESIGN ===== */

/* Product Cards - Same as Category Cards */
.product-card {
    height: 350px !important; /* Same height as category cards */
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: white !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important; /* Same transition as category cards */
}

.product-card:hover {
    transform: translateY(-5px) !important; /* Same hover effect as category cards */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Product Card Image - 90% Width, Dynamic Height, Centered Vertically */
.product-card img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    height: auto !important;
    max-height: 90% !important;
    object-fit: contain !important;
    object-position: center !important;
    z-index: 1 !important;
    border-radius: 8px !important;
}

/* Product Card Glassy Overlay Box */
.product-card .p-5 {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0 0 16px 16px !important;
    z-index: 2 !important;
    padding: 20px !important;
}

/* Category Cards - Constant Height with Glassy Overlay */
.category-card {
    height: 350px !important; /* Fixed height */
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: white !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.category-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Category Card Image - 90% Width, Dynamic Height, Centered Vertically */
.category-card img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    height: auto !important;
    max-height: 90% !important;
    object-fit: contain !important;
    object-position: center !important;
    z-index: 1 !important;
    border-radius: 8px !important;
}

/* Category Card Glassy Overlay Box */
.category-card .p-5 {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0 0 16px 16px !important;
    z-index: 2 !important;
    padding: 20px !important;
}

/* Removed old title styling - will be replaced with new class */

/* Product count styling for category cards - HIDDEN */
.category-card .p-5 .product-count,
.category-card .p-5 .text-sm {
    display: none !important;
    visibility: hidden !important;
}

/* All text elements in brown theme color */
.product-card .p-5 .text-lg,
.category-card .p-5 .text-lg,
.product-card .p-5 .text-sm,
.category-card .p-5 .text-sm,
.product-card .p-5 span,
.category-card .p-5 span,
.product-card .p-5 p,
.category-card .p-5 p {
    color: #8a5630 !important; /* Brown theme color for all text */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* Products page cards - all text in brown with higher specificity */
.grid .bg-white.rounded-2xl.shadow-lg .p-5 h3,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 h3.text-lg,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 h3.font-bold,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-lg,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-sm,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 span,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 p {
    color: #8a5630 !important; /* Brown theme color for all text */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* Override any existing yellow/gold colors specifically */
.product-card .p-5 *,
.category-card .p-5 *,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 * {
    color: #8a5630 !important; /* Force brown color on all elements */
}

/* AGGRESSIVE OVERRIDE - Force brown color on ALL possible yellow/gold elements */
.product-card .p-5 .text-yellow-600,
.product-card .p-5 .text-yellow-500,
.product-card .p-5 .text-yellow-400,
.product-card .p-5 .text-amber-600,
.product-card .p-5 .text-amber-500,
.product-card .p-5 .text-amber-400,
.product-card .p-5 .text-orange-600,
.product-card .p-5 .text-orange-500,
.category-card .p-5 .text-yellow-600,
.category-card .p-5 .text-yellow-500,
.category-card .p-5 .text-yellow-400,
.category-card .p-5 .text-amber-600,
.category-card .p-5 .text-amber-500,
.category-card .p-5 .text-amber-400,
.category-card .p-5 .text-orange-600,
.category-card .p-5 .text-orange-500,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-yellow-600,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-yellow-500,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-yellow-400,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-amber-600,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-amber-500,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-amber-400,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-orange-600,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-orange-500 {
    color: #8a5630 !important; /* Override yellow/gold/orange with brown */
}

/* NUCLEAR OPTION - Override inline styles and any possible color */
.product-card .p-5 h3[style*="color"],
.category-card .p-5 h3[style*="color"],
.grid .bg-white.rounded-2xl.shadow-lg .p-5 h3[style*="color"],
.product-card .p-5 *[style*="color"],
.category-card .p-5 *[style*="color"],
.grid .bg-white.rounded-2xl.shadow-lg .p-5 *[style*="color"] {
    color: #8a5630 !important; /* Force brown even on inline styles */
}

/* Removed old h3 title styling - will be replaced with new class */

/* Category card button with product count styling */
.category-card .p-5 a .product-count {
    font-size: 0.9em !important;
    margin-left: 4px !important;
    opacity: 0.9 !important;
}

/* Ensure category button text is also brown */
.category-card .p-5 a,
.category-card .p-5 a * {
    color: white !important; /* Keep button text white for contrast on wooden background */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* ULTIMATE OVERRIDE - Target any element with yellow/gold colors by RGB values */
.product-card .p-5 *[style*="rgb(251, 191, 36)"],
.product-card .p-5 *[style*="rgb(245, 158, 11)"],
.product-card .p-5 *[style*="rgb(217, 119, 6)"],
.product-card .p-5 *[style*="#fbbf24"],
.product-card .p-5 *[style*="#f59e0b"],
.product-card .p-5 *[style*="#d97706"],
.category-card .p-5 *[style*="rgb(251, 191, 36)"],
.category-card .p-5 *[style*="rgb(245, 158, 11)"],
.category-card .p-5 *[style*="rgb(217, 119, 6)"],
.category-card .p-5 *[style*="#fbbf24"],
.category-card .p-5 *[style*="#f59e0b"],
.category-card .p-5 *[style*="#d97706"],
.grid .bg-white.rounded-2xl.shadow-lg .p-5 *[style*="rgb(251, 191, 36)"],
.grid .bg-white.rounded-2xl.shadow-lg .p-5 *[style*="rgb(245, 158, 11)"],
.grid .bg-white.rounded-2xl.shadow-lg .p-5 *[style*="rgb(217, 119, 6)"],
.grid .bg-white.rounded-2xl.shadow-lg .p-5 *[style*="#fbbf24"],
.grid .bg-white.rounded-2xl.shadow-lg .p-5 *[style*="#f59e0b"],
.grid .bg-white.rounded-2xl.shadow-lg .p-5 *[style*="#d97706"] {
    color: #8a5630 !important; /* Force brown color even on specific yellow hex/rgb values */
}

/* Last resort - use CSS custom properties to override */
.product-card .p-5,
.category-card .p-5,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 {
    --text-color: #8a5630 !important;
}

.product-card .p-5 *,
.category-card .p-5 *,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 * {
    color: var(--text-color) !important;
}

/* FINAL COMPREHENSIVE BROWN COLOR OVERRIDE */
.product-card *:not(a),
.category-card *:not(a),
.grid .bg-white.rounded-2xl.shadow-lg *:not(a) {
    color: #8a5630 !important; /* Ultimate brown color override for all text */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* Removed old heading styling - will be replaced with new class */

/* Ensure all text elements in cards are brown */
.product-card span, .product-card p, .product-card div,
.category-card span, .category-card p, .category-card div,
.grid .bg-white.rounded-2xl.shadow-lg span,
.grid .bg-white.rounded-2xl.shadow-lg p,
.grid .bg-white.rounded-2xl.shadow-lg div {
    color: #8a5630 !important; /* Brown color for all text elements */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* Button styling in glassy overlay - Wooden Background */
.product-card .p-5 a,
.category-card .p-5 a {
    background:
        /* fake texture */
        radial-gradient(70% 3% at 30% 5%, #c633 80%, #0000 0) 50% 50% / 100% 40%,
        radial-gradient(60% 2.3% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 70% 30%,
        radial-gradient(50% 1.7% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 50% 70%,
        radial-gradient(60% 2% at 30% 5%, #c632 80%, #0000 0) 0% 10% / 60% 38%,
        radial-gradient(80% 2.3% at 30% 5%, #a412 80%, #0000 0) 70% 20% / 66% 30%,
        radial-gradient(100% 2.1% at 30% 5%, #c632 80%, #0000 0) 0% 17% / 70% 50%,
        radial-gradient(60% 3% at 50% 0, #c632 80%, #0000 0) 0% 10% / 70% 30% repeat-y,
        radial-gradient(40% 4% at 70% 5%, #b522 80%, #0000 0) 100% 2% / 70% 20%,
        /* wood stains */
        radial-gradient(80% 50% at 20% 20%, #c0824334 10%, #0000 25%),
        radial-gradient(140% 50% at 90% 45%, #c0824324 10%, #0000 15%),
        radial-gradient(100% 50% at 70% 50%, #c0824324 10%, #0000 15%),
        /* base */
        linear-gradient(to top right, #0001, #ffc5),
        #f0a274 !important;
    opacity: 1 !important;
    border: 1px solid #d4a574 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 2px 10px rgba(173, 34, 1, 0.4) !important;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.product-card .p-5 a:hover,
.category-card .p-5 a:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.1) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 4px 8px rgba(173, 34, 1, 0.4) !important;
}

/* Remove background from image containers */
.product-card .bg-gradient-to-br,
.category-card .bg-gradient-to-br {
    background: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* Ensure proper stacking order */
.product-card > *,
.category-card > * {
    position: relative;
    z-index: 1;
}

/* Ensure hidden nav overlay never captures events when closed */
body:not(.navigation-is-open) .nav {
    pointer-events: none !important;
    z-index: -1 !important;
}

/* Removed conflicting gold price styling - using brown theme */

/* Responsive adjustments - Product and Category cards same size */
@media (max-width: 768px) {
    .product-card,
    .category-card {
        height: 300px !important; /* Same height for both */
    }

    .product-card .p-5,
    .category-card .p-5 {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .product-card,
    .category-card {
        height: 280px !important; /* Same height for both */
    }

    .product-card .p-5,
    .category-card .p-5 {
        padding: 12px !important;
    }
}

/* ===== PRODUCTS PAGE CARD STYLING (Same as Category Cards) ===== */

/* Apply same styling to products page cards */
.grid .bg-white.rounded-2xl.shadow-lg {
    height: 350px !important; /* Same height as category cards */
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: white !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.grid .bg-white.rounded-2xl.shadow-lg:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Products page image - 90% Width, Dynamic Height, Centered Vertically */
.grid .bg-white.rounded-2xl.shadow-lg img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    height: auto !important;
    max-height: 90% !important;
    object-fit: contain !important;
    object-position: center !important;
    z-index: 1 !important;
    border-radius: 8px !important;
}

/* Products page glassy overlay box */
.grid .bg-white.rounded-2xl.shadow-lg .p-5 {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0 0 16px 16px !important;
    z-index: 2 !important;
    padding: 20px !important;
}

/* Remove background from products page image containers */
.grid .bg-white.rounded-2xl.shadow-lg .bg-gradient-to-br {
    background: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* Removed old products page h3 title styling - will be replaced with new class */

.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-lg,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-lg.text-yellow-600,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-lg.text-amber-600 {
    color: #8a5630 !important; /* Brown theme color */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
}

.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-sm,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-sm.text-yellow-600,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-sm.text-amber-600 {
    color: #8a5630 !important; /* Brown theme color */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* Products page button styling - Wooden Background */
.grid .bg-white.rounded-2xl.shadow-lg .p-5 a {
    background:
        /* fake texture */
        radial-gradient(70% 3% at 30% 5%, #c633 80%, #0000 0) 50% 50% / 100% 40%,
        radial-gradient(60% 2.3% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 70% 30%,
        radial-gradient(50% 1.7% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 50% 70%,
        radial-gradient(60% 2% at 30% 5%, #c632 80%, #0000 0) 0% 10% / 60% 38%,
        radial-gradient(80% 2.3% at 30% 5%, #a412 80%, #0000 0) 70% 20% / 66% 30%,
        radial-gradient(100% 2.1% at 30% 5%, #c632 80%, #0000 0) 0% 17% / 70% 50%,
        radial-gradient(60% 3% at 50% 0, #c632 80%, #0000 0) 0% 10% / 70% 30% repeat-y,
        radial-gradient(40% 4% at 70% 5%, #b522 80%, #0000 0) 100% 2% / 70% 20%,
        /* wood stains */
        radial-gradient(80% 50% at 20% 20%, #c0824334 10%, #0000 25%),
        radial-gradient(140% 50% at 90% 45%, #c0824324 10%, #0000 15%),
        radial-gradient(100% 50% at 70% 50%, #c0824324 10%, #0000 15%),
        /* base */
        linear-gradient(to top right, #0001, #ffc5),
        #f0a274 !important;
    opacity: 1 !important;
    border: 1px solid #d4a574 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 2px 10px rgba(173, 34, 1, 0.4) !important;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.grid .bg-white.rounded-2xl.shadow-lg .p-5 a:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.1) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 4px 8px rgba(173, 34, 1, 0.4) !important;
}

/* Price styling in products page glassy overlay */
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-lg.font-bold,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .whitespace-nowrap {
    color: #ffd700 !important; /* Gold color for price */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
    font-weight: bold !important;
}

/* Responsive adjustments for products page */
@media (max-width: 768px) {
    .grid .bg-white.rounded-2xl.shadow-lg {
        height: 300px !important;
    }

    .grid .bg-white.rounded-2xl.shadow-lg .p-5 {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .grid .bg-white.rounded-2xl.shadow-lg {
        height: 280px !important;
    }

    .grid .bg-white.rounded-2xl.shadow-lg .p-5 {
        padding: 12px !important;
    }
}

/* ===== PRODUCT CARD CONTENT MODIFICATIONS ===== */

/* Hide pricing and get quote elements in product cards - but keep titles visible */
.product-card .p-5 .text-lg.font-bold:not(h3),
.product-card .p-5 .whitespace-nowrap,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-lg.font-bold:not(h3),
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .whitespace-nowrap {
    display: none !important;
}

/* Hide price spans specifically */
.product-card .p-5 span.text-lg.font-bold,
.product-card .p-5 span.whitespace-nowrap,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 span.text-lg.font-bold,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 span.whitespace-nowrap {
    display: none !important;
}

/* ===== NEW CARD TITLE CLASS - BROWN THEME ===== */

/* New card title class for both product and category cards */
.card-title-brown {
    color: #8a5630 !important; /* Beautiful brown theme color */
    font-size: 1.25rem !important; /* 20px - good readable size */
    font-weight: 700 !important; /* Bold weight */
    text-align: center !important; /* Centered alignment */
    margin-bottom: 12px !important; /* Space below title */
    line-height: 1.3 !important; /* Good line spacing */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important; /* White shadow for contrast */
    letter-spacing: 0.02em !important; /* Slight letter spacing for elegance */
    display: block !important; /* Ensure visibility */
    opacity: 1 !important; /* Full opacity */
    visibility: visible !important; /* Force visibility */
}

/* Hover effect for card titles */
.card-title-brown:hover {
    color: #6d4226 !important; /* Darker brown on hover */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9) !important; /* Enhanced shadow on hover */
    transform: scale(1.02) !important; /* Slight scale on hover */
    transition: all 0.3s ease !important; /* Smooth transition */
}

/* Ensure new title class works in all card contexts */
.product-card .card-title-brown,
.category-card .card-title-brown,
.grid .bg-white.rounded-2xl.shadow-lg .card-title-brown {
    color: #8a5630 !important; /* Brown theme color */
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
    letter-spacing: 0.02em !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Responsive sizing for card titles */
@media (max-width: 768px) {
    .card-title-brown,
    .product-card .card-title-brown,
    .category-card .card-title-brown,
    .grid .bg-white.rounded-2xl.shadow-lg .card-title-brown {
        font-size: 1.125rem !important; /* 18px on tablets */
        margin-bottom: 10px !important;
    }
}

@media (max-width: 480px) {
    .card-title-brown,
    .product-card .card-title-brown,
    .category-card .card-title-brown,
    .grid .bg-white.rounded-2xl.shadow-lg .card-title-brown {
        font-size: 1rem !important; /* 16px on mobile */
        margin-bottom: 8px !important;
        letter-spacing: 0.01em !important;
    }
}

/* ===== CATEGORY CARD PRODUCT COUNT STYLING ===== */

/* Product count specific styling */
.category-card .card-title-brown[style*="font-size: 0.9rem"] {
    font-size: 0.9rem !important; /* Smaller size for product count */
    font-weight: 500 !important; /* Medium weight for product count */
    margin-bottom: 0 !important; /* No margin for product count */
    opacity: 0.9 !important; /* Slightly transparent */
}

/* Ensure category card text is brown */
.category-card .p-5 * {
    color: #8a5630 !important; /* Force brown color */
}

/* ===== NEW WHITE TEXT CLASSES FOR CATEGORY CARDS ===== */

/* White title class for category cards */
.card-title-white {
    color: white !important; /* White color for category titles */
    font-size: 1.25rem !important; /* 20px - good readable size */
    font-weight: 700 !important; /* Bold weight */
    text-align: center !important; /* Centered alignment */
    margin-bottom: 12px !important; /* Space below title */
    line-height: 1.3 !important; /* Good line spacing */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important; /* Dark shadow for contrast */
    letter-spacing: 0.02em !important; /* Slight letter spacing for elegance */
    display: block !important; /* Ensure visibility */
    opacity: 1 !important; /* Full opacity */
    visibility: visible !important; /* Force visibility */
}

/* White product count class for category cards - HIDDEN */
.card-count-white {
    display: none !important;
    visibility: hidden !important;
}

/* Hover effects for white titles */
.card-title-white:hover {
    color: #f0f0f0 !important; /* Slightly off-white on hover */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8) !important; /* Enhanced shadow on hover */
    transform: scale(1.02) !important; /* Slight scale on hover */
    transition: all 0.3s ease !important; /* Smooth transition */
}

/* Ensure white text works in category card context */
.category-card .card-title-white,
.category-card .card-count-white {
    color: white !important; /* Force white color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important; /* Dark shadow for readability */
}

/* Override any other colors in category cards to white */
.category-card .text-yellow-600,
.category-card .text-yellow-500,
.category-card .text-amber-600,
.category-card .text-amber-500,
.category-card .text-gray-900,
.category-card .text-gray-500 {
    color: white !important; /* White color override */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
}

/* Responsive sizing for white card titles */
@media (max-width: 768px) {
    .card-title-white {
        font-size: 1.125rem !important; /* 18px on tablets */
        margin-bottom: 10px !important;
    }

    .card-count-white {
        font-size: 0.85rem !important; /* Smaller on tablets */
    }
}

@media (max-width: 480px) {
    .card-title-white {
        font-size: 1rem !important; /* 16px on mobile */
        margin-bottom: 8px !important;
        letter-spacing: 0.01em !important;
    }

    .card-count-white {
        font-size: 0.8rem !important; /* Smaller on mobile */
    }
}

/* ===== AGGRESSIVE WHITE COLOR OVERRIDE FOR CATEGORY CARDS ===== */

/* Force white color on ALL category card text elements */
.category-card .p-5 *,
.category-card .p-5 h1,
.category-card .p-5 h2,
.category-card .p-5 h3,
.category-card .p-5 h4,
.category-card .p-5 h5,
.category-card .p-5 h6,
.category-card .p-5 span,
.category-card .p-5 div,
.category-card .p-5 p {
    color: white !important; /* Force white color on all text */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important; /* Dark shadow for contrast */
}

/* Override any brown color classes specifically in category cards */
.category-card .card-title-brown,
.category-card .p-5 .card-title-brown,
.category-card *[style*="#8a5630"],
.category-card *[style*="color: #8a5630"] {
    color: white !important; /* Override brown with white */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
}

/* Nuclear option - override any possible brown color in category cards */
.category-card .p-5 *:not(a) {
    color: white !important; /* Force white on everything except buttons */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
}

/* Ensure buttons remain with their original styling */
.category-card .p-5 a {
    color: white !important; /* Keep button text white */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important; /* Button text shadow */
}

/* Override CSS custom properties for category cards */
.category-card .p-5 {
    --text-color: white !important;
    --primary-font-color: white !important;
}

/* Use CSS custom properties as fallback */
.category-card .p-5 * {
    color: var(--text-color) !important;
}

/* ===== CATEGORY CARD BUTTON WITH PRODUCT COUNT ===== */

/* Enhanced button styling for category cards with product count */
.category-card .p-5 a {
    /* Same wooden background as other buttons */
    background:
        radial-gradient(70% 3% at 30% 5%, #c633 80%, #0000 0) 50% 50% / 100% 40%,
        radial-gradient(60% 2.3% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 70% 30%,
        radial-gradient(50% 1.7% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 50% 70%,
        radial-gradient(60% 2% at 30% 5%, #c632 80%, #0000 0) 0% 10% / 60% 38%,
        radial-gradient(80% 2.3% at 30% 5%, #a412 80%, #0000 0) 70% 20% / 66% 30%,
        radial-gradient(100% 2.1% at 30% 5%, #c632 80%, #0000 0) 0% 17% / 70% 50%,
        radial-gradient(60% 3% at 50% 0, #c632 80%, #0000 0) 0% 10% / 70% 30% repeat-y,
        radial-gradient(40% 4% at 70% 5%, #b522 80%, #0000 0) 100% 2% / 70% 20%,
        radial-gradient(80% 50% at 20% 20%, #c0824334 10%, #0000 25%),
        radial-gradient(140% 50% at 90% 45%, #c0824324 10%, #0000 15%),
        radial-gradient(100% 50% at 70% 50%, #c0824324 10%, #0000 15%),
        linear-gradient(to top right, #0001, #ffc5),
        #f0a274 !important;
    border: 1px solid #d4a574 !important;
    border-radius: 8px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 2px 10px rgba(173, 34, 1, 0.4) !important;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    text-align: center !important;
    justify-content: center !important;
}

.category-card .p-5 a:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.1) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 4px 8px rgba(173, 34, 1, 0.4) !important;
}

/* Remove any icons from category buttons */
.category-card .p-5 a i,
.category-card .p-5 a .fas,
.category-card .p-5 a .fa {
    display: none !important; /* Hide all icons */
}

/* ===== WHITE TITLES FOR BOTH PRODUCT AND CATEGORY CARDS ===== */

/* Override gold color (#ffd700) in product cards and make titles white */
.product-card .p-5 h3,
.product-card .p-5 .text-lg,
.product-card .p-5 .font-bold,
.product-card .p-5 *[style*="#ffd700"],
.product-card .p-5 *[style*="color: #ffd700"],
.product-card .p-5 .text-yellow-400,
.product-card .p-5 .text-yellow-500,
.product-card .p-5 .text-amber-400,
.product-card .p-5 .text-amber-500,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 h3,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .text-lg,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .font-bold,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 *[style*="#ffd700"],
.grid .bg-white.rounded-2xl.shadow-lg .p-5 *[style*="color: #ffd700"] {
    color: white !important; /* Force white color instead of gold */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important; /* Dark shadow for contrast */
    font-weight: bold !important;
    text-align: center !important;
    margin-bottom: 12px !important;
}

/* Universal white color override for all card titles */
.product-card .p-5 *:not(a),
.category-card .p-5 *:not(a),
.grid .bg-white.rounded-2xl.shadow-lg .p-5 *:not(a) {
    color: white !important; /* Force white on all text except buttons */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important; /* Dark shadow for readability */
}

/* Specific override for any gold/yellow colors */
.product-card *[style*="rgb(255, 215, 0)"],
.product-card *[style*="rgb(255, 193, 7)"],
.product-card *[style*="rgb(251, 191, 36)"],
.category-card *[style*="rgb(255, 215, 0)"],
.category-card *[style*="rgb(255, 193, 7)"],
.category-card *[style*="rgb(251, 191, 36)"],
.grid .bg-white.rounded-2xl.shadow-lg *[style*="rgb(255, 215, 0)"],
.grid .bg-white.rounded-2xl.shadow-lg *[style*="rgb(255, 193, 7)"],
.grid .bg-white.rounded-2xl.shadow-lg *[style*="rgb(251, 191, 36)"] {
    color: white !important; /* Override any gold RGB values with white */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
}

/* CSS custom properties override for white text */
.product-card .p-5,
.category-card .p-5,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 {
    --text-color: white !important;
    --title-color: white !important;
    --primary-color: white !important;
}

/* Use custom properties as fallback */
.product-card .p-5 *,
.category-card .p-5 *,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 * {
    color: var(--text-color) !important;
}

/* Single "View This Product" button styling - same as category buttons */
.product-card .p-5 a,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: center !important;
    margin: 0 auto !important;
    width: fit-content !important;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    /* Same wooden background as category buttons */
    background:
        radial-gradient(70% 3% at 30% 5%, #c633 80%, #0000 0) 50% 50% / 100% 40%,
        radial-gradient(60% 2.3% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 70% 30%,
        radial-gradient(50% 1.7% at 30% 5%, #c632 80%, #0000 0) 30% 50% / 50% 70%,
        radial-gradient(60% 2% at 30% 5%, #c632 80%, #0000 0) 0% 10% / 60% 38%,
        radial-gradient(80% 2.3% at 30% 5%, #a412 80%, #0000 0) 70% 20% / 66% 30%,
        radial-gradient(100% 2.1% at 30% 5%, #c632 80%, #0000 0) 0% 17% / 70% 50%,
        radial-gradient(60% 3% at 50% 0, #c632 80%, #0000 0) 0% 10% / 70% 30% repeat-y,
        radial-gradient(40% 4% at 70% 5%, #b522 80%, #0000 0) 100% 2% / 70% 20%,
        radial-gradient(80% 50% at 20% 20%, #c0824334 10%, #0000 25%),
        radial-gradient(140% 50% at 90% 45%, #c0824324 10%, #0000 15%),
        radial-gradient(100% 50% at 70% 50%, #c0824324 10%, #0000 15%),
        linear-gradient(to top right, #0001, #ffc5),
        #f0a274 !important;
    border: 1px solid #d4a574 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
}

/* Hide "Get Quote" buttons specifically */
.product-card .p-5 a[href*="contact.php"],
.grid .bg-white.rounded-2xl.shadow-lg .p-5 a[href*="contact.php"] {
    display: none !important;
}

/* Ensure "View Details" or "View Product" buttons are visible and styled */
.product-card .p-5 a[href*="product-detail.php"],
.grid .bg-white.rounded-2xl.shadow-lg .p-5 a[href*="product-detail.php"] {
    display: inline-flex !important;
}

/* Ensure content containers are visible and centered */
.product-card .p-5 > *,
.category-card .p-5 > *,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 > * {
    display: block !important;
    text-align: center !important;
}

/* Specifically show titles */
.product-card .p-5 h3,
.category-card .p-5 h3,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 h3 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Center the single button */
.product-card .p-5 .flex.justify-center,
.grid .bg-white.rounded-2xl.shadow-lg .p-5 .flex.justify-center {
    display: flex !important;
    justify-content: center !important;
}

/* Loading state for images */
.product-image-container::before,
.category-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #6b7280;
    border-radius: 50%;
    animation: imageLoading 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-image-container.loading::before,
.category-image-container.loading::before {
    opacity: 1;
}

@keyframes imageLoading {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Specific height constraints for different sections */
.h-48 {
    height: 12rem !important; /* 192px */
}

.h-40 {
    height: 10rem !important; /* 160px */
}

.h-96 {
    height: 24rem !important; /* 384px */
}

/* Ensure images don't overflow their containers */
.overflow-hidden {
    overflow: hidden !important;
}

/* Image error handling - fallback styling */
img[src*="placeholder.svg"] {
    object-fit: contain !important;
    padding: 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

/* Responsive image adjustments */
@media (max-width: 768px) {
    .product-image:hover,
    .category-image:hover {
        transform: scale(1.02); /* Reduced hover effect on mobile */
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-image,
    .category-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===== GSAP ENHANCED PARALLAX TIMELINE STYLES ===== */

/* Smooth Wrapper for GSAP ScrollSmoother */
#smooth-wrapper {
    overflow: hidden;
}

#smooth-content {
    overflow: visible;
}

/* Enhanced Hero Section */
.parallax-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.4) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 0 40px rgba(194,161,52,0.6);
}

.title-line {
    display: block;
    background: linear-gradient(45deg, #c2a134, #f4d03f, #c2a134);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
    position: relative;
}

.title-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(194,161,52,0.2), transparent);
    animation: shine 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shine {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #c2a134;
    margin-bottom: 4rem;
    opacity: 0.9;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: #ffffff;
    transform: translateY(-5px);
}

/* Custom scroll arrow removed - using FontAwesome icon instead */

/* scrollPulse animation removed with custom arrow */

/* Timeline Grid Container */
.timeline-grid-container {
    background: #0a0a0a;
    min-height: 100vh;
    position: relative;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-column-gap: 2rem;
    grid-row-gap: 15vh;
    max-width: 2500px;
    margin: 0 auto;
    padding: 10vh 2rem;
}

/* Timeline Image Containers */
.timeline-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transition: all 0.5s ease;
}

.timeline-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.timeline-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
}

.timeline-image-container:hover .timeline-bg-image {
    transform: scale(1.05);
    filter: brightness(0.8) contrast(1.1);
}

.timeline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0,0,0,0.7) 0%,
        rgba(194,161,52,0.1) 50%,
        rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.5s ease;
}

.timeline-image-container:hover .timeline-overlay {
    opacity: 1;
}

.timeline-content-card {
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(194,161,52,0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.timeline-image-container:hover .timeline-content-card {
    transform: translateY(0);
}

.year-badge {
    display: inline-block;
    background: linear-gradient(45deg, #c2a134, #f4d03f);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.milestone-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(194,161,52,0.5));
}

.milestone-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #c2a134;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(194,161,52,0.3);
}

.milestone-description {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.milestone-tag {
    display: inline-block;
    background: rgba(194,161,52,0.2);
    color: #c2a134;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(194,161,52,0.3);
}

/* Grid Positioning - Inspired by the parallax example */
.timeline-image-container:nth-child(1) {
    grid-column: 1/-1;
    height: 90vh;
    max-height: 600px;
}

.timeline-image-container:nth-child(2) {
    grid-column: 2/span 8;
    height: 70vh;
    max-height: 500px;
}

.timeline-image-container:nth-child(3) {
    grid-column: 4/span 8;
    height: 70vh;
    max-height: 500px;
}

.timeline-image-container:nth-child(4) {
    grid-column: 1/-1;
    height: 80vh;
    max-height: 550px;
}

.timeline-image-container:nth-child(5) {
    grid-column: 4/span 8;
    height: 75vh;
    max-height: 520px;
}

.timeline-image-container:nth-child(6) {
    grid-column: 2/span 8;
    height: 85vh;
    max-height: 580px;
}

/* Timeline Finale Section */
.timeline-finale {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 10vh;
}

.finale-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.finale-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.3) contrast(1.3);
}

.finale-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 20%, rgba(0,0,0,0.9) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.finale-content {
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 0 2rem;
}

.finale-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    background: linear-gradient(45deg, #c2a134, #f4d03f, #c2a134);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(194,161,52,0.5);
}

.finale-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.4rem;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    line-height: 1.6;
}

.finale-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.finale-btn-primary, .finale-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.finale-btn-primary {
    background: linear-gradient(45deg, #c2a134, #f4d03f);
    color: #000;
    box-shadow: 0 15px 35px rgba(194,161,52,0.4);
}

.finale-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.finale-btn-primary:hover::before {
    left: 100%;
}

.finale-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(194,161,52,0.6);
}

.finale-btn-secondary {
    background: transparent;
    color: #c2a134;
    border: 2px solid #c2a134;
    box-shadow: 0 10px 25px rgba(194,161,52,0.2);
}

.finale-btn-secondary:hover {
    background: #c2a134;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(194,161,52,0.4);
}

/* Desktop Grid Adjustments */
@media screen and (min-width: 1000px) {
    .timeline-image-container:nth-child(2) {
        grid-column: 2/span 4;
    }

    .timeline-image-container:nth-child(3) {
        grid-column: 8/span 4;
    }

    .timeline-image-container:nth-child(5) {
        grid-column: 8/span 4;
    }

    .timeline-image-container:nth-child(6) {
        grid-column: 2/span 4;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .timeline-grid {
        grid-template-columns: 1fr;
        grid-column-gap: 0;
        grid-row-gap: 8vh;
        padding: 5vh 1rem;
    }

    .timeline-image-container,
    .timeline-image-container:nth-child(1),
    .timeline-image-container:nth-child(2),
    .timeline-image-container:nth-child(3),
    .timeline-image-container:nth-child(4),
    .timeline-image-container:nth-child(5),
    .timeline-image-container:nth-child(6) {
        grid-column: 1;
        height: 60vh;
        max-height: 400px;
    }

    .timeline-content-card {
        padding: 1.5rem;
        max-width: 300px;
    }

    .milestone-title {
        font-size: 1.5rem;
    }

    .milestone-description {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 4rem);
    }

    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .finale-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .finale-description {
        font-size: 1.1rem;
    }

    .finale-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .finale-btn-primary, .finale-btn-secondary {
        width: 250px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .timeline-grid {
        padding: 3vh 0.5rem;
        grid-row-gap: 5vh;
    }

    .timeline-image-container {
        height: 50vh;
        max-height: 350px;
        border-radius: 15px;
    }

    .timeline-content-card {
        padding: 1.2rem;
        max-width: 280px;
    }

    .year-badge {
        font-size: 1rem;
        padding: 0.4rem 1.2rem;
    }

    .milestone-icon {
        font-size: 2.5rem;
    }

    .milestone-title {
        font-size: 1.3rem;
    }

    .milestone-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .finale-content {
        padding: 0 1rem;
    }
}





.history-wrapper-content .caption h2 {
    font-family: 'Outfit', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 900;
    color: #c2a134;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

.history-wrapper-content .caption p {
    font-family: 'Outfit', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    max-width: 50rem;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #333;
    line-height: 1.6;
}

.history-wrapper-content .double-images {
    position: relative;
    width: 80rem;
    display: flex;
}

.history-wrapper-content .double-images.type-01 {
    margin: 8rem 0;
}

.history-wrapper-content .double-images.type-01 figure:first-child {
    flex-basis: 55rem;
    flex-shrink: 0;
    height: 70vh;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.history-wrapper-content .double-images.type-01 figure:last-child {
    max-width: 40rem;
    height: 45vh;
    position: absolute;
    bottom: -3rem;
    right: -20rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.history-wrapper-content .double-images.type-02 figure:first-child {
    flex-basis: 80rem;
    flex-shrink: 0;
    height: 85vh;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.history-wrapper-content .double-images.type-02 figure:last-child {
    max-width: 40rem;
    height: 45vh;
    position: absolute;
    bottom: -3rem;
    right: -20rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.history-wrapper-content .triple-images {
    position: relative;
    max-width: 100rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8rem 0;
}

.history-wrapper-content .triple-images figure {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.history-wrapper-content .triple-images figure:first-child {
    width: 45vh;
    height: 45vh;
}

.history-wrapper-content .triple-images figure:nth-child(2) {
    width: 30vh;
    height: 30vh;
    position: absolute;
    top: -25%;
    right: -15%;
}

.history-wrapper-content .triple-images figure:nth-child(3) {
    width: 35vh;
    height: 35vh;
    position: absolute;
    bottom: -25%;
    left: -15%;
}

.history-wrapper-content figure {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.history-wrapper-content figure.start-image {
    width: 45%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.history-wrapper-content figure img {
    width: 140%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.history-wrapper-content figure:hover img {
    transform: scale(1.05);
}

.history-wrapper-content .start-chapter {
    display: flex;
    align-items: center;
    height: 100vh;
    padding: 0 5vw;
}

.history-wrapper-content .start-chapter .caption {
    width: 55%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding-right: 5vw;
}

.history-wrapper-content .start-chapter .caption h2 {
    font-size: clamp(5rem, 10vw, 12rem);
    background: linear-gradient(45deg, #c2a134, #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
}

.history-wrapper-content .start-chapter .caption p {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #666;
    max-width: 50rem;
}

.history-wrapper-content .chapters {
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 8vw;
}

.history-wrapper-content .chapters.c01 .caption {
    padding-left: 15rem;
}

.history-wrapper-content .chapters.c02 {
    padding: 0 8vw;
}

.history-wrapper-content .chapters.c02 .caption {
    padding-left: 15rem;
    width: max-content;
    margin-top: 8rem;
}

.history-wrapper-content .item {
    width: 100%;
    height: 100%;
    display: flex;
    background: #fff;
}

/* Responsive Horizontal Timeline */
@media (max-width: 768px) {
    .history-wrapper-content .scrollContainer {
        flex-direction: column;
        height: auto;
        width: 100% !important;
    }

    .history-wrapper-content .section {
        height: auto;
        flex: none;
        min-height: 100vh;
        min-width: 100% !important;
        padding: 2rem 1rem;
    }

    .history-wrapper-content .start-chapter {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .history-wrapper-content .start-chapter .caption {
        width: 100%;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .history-wrapper-content figure.start-image {
        width: 100%;
        height: 50vh;
    }

    .history-wrapper-content .chapters {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .history-wrapper-content .chapters.c01 .caption,
    .history-wrapper-content .chapters.c02 .caption {
        padding-left: 0;
        margin-top: 2rem;
        text-align: center;
    }

    .history-wrapper-content .double-images {
        width: 100%;
        flex-direction: column;
        margin: 2rem 0;
    }

    .history-wrapper-content .double-images figure {
        position: relative !important;
        width: 100% !important;
        height: 40vh !important;
        margin-bottom: 1rem;
        right: auto !important;
        bottom: auto !important;
    }

    .history-wrapper-content .triple-images {
        flex-direction: column;
        max-width: 100%;
        margin: 2rem 0;
    }

    .history-wrapper-content .triple-images figure {
        position: relative !important;
        width: 100% !important;
        height: 40vh !important;
        margin-bottom: 1rem;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
    }

    .history-wrapper-content .caption h2 {
        font-size: clamp(3rem, 8vw, 5rem);
    }

    .history-wrapper-content .caption p {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }
}

