/* 
 * Lakeside Retreat Family Gathering
 * Theme: Soft Blue, Sage Green, Soft White, Calm, Emotional, Slow Fade
 */

 :root {
    --clr-soft-blue: #A1C2D9;
    --clr-sage: #8F9E8B;
    --clr-sage-dark: #6D7F69;
    --clr-soft-white: #F9FBFA;
    --clr-dark: #2E3A41;
    --clr-text: #5B6B73;
    
    --font-head: 'Lora', serif;
    --font-body: 'Nunito Sans', sans-serif;
    
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body { background-color: #FFFFFF; font-family: var(--font-body); color: var(--clr-text); line-height: 1.8; font-size: 1.05rem;}
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--clr-dark); font-weight: 500; margin-bottom: 15px;}
h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-md { max-width: 800px; }
.section-padding { padding: 120px 0; }
.text-center { text-align: center; }
.text-sage { color: var(--clr-sage); }
.text-soft-blue { color: var(--clr-soft-blue); }
.text-white { color: #FFFFFF; }
.text-dark { color: var(--clr-dark); }

.bg-soft-white { background-color: var(--clr-soft-white); }
.bg-soft-blue { background-color: #F1F6F9; } /* subtle blueish tint */
.bg-sage { background-color: var(--clr-sage); }

.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.relative { position: relative; }
.abs-decor { position: absolute; pointer-events: none;}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 35px; border-radius: 4px; font-weight: 600; letter-spacing: 1px;
    font-size: 0.95rem; cursor: pointer; transition: var(--transition);
}
.btn-outline-light { border: 1px solid rgba(255,255,255,0.6); color: #FFF; background: transparent; }
.btn-outline-light:hover { background: #FFF; color: var(--clr-dark); border-color: #FFF; }
.btn-sage { background-color: var(--clr-sage); color: #FFF; border: 1px solid var(--clr-sage); }
.btn-sage:hover { background-color: var(--clr-sage-dark); border-color: var(--clr-sage-dark); }
.btn-sage-solid { background-color: var(--clr-sage); color: #FFF; }
.btn-sage-solid:hover { background-color: var(--clr-sage-dark); transform: translateY(-3px);}

/* Fog Effect */
.fog-container {
    position: fixed; width: 100%; height: 100%; top: 0; left: 0; 
    pointer-events: none; z-index: 100; overflow: hidden; opacity: 0.3;
}
.fog-img {
    position: absolute; height: 100vh; width: 300vw;
    background: url('https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog1.png') repeat-x;
    background-size: cover; background-position: center;
}
.fog-img-first { animation: foglayer_move 60s linear infinite; }
.fog-img-second {
    background: url('https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog2.png') repeat-x;
    background-size: cover; background-position: center;
    animation: foglayer_move 40s linear infinite;
}
@keyframes foglayer_move { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-200vw, 0, 0); } }

/* Nav */
nav {
    position: fixed; top: 0; left: 0; width: 100%; padding: 30px 0;
    z-index: 1000; transition: var(--transition);
}
nav.scrolled {
    background-color: rgba(255, 255, 255, 0.97); padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); backdrop-filter: blur(10px);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-head); font-size: 1.5rem; color: #FFF; display: flex; align-items: center; gap: 5px; }
nav.scrolled .logo { color: var(--clr-dark); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #FFF; font-size: 0.95rem; font-weight: 400; opacity: 0.9; }
nav.scrolled .nav-links a { color: var(--clr-dark); }
.nav-links a:hover { opacity: 1; transform: translateY(-2px); }
.nav-btn { border: 1px solid rgba(255,255,255,0.5); padding: 8px 25px; border-radius: 3px; }
nav.scrolled .nav-btn { border-color: var(--clr-sage); color: var(--clr-sage) !important; }
nav.scrolled .nav-btn:hover { background: var(--clr-sage); color: #FFF !important; }

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

/* Mobile Nav */
.mobile-nav {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background-color: var(--clr-soft-white); z-index: 2000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 30px; transition: var(--transition); opacity: 0;
}
.mobile-nav.active { right: 0; opacity: 1; }
.close-menu { position: absolute; top: 30px; right: 30px; font-size: 2.5rem; color: var(--clr-dark); cursor: pointer; }
.mobile-nav a { font-family: var(--font-head); font-size: 1.5rem; color: var(--clr-dark); }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 800px; 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-1473448912268-2022ce9509d8?q=80&w=2041&auto=format&fit=crop');
    background-size: cover; background-position: center bottom;
}
.hero-ovlt { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(46, 58, 65, 0.4); z-index: 2; }
.hero-content { position: relative; z-index: 3; color: #FFF; max-width: 800px; }
.subtitle-hero { letter-spacing: 5px; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 20px; opacity: 0.8; }
.hero-content h1 { color: #FFF; font-weight: 400; text-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.hero-content p { font-size: 1.25rem; font-weight: 300; opacity: 0.9; margin-top: 20px; }
.scroll-down { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 4; color: #FFF; font-size: 3rem; opacity: 0.7; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);} 40% {transform: translateY(-15px) translateX(-50%);} 60% {transform: translateY(-7px) translateX(-50%);} }

/* Info Grid */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.info-box { padding: 30px; }
.info-box i { font-size: 2.5rem; color: var(--clr-sage); margin-bottom: 20px; opacity: 0.8;}
.info-box p { color: var(--clr-text); }
.info-box strong { color: var(--clr-dark); font-weight: 600; }

/* Tentatif */
.row { display: flex; flex-wrap: wrap; gap: 60px; }
.align-center { align-items: center; }
.col-img { flex: 1; min-width: 300px; }
.soft-img { border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.06); filter: sepia(0.1) contrast(0.9); }
.col-text { flex: 1; min-width: 300px; }

.timeline-soft { position: relative; margin-top: 30px; }
.ts-item { padding-left: 25px; border-left: 1px solid rgba(143, 158, 139, 0.3); padding-bottom: 30px; position: relative; }
.ts-item:last-child { padding-bottom: 0; border-left: 1px solid transparent; }
.ts-item::before { content: ''; position: absolute; top: 5px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background-color: var(--clr-sage); }
.ts-time { color: var(--clr-sage); font-size: 0.9rem; font-weight: 600; letter-spacing: 1px; }
.ts-item h4 { margin-bottom: 5px; margin-top: 5px; }

/* Activities */
.act-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px;}
.act-c { background-color: #FFF; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: var(--transition); }
.act-c:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.img-wrapper { height: 220px; overflow: hidden; }
.act-c img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: var(--transition); filter: brightness(0.95); }
.act-c:hover img { transform: scale(1.05); filter: brightness(1); }
.act-info { padding: 35px 30px; }

/* Mesej Emosi */
.message-sec { padding: 150px 0; }
.quote-mark { font-size: 4rem; opacity: 0.3; margin-bottom: 20px; }
.emotional-quote { font-size: 2rem; margin-bottom: 30px; }
.emotional-text { font-size: 1.25rem; font-style: italic; line-height: 2; color: #63737C; margin-bottom: 40px; }
.signature { font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; color: var(--clr-sage); }

/* Banner / Grid Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.g-item { height: 300px; overflow: hidden; border-radius: 6px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.2) grayscale(0.2); transition: var(--transition); }
.g-item:hover img { filter: sepia(0) grayscale(0); transform: scale(1.03); }
@media(min-width: 800px) { .g-item.wide { grid-column: span 2; } }

/* Countdown & RSVP */
.soft-countdown { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 40px; }
.cd-item { text-align: center; }
.cd-item h3 { color: #FFF; font-size: 4rem; font-weight: 300; line-height: 1; margin: 0; }
.cd-item p { text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-top: 10px; opacity: 0.9; }

.rsvp-card { background-color: #FFF; padding: 50px; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); max-width: 600px; margin-left: auto; margin-right: auto; }
.rsvp-card h3 { color: var(--clr-dark); margin-bottom: 15px; }

/* Footer */
footer { border-top: 1px solid #F1F6F9; }

/* Responsive adjustments */
@media(max-width: 900px) {
    .row { flex-direction: column; }
    .hero-content h1 { font-size: 2.8rem; }
}
@media(max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .section-padding { padding: 80px 0; }
    .message-sec { padding: 90px 0; }
    .emotional-quote { font-size: 1.5rem; }
    .emotional-text { font-size: 1.1rem; }
    .rsvp-card { padding: 30px 20px; }
}
