/* ==============================
   ELEGANT BLUE THEME FLOWER WEBSITE
============================== */
:root {
    --blue-main: #1e56a0;
    --blue-light: #3f8efc;
    --blue-accent: #a3d0ff;
    --white: #ffffff;
    --gray-light: #f9f9fb;
    --text-dark: #1a1a1a;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --radius: 14px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* ==============================
   RESET
============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito, sans-serif";
    background: var(--gray-light);
    color: var(--text-dark);
    line-height: 1.7;
}

/* ==============================
   NAVBAR
============================== */
.navbar {
    background: transparent !important;
    /* fully transparent */
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: none !important;
    /* remove blur layer */

}

.navbar a {
    color: black !important;
    /* make the links black */
    font-size: 15px;
    font-family: "tw cen Mt";
}

.navbar .logo img {
    filter: none !important;
    /* ensures the logo stays normal */
}


.navbar .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent !important;
}


.logo img {
    height: 80px;
    width: auto;
}

@media (max-width: 768px) {
    .logo img {
        height: 45px;
    }
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {

    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

/* Hover turns link text blue */
.nav-links a:hover {
    color: #1e56a0 !important;
}

/* Active page link stays blue */
.nav-links a.active {
    color: #1e56a0 !important;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hide hamburger on desktop */
.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* hide links by default */
        flex-direction: column;
        width: 80%;
        background: whitesmoke;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .hamburger {
        display: block;
        /* show hamburger on mobile */
    }

    .nav-links.active {
        display: flex;
        /* show menu when active */
    }
}

/* ==============================
   HERO SECTION
============================== */
.hero {
    position: relative;
    height: 85vh;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 200PX;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeIn 1.2s ease-in;
}

.shipping-terms {
    background-size: cover;
    background-position: left;
    position: relative;
    padding: 60px 20px;
    border-radius: 8px;
    margin: 40px 0;
    color: var(--white);
}

.shipping-terms .overlay {
    position: relative;
    z-index: 2;

    padding: 60px 20px;
    border-radius: 8px;
}

.shipping-terms h2 {
    color: black;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: var(--container);
    margin: 0 auto;
}

.term-item h3 {
    color: black;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.term-item p {
    color: black;
    font-size: 16px;
    line-height: 1.6;
}


/* ==============================
   BUTTONS
============================== */
.btn {
    background: var(--blue-light);
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--blue-main);
    transform: translateY(-2px);
}

/* ==============================
   GENERAL SECTIONS
============================== */
.section {
    padding: 80px 20px;
    max-width: var(--max-width);
    margin: auto;
}

.section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--blue-main);
    margin-bottom: 40px;
}

.section h2::after {
    content: "";
    width: 80px;
    height: 3px;
    background: var(--blue-light);
    display: block;
    margin: 10px auto 0;
}

.tabs-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* LEFT: main tabs */
.tabs {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.tab-link {
    padding: 12px 20px;
    margin-bottom: 10px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    cursor: pointer;
    text-align: left;
    font-weight: 500;
    transition: 0.3s;
}

.tab-link.active {
    background: #1e56a0;
    color: #fff;
}

/* RIGHT: content */
.tab-content {
    flex: 3;
    min-width: 300px;
}

/* Sub-tabs for About Us */
.sub-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.sub-tab-link {
    padding: 8px 16px;
    background: #eee;
    border: 1px solid #ccc;
    cursor: pointer;
}

.sub-tab-link.active {
    background: #1e56a0;
    color: #fff;
}

/* Hide all panes by default */
.main-tab-pane,
.sub-tab-pane {
    display: none;
}

.main-tab-pane.active,
.sub-tab-pane.active {
    display: block;
}


/* HERO SECTION */
.whatwedo-hero {
    height: 40vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.whatwedo-hero .overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatwedo-hero h2 {
    color: white;
    font-size: 42px;
    font-weight: bold;
    text-align: center;
}

/* CONTENT BLOCKS */
.whatwedo-section {
    width: 85%;
    /* previously 90% — now tighter */
    max-width: 1100px;
    /* makes layout centered nicely */
    margin: auto;
    padding: 100px 0;
}

.whatwedo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    /* centers everything */
    margin-bottom: 60px;
    gap: 30px;
    /* slightly smaller gap */
}

.whatwedo-row .text {
    flex: 1;
}

.whatwedo-row .text h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #1e56a0;
}

