/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobile touch optimization */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    touch-action: manipulation;
}

body {
    font-family: 'DM Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Typography */
h1, .site-title {
    font-family: 'DM Sans', Arial, sans-serif;
}

h2, h3 {
    font-family: 'DM Sans', Arial, sans-serif;
}

p {
    font-family: 'DM Sans', Arial, sans-serif;
}

/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
}

.site-header .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}
/* 
.site-header .site-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    font-weight: 700;
} */

.title-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: -20px;
}

.full-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.site-title {
    font-size: 2.2rem;
    font-weight: 700; /* use loaded weight to avoid glyph artifacts */
    margin: 10px 0 0 0;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #ff6600; /* single shade matching site brand */
    text-shadow: none; /* remove blur */
    /* removed text stroke to prevent glyph artifacts on letters like 'g' */
}

@media (max-width: 768px) {
    .site-title {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
}

.full-logo {
    max-width: 58px;
    height: auto;
    object-fit: contain;
    background: transparent !important;
    background-color: transparent !important;
    border: none;
    outline: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.inline-logo {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
    height: 1em; /* 30% smaller than 1.4em */
    width: auto;
    max-width: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
    .full-logo {
        max-width: 48px;
    }
    
    .inline-logo {
        margin: 0 8px;
        height: 0.9em; /* ~30% smaller than 1.3em */
    }
}

@media (max-width: 480px) {
    .full-logo {
        max-width: 38px;
    }
    
    .inline-logo {
        margin: 0 6px;
        height: 0.84em; /* ~30% smaller than 1.2em */
    }
}


/* Icon */
.site-header .title-logo i {
font-size: 3rem;
color: #ff3333;
margin-bottom: 15px;
/* animation: flame-glow 2s infinite ease-in-out; */
}

/* Subtle Glow Animation for Title */
@keyframes subtle-glow {
0% {
    filter: drop-shadow(0 0 8px rgba(255, 51, 51, 0.4));
}
100% {
    filter: drop-shadow(0 0 12px rgba(255, 102, 0, 0.6));
}
}

/* Flame Glow Animation */
@keyframes flame-glow {
0% {
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.7), 0 0 20px rgba(255, 80, 0, 0.4);
    transform: scale(1);
}
50% {
    text-shadow: 0 0 15px rgba(255, 51, 51, 1), 0 0 30px rgba(255, 80, 0, 0.6);
    transform: scale(1.1);
}
100% {
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.7), 0 0 20px rgba(255, 80, 0, 0.4);
    transform: scale(1);
}
}

/* Smooth animated gradient for the title without blur */
@keyframes title-shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.site-header .site-title {
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: clamp(2.8rem, 6.5vw, 4.2rem);
    font-weight: 700; /* use loaded weight to avoid glyph artifacts */
    color: #ff6600; /* single shade matching site brand */
    text-align: center;
    margin: 0;
    padding-left: 0;
    line-height: 1.1;
    text-shadow: none; /* remove blur */
    letter-spacing: 0.5px;
    position: relative;
    /* removed text stroke to prevent glyph artifacts on letters like 'g' */
}

.site-header .site-nav {
    margin-left: auto;
    display: flex;
    gap: 20px;
}

/* .site-header .site-nav a {
    text-decoration: wavy;
    color: #ffffff;
    font-weight: 600;
} */

.site-header .site-nav .a-btn {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3), 0 3px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
    line-height: 1.0;
    position: relative;
    overflow: hidden;
}

.site-header .site-nav .a-btn:hover {
    background: linear-gradient(135deg, #ff8533 0%, #ff6600 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.4), 0 5px 12px rgba(0, 0, 0, 0.3);
}


.site-header .site-nav a:hover {
    color: #ff3333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

section:not(:first-of-type)::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,102,0,0.10) 0%, rgba(255,51,51,0.10) 100%);
    border-radius: 2px;
    z-index: 2;
}

section {
    box-shadow: 0 2px 24px rgba(0,0,0,0.04);
}

h2 {
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

/* Top Section with 3 columns */
#top-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%), url('Image/Background7.webp') center/cover no-repeat;
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-top: 0;
    position: relative;
}

