/* CSS Variables for colors and fonts */
:root {
    --bg-cream: #FAF1E4;
    --bg-brown: #875C53;
    --text-dark: #4a352f;
    --text-rust: #E38865;
    --text-light: #FAF1E4;
    
    --accent-green: #a3b18a;
    --accent-red: #dc2626;
    --font-heading: 'Caveat Brush', cursive, sans-serif;
    --font-body: 'Quicksand', sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.section-title {
    font-size: 3.8rem;
    color: var(--text-rust);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    line-height: 1;
}

.section-subtitle {
    font-size: 2.4rem;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.rust-text { color: var(--text-rust); }
.light-text { color: var(--text-light); }
.text-center { text-align: center; }

/* Layout & Containers */
section {
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cream-bg { background-color: var(--bg-cream); }
.brown-bg { 
    background-color: var(--bg-brown); 
    color: var(--text-light);
}

.two-col {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.two-col > * {
    flex: 1 1 300px;
}

.align-center { align-items: center; }
.flex-center { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(300px, 34vw, 520px);
    aspect-ratio: 452 / 406;
    background: url('backgrounds/top-left-blob.png') top left / contain no-repeat;
    pointer-events: none;
    z-index: 1;
}

.hero-top-left {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 0.9rem;
    z-index: 10;
}

.hero-bottom-right {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 1rem;
    letter-spacing: 1px;
    z-index: 10;
}

.hero-center {
    position: relative;
    z-index: 10;
    width: min(76vw, 880px);
}

.page-logo {
    position: relative;
    z-index: 10;
    display: block;
    width: 100%;
    height: auto;
}

/* Decorations */
.decorations {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
    overflow: visible;
}

.decoration {
    position: absolute;
    opacity: 0.9;
    display: block;
    height: auto;
    animation: float 6s ease-in-out infinite alternate;
}

.dec-bear {
    top: clamp(4.4rem, 7vw, 6.6rem);
    left: clamp(5.2rem, 6.5vw, 7.2rem);
    width: clamp(36px, 4vw, 58px);
    animation-delay: 0s;
    z-index: 20;
}

.dec-dots {
    top: -1%;
    left: -18%;
    width: clamp(50px, 8%, 76px);
    animation-delay: -0.8s;
}

.dec-bee {
    top: -6%;
    left: 25%;
    width: clamp(76px, 13.5%, 126px);
    animation-delay: -1s;
}

.dec-rainbow {
    top: -12%;
    right: -10%;
    width: clamp(128px, 21%, 200px);
    animation-delay: -2s;
}

.dec-ladybug {
    right: 12%;
    bottom: -9%;
    width: clamp(86px, 13.5%, 132px);
    animation-delay: -3s;
}

.dec-star-1 {
    top: -30%;
    right: 31%;
    width: clamp(46px, 8%, 76px);
    animation-delay: -1.5s;
}

.dec-star-2 {
    bottom: -6%;
    left: -6%;
    width: clamp(66px, 10.5%, 104px);
    animation-delay: -0.5s;
}

.dec-worm {
    bottom: -29%;
    left: 39%;
    width: clamp(58px, 9.5%, 92px);
    animation-delay: -2.5s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(5deg); }
}

.about::before,
.about::after,
.pillars::before,
.pillars::after,
.collab::before,
.collab::after,
.reservio-section::before,
.reservio-section::after {
    content: '';
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
    animation: float 7s ease-in-out infinite alternate;
}

.about::before {
    top: 4rem;
    right: 16%;
    width: clamp(42px, 5vw, 64px);
    aspect-ratio: 101 / 103;
    background-image: url('decorations/star.png');
    opacity: 0.58;
}

.about::after {
    bottom: 3rem;
    left: 16%;
    width: clamp(52px, 6vw, 78px);
    aspect-ratio: 95 / 59;
    background-image: url('decorations/worm.png');
    opacity: 0.52;
    animation-delay: -2s;
}

.pillars::before {
    top: 5rem;
    right: 19%;
    width: clamp(96px, 11vw, 140px);
    aspect-ratio: 222 / 173;
    background-image: url('decorations/rainbow.png');
    opacity: 0.5;
    animation-delay: -1.7s;
}

.pillars::after {
    left: 21%;
    bottom: 4rem;
    width: clamp(44px, 5vw, 66px);
    aspect-ratio: 101 / 103;
    background-image: url('decorations/star.png');
    opacity: 0.52;
}

.collab::before {
    top: 4rem;
    left: 17%;
    width: clamp(42px, 5vw, 62px);
    aspect-ratio: 82 / 81;
    background-image: url('decorations/dots.png');
    opacity: 0.7;
}

.collab::after {
    right: 18%;
    bottom: 4rem;
    width: clamp(58px, 6vw, 78px);
    aspect-ratio: 123 / 147;
    background-image: url('decorations/ladybug.png');
    opacity: 0.58;
    animation-delay: -2.4s;
}

.reservio-section::before {
    top: 5rem;
    left: 16%;
    width: clamp(62px, 7vw, 88px);
    aspect-ratio: 140 / 140;
    background-image: url('decorations/bee.png');
    opacity: 0.5;
    animation-delay: -1.5s;
}

.reservio-section::after {
    right: 17%;
    bottom: 5rem;
    width: clamp(44px, 5vw, 66px);
    aspect-ratio: 101 / 103;
    background-image: url('decorations/star.png');
    opacity: 0.5;
}

/* UI Elements */
.squiggle-divider {
    width: 80px;
    height: 10px;
    background-image: radial-gradient(circle at 10px 10px, var(--accent-green) 10px, transparent 11px);
    background-size: 20px 20px;
    background-position: 0 -10px;
    background-repeat: repeat-x;
    margin: 1rem 0 2rem 0;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-4 { margin-bottom: 2rem; }

/* About Section */
.about p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.flower-collage {
    display: block;
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 1;
    overflow: visible;
}

/* Gallery Section */
.polaroid-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.polaroid {
    background: #FBF0DD;
    padding: 12px 12px 52px 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.polaroid:hover {
    transform: scale(1.05) translateY(-10px) !important;
    z-index: 10;
}

.polaroid-img {
    display: block;
    width: clamp(220px, 26vw, 265px);
    aspect-ratio: 4 / 3;
    border-radius: 2px;
    object-fit: cover;
    object-position: center;
}

.polaroid-g1,
.polaroid-g2,
.polaroid-g3,
.polaroid-g4,
.polaroid-g5,
.polaroid-g6,
.polaroid-g7,
.polaroid-contact {
    background: #FBF0DD;
}

.p-tilt-left { transform: rotate(-3deg); }
.p-tilt-right { transform: rotate(4deg); }
.p-up { margin-top: -30px; }
.p-down { margin-top: 30px; }

/* Pillars Section */
.pillars-layout {
    margin-top: 3rem;
}

.pillars-list {
    list-style: none;
}

.pillars-list li {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.pillars-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.0rem;
    width: 0.55rem;
    height: 0.55rem;
    background: currentColor;
    border-radius: 50%;
}

.pillars-list strong {
    display: block;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.55rem;
    margin-bottom: 0.3rem;
}

.circle-img-placeholder {
    width: min(70vw, 290px);
    height: min(70vw, 290px);
    aspect-ratio: 1;
    border-radius: 50%;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    object-fit: cover;
}

.book-placeholder { background: linear-gradient(135deg, #e08266 0%, #d4a373 100%); }
.group-placeholder { background: linear-gradient(135deg, #a3b18a 0%, #2a9d8f 100%); }

/* Collaboration Section */
.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}

.logo-item {
    text-align: center;
}

.logo-placeholder {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 20px;
    display: block;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    object-fit: contain;
}
.logo-item h4 {
    color: var(--text-rust);
    letter-spacing: 1px;
}

/* Contact Section */
.contact-info p {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-info strong {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--text-light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-center { width: min(96vw, 620px); }
    
    .section-title { font-size: 2.7rem; }
    .section-subtitle { font-size: 1.9rem; }

    .hero-top-left { top: 1rem; left: 1rem; }
    .hero-bottom-right { bottom: 1rem; right: 1rem; }

    .dec-bear {
        top: 10.4rem;
        left: 1.4rem;
    }
    .dec-dots { top: -39%; left: 5%; }
    .dec-bee { top: -46%; left: 17%; }
    .dec-rainbow { top: -60%; right: 3%; }
    .dec-ladybug { right: 4%; bottom: -46%; }
    .dec-star-1 { top: -79%; right: 43%; }
    .dec-star-2 { left: 5%; bottom: -43%; }
    .dec-worm { left: 44%; bottom: -77%; }

    .about::before,
    .pillars::after,
    .reservio-section::after {
        width: 44px;
    }

    .about::before {
        top: 2rem;
        right: 1rem;
    }

    .about::after {
        left: 1rem;
        bottom: 2rem;
        width: 56px;
    }

    .collab::before {
        width: 42px;
        opacity: 0.54;
    }

    .reservio-section::before {
        width: 62px;
        opacity: 0.32;
    }

    .pillars::before {
        right: 1rem;
        width: 104px;
        opacity: 0.32;
    }

    .collab::after {
        right: 1rem;
        width: 58px;
        opacity: 0.42;
    }
    
    .pillars-layout.reverse { flex-direction: column-reverse; }
    
    .polaroid-img {
        width: min(72vw, 265px);
        aspect-ratio: 4 / 3;
    }
}
