﻿F:root {
    --green: #00331f;
    --green-soft: #eaf3ef;
    --dark: #111;
}

/* RESET */
html,
body {
    font-family: "Inter", sans-serif;
    color: var(--dark);
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevents horizontal scroll globally */
}



/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-family: "Playfair Display", serif;
}

/* NAVBAR */
.navbar {
    padding: 15px 0;
    transition: 0.3s;
    background-color: var(--green);
}

    .navbar.scrolled {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }

/* REVEAL ANIMATION */
/*.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}*/


    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

.navbar-brand {
    font-family: "Playfair Display";
    font-size: 22px;
    color: white !important;
}

.navbar-logo,
.footer-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

    .navbar .nav-link:hover {
        color: white !important;
    }

/* DROPDOWN STYLING */
.dropdown-menu {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    min-width: 220px;
}

.dropdown-item {
    color: var(--dark) !important;
    font-size: 14px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .dropdown-item:hover {
        background-color: var(--green-soft);
        color: var(--green) !important;
        padding-left: 30px;
    }

/* HOVER BEHAVIOR FOR DESKTOP */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu,
    .dropdown-menu.show {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom,
    /* Increased opacity for better contrast */ rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8) );
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 64px;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.hero-search {
    max-width: 450px;
    width: 90%; /* Ensures responsiveness on smaller screens */
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px;
    border-radius: 50px;
    transition: 0.3s;
}

    .hero-search:focus-within {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .hero-search input {
        background: transparent;
        border: none;
        color: white;
        flex: 1;
        padding: 10px 25px;
        outline: none;
    }

        .hero-search input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

.search-btn {
    background: var(--green);
    border: none;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

    .search-btn:hover {
        background: #014d2f;
        color: white; /* Ensure text remains white on hover */
    }

/* HERO MINI */
.hero-mini {
    height: 35vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mini-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

/* BUTTON */
.btn-luxury {
    background: var(--green);
    color: white;
    border-radius: 50px;
    padding: 12px 30px;
    transition: 0.3s;
}

    .btn-luxury:hover {
        background: #014d2f;
        color: white; /* Ensure text remains white on hover */
    }

/* SECTION */
.section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
    padding: 100px 0;
}

.section-top-spacing {
    padding-top: 60px; /* Reduced top padding for sections immediately following hero-mini */
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.section-subtitle {
    max-width: 600px;
    margin: auto;
    color: #666;
}

/* BACKGROUND */
.bg-soft {
    background: var(--green-soft);
}

/* SUSTAINABILITY CARDS */
.sustainability-card {
    border-radius: 16px;
    transition: all 0.3s ease;
}

    .sustainability-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
    }


/*
.bg-dark {
    background: var(--dark);
}*/



/*.bg-dark {
    background: var(--dark) !important;
}*/

.split-layout {
    overflow: hidden;
}

.split-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.split-text-box {
    padding: 40px 10%;
}

    .split-text-box .section-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .split-text-box ul li {
        margin-bottom: 8px !important;
    }

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .split-text-box {
        padding: 50px 30px;
        text-align: center;
    }

        .split-text-box ul {
            display: inline-block;
            text-align: left;
        }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 32px; /* Extra protection for very narrow screens */
    }
}

@media (min-width: 768px) {
    .split-layout {
        height: 450px;
    }

    .split-img {
        height: 450px;
    }
}

/* CATEGORIES */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

    .category-card:hover {
        transform: translateY(-5px);
    }

.category-card-img-wrapper {
    width: 160px;
    height: 160px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(0, 51, 31, 0.1);
    background: var(--green-soft);
    margin-bottom: 15px;
    flex-shrink: 0;
}

.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-title {
    font-family: "Playfair Display", serif;
    font-weight: 600;
}

/* PRODUCTS */
.product-card {
    overflow: hidden;
    background: white;
    border-radius: 10px;
    transition: 0.4s;
    cursor: pointer;
    border: 1px solid rgba(0, 51, 31, 0.15);
}

    .product-card img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        transition: 0.4s;
    }

.product-info {
    padding: 20px;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* FOOTER */
.footer {
    background-color: var(--green);
    color: white;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    letter-spacing: 1px;
}

.footer h6 {
    letter-spacing: 2px;
    font-size: 13px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

    .footer-links a:hover {
        color: white;
        transform: translateX(5px);
        display: inline-block;
    }

.social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    transition: 0.3s;
    text-decoration: none;
}

    .social-link:hover {
        color: white;
        transform: translateY(-3px);
        display: inline-block;
    }

/* TESTIMONIALS */
.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 51, 31, 0.15);
}

