:root {
    --bg-color: #FFF8FA;
    --petal-1: #F4B6C2;
    --petal-2: #E89BB0;
    --petal-3: #FFD6E0;
    --leaf-color: #7FAF8F;
    --accent-color: #6B3E4E;
    --text-color: #3A2A2F;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 100;
    pointer-events: none;
    /* Let clicks pass through to bouquet */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    pointer-events: auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.05em;
}

.menu-hint {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bouquet-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-title .accent-text {
    font-style: italic;
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.scroll-indicator {
    background: none;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    background: var(--accent-color);
    color: white;
}

/* Base Fade In Class */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

/* Brand Message Section */
.brand-message {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
}

.content-wrapper {
    max-width: 700px;
}

.brand-message h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.brand-message p {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Craftsmanship Section */
.craftsmanship {
    padding: 100px 20px;
    background: white;
}

/* Removed split-layout as text is now inside visual */

#craftsmanship-visual {
    width: 100%;
    height: 500px;
    /* Increased height for better text spacing */
    background: linear-gradient(135deg, #fffcfd 0%, #fff0f5 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(107, 62, 78, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-text {
    position: relative;
    /* Relative works with flex center */
    z-index: 10;
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

.overlay-text h3 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.overlay-text p {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.4);
    /* Subtle backing */
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(3px);
}

.bokeh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.6;
}

/* Styles Preview */
.preview-styles {
    padding: 150px 20px;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 80px;
    color: var(--accent-color);
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.style-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.style-card:hover {
    transform: translateY(-10px);
}

.card-visual {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Simulating card visuals with CSS gradients since we don't have images */
.visual-romance {
    background: radial-gradient(circle at 30% 30%, var(--petal-2), #6B3E4E);
}

.visual-serenity {
    background: radial-gradient(circle at 30% 30%, #fff, var(--leaf-color));
}

.visual-joy {
    background: radial-gradient(circle at 30% 30%, #FFD700, #FFA500);
}

.style-card h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 80px 20px;
    background: #FFEDF4;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.socials {
    margin: 30px 0;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.socials span {
    margin: 0 15px;
    cursor: pointer;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Mobile & Responsive */
@media (max-width: 768px) {
    /* Layout Adjustments */

    .craftsmanship {
        padding: 40px 20px;
    }

    #craftsmanship-visual {
        min-height: 400px;
        height: auto;
        margin-bottom: 0;
        width: 100%;
        padding: 40px 20px;
    }

    .overlay-text h3 {
        font-size: 2.2rem;
    }

    .overlay-text p {
        font-size: 1rem;
    }

    /* Typography */
    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .brand-message h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
        max-width: 100%;
    }

    /* Spacing */
    .brand-message {
        min-height: auto;
        padding: 80px 20px;
    }

    .preview-styles {
        padding: 60px 20px;
    }

    /* Styles Grid */
    .styles-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }
}