@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Playfair+Display:wght@400;700&display=swap');
:root{
    --white: #f5f0f0;
    --off-white: #e9e9e9;
    --onyx: #101010;
    --rich-mahogany: #260101;
    --dark-garnet: #591202;
    --rust-brown: #A62F03;
    --autumn-leaf:#F26716;
}


html, body{
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.super-container .hero{
    height: 100vh;
    background-image: url('images/fire-flame.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    text-align: center;
    margin-top: -100px; /* to offset the fixed header */
}

.super-container .hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
    pointer-events: none;
}

.hero-video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-content{
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 16px;
}

@media (prefers-reduced-motion: reduce){
    .hero-video{
        display: none;
    }
}

.hero h1{
    color: var(--white);
    text-align: center;
    font-weight: 900;
    font-size: 80px;
}

.hero p{
    color: var(--white);
    text-align: center;
    font-size: 25px;
    font-weight: 600;
}

.super-container .hero .btn-shop{
    margin-top: 18px;
    padding: 10px 20px;
    background-color: var(--rust-brown);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.18s ease;
    display: inline-block;
}

.super-container .hero .hero-content a{
    font-size: 18px;
}

.super-container .hero .btn-shop:hover{
    background-color: #ce6605;
}

.super-container{
    /* No changes needed here for now */
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    background-color: var(--onyx);
    border-top: 1px solid var(--rich-mahogany);
    border-bottom: 1px solid var(--rich-mahogany);
    padding: 15px 0;
    white-space: nowrap;
    position: relative;
}

.carousel-track {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
}

.item {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--autumn-leaf);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dot {
    color: var(--rust-brown);
    margin: 0 30px;
    font-size: 1.5rem;
}

/* The Magic: Moves exactly half the width of the track */
@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Pause on hover for accessibility */
.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

.featured-products{
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: var(--dark-garnet);
}

.featured-products .section-title, 
.categories .section-title,
.custom-design .section-title,
.testimonials .section-title,
.gallery .section-title,
.find-us .section-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.featured-products .section-title h2,
.categories .section-title h2, 
.custom-design .section-title h2,
.testimonials .section-title h2,
.gallery .section-title h2,
.find-us .section-title h2{
    font-size: 40px;
    color: var(--white);
}

.product-carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 20px 20px;
    scrollbar-width: none; /* Hides scrollbar for Firefox */
}

.product-carousel-wrapper::-webkit-scrollbar {
    display: none; /* Hides scrollbar for Chrome/Safari */
}

.product-carousel-track {
    display: flex;
    gap: 25px;
    padding: 0 10px;
}

.product-card {
    min-width: 280px;
    max-width: 280px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Carousel center/scroll behavior */
.product-carousel-wrapper {
    scroll-snap-type: x mandatory;
}

.product-carousel-track {
    display: flex;
    gap: 25px;
}

.product-card {
    scroll-snap-align: center;
    transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.35s;
    transform-origin: center center;
}

.product-card.is-center {
    transform: scale(1.06);
    z-index: 5;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--rich-mahogany);
    margin-bottom: 5px;
}

.short-desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    height: 40px; /* Keeps cards uniform */
}

.price {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--dark-garnet);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.add-to-cart {
    background-color: var(--autumn-leaf);
    color: white;
    border: none;
    padding: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: auto; /* Pushes button to bottom */
}

.add-to-cart:hover {
    background-color: var(--rust-brown);
}

/* Navigation Container */
.nav-indicators-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    padding-bottom: 10px;
}

