/* 
 * Rustic Picnic Gathering
 * Theme: Olive Green, Light Brown, Cream, Paper Texture, Natural
 */

 :root {
    --clr-olive: #556B2F;
    --clr-olive-dark: #3F4F22;
    --clr-earth: #C19A6B;
    --clr-earth-dark: #A37E55;
    --clr-cream: #FFFDD0;
    --clr-dark: #2A2A2A;
    --clr-white: #FFFFFF;
    
    --font-head: 'Lora', serif;
    --font-body: 'Lato', sans-serif;
    
    --transition: all 0.3s ease;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body { background-color: var(--clr-cream); font-family: var(--font-body); color: var(--clr-dark); line-height: 1.7; font-size: 1.05rem;}
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--clr-olive); margin-bottom: 15px; font-weight: 600;}
h1 { font-size: 3.5rem; line-height: 1.2; color: var(--clr-cream); text-shadow: 0 4px 10px rgba(0,0,0,0.5);}
h2 { font-size: 2.5rem; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; border-radius: 4px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 700px; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.text-olive { color: var(--clr-olive); }
.text-white { color: var(--clr-white); }
.bg-cream { background-color: var(--clr-cream); }
.bg-olive { background-color: var(--clr-olive); }
.bg-earth { background-color: var(--clr-earth); }

.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3.5rem; }

/* Subtle Paper Texture Overlay for Cream bg */
.texture-paper {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 30px; border-radius: 2px; font-family: var(--font-head); font-size: 1.1rem;
    cursor: pointer; transition: var(--transition); border: 1px solid transparent;
}
.btn-primary { background-color: var(--clr-olive); color: var(--clr-cream); box-shadow: 4px 4px 0 rgba(0,0,0,0.1); }
.btn-primary:hover { background-color: var(--clr-olive-dark); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(0,0,0,0.15); color: var(--clr-cream); }

/* Nav */
nav { position: fixed; top:0; left:0; width:100%; padding: 25px 0; z-index: 1000; transition: var(--transition); }
nav.scrolled { padding: 15px 0; background-color: var(--clr-cream); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-head); font-size: 1.5rem; color: var(--clr-cream); }
nav.scrolled .logo { color: var(--clr-dark); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--clr-cream); opacity: 0.9; font-weight: 500; }
nav.scrolled .nav-links a { color: var(--clr-dark); }
.nav-links a:hover { opacity: 1; transform: translateY(-2px); }
.nav-btn { background-color: var(--clr-earth); color: var(--clr-cream) !important; padding: 6px 20px; border-radius: 20px; opacity: 1 !important;}
.nav-btn:hover { background-color: var(--clr-earth-dark); }
nav.scrolled .nav-btn { color: var(--clr-cream) !important;}

.mobile-menu-btn { display: none; font-size: 2rem; color: var(--clr-cream); cursor: pointer; }
nav.scrolled .mobile-menu-btn { color: var(--clr-dark); }

.mobile-nav {
    position: fixed; top:0; right: -100%; width: 300px; height: 100vh;
    background-color: var(--clr-cream); z-index: 2000; box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 25px; transition: var(--transition);
}
.mobile-nav.active { right:0; }
.close-menu { position: absolute; top:30px; right: 30px; font-size: 2.5rem; color: var(--clr-olive); cursor: pointer; }
.mobile-nav a { font-family: var(--font-head); font-size: 1.4rem; color: var(--clr-dark); }

/* Hero */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg {
    position: absolute; top:0; left:0; width:100%; height:100%; z-index: 1;
    background-image: url('https://images.unsplash.com/photo-1596484552834-6a58f850e0a1?q=80&w=2070&auto=format&fit=crop');
    background-size: cover; background-position: center; filter: brightness(0.8) sepia(0.2);
}
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(rgba(42,42,42,0.3), rgba(63,79,34,0.6)); z-index: 2; }
.hero-content { position: relative; z-index: 3; max-width: 800px; }
.badge-rustic { display: inline-block; background-color: var(--clr-earth); color: var(--clr-cream); padding: 5px 20px; font-family: var(--font-head); font-style: italic; font-size: 1.1rem; margin-bottom: 20px; box-shadow: 2px 2px 0 rgba(0,0,0,0.2); }
.hero-quote { font-size: 1.25rem; color: var(--clr-cream); text-shadow: 0 2px 5px rgba(0,0,0,0.8); }