.whatwedo-row .text p {
    font-size: 15px;
    line-height: 1.3;
}

.whatwedo-row .image {
    flex: 1;
    display: flex;
    justify-content: center;
    /* centers the image block */
}

.whatwedo-row .image img {
    width: 100%;
    max-width: 450px;
    /* prevents the image from becoming too wide */
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .whatwedo-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .whatwedo-row .image img {
        max-width: 100%;
        height: 220px;
    }
}

/* ==========================
   WHY US HERO SECTION
========================== */
.whyus-hero {
    height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.whyus-hero .overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whyus-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    /* limit text width for readability */
}

.whyus-hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.whyus-hero p {
    font-size: 18px;
    line-height: 1.6;
}

/* ==========================
   ABOUT US SECTION
========================== */
/* ABOUT US - CENTRALIZED */
.about-us {
    width: 100%;
    padding: 60px 20px;
    background: #fdfdfd;
    box-sizing: border-box;
}

.about-us-container {
    max-width: 900px;
    /* content width */
    margin: 0 auto;
    /* center horizontally */
    text-align: center;
}

.about-us-container h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

.about-us-container p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}


/* ==========================
   WHY US FEATURES (CENTERED)
========================== */
.why-us-features-section {
    width: 100%;
    max-width: 1000px;
    /* center container width */
    margin: 0 auto;
    /* center on page */
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-sizing: border-box;
}

.why-us-feature {
    display: flex;
    gap: 5px;
    align-items: center;
    background: #f5f5f5;
    /* optional card background */
    padding: 20px;
    border-radius: 10px;
}

.feature-image {
    flex: 1 1 40%;
}

.feature-image img {
    width: 80%;
    border-radius: 10px;
    display: block;
}

.feature-text {
    flex: 1 1 60%;
}

.feature-text h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
}

.feature-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1em;
    /* Adds space between paragraphs */
    line-height: 1.6;
    /* Improves readability */
}


/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .why-us-features-section {
        padding: 40px 20px;
        max-width: 100%;
    }

    .why-us-feature {
        flex-direction: column;
        text-align: center;
        /* optional: center text on mobile */
        padding: 15px;
    }

    .feature-text h4 {
        font-size: 20px;
    }

    .feature-text p {
        font-size: 15px;
    }
}

PRODUCTS GRID-HOMEPAGE

/*============================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 5px;
    justify-content: center;
}

.product-card {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.product-card .content {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: white;
}

.product-card h3 {
    margin: 0;
    font-size: 1.4rem;
}

.product-card p {
    margin-top: 6px;
    font-size: 0.95rem;
}

/* Uniform product image sizes */
.product img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product .meta {
    padding: 18px;
    display: flex;
    flex-direction: column;
    /* stack items vertically */
    gap: 4px;
    /* space between lines */
    align-items: flex-start;
    /* align text to left */

}

.product .meta h4 {
    font-weight: bold;
    font-size: 1.1rem;
    color: #1e56a0;
}


.product-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #1e56a0;
    /* or any color you like */
}

.product-color,
.product-category {
    font-size: 0.95rem;
    color: #555;
}


/* ==============================
   MISSION SECTION
============================== */
.mission {
    padding: 60px 20px;
    background-color: #f4f8ff;
    text-align: center;
}

.mission,
.products-preview {
    padding-left: 60px;
    /* bigger left padding */
    padding-right: 60px;
    /* bigger right padding */
}