/* FORMS */
.form-control {
    border-radius: 0;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

    .form-control:focus {
        border-color: var(--green);
        box-shadow: none;
    }

.form-floating-custom {
    position: relative;
}

    .form-floating-custom label {
        position: absolute;
        top: 12px;
        left: 15px;
        padding: 0 5px;
        background: white;
        color: #888;
        transition: all 0.2s ease;
        pointer-events: none;
    }

    .form-floating-custom .form-control:focus ~ label,
    .form-floating-custom .form-control:not(:placeholder-shown) ~ label {
        top: -10px;
        font-size: 12px;
        color: var(--green);
        font-weight: 600;
    }

/* PRODUCT DETAILS PAGE */
.product-details-container {
    padding: 120px 0 80px;
}

.main-img-wrapper {
    height: 450px;
    overflow: hidden;
    position: relative;
    background: var(--green-soft);
}

    .main-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.4s ease;
    }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .slider-arrow:hover {
        background: #fff;
        color: var(--dark);
        transform: translateY(-50%) scale(1.1);
    }

    .slider-arrow.prev {
        left: 20px;
    }

    .slider-arrow.next {
        right: 20px;
    }

#signature-slider .col-md-4 {
    flex: 0 0 auto;
    width: 33.333%;
}

@media (max-width: 991px) {
    #signature-slider .col-md-4 {
        width: 50%;
    }
}

@media (max-width: 575px) {
    #signature-slider .col-md-4 {
        width: 100%;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

        .slider-arrow.prev {
            left: 5px;
        }

        .slider-arrow.next {
            right: 5px;
        }
}

.thumb-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 450px;
    overflow-y: auto;
    flex-shrink: 0;
}

.thumb-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid transparent;
    opacity: 0.7;
}

    .thumb-img:hover,
    .thumb-img.active {
        opacity: 1;
        border-color: var(--green);
    }

.quantity-input {
    max-width: 100px;
    text-align: center;
}

.breadcrumb-item a {
    color: var(--green);
}

/* SHOP FILTERS */
.filter-card {
    border-radius: 12px;
    position: sticky;
    top: 100px;
    border: 1px solid var(--green) !important;
}

.filter-title {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    border-bottom: 1px solid var(--green);
    padding-bottom: 10px;
}

.filter-card .form-check-input {
    border-color: var(--green);
}

.form-check-input:checked {
    background-color: var(--green);
    border-color: var(--green);
}

.heritage-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

@media (min-width: 992px) {
    .heritage-img {
        height: 450px;
    }
}

/* VIDEO SHOWCASE */
.video-showcase {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    max-width: 900px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

    .video-showcase video {
        display: block;
        border: 1px solid rgba(0, 51, 31, 0.1);
        background-color: var(--green-soft);
        max-height: 500px;
        object-fit: cover;
    }

.step-num {
    width: 32px;
    height: 32px;
    background: var(--green-soft);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid rgba(0, 51, 31, 0.1);
}

.origin-img {
    max-height: 480px;
}

/* LIVING ICON STYLES */
.video-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid var(--green-soft);
    box-shadow: 0 10px 25px rgba(0, 51, 31, 0.1);
}

    .video-icon-wrapper video,
    .video-icon-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.sustainability-card:hover .video-icon-wrapper img,
.sustainability-card:hover .video-icon-wrapper video {
    transform: scale(1.1);
}


















.popup-content {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 18px;
    background: #fff;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 35px;
    height: 35px;
    background-color: white;
    border-radius: 50%;
    opacity: 1;
}

.popup-image {
    width: 100%;
    height: 450px;
    display: block;
    object-fit: cover;
}

.popup-body {
    padding: 20px 30px;
    text-align: center;
}

.popup-title {
    margin-bottom: 8px;
    font-weight: 600;
}

.popup-description {
    margin-bottom: 0;
    color: #6c757d;
}





/*for contact page*/


/* TempData alerts */
@keyframes usrAlertIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.usr-alert {
    position: relative;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 16px 3rem;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 900px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    border-left: 4px solid transparent;
    animation: usrAlertIn 0.3s ease-out;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.usr-alert-closing {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
}

.usr-alert span {
    flex: 1;
}

.usr-alert-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .usr-alert-icon svg {
        width: 20px;
        height: 20px;
    }

.usr-alert-success {
    background: linear-gradient(135deg, #EAF7EE 0%, #F3FBF6 100%);
    color: #1E7A34;
    border: 1px solid #C8ECD3;
    border-left-color: #2FA94A;
}

    .usr-alert-success .usr-alert-icon {
        color: #2FA94A;
    }

.usr-alert-error {
    background: linear-gradient(135deg, #FDEDED 0%, #FDF5F5 100%);
    color: #C4383D;
    border: 1px solid #F6C6C7;
    border-left-color: #E0575B;
}

    .usr-alert-error .usr-alert-icon {
        color: #E0575B;
    }

.usr-alert button {
    border: none;
    background: transparent;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    padding: 2px;
    border-radius: 4px;
    transition: opacity 0.2s ease, background 0.2s ease;
}

    .usr-alert button:hover {
        opacity: 1;
        background: rgba(0, 0, 0, 0.06);
    }





