/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

 /* Cookies styling*/
      #cookie-banner {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
        max-width: 1000px;
        background-color: #008000; /* The pastel pink from your screenshot */
        color: #111;
        padding: 15px 25px;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        z-index: 999999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        font-family: var(--font-sans, 'Montserrat', sans-serif);
        display: none; /* Hidden by default until JS checks storage */
    }

    @media (min-width: 768px) {
        #cookie-banner {
            flex-direction: row;
            padding: 15px 30px;
        }
    }

    .cookie-text {
        font-size: 0.8rem;
        line-height: 1.5;
        text-align: center;
    }

    @media (min-width: 768px) {
        .cookie-text {
            text-align: left;
            padding-right: 20px;
        }
    }

    .cookie-actions {
        display: flex;
        align-items: center;
        gap: 20px;
        white-space: nowrap;
    }

    .cookie-link {
        color: #111;
        text-decoration: underline;
        text-transform: uppercase;
        font-size: 0.7rem;
        letter-spacing: 1px;
        transition: color 0.2s;
    }

    .cookie-link:hover {
        color: #fff;
    }

    .cookie-accept-btn {
        background: transparent;
        border: none;
        color: #111;
        text-transform: uppercase;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 1px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 0;
        transition: color 0.2s;
    }

    .cookie-accept-btn:hover {
        color: #fff;
    }


/* Navbar styles */
.navbar {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    /* box-shadow: 0 4px 6px rgba(0,0,0,0.1); */
    background-color: #fff; /* keeps it clean */
    
    min-height: 80px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Space out nav links */
.navbar-nav .nav-item {
    margin: 0 15px; /* spacing between items */
}

/* Active link styling */
.navbar-nav .nav-link.active {
    color: rgb(6 54 40); /* Bootstrap primary */
    font-weight: 500;
}

/* Hover effect */
.navbar-nav .nav-link:hover {
    color: rgb(6 54 40); 
    transition: color 0.3s ease;
}

/* Button styling */
.navbar .btn {
    border-radius: 50px; /* pill/rounded look */
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Button hover */
.navbar .btn:hover {
    background-color: rgb(6 54 40);
    color: #fff; /* white text */
    border-color: rgb(6 54 40);
}

/* Ensure link inside button doesn't break */
.navbar .btn a {
    text-decoration: none;
    color: inherit;
}

/* Button hover with arrow animation */
.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

/* Service Card Hover */
.service-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.service-item img {
    transition: transform 0.5s ease;
}

.service-item:hover img {
    transform: scale(1.1); /* smooth zoom */
}

/* Overlay effect */
.service-item::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-item:hover::after {
    opacity: 1;
}

/* Text stays on top */
.service-item .p-4 {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* pushes read more link to bottom */
    height: 100%;
}

/* Main Content */
.main-content {
    margin-top: 80px; /* Adjust based on header height */
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* =========================================
   Footer Styling - Luxury Theme
   ========================================= */

.footer {
    background-color: rgb(6, 54, 40); /* Matches Navbar/Primary Theme */
    color: #fff;
    padding: 5rem 0 2rem 0;
    margin-top: auto; /* Pushes footer to bottom if flexbox used on body */
    font-family: 'Roboto', sans-serif;
    border-top: 4px solid rgba(255, 255, 255, 0.05);
}

/* Typography */
.footer-brand {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: 1px;
}

.footer-tagline {
    font-style: italic;
    font-family: 'Playfair Display', serif; /* Ensure serif font matches index */
    color: rgba(255, 255, 255, 0.7);
}

/* Small Divider line for aesthetics */
.divider-small {
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px); /* Subtle luxury slide effect */
}

/* Social Buttons - Circle outline style */
.social-links {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #fff;
    color: rgb(6, 54, 40); /* Icon turns green on hover */
    transform: translateY(-3px);
    border-color: #fff;
}

/* Footer Bottom Area */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* =========================================
   Responsive Design (Fixed Syntax)
   ========================================= */
.header-cta {
    display: none;
}

/* ------------------------------------------------------------------ */
/* Custom styles for your Bootstrap website */

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.navbar-brand img {
    height: 80px;
    width: auto;
}

.logo-img { height: 100px; width: auto; }

.content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.content p {
    margin-bottom: 1.5rem;
}

.sidebar .card {
    border: none;
    border-radius: 0.5rem;
}

.sidebar .card-header {
    border-radius: 0.5rem 0.5rem 0 0 !important;
}

/* Navbar customizations for centered logo and right icons */
.navbar .container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    margin-right: 0; /* override Bootstrap's default */
    padding: 0;
}

/* On mobile (below 992px) */
@media (max-width: 991.98px) {
    .navbar .container-fluid {
        position: relative;
    }
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }
    .navbar-toggler {
        order: -1; /* ensures toggler stays on the left */
    }
    .navbar .d-flex.gap-3 {
        margin-left: auto;
    }
    .navbar-collapse {
        width: 100%;
        order: 3;
        margin-top: 10px;
    }
}

/* =========================================
    Desktop Navbar Layout (992px+)
   ========================================= */
@media (min-width: 992px) {
    .navbar .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* 1. Logo on the Left */
    .navbar-brand {
        position: static !important; 
        transform: none !important;  
        order: 1; 
        margin-right: 2rem;
    }

    /* 2. Links in the Middle */
    .navbar-collapse {
        order: 2;
        display: flex !important;
        justify-content: center; 
    }

    /* 3. Icons/Buttons on the Right */
    .navbar .d-flex.gap-3 {
        order: 3;
        margin-left: 0; 
        min-width: 120px; 
        justify-content: flex-end;
        margin-right: 3rem;
    }
}

/* Wishlist styling*/
.add-to-wishlist-btn:hover {
    background-color: #f8f9fa;
    color: #dc3545;
}

.remove-wishlist-btn {
    color: #dc3545;
}

.remove-wishlist-btn:hover {
    background-color: #dc3545;
    color: white;
}

#wishlistItemsContainer .card {
    transition: transform 0.2s;
}

#wishlistItemsContainer .card:hover {
    transform: translateY(-2px);
}

.toast {
    min-width: 250px;
}

/* =========================================
   Main Navbar Icons Hover Effects (Profile, Wish, Bag)
   ========================================= */
.navbar .d-flex .nav-link {
    transition: all 0.3s ease;
}

/* Change icon/text color to website green on hover */
.navbar .d-flex .nav-link:hover,
.navbar .d-flex .nav-link:hover i,
.navbar .d-flex .nav-link:hover div {
    color: #063628 !important;
}

/* Add the outer green glow to the icon specifically */
.navbar .d-flex .nav-link:hover i {
    text-shadow: 0 0 12px rgba(6, 54, 40, 0.7);
    transform: scale(1.05); /* Slight pop to make the glow stand out */
}

/* =========================================
   Dropdown Menu Hover Behavior
   ========================================= */

/* Make the dropdown open smoothly on hover for desktop users */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Base styles for dropdown items */
.navbar .dropdown-menu .dropdown-item {
    transition: all 0.2s ease;
}

/* Solid green background on hover for Profile/Logout anchors */
.navbar .dropdown-menu .dropdown-item:hover {
    background-color: #063628 !important; 
    color: #ffffff !important; /* Turn text white for readability */
}

/* Ensure the icons inside the dropdown also turn white on hover */
.navbar .dropdown-menu .dropdown-item:hover i {
    color: #ffffff !important;
}
}