/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #000cb8;
    --text-white: #fff;
    --text-dark: #000;
    --font-primary: 'Comfortaa', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    background: #fff;
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font-primary);
    border: none;
    cursor: pointer;
}

/* ===== MAIN WRAPPER ===== */
.main-wrapper {
    width: 100%;
    background: #fff;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    width: 100%;
    height: 379px;
    background: var(--primary-color);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
}

/* Hero Content Container */
.hero-content {
    position: relative;
    max-width: 375px;
    margin: 0 auto;
    height: 100%;
}

.logo-container {
    position: absolute;
    top: 19px;
    left: 20px;
    width: 91px;
    height: 42px;
    z-index: 10;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.instagram-top {
    position: absolute;
    top: 24px;
    right: 20px;
    width: 32px;
    height: 32px;
    z-index: 10;
    transition: transform 0.2s ease;
}

.instagram-top:hover {
    transform: scale(1.1);
}

.instagram-icon-top {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Instagram Hero Button (Desktop) */
.instagram-hero-btn {
    position: absolute;
    display: none; /* Hidden on mobile */
    align-items: center;
    gap: 8px;
    left: 40px;
    top: 414px; /* 201px (text top) + 173px (text height) + 40px (gap) */
    width: 160px;
    height: 46px;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.instagram-hero-btn:hover {
    transform: scale(1.05);
}

.instagram-hero-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #fff;
}

.instagram-hero-icon {
    position: relative;
    width: 32px;
    height: 32px;
    margin-left: 24px;
}

.instagram-hero-text {
    position: relative;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 400;
}

.hero-text {
    position: absolute;
    top: 77px;
    left: 20px;
    right: 20px;
    max-width: 336px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    z-index: 5;
}

.flower-decoration {
    position: absolute;
    top: 36%;
    left: 104px;
    width: 251px;
    height: 75%;
    z-index: 3;
    opacity: 1;
    transform: rotate(33.944deg);
}

.flower-decoration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== BOUQUETS SECTION ===== */
.bouquets-section,
.monobouquets-section {
    position: relative;
    width: 100%;
    padding: 40px 0 60px;
    background: #fff;
}

/* Marquee Text Animation */
.marquee-container {
    position: relative;
    width: 100%;
    height: 30px;
    overflow: hidden;
    margin-bottom: 24px;
}

.marquee-wrapper {
    display: flex;
    width: fit-content;
    animation: marquee 40s linear infinite;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Bouquet Grid */
.bouquet-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
    max-width: 375px;
    margin: 0 auto;
}

.bouquet-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bouquet-image {
    width: 100%;
    aspect-ratio: 336 / 366;
    overflow: hidden;
    background: #f5f5f5;
}

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

.bouquet-description {
    font-size: 14px;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.4;
    text-transform: lowercase;
}

/* View More Button */
.view-more-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 0 20px;
}

.view-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 169px;
    height: 38px;
    background: var(--primary-color);
    color: var(--text-white);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Desktop only elements hidden on mobile */
.desktop-only {
    display: none;
}

.desktop-only-block {
    display: none;
}

.mobile-only {
    display: flex;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    width: 100%;
    height: 147px;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
}

.footer-text {
    position: relative;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    z-index: 2;
}

.instagram-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 160px;
    height: 46px;
    background: transparent;
    border: 1px solid #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 2;
}

.instagram-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.instagram-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #fff;
}

.instagram-icon {
    width: 32px;
    height: 32px;
}

.instagram-text {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 400;
}