/* Torn paper effect separator */
.paper-rip {
    position: absolute; bottom: -5px; left: 0; width: 100%; height: 50px; z-index: 4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 L1200,40 L1200,0 L1180,10 L1160,0 L1140,15 L1120,5 L1100,20 L1080,8 L1060,25 L1040,12 L1020,30 L1000,15 L980,28 L960,10 L940,25 L920,8 L900,22 L880,5 L860,18 L840,8 L820,25 L800,12 L780,28 L760,10 L740,30 L720,15 L700,25 L680,10 L660,28 L640,12 L620,25 L600,8 L580,22 L560,5 L540,18 L520,8 L500,25 L480,12 L460,28 L440,10 L420,30 L400,15 L380,25 L360,10 L340,28 L320,12 L300,25 L280,8 L260,22 L240,5 L220,18 L200,8 L180,25 L160,12 L140,28 L120,10 L100,30 L80,15 L60,25 L40,10 L20,25 L0,5 Z' fill='%23FFFDD0'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}

/* Leaves Animation Overlay */
#leaves { position: fixed; top:0; left:0; width:100%; height:100%; pointer-events: none; z-index: 99; overflow: hidden; }
.leaf {
    position: absolute; width: 30px; height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23556B2F' opacity='0.4'%3E%3Cpath d='M17.5 10c0-4.14-3.36-7.5-7.5-7.5-1.55 0-3.04.48-4.3 1.34A7.478 7.478 0 0 0 2.5 10c0 3.73 2.73 6.84 6.31 7.41l-1.39 3.01c-.13.3.01.65.31.78.29.13.65-.01.78-.31l1.55-3.35c.16.02.32.04.49.04 4.14 0 7.5-3.36 7.5-7.5z'/%3E%3C/svg%3E");
    animation: falling linear infinite;
}
@keyframes falling {
    0% { transform: translateY(-50px) rotate(0deg) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg) translateX(100px); opacity: 0; }
}

/* Info Cards */
.rustic-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.r-card {
    background-color: var(--clr-white); border: 2px dashed var(--clr-earth); padding: 40px 20px;
    border-radius: 4px; position: relative; transition: var(--transition);
}
.r-card:hover { transform: translateY(-5px); box-shadow: 10px 10px 0 rgba(193, 154, 107, 0.2); }
.r-card i { font-size: 3rem; color: var(--clr-earth); margin-bottom: 15px; }

/* Aktiviti */
.act-flex { display: flex; gap: 50px; align-items: center; }
.act-left { flex: 1; position: relative;}
.act-left::before {
    content:''; position: absolute; top: -15px; left: -15px; width: 100%; height: 100%;
    border: 3px solid var(--clr-olive); z-index: -1;
}
.img-rustic { box-shadow: 10px 10px 0 rgba(0,0,0,0.1); filter: sepia(0.2); }
.act-right { flex: 1; }
.act-list { list-style: none; }
.act-list li { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 30px; }
.icn { font-size: 2rem; color: var(--clr-olive); background: rgba(85, 107, 47, 0.1); padding: 15px; border-radius: 50%; }

/* Menu */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.menu-b { border: 1px solid rgba(255,255,255,0.2); padding: 30px 20px; border-radius: 4px; background: rgba(255,255,255,0.05); }
.menu-b h4 { color: var(--clr-cream); margin-top: 15px;}
.menu-b i { font-size: 2.5rem; color: var(--clr-earth); }
.menu-b p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* Polaroid Gallery */
.polaroid-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.polaroid {
    background: #FFF; padding: 15px 15px 40px; box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    width: 280px; position: relative; transition: var(--transition); cursor: pointer;
}
.polaroid:hover { transform: scale(1.05) rotate(0) !important; z-index: 10; }
.p-img { width: 100%; height: 250px; overflow: hidden; background: #333; }
.p-img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.3) saturate(0.8); }
.p-text { text-align: center; font-family: var(--font-head); font-style: italic; color: var(--clr-dark); margin-top: 15px; font-size: 1.1rem; }
.rot-right { transform: rotate(5deg); }
.rot-left { transform: rotate(-5deg); }

.quotes-b { max-width: 700px; margin: 0 auto; text-align: center; }
.quotes-b i { font-size: 3rem; color: var(--clr-earth); opacity: 0.5; }
.quotes-b p { font-family: var(--font-head); font-size: 1.3rem; font-style: italic; line-height: 1.8; color: var(--clr-olive-dark);}

/* RSVP & Time */
.rustic-timer { display: flex; justify-content: center; gap: 30px; color: var(--clr-cream); }
.rt-item { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2px; }
.rt-item h3 { color: var(--clr-white); font-size: 3.5rem; line-height: 1; margin: 0; }
.rsvp-rustic-card { background: var(--clr-cream); padding: 50px 30px; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.rsvp-rustic-card h3 { color: var(--clr-olive); }

/* Footer */
footer { background: var(--clr-dark); color: var(--clr-cream); padding: 50px 0; }
footer h3 { color: var(--clr-cream); }

/* Responsive */
@media(max-width: 900px) {
    .act-flex { flex-direction: column; }
    .act-left::before { display: none; }
    .hero-content h1 { font-size: 2.8rem; }
}
@media(max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .polaroid { width: 100%; transform: rotate(0); }
}
