/* Forces the header to never exceed the viewport width */
header,
.site-header,
.top-bar,
.navbar {
    max-width: 100vw;
    /* 100% of the Viewport Width */
   /*  overflow-x: hidden; */
    box-sizing: border-box;
    /* Ensures padding doesn't add width */
    margin: 0;
}

/* Fix for "Row" elements that have negative margins */
.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* --- Hero Section Background & Layout --- */
.kitchen-hero-section {
    position: relative;
    /* Update this URL to your specific Green Kitchen image */
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1556911220-e15b29be8c8f?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect for "luxury" feel */
    padding: 120px 0;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Prevents scrollbars during animation */
}

.kitchen-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.kitchen-content-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

/* --- Typography (Left Side) --- */
.kitchen-text-col {
    flex: 1;
    color: #ffffff;
    min-width: 300px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
    color: #fff;
    text-transform: capitalize;
}

/* Small gold/green accent line often seen in luxury designs */
.title-underline {
    width: 80px;
    height: 10px;
    background-color: #ffc559;
    /* Green accent */
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.hero-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #dcdcdc;
    max-width: 500px;
}

/* --- Form Design (Right Side) --- */
.kitchen-form-col {
    flex: 0 0 420px;
    max-width: 100%;
}

.form-card {
    /* TRANSPARENT BACKGROUND SETTING */
    background-color: rgba(255, 255, 255, 0.90);
    /* 90% opacity white */
    padding:10px;
    border-radius: 0px;
    /* Sharp corners match TEL Kitchens brand usually */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-top: 5px solid #ffc559;
    /* Green top border accent */
}

.form-title {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 20px;
}

/* Sleek Minimal Inputs */
.form-card input,
.form-card textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-card input:focus,
.form-card textarea:focus {
    outline: none;
    border-color: #ffc559;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(46, 125, 50, 0.1);
}

/* Button Styling */
.submit-btn {
    width: 100%;
    background-color: #000000;
    /* Deep Black for Luxury Contrast */
    color: #ffffff;
    border: 1px solid #000000;
    padding: 15px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
}

.submit-btn:hover {
    background-color: transparent;
    color: #000000;
    border: 1px solid #000000;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 991px) {
    .kitchen-hero-section {
        padding: 80px 0;
        text-align: center;
    }

    .kitchen-content-row {
        flex-direction: column;
        gap: 40px;
    }

    .kitchen-text-col {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .kitchen-form-col {
        width: 100%;
    }
}


/* second section */

/* --- Info Section Layout --- */
.green-info-section {
    background-color: #ffffff;
    padding: 100px 0;
    overflow: hidden;
}

.green-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.green-info-row {
    display: flex;
    align-items: flex-start;
    /* Aligns content to top */
    gap: 60px;
    /* Space between image and text */
    flex-wrap: wrap;
}

/* --- Left Image Column --- */
.green-image-col {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Subtle zoom effect on hover */
.image-wrapper:hover img {
    transform: scale(1.03);
}

/* --- Right Text Column --- */
.green-text-col {
    flex: 1;
    min-width: 300px;
}

/* Headings */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Green Accent Underline */
.title-underline-small {
    width: 60px;
    height: 3px;
    background-color: #ffc559;
    margin-bottom: 25px;
}

/* Paragraph Text */
.intro-text {
    font-size: 1rem;
    line-height: 1.7;
    /* Good spacing for readability */
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
    /* Optional: gives a clean "newspaper" block look */
}

/* --- Categories List Design --- */
.green-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.green-categories-list li {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid #eee;
    /* Subtle border line on left */
    transition: border-color 0.3s ease;
}

/* Highlight the side border when hovering a list item */
.green-categories-list li:hover {
    border-left: 3px solid #ffc559;
}

.green-categories-list strong {
    color: #ffc559;
    /* Make the category names Green */
    font-weight: 700;
    font-size: 1.05rem;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 991px) {
    .green-info-section {
        padding: 60px 0;
    }

    .green-info-row {
        flex-direction: column;
        gap: 40px;
    }

    .green-image-col,
    .green-text-col {
        width: 100%;
        flex: none;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* section three */

/* --- Items List Section --- */
.items-list-section {
    background-color: #fff6ed;
    /* Base Dark Color */
    padding: 100px 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;

    /* Geometric Background Pattern */
    background-image:
        repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.03) 0px, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.03) 0px, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 20px);

}

/* Header Typography */
.section-subtitle {
    display: block;
    color: #c19d60;
    /* Gold Accent */
    /*text-transform: uppercase;*/
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 50px;
}

/* Card Container */
.item-card {
    position: relative;
    margin-bottom: 30px;
    /* Ensure content stacks correctly */
    display: flex;
    flex-direction: column;
}

/* Image Wrapper */
.card-image {
    height: 300px;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Hover Zoom Effect */
.item-card:hover .card-image img {
    transform: scale(1.1);
}

/* Overlapping Content Box */
.card-content {
    background-color: #1e1e1e;
    /* Slightly lighter dark background */
    padding: 20px;
    width: 85%;
    /* Narrower than image to create the look */
    margin: -30px auto 0 auto;
    /* Negative margin pulls it UP over the image */
    position: relative;
    z-index: 2;
    /* The Gold Bottom Border from your image */
    border-bottom: 2px solid #ffc559;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.item-card:hover .card-content {
    transform: translateY(-5px);
    /* Subtle lift on hover */
}

/* Card Text Styling */
.item-date {
    display: block;
    color: #c19d60;
    /* Gold Date */
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.item-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0px;
}

.item-heading a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-heading a:hover {
    color: #c19d60;
}

.item-desc {
    color: #aaaaaa;
    /* Grey description text */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .card-content {
        width: 90%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
}

/* section */
/* --- Categories Grid Styles --- */
.kitchen-categories-section {
    background-color: #ffffff;
    padding: 100px 0;
}

/* Card Container */
.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    margin-bottom: 3rem;
}

/* Image Wrapper */
.category-card .img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* Soft shadow for depth */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    aspect-ratio: 4/3;
    /* Ensures all image boxes are identical size */
    background-color: #f8f8f8;
    /* Light gray while loading */
}

/* The Image Itself */
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Prevents stretching */
    transition: transform 0.6s ease;
}