/* ===== RESPONSIVE - TABLET (768px - 991px) ===== */
@media (min-width: 768px) and (max-width: 991px) {
    /* Hero Section Tablet */
    .hero-section {
        height: 450px;
    }
    
    .hero-content {
        max-width: 768px;
    }
    
    .logo-container {
        top: 30px;
        left: 40px;
        width: 120px;
        height: 55px;
    }
    
    .instagram-top {
        top: 30px;
        right: 40px;
        width: 36px;
        height: 36px;
    }
    
    .hero-text {
        top: 120px;
        left: 40px;
        right: 40px;
        max-width: 500px;
        font-size: 16px;
    }
    
    .flower-decoration {
        top: 30%;
        left: 50%;
        transform: translateX(-50%) rotate(33.944deg);
        width: 320px;
        height: 60%;
    }
    
    /* Instagram hero button stays hidden on tablet */
    .instagram-hero-btn {
        display: none;
    }
    
    /* Bouquet Grid Tablet */
    .bouquet-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 768px;
        gap: 30px;
        padding: 0 40px;
    }
    
    .bouquet-image {
        aspect-ratio: 1 / 1.1;
    }
    
    .marquee-text {
        font-size: 28px;
    }
    
    /* View More Button Tablet */
    .view-more-btn {
        width: 200px;
        height: 44px;
        font-size: 16px;
    }
    
    /* Show some desktop items on tablet */
    .desktop-only {
        display: flex;
    }
    
    .desktop-only-block {
        display: flex !important;
    }
    
    .mobile-only {
        display: none !important;
    }
}

/* ===== RESPONSIVE - DESKTOP (992px+) ===== */
@media (min-width: 992px) {
    /* Desktop only elements */
    .desktop-only {
        display: flex;
    }
    
    .desktop-only-block {
        display: flex !important;
    }
    
    .mobile-only {
        display: none !important;
    }
    
    .view-more-btn {
        width: 222px;
        height: 47px;
        font-size: 24px;
    }
    
    .desktop-only-block .view-more-btn {
        display: flex;
    }
    
    /* Hero Section Desktop */
    .hero-section {
        height: 529px;
    }
    
    .hero-content {
        max-width: 1440px;
    }
    
    .logo-container {
        top: 83px;
        left: 40px;
        width: 173px;
        height: 94px;
    }
    
    /* Hide top Instagram icon on desktop */
    .instagram-top {
        display: none;
    }
    
    /* Show Instagram hero button on desktop */
    .instagram-hero-btn {
        display: flex;
    }
    
    .hero-text {
        top: 201px;
        left: 40px;
        max-width: 670px;
        font-size: 24px;
        line-height: 1.4;
    }
    
    .flower-decoration {
        top: 6.5%;
        left: 842px;
        width: 551px;
        height: 110%;
        transform: rotate(33.999deg);
    }
    
    /* Bouquet Grid Desktop */
    .bouquet-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1440px;
        gap: 20px;
        padding: 0 40px;
    }
    
    .bouquet-image {
        aspect-ratio: 440 / 529;
    }
    
    .bouquet-description {
        font-size: 14px;
    }
    
    .marquee-text {
        font-size: 24px;
    }
    
    /* View More Button Desktop */
    .view-more-container {
        margin-top: 60px;
    }
    
    .view-more-btn.view-more-desktop {
        width: 222px;
        height: 47px;
        font-size: 24px;
    }
    
    /* Footer Desktop */
    .footer {
        height: 147px;
    }
    
    .footer-text {
        font-size: 14px;
    }
}

@media (min-width: 1000px) and (max-width: 1366px) {
    .flower-decoration {
        top: 32%;
        left: 503px;
        width: 550px;
        height: 80%;
        transform: rotate(33.999deg);
    }

    .hero-text {
        top: 201px;
        left: 40px;
        max-width: 550px;
        font-size: 20px;
        line-height: 1.4;
    }
    
    .instagram-hero-btn {
        top: 380px; /* Adjusted for smaller text */
    }
}

/* ===== RESPONSIVE - LARGE DESKTOP (1440px+) ===== */
@media (min-width: 1440px) {
    .main-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .bouquet-grid {
        padding: 0 40px;
    }
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
    .bouquet-card {
        transition: transform 0.3s ease;
    }
    
    .bouquet-card:hover {
        transform: translateY(-5px);
    }
}

