* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    align-items: start;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ============================================
   THREE-ROW NAVBAR STRUCTURE
   ============================================ */

/* Top Bar - Same Day Delivery Banner */
.top-bar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.top-bar-content {
    text-align: center;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #333;
}

/* Middle Bar - Logo, Phone, Contact, Icons */
.middle-bar {
    background-color: #1E374D;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.middle-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

/* Left: Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-number {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.phone-number:hover {
    color: #c5695a;
}

.phone-number i {
    margin-right: 6px;
}

.hours {
    color: #c0c0c0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-left: 20px;
    border-left: 1px solid #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.hours:hover {
    color: #c5695a;
}

.address {
    color: #c0c0c0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.address i {
    margin-right: 6px;
    font-size: 12px;
}

/* Center: Logo */
.logo-container {
    text-align: center;
}

.main-logo {
    height: 90px;
    width: auto;
    transition: transform 0.3s;
}

.main-logo:hover {
    transform: scale(1.05);
}

/* Right: Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #c5695a;
}

.search-icon {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.search-icon:hover {
    color: #c5695a;
}

/* Mobile Menu Toggle (hidden on desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #1E374D;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* Bottom Navigation Menu */
.bottom-nav {
    background-color: #1E374D;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-links {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-links li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 18px 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background-color 0.3s, color 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-links li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: #c5695a;
}

/* Featured Arrangements Section */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #1E374D;
    margin-bottom: 50px;
    font-weight: 700;
}

.arrangement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.arrangement-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

    .arrangement-card:hover {
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.arrangement-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 8px;
}

    .arrangement-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        transition: transform 0.3s ease;
    }

    .arrangement-card:hover .arrangement-image img {
        transform: scale(1.1);
    }

.arrangement-info {
    padding: 20px;
    text-align: center;
}

    .arrangement-info h3 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #333;
    }

.arrangement-price {
    font-size: 24px;
    color: #1E374D;
    font-weight: bold;
    margin-bottom: 15px;
}

.arrangement-description {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
    line-height: 1.6;
}

.view-button {
    background-color: #1E374D;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

    .view-button:hover {
        background-color: #c5695a;
    }

/* Collections Section */
.collections {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.collection-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

    .collection-card:hover {
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.collection-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .collection-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .collection-card:hover .collection-image img {
        transform: scale(1.1);
    }

.collection-name {
    padding: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

/* Reviews Section */
.reviews {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background-color: #1E374D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-right: 15px;
}

.reviewer-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.reviewer-info p {
    font-size: 12px;
    color: #666;
}

.stars {
    color: #ffa500;
    margin-bottom: 15px;
    font-size: 18px;
}

.review-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.review-photos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.review-photo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd6d1 0%, #ffe6e3 100%);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E374D;
    font-size: 24px;
}

.owner-response {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    border-left: 3px solid #1E374D;
}

    .owner-response strong {
        color: #1E374D;
    }

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #4A7BAF;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p, .footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1.8;
}

    .footer-section a:hover {
        color: #4A7BAF;
    }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* ============================================
   CATEGORY FLOWERS PAGE SPECIFIC STYLES
   ============================================ */

/* Page Header */
.page-header {
    background-color: #1E374D;
    color: white;
    padding: 10px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.page-header-container {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
}

    .breadcrumb a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s;
    }

        .breadcrumb a:hover {
            color: white;
        }

    .breadcrumb .separator {
        margin: 0 8px;
        color: rgba(255, 255, 255, 0.6);
    }

    .breadcrumb .current {
        color: white;
        font-weight: 500;
    }

.page-header-title {
    font-size: 36px;
    margin: 10px 0;
    font-weight: 700;
}

.category-description {
    font-size: 18px;
    opacity: 0.9;
    margin-top: 10px;
}

/* Flower Pricing - Additional styles for dual pricing */
.flower-pricing {
    margin: 15px 0;
}

.price-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    justify-content: center;
}

.price-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.item-code {
    font-size: 12px;
    color: #999;
    margin: 10px 0;
    text-align: center;
}

/* No Items Message */
.no-items-message {
    text-align: center;
    padding: 60px 20px;
}

    .no-items-message p {
        font-size: 18px;
        color: #666;
        margin-bottom: 20px;
    }

.back-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1E374D;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

    .back-button:hover {
        background-color: #c5695a;
    }

/* Related Categories Section */
.related-categories {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.category-link {
    padding: 12px 25px;
    background: white;
    color: #1E374D;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .category-link:hover {
        background: #1E374D;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

/* ============================================
   RESPONSIVE DESIGN - THREE-ROW NAVBAR
   ============================================ */

/* Tablet and smaller */
@media (max-width: 992px) {
    .middle-bar-container {
        padding: 0 20px;
        gap: 20px;
    }

    .nav-links li a {
        padding: 18px 20px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-content {
        font-size: 11px;
        padding: 6px 15px;
    }

    /* Middle Bar - Stack on mobile */
    .middle-bar-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
        padding: 15px 20px;
    }

    .contact-info {
        align-items: center;
    }

    .contact-row {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hours {
        border-left: none;
        padding-left: 0;
    }

    .header-actions {
        justify-content: center;
    }

    .main-logo {
        height: 70px;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    /* Hide desktop menu, show mobile menu */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1E374D;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .nav-links.mobile-active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Other sections */
    .arrangement-grid,
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    /* Category Flowers Page Responsive */
    .page-header-title {
        font-size: 28px;
    }

    .category-description {
        font-size: 16px;
    }

    .category-links {
        gap: 10px;
    }

    .category-link {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .arrangement-grid,
    .collections-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 22px;
    }

    /* Category Flowers Page Responsive */
    .page-header {
        padding: 10px 15px;
    }

    .page-header-title {
        font-size: 24px;
    }
}

/* Override bootstrap*/
dl,
ol,
ul {
    margin-bottom: 0 !important;
}

/*footer opening hours*/
.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    width: 180px;
    font-size: 14px;
}

    .hours-row .day {
        font-weight: bold;
    }

    .hours-row .time {
        text-align: right;
    }