.mission p {
    max-width: 800px;
    margin: 0 auto 40px;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.promise-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        /* smaller padding on mobile */
    }

    .mission,
    .products-preview {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.aboutus-preview {
    padding: 60px 0;
}

.aboutus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.aboutus-card {
    position: relative;
    height: 250px;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.aboutus-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: 0.4s ease;
}

.aboutus-card:hover .aboutus-bg {
    transform: scale(1.05);
}

.aboutus-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aboutus-overlay h3 {
    margin: 0;
    font-size: 22px;
}

.aboutus-overlay .arrow {
    font-size: 28px;
    font-weight: bold;
    transition: 0.3s;
}

.aboutus-card:hover .arrow {
    margin-left: 10px;
}

/* VISION BACKGROUND IMAGE SECTION */
.vision-section {
    background-image: url('images/chrysanthemums.jpg');
    /* <-- your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.vision-overlay {
    background: rgba(0, 0, 0, 0.55);
    /* dark overlay like your sample */
    padding: 60px 20px;
    /* adjust thickness */
}

.vision-section .section-content {
    max-width: 1000px;
    margin: auto;
    display: flex;
    gap: 30px;
}

.vision-section .section-title {
    font-size: 18px;
    font-weight: 700;
    width: 28%;
    text-transform: uppercase;
}

.vision-section .section-text {
    width: 72%;
    line-height: 1.7;
    font-size: 15px;
}

/* OUR PRODUCT PAGE*/

.products-background {
    background: url('images/bluerose1.jpg') no-repeat center top;
    background-size: cover;
    padding: 80px 20px 60px;
    /* top padding from navbar */
    color: black;
    position: relative;
}

.products-background h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: black;
}

#products-title {
    background: black !important;
    color: white !important;
    padding: 35px 0 !important;
    text-align: center;
    font-size: 32px;
    display: block;
    width: 100%;
    margin-bottom: 20px;
    /* optional: spacing below */
}


/* Make flower images visible clearly */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.product {
    background: white;
    /* light background for clarity */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s;
}

.product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product .meta {
    padding: 10px;
    text-align: left;
    /* left-align text */
}

.product-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1e56a0;
}

.product-color,
.product-category {
    font-size: 0.95rem;
    margin: 2px 0;
    color: #555;
}


/* Filter buttons */
.filter-buttons {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: #1e56a0;
    color: white;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #0033cc;
}

/* Search Box */
#searchInput {
    width: 60%;
    max-width: 400px;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    display: block;
    margin: 0 auto 20px auto;
}

/*
/* ==============================
   FOOTER
============================== */
footer {
    background: #e8f0ff;
    color: black;
    padding: 40px 20px 20px 20px;
    font-family: sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 220px;
}

.footer-column h3 {
    margin-bottom: 15px;
    color: black;
    font-size: 20px;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    text-decoration: underline;
    color: blue;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
}

.social-icons img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

.white-text1 {
    color: whitesmoke;
    font-weight: 700;
    font-size: 30px;
}

.black-text {
    color: black;
    font-weight: 700;
    font-size: 15px;
}

.black-text1 {
    color: black;
    font-weight: 700;
    font-size: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
    color: black;
}

/* Move first column a bit from the edge on desktop */
.footer-column:first-child {
    padding-left: 100px;
}

/* Responsive: mobile/tablet */
@media (max-width: 768px) {

    .footer-container {
        flex-direction: column;
        /* stack columns vertically */
        align-items: flex-start;
        /* align the entire container to left */
        text-align: left;
        /* align text inside columns to left */
        padding: 20px;
    }

    .footer-column {
        width: 100%;
        /* full width for each column */
        margin-bottom: 20px;
        /* spacing between stacked columns */
    }

    .footer-column:first-child {
        padding-left: 0;
        /* remove extra left padding on first column */
    }
}