#top-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,51,51,0.1) 0%, rgba(255,102,0,0.1) 100%);
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    padding: 80px 20px 0; /* top padding to clear header */
    position: relative;
    z-index: 2;
}

/* Hero Section Styles */
.hero-content {
    text-align: center;
    color: white;
    padding: 40px 20px;
    margin-top: 30px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    /* text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(255, 51, 51, 0.3); */
    max-width: 100%;
    color: #f0f0f0;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0;
    color: #f0f0f0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.02em;
    opacity: 0.95;
}

.hero-action-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: nowrap;
}

@media (max-width: 768px) {
    /* Header mobile optimizations */
    .site-header .header-inner {
        padding: 8px 15px !important;
    }
    
    .site-header .site-title {
        font-size: clamp(2.2rem, 5.5vw, 2.8rem) !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
    }
    
    .site-logo {
        width: 28px !important;
        height: 28px !important;
    }
    
    .site-header .site-nav .a-btn {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        border-radius: 25px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .site-header .site-nav {
        gap: 10px !important;
    }
    
    /* Hero section mobile optimizations */
    #top-section {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        min-height: 100vh !important;
        background-repeat: no-repeat !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }
    
    .hero-action-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-container {
        padding: 80px 15px 0 !important;
    }
    
    .hero-content {
        padding: 20px !important;
    }
    
    /* Balance hero button with header button on mobile */
    .hero-btn {
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
        box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    }
}