/* Individual Indicator */
.nav-indicator {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

/* Active State using your Autumn Leaf color */
.nav-indicator.is-active {
    background-color: var(--autumn-leaf);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(242, 103, 22, 0.4);
}

/* Ensure smooth scrolling behavior */
.product-carousel-wrapper {
    scroll-behavior: smooth;
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
}

.product-carousel-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.product-carousel-track {
    display: flex;
    gap: 25px;
    padding: 10px;
}

.categories{
    padding: 40px 0;
    background-color: var(--onyx);
}

.categories .category-grid{
    display: flex;
    gap: 10px;
    flex-direction: row;
    padding: 40px 30px;
    justify-content: center;
}

.categories .category-grid .category-card{
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 250px;
    height: 150px;
}

.categories .category-grid .category-card h2{
    font-size: 25px;
    text-align: center;
}

.custom-design{
    padding: 40px 20px;
    background-image: url('../images/custom-design.svg');
    background-size: cover;
    background-position: center;
    display:flex;
    justify-content: center;
}

.custom-design .content-wrapper{
    background-color: #260101be;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1000px;
    height: 500px;
    justify-content: center;
}

.testimonials{
    padding: 40px 20px;
    background-color: var(--dark-garnet);
}

.reviews-grid {
    display: grid;
    /* Creates 4 equal columns */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.review-card {
    background: #f9f9f9;
    border-top: 4px solid var(--autumn-leaf); /* Theme Green */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: var(--autumn-leaf);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.author {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-style: italic;
    color: #555;
}

/* Responsive adjustment for tablets/phones */
@media (max-width: 992px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .reviews-grid { grid-template-columns: 1fr; }
}

.gallery{
    padding: 40px 20px;
    background-color: var(--onyx);
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
}

.gallery-row {
    display: flex;
    height: 360px; /* Adjust height for the 6-row look */
    gap: 15px;
}

/* Base Item Styling */
.item2 {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 0.5px solid var(--autumn-leaf); 
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 350px;
}

.item2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: 0.5s;
}

/* Flex Logic */
.flex-0 {
    flex: 0 0 150px; /* Does not grow, stays 150px wide */
}

.flex-2 {
    flex: 2; /* Takes up the remaining majority of the row */
}

/* Hover Effects */
.item2:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Interactivity: Expand on hover */
.gallery-row:hover .item2 {
    flex: 0 0 100px; /* Shrink others when row is hovered */
}

.gallery-row .item2:hover {
    flex: 2; /* The hovered item becomes the focal point */
}

.find-us {
    padding: 60px 20px;
    background-image:url('../images/visit.jpg');
    background-size: cover;
    background-position: center;
}

.visit-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 30px;
}

.visit-location {
    background: var(--off-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.visit-location:hover {
    transform: translateY(-5px);
}

.location-info {
    padding: 30px;
    text-align: center;
}

.location-info h3 {
    color: var(--rich-mahogany);
    margin-bottom: 10px;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Button Styling */
.btn-directions {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--rich-mahogany);;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-directions:hover {
    background-color: var(--rust-brown);
}

/* Responsive Map Container */
.map-embed {
    width: 100%;
    height: 300px;
    background: #e5e5e5;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .visit-us-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom-section styles: off-white step cards, row layout, centered CTA */
.custom-design .content-wrapper .custom-section{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 18px;
}
.custom-design .content-wrapper .custom-section .steps-row{
    display: flex;
    gap: 20px;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 920px;
    flex-wrap: nowrap;
}
.custom-design .content-wrapper .custom-section .step-card{
    background: var(--off-white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: 26px 20px;
    flex: 1 1 0;
    min-width: 220px;
    color: var(--onyx);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(16,16,16,0.06);
    transition: all 0.3s ease;
}

.custom-design .content-wrapper .custom-section .step-card:hover{
    box-shadow: 0 12px 30px rgba(16,16,16,0.1);
    transform: translateY(-5px);
}

.custom-section .step-number{
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--autumn-leaf);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 20px;
}

.custom-section .step-card{
    display: flex;
    justify-content: center;
}

.custom-section .step-card p{
    margin: 0;
    color: var(--onyx);
    font-size: 16px;
    line-height: 1.4;
}
.custom-button{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 22px;
}
.custom-button a{
    background: var(--autumn-leaf);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(16,16,16,0.12);
}
.custom-button a:hover{
    background: var(--rust-brown);
}

@media (max-width: 900px){
    .custom-design .content-wrapper{ width: 100%; height: auto; }
    .custom-section .steps-row{ flex-direction: column; max-width: 520px; gap: 14px; }
    .custom-section .step-card{ min-width: auto; }
}

.custom-design .content-wrapper .section-title,
.custom-design .content-wrapper .custom-section,
.custom-design .content-wrapper .custom-button{
    margin-bottom: 30px;
}