/* Hover Effect: Smooth Zoom */
.category-card:hover img {
    transform: scale(1.08);
}

/* Title Styling */
.cat-title {
    text-align: center;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

/* Hover Effect: Title turns green */
.category-card:hover .cat-title {
    color: #2e7d32;
}

/* --- Section Title --- */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.title-underline-center {
    width: 60px;
    height: 4px;
    background-color: #2e7d32;
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Mobile Font Adjustments --- */
@media (max-width: 768px) {
    .cat-title {
        font-size: 0.9rem;
    }
}








/* --- Section Layout --- */
.merraki-collection-grid {
    background-color: #fff6ed;
    /* Cream Background */
    padding: 100px 0;
    overflow: hidden;
    background-image:
        repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.03) 0px, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.03) 0px, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 20px);
}

/* --- Header Styling --- */
.badge-wrapper {
    margin-bottom: 20px;
}

.badge-blue-small {
    color: #000;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 14px;
    display: inline-block;
}

.title-blue-block {
    color: #000;
    font-size: 42px;
    font-weight: 700;
    display: inline-block;
    padding: 10px 30px;
    margin: 0;
}

/* --- Card Styling --- */
.collection-card {
    display: block;
    text-decoration: none;
    position: relative;
    margin-bottom: 20px;
}

/* Image Box */
.image-box {
    position: relative;
    height: 250px;
    /* Tall Portrait */
    width: 100%;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    /* Deep shadow */
    background-color: #000;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover: Zoom Image */
.collection-card:hover .image-box img {
    transform: scale(1.1);
}

/* --- Gradient Overlay (Critical for Text Visibility) --- */
.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    /* Covers bottom 60% of image */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* --- Permanent Text Overlay --- */
.card-details-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    /* Sits on top of gradient */
    width: calc(100% - 60px);
}

.card-cat {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #e4b35d;
    /* Gold Category */
    margin-bottom: 8px;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    /* White Text */
    margin: 0;
    line-height: 1.2;
}

/* --- Gold Circle (Arrow Only) --- */
.hover-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    /* Hidden default */
    width: 100px;
    height: 100px;
    background-color: rgba(228, 179, 93, 0.95);
    /* Merraki Gold */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 24px;
}

/* Show Circle on Hover */
.collection-card:hover .hover-circle {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hover-circle i {
    transform: rotate(-45deg);
    transition: transform 0.4s ease;
}

.collection-card:hover .hover-circle i {
    transform: rotate(0deg);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .image-box {
        height: 400px;
    }

    .title-blue-block {
        font-size: 32px;
    }
}










/* --- Explore Colour Section --- */
.explore-colour-section {
    padding: 80px 0;
    /* Light cream background matching the reference image */
    background-color: #ffffff;

}

/* Typography Updates */
.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 15px;
    font-weight: 400;
}

/* --- Flexbox Grid for Swatches --- */
.colour-grid-wrapper {
    display: flex;
    justify-content: center;
    /* Centers items */
    flex-wrap: wrap;
    /* Allows wrapping on smaller screens */
    gap: 30px;
    /* Space between items */
    margin-top: 20px;
}

/* Individual Item Wrapper */
.colour-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    group: hover;
    /* For transitions */
    width: 100px;
    /* Fixed width for alignment */
}