.hero-btn {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-btn:hover {
    background: linear-gradient(135deg, #ff8533 0%, #ff6600 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.5), 0 8px 15px rgba(0, 0, 0, 0.4);
}

.hero-btn:hover::before {
    left: 100%;
}

/* Middle Section - Match Store Section Styling (except background) */
.middle-section {
    padding: 20px 0;
    background: linear-gradient(135deg, rgba(17,17,17,0.95) 0%, rgba(34,34,34,0.9) 100%), url('Image/midsectionBackground.png') center/cover no-repeat; 
    position: relative;
    color: #222;
    box-shadow: 0 -12px 48px 0 rgba(255,102,0,0.06) inset, 0 8px 32px 0 rgba(0,0,0,0.08);
    border-top: none;
    z-index: 1;
    overflow: hidden;
}

.middle-section .container {
    padding-top: 1px;
}

.middle-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    text-align: center;
    background: linear-gradient(135deg, #ff3333 0%, #ff6600 50%, #ff8533 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    letter-spacing: -0.02em;
    position: relative;
    animation: subtle-glow 3s ease-in-out infinite alternate;
}

.middle-section .section-intro {
    margin-bottom: 10px;
    text-align: center;
    color: #ccc;
}

.middle-section .section-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    color: #ccc;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}


.gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

/* Gallery layout for horizontal scrolling */
.image-gallery {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    width: 100%;
    scrollbar-width: none;
}

/* Hide scrollbar for webkit browsers */
.image-gallery::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 24%;
    min-width: 200px;
    max-width: 240px;
    background: linear-gradient(135deg, #fff 0%, #f7f5f2 100%);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0eae2;
    padding: 0 0 18px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    color: #444;
    font-family: 'DM Sans', Arial, sans-serif;
}

.gallery-item h3 {
    padding: 15px 15px 5px;
    font-size: 14px;
    color: #ff3333;
    font-family: 'DM Sans', Arial, sans-serif;
    text-align: left;
    width: 100%;
    margin-bottom: 0;
}

.gallery-description {
    padding: 0 15px 10px;
    font-size: 12px;
    color: #666;
    font-family: 'DM Sans', Arial, sans-serif;
    text-align: left;
    line-height: 1.4;
    margin: 0;
    font-style: italic;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.3;
}

.gallery-item p {
    padding: 0 15px 15px;
    font-size: 14px;
    color: #444;
    text-align: left;
    width: 100%;
    margin-bottom: 0;
}

/* Remove underline from gallery item links and their children */
.gallery-item a,
.gallery-item a p {
    text-decoration: none;
    color: inherit;
}

/* Responsive: Adjust gallery item width on smaller screens */
@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 48%;
        min-width: 48%;
        max-width: 48%;
    }
    
    .gallery-description {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .product-card {
        flex: 0 0 48%;
        min-width: 48%;
        max-width: 48%;
    }
}

@media (max-width: 480px) {
    /* Header extra small screen optimizations */
    .site-header .header-inner {
        padding: 6px 10px !important;
    }
    
    .site-header .site-title {
        font-size: clamp(1.8rem, 4.5vw, 2.2rem) !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
    }
    
    .site-logo {
        width: 24px !important;
        height: 24px !important;
    }
    
    .site-header .site-nav .a-btn {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        min-height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .site-header .site-nav {
        gap: 8px !important;
    }
    
    /* Hero section extra small screens */
    .hero-title {
        font-size: 1.5rem !important;
        margin-bottom: 15px !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
    }
    
    .hero-container {
        padding: 70px 10px 0 !important;
    }
    
    .hero-content {
        padding: 15px !important;
    }
    
    /* Further reduce hero button size for small screens */
    .hero-btn {
        padding: 8px 18px !important;
        font-size: 0.9rem !important;
        box-shadow: 0 3px 12px rgba(255, 102, 0, 0.25), 0 2px 5px rgba(0, 0, 0, 0.15) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Background positioning for very small screens */
    #top-section {
        background-position: center top !important;
        background-size: cover !important;
    }
    
    /* Gallery optimizations - consolidated above */
    
    .gallery-container {
        margin: 0 20px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prev-btn {
        left: -20px;
    }
    
    .next-btn {
        right: -20px;
    }
    
    .container {
        padding: 15px 10px;
    }
    
    /* Improve button accessibility on very small screens */
    .a-btn {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
        min-height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Fourth Section (Black Background) */
#fourth-section {
    background-color: black;
    color: white;
}

#fourth-section h2 {
    color: white;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}



.gallery-nav {
    position: absolute;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
    min-height: 44px;
}

.gallery-nav:hover {
    background: linear-gradient(135deg, #ff8533 0%, #ff6600 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

/* Products navigation styling */
.products-prev, .products-next {
    opacity: 1;
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

.products-prev[style*="opacity: 0.5"], .products-next[style*="opacity: 0.5"] {
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 51, 51, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    #top-section .container {
        flex-direction: column;
    }
    
    #top-section .column {
        width: 100%;
    }
    
    .gallery-container {
        padding: 0 30px;
    }
    
    .prev-btn {
        left: 0;
    }
    
    .next-btn {
        right: 0;
    }
    
    .image-gallery {
        display: flex;
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px;
    }
    
    .gallery-item {
        flex: 0 0 45%;
        min-width: 45%;
        max-width: 45%;
        margin: 0;
    }
    
    .gallery-item img {
        height: 120px;
        object-fit: cover;
    }
}

.store {
    padding: 20px 0;
    background: linear-gradient(135deg, rgba(17,17,17,0.95) 0%, rgba(34,34,34,0.9) 100%), url('Image/midsectionBackground.png') center/cover no-repeat; 
    position: relative;
    color: #222222a4;
    box-shadow: 0 -12px 48px 0 rgba(255,102,0,0.06) inset, 0 8px 32px 0 rgba(0,0,0,0.08);
    border-top: none;
    z-index: 1;
    overflow: hidden;
}

/* Reduce space between section title and border with middle section */
.store .container {
    padding-top: 1px; /* Reduce from default or previous value */
}

.store h2 {
    font-size: 36px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px; /* Reduce bottom margin for less space */
    text-align: center;
    background: linear-gradient(135deg, #ff3333 0%, #ff6600 50%, #ff8533 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    letter-spacing: -0.02em;
    position: relative;
    animation: subtle-glow 3s ease-in-out infinite alternate;
}

.store .subtitle {
    color: #f7f3f3;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: none;
    font-size: 1.1rem;
    opacity: 0.95;
}

.products-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.products {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    width: 100%;
    scrollbar-width: none;
    margin-top: 0;
}

/* Hide scrollbar for webkit browsers */
.products::-webkit-scrollbar {
    display: none;
}

.product-card {
    background: linear-gradient(135deg, #fff 0%, #f7f5f2 100%);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0eae2;
    padding: 0 0 18px 0;
    flex: 0 0 24%;
    min-width: 200px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    color: #444;
    font-family: 'DM Sans', Arial, sans-serif;
    position: relative;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    box-shadow: none;
}

.product-card h3 {
    padding: 15px 15px 5px;
    font-size: 14px;
    color: #ff3333;
    font-family: 'DM Sans', Arial, sans-serif;
    text-align: left;
    width: 100%;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.3;
}

.product-card p {
    padding: 0 15px 15px;
    font-size: 14px;
    color: #444;
    text-align: left;
    width: 100%;
    margin-bottom: 0;
}

.btn-buy {
    display: block;
    margin: auto 15px 0 15px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.15);
    text-align: center;
    margin-top: auto;
}

.btn-buy:hover {
    background: linear-gradient(135deg, #ff8533 0%, #ff6600 100%);
    transform: translateY(-2px) scale(1.04);
}

/* Secondary action button inside product card */
.btn-preview {
    margin-top: 8px;
}

/* Hover preview overlay on product card image */
.card-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px; /* matches .product-card img height */
  /* Softer dark gradient base, less opaque for a lighter feel */
  background: linear-gradient(180deg, rgba(28,28,32,0.78) 0%, rgba(22,22,26,0.88) 60%, rgba(18,18,20,0.92) 100%);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: hidden; /* clip vignette */
}

.product-card:hover .card-preview-overlay {
  display: flex;
}

/* Mobile/tap active state to show overlay */
.product-card.card-preview-active .card-preview-overlay {
  display: flex;
}

/* Faint vignette overlay */
.card-preview-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Subtle warm tint plus radial dark edges */
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 45%, rgba(0,0,0,0.22) 78%, rgba(0,0,0,0.35) 100%),
    linear-gradient(135deg, rgba(255,102,0,0.12) 0%, rgba(0,0,0,0.08) 100%);
  z-index: 0;
}

/* Gentle center glow to avoid a flat dark look */
.card-preview-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 180, 120, 0.10) 0%, rgba(255, 180, 120, 0.04) 35%, rgba(0,0,0,0) 60%);
  z-index: 0;
}

