@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #526043;
    --primary-hover: #3f4a33;
    --primary-light: #f2f4f0;
    --bg: #fbf9f4;
    --text: #2c3524;
    --text-light: #6e7a63;
    --accent: #d8a48f;
    --accent-hover: #c48e79;
    --white: #ffffff;
    --border: #e6e2d8;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 2px 4px rgba(82, 96, 67, 0.05);
    --shadow-md: 0 8px 16px rgba(82, 96, 67, 0.08);
    --shadow-lg: 0 16px 24px rgba(82, 96, 67, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text);
    font-weight: 600;
}

.serif-italic {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header & Navbar */
header {
    background-color: rgba(251, 249, 244, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-header {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--text);
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-header:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 6rem 2rem;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-watermark {
    position: absolute;
    top: 10%;
    left: -5%;
    font-family: var(--font-heading);
    font-size: 12rem;
    font-weight: 800;
    color: rgba(82, 96, 67, 0.03);
    pointer-events: none;
    user-select: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    display: block;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.75rem;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.hero-title span {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    color: var(--primary);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(216, 164, 143, 0.4);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 164, 143, 0.6);
}

.hero-img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 120px 120px 0 0;
    box-shadow: var(--shadow-lg);
}

/* Sections Global */
.section {
    padding: 7rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.75rem;
    line-height: 1.25;
}

/* Bestsellers Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-img-wrap {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    color: var(--text-light);
    transition: var(--transition);
}

.product-action-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.product-price {
    font-weight: 700;
    color: var(--primary);
}

/* Weddings & Services Split */
.split-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.split-card-color {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-card-color h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.split-card-color p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.split-link {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.split-link:hover {
    opacity: 0.8;
}

.split-card-img {
    position: relative;
    overflow: hidden;
}

.split-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-card-text {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--border);
}

.split-card-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.split-card-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Occasions categories */
.occasions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.occasion-card {
    text-align: center;
}

.occasion-img-wrap {
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.occasion-card:hover .occasion-img-wrap {
    border-color: var(--primary);
    transform: rotate(3deg);
}

.occasion-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.occasion-title {
    font-size: 1.35rem;
    font-weight: 500;
}

/* Who We Are */
.who-we-are {
    background-color: var(--primary-light);
}

.who-container {
    max-width: 1100px;
    margin: 0 auto;
    background-color: var(--primary);
    border-radius: 24px;
    padding: 5rem;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
    color: var(--white);
}

.who-left {
    position: relative;
}

.who-left::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px; right: 20px; bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 120px 120px 0 0;
}

.who-florist-img {
    width: 100%;
    height: auto;
    border-radius: 120px 120px 0 0;
    display: block;
    position: relative;
    z-index: 2;
}

.who-right {
    max-width: 500px;
}

.who-right h2 {
    color: var(--white);
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.who-right p {
    opacity: 0.85;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-white:hover {
    background-color: var(--bg);
    transform: translateY(-2px);
}

/* Gift slider Section */
.gift-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.gift-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.gift-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.gift-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gift-card-active {
    border-color: var(--primary);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* Countdown Promo Banner */
.countdown-banner {
    background-color: var(--primary-light);
}

.countdown-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--primary);
    border-radius: 24px;
    padding: 5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    color: var(--white);
}

.countdown-left {
    max-width: 500px;
}

.countdown-title {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.countdown-clock {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.clock-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    min-width: 75px;
    padding: 1rem 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.clock-num {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: block;
}

.clock-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.75;
}

.countdown-right {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.countdown-right img {
    width: 100%;
    height: auto;
    display: block;
}

/* Instagram Grid */
.instagram-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.instagram-item {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instagram-item:hover img {
    transform: scale(1.05);
}

.instagram-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(82, 96, 67, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-btn {
    background-color: var(--white);
    color: var(--primary);
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Testimonial slider */
.testimonials {
    padding: 7rem 2rem;
    background-color: var(--bg);
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.testimonial-text {
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text);
}

.testimonial-author {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.testimonial-rating {
    color: #eab308;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: #3b4530;
    color: #cbd2c6;
    padding: 6rem 2rem 2rem;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.footer-social-icon:hover {
    background-color: var(--accent);
}

.footer-col-title {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Secondary Pages Specific Styles */
/* Shop Sidebar */
.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-item {
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text-light);
}

.filter-item:hover, .filter-item.active {
    color: var(--primary);
    font-weight: 600;
}

/* Mini Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0; right: -360px; width: 360px; height: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    padding: 1.5rem;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.btn-checkout {
    width: 100%;
    padding: 0.85rem 0;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
}

/* Contact layout */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    border-radius: 16px;
    resize: vertical;
    min-height: 120px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: -300px;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    z-index: 3000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast.show {
    right: 2rem;
}

/* Accordion panel */
.accordion {
    max-width: 700px;
    margin: 3rem auto 0;
}

.accordion-item {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-light);
    font-size: 0.95rem;
}

.accordion-item.active .accordion-content {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .products-grid, .occasions-grid, .gift-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-container, .who-container, .countdown-container, .contact-container, .shop-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .split-services {
        grid-template-columns: 1fr;
    }
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .products-grid, .occasions-grid, .gift-slider, .instagram-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.25rem;
    }
}