/* The Color Circle */
.colour-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--swatch-color);
    /* Uses the inline style color */

    /* The "Sticker" effect: White border + Shadow */
    border: 5px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

/* Hover Effects */
.colour-item:hover .colour-circle {
    transform: scale(1.15) translateY(-5px);
    /* Grows and floats up */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    /* Shadow gets deeper */
}

/* Label Styling */
.colour-label {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #444;
    font-weight: 600;
    transition: color 0.3s ease;
}

.colour-item:hover .colour-label {
    color: #2e7d32;
    /* Turns green on hover */
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .explore-colour-section {
        padding: 60px 0;
    }

    .colour-grid-wrapper {
        gap: 20px;
    }

    .colour-circle {
        width: 70px;
        height: 70px;
        border-width: 3px;
    }

    .colour-label {
        font-size: 0.85rem;
    }

    .colour-item {
        width: 80px;
    }
}

/* --- WHAT'S NEW SECTION STYLES --- */
.whats-new-section {
    background-color: #ffffff;
    /* FORCE WHITE BG */
    padding: 100px 0;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.sub-heading {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #b19777;
    /* Gold/Beige accent color typical of the theme */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.main-heading {
    font-family: 'Playfair Display', serif;
    /* Elegant serif font for titles */
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.separator-line {
    width: 60px;
    height: 3px;
    background-color: #b19777;
    margin: 0 auto;
}

/* Grid Layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}



/* projects */

.merraki-recent-work {
    background-color: #fff6ed;
    /* Dark Charcoal BG */
    padding: 100px 0 80px 0;
    width: 100%;
    position: relative;
    overflow: hidden;

}

/* Background Grid Lines */
.bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    pointer-events: none;
    z-index: 0;
}

.line {
    width: 1px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    /* Faint grid lines */
}

/* --- Section Header (Blue Blocks) --- */
.section-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

.badge-wrapper {
    margin-bottom: 15px;
}

/* Small "What's New" Badge */
.badge-blue-small {
    color: #000;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    display: inline-block;
}

/* Main Title Block */
.title-blue-block {
    color: #000;
    /* Bold clean font */
    font-size: 42px;
    font-weight: 600;
    display: inline-block;
    /* Wraps background to text width */
    padding: 5px 20px;
    margin: 0;
}

/* --- Carousel Styling --- */
.custom-center-carousel .owl-stage-outer {
    padding-top: 30px;
    /* Space for zoom effect top */
    padding-bottom: 30px;
    /* Space for zoom effect bottom */
    overflow: visible;
    /* Allows scaling outside container if needed */
}

.project-item {
    transition: all 0.5s ease;
    opacity: 0.5;
    /* Default: Side items are dimmed */
    transform: scale(0.9);
    /* Default: Side items are smaller */
}

.image-wrapper {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Center Active Item Logic --- */
.owl-item.center .project-item {
    opacity: 1;
    /* Brighten center item */
    transform: scale(1.1);
    /* Zoom center item */
    z-index: 10;
    /* Shadow lift */
}

/* --- Gold Circle Overlay --- */
.gold-circle-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 280px;
    height: 280px;
    background-color: rgb(255 197 89 / 81%);
    /* Matte Gold */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.5s ease;
}

/* Show Circle ONLY on Center Item */
.owl-item.center .gold-circle-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.circle-content {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.project-cat {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-name {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin: 5px 0;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    margin-top: 10px;
    transition: 0.3s;
}

.arrow-btn:hover {
    background: #fff;
    color: #e4b35d;
}

/* --- Dots Customization --- */
/* --- Force Owl Dots Visibility --- */

/* 1. Container Positioning */
.owl-theme .owl-dots,
.custom-center-carousel .owl-dots {
    text-align: center;
    margin-top: 40px !important;
    /* Push them down from the images */
    display: block !important;
    /* Ensure they aren't hidden */
    position: relative;
    z-index: 10;
}

/* 2. The Dots (Inactive State) */
.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    background: #555555 !important;
    /* Light enough to see on black */
    display: block;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    /* Prepare for hover effect */
}

/* 3. The Active Dot (Gold) */
.owl-theme .owl-dots .owl-dot.active span {
    background: #e4b35d !important;
    /* Merraki Gold */
    transform: scale(1.3);
    /* Make active dot bigger */
    box-shadow: 0 0 10px rgba(228, 179, 93, 0.4);
    /* Glow effect */
}

/* 4. Hover State */
.owl-theme .owl-dots .owl-dot:hover span {
    background: #ffffff !important;
    /* White on hover */
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .title-blue-block {
        font-size: 28px;
    }

    .image-wrapper {
        height: 400px;
    }

    .gold-circle-overlay {
        width: 220px;
        height: 220px;
    }
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
    outline: none !important;
}