/* Viewer container inside overlay */
.card-preview-overlay .overlay-viewer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88%;
  height: 72%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1; /* above vignette */
}

.card-preview-overlay .overlay-image {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 8px;
}

.card-preview-overlay .overlay-nav {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 10px;
  position: relative;
  z-index: 1; /* above vignette */
}

/* Disabled state for overlay arrows */
.card-preview-overlay .overlay-nav[disabled] {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.card-preview-overlay .overlay-top {
  position: absolute;
  top: 8px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.95;
  z-index: 1; /* above vignette */
}

.card-preview-overlay .overlay-label {
  color: #ffcc99;
}

.card-preview-overlay .overlay-counter {
  color: #eee;
}

.card-preview-overlay .overlay-cta {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.22);
}

@media (max-width: 768px) {
  .card-preview-overlay {
    height: 180px;
  }
  .card-preview-overlay .overlay-viewer {
    height: 68%;
    width: 92%;
  }
  .card-preview-overlay .overlay-image {
    max-width: 85%;
    max-height: 85%;
  }
}

.product-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(255,102,0,0.15), 0 8px 20px rgba(255,133,51,0.10);
    border-color: #ffede2;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    .gallery-container {
        position: relative !important;
        margin: 0 30px !important;
    }
    
    .gallery-nav {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 15 !important;
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .prev-btn {
        left: -25px !important;
    }
    
    .next-btn {
        right: -25px !important;
    }
    
    /* Improve touch scrolling */
    .image-gallery {
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        overscroll-behavior-x: contain !important;
        overflow-x: auto !important;
        padding: 20px 10px !important;
    }
    
    .products {
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        overscroll-behavior-x: contain !important;
        overflow-x: auto !important;
        padding: 20px 10px !important;
        display: flex !important;
        gap: 10px !important;
    }
    
    /* Better spacing for mobile */
    .gallery-item {
        flex: 0 0 48% !important;
        margin: 0 !important;
        min-width: 48% !important;
        max-width: 48% !important;
    }
    
    .gallery-item img {
        height: 120px !important;
        object-fit: cover !important;
    }
    
    .product-card {
        flex: 0 0 48% !important;
        margin: 0 !important;
        min-width: 48% !important;
        max-width: 48% !important;
        scroll-snap-align: start !important;
    }
    
    /* Mobile typography optimizations */
    .site-title {
        font-size: clamp(2.0rem, 5vw, 2.5rem) !important;
        font-weight: 700 !important;
    }
    
    .hero-content h1, .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .gallery-item h3, .product-card h3 {
        font-size: 0.9rem;
    }
    
    .gallery-item p, .product-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Better mobile padding */
    .container {
        padding: 20px 15px;
    }
    
    section {
        padding: 40px 0;
    }
}

/* Consolidated with main 768px media query above */

footer {
      background: #111;
      color: #fff;
      text-align: center;
      padding: 20px 10px;
    }

    footer .social-icons {
      margin: 10px 0;
    }

    footer .social-icons a {
      color: #fff;
      font-size: 20px;
      margin: 0 10px;
      display: inline-block;
      transition: color 0.3s ease;
    }

    footer .social-icons a:hover {
      color: #ff6600; /* highlight color on hover */
    }

    footer p {
      font-size: 14px;
      margin-top: 15px;
    }

/* Story Bridge Section */
.story-bridge {
    background: linear-gradient(135deg, #f8f4e6 0%, #fff8e7 100%);
    padding: 80px 0;
    text-align: center;
}

/* Pre Book Modal Styles */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal.show {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
}

.modal-content {
  position: relative;
  z-index: 2001;
  width: 92%;
  max-width: 480px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35), 0 8px 16px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,102,0,0.25);
  padding: 20px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

#prebook-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #ff6600;
}

.modal-desc {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 12px;
}

#prebook-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

#prebook-email {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #444;
  background: #111;
  color: #fff;
  outline: none;
}

#prebook-email:focus {
  border-color: #ff6600;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
}

.input-hint {
  display: block;
  margin-top: 6px;
  color: #aaa;
  font-size: 0.85rem;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.a-btn-secondary {
  background: transparent;
  color: #ff6600;
  border: 1.5px solid rgba(255, 102, 0, 0.5);
  border-radius: 50px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-status {
  margin-top: 10px;
  font-size: 0.95rem;
}

/* Submission status badge */
.status-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  color: #fff;
  user-select: none;
}

.status-badge.badge-email {
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.22);
}

.status-badge.badge-local {
  background: rgba(255, 255, 255, 0.08);
  color: #ff6600;
  border: 1.5px solid rgba(255, 102, 0, 0.5);
}

.status-badge.badge-error {
  background: #ff4d4f;
  box-shadow: 0 6px 16px rgba(255, 77, 79, 0.3);
}

@media (max-width: 480px) {
  .modal-content {
    padding: 16px;
    border-radius: 14px;
  }
  #prebook-title {
    font-size: 1.2rem;
  }
}

/* Themed buttons (global) */
.a-btn {
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3), 0 3px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.0;
  position: relative;
  overflow: hidden;
}

.a-btn:hover {
  background: linear-gradient(135deg, #ff8533 0%, #ff6600 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 102, 0, 0.4), 0 5px 12px rgba(0, 0, 0, 0.3);
}

/* Secondary button, outlined brand style */
.a-btn-secondary:hover {
  background: rgba(255, 102, 0, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.22);
}

.bridge-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.story-bridge h2 {
    font-size: 2.5rem;
    color: #2c1810;
    margin-bottom: 30px;
    font-family: 'DM Sans', Arial, sans-serif;
    font-weight: 700;
}

.bridge-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    font-family: 'DM Sans', Arial, sans-serif;
}

.bridge-quote {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f4e6 0%, #fff8e7 100%);
    border-left: 4px solid #ff3333;
    border-radius: 8px;
}

.bridge-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: #2c1810;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.bridge-quote cite {
    font-size: 1rem;
    color: #666;
    font-style: normal;
}

@media (max-width: 768px) {
    .story-bridge {
        padding: 60px 0;
    }
    
    .story-bridge h2 {
        font-size: 2rem;
    }
    
    .bridge-text {
        font-size: 1.1rem;
    }
    
    .bridge-quote blockquote {
        font-size: 1.1rem;
    }
}
