/* 
 * Family Event: Beach Escape
 * Theme: Sky Blue, Sandy Beige, Relaxing Ocean Vibe
 */

 :root {
    --clr-blue: #00A8E8;
    --clr-navy: #003459;
    --clr-sand: #FDF1DB;
    --clr-light-blue: #E8F4F8;
    --clr-white: #FFFFFF;
    --clr-dark: #333333;
    --clr-text: #555555;
    
    --font-main: 'Poppins', 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-white); font-family: var(--font-main); color: var(--clr-text); line-height: 1.6; }
h1, h2, h3, h4, h5 { color: var(--clr-navy); font-weight: 600; margin-bottom: 15px; }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 700px; }
.section-padding { padding: 90px 0; }
.text-center { text-align: center; }
.text-white { color: var(--clr-white); }
.text-blue { color: var(--clr-blue); }
.bg-sand { background-color: var(--clr-sand); }
.bg-light-blue { background-color: var(--clr-light-blue); }
.bg-ocean { background-color: var(--clr-blue); position: relative;}
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 3rem; }

.subtitle { color: var(--clr-text); font-size: 1.1rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: 30px; font-weight: 500; transition: var(--transition);
    cursor: pointer; border: 2px solid transparent; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;
}
.btn-blue { background-color: var(--clr-blue); color: var(--clr-white); }
.btn-blue:hover { background-color: var(--clr-navy); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 52, 89, 0.3); }
.btn-white { background-color: var(--clr-white); color: var(--clr-blue); border-color: var(--clr-white); }
.btn-white:hover { color: var(--clr-navy); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.btn-lg { padding: 15px 40px; font-size: 1.1rem; }

/* Naivgation */
nav { position: fixed; top:0; left:0; width:100%; padding: 25px 0; z-index: 1000; transition: var(--transition); }
nav.scrolled { background-color: rgba(255,255,255,0.95); padding: 15px 0; box-shadow: 0 2px 15px rgba(0,0,0,0.05); backdrop-filter: blur(5px); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 700; color: var(--clr-navy); display: flex; align-items: center; gap: 5px; }
nav:not(.scrolled) .logo { color: var(--clr-white); }
nav:not(.scrolled) .logo span { color: var(--clr-sand); }
nav:not(.scrolled) .nav-links a { color: var(--clr-white); }
nav:not(.scrolled) .mobile-menu-btn { color: var(--clr-white); }

.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { color: var(--clr-navy); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--clr-blue); }
.nav-btn { background-color: var(--clr-blue); color: var(--clr-white) !important; padding: 10px 20px; border-radius: 5px; }
.nav-btn:hover { background-color: var(--clr-navy); }

/* Mobile nav */
.mobile-menu-btn { display: none; font-size: 2rem; cursor: pointer; color: var(--clr-navy); }
.mobile-nav {
    position: fixed; top:0; right: -100%; width: 320px; height: 100vh;
    background-color: var(--clr-white); 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:20px; right: 20px; font-size: 2.5rem; color: var(--clr-navy); cursor: pointer; }
.mobile-nav a { font-size: 1.3rem; font-weight: 600; color: var(--clr-navy); }

/* Hero Box */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; }
.hero-bg {
    position: absolute; top:0; left:0; width:100%; height:100%; z-index: 1;
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=2073&auto=format&fit=crop');
    background-size: cover; background-position: center;
}
.hero::after {
    content:''; position: absolute; top:0; left:0; width: 100%; height:100%;
    background: linear-gradient(to bottom, rgba(0, 52, 89, 0.5), rgba(0, 168, 232, 0.4)); z-index: 2;
}
.hero-content { position: relative; z-index: 3; text-align: center; max-width: 800px; padding: 20px; margin-top: -50px; }
.badge { display: inline-block; background: rgba(255,255,255,0.2); padding: 5px 15px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.5); color: white; margin-bottom: 25px; letter-spacing: 1px;}
.hero-content h1 { color: var(--clr-white); font-size: 4rem; line-height: 1.1; margin-bottom: 20px; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.hero-content p { color: rgba(255,255,255,0.9); font-size: 1.2rem; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 15px; justify-content: center; }

/* CSS Waves */
.ocean { height: 100px; width:100%; position:absolute; bottom:0; left:0; overflow:hidden; z-index: 3;}
.wave {
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23FDF1DB" fill-opacity="1" d="M0,160L48,154.7C96,149,192,139,288,149.3C384,160,480,192,576,192C672,192,768,160,864,138.7C960,117,1056,107,1152,112C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') repeat-x; 
  position: absolute; bottom: 0; width: 6400px; height: 100%; animation: wave 10s cubic-bezier( 0.36, 0.45, 0.63, 0.53) infinite; transform: translate3d(0, 0, 0); background-size: 1440px 100px;
}
.wave:nth-of-type(2) {
  bottom: -10px; animation: wave 12s cubic-bezier( 0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite; opacity: 0.5;
}
@keyframes wave { 0% { margin-left: 0; } 100% { margin-left: -1440px; } }
@keyframes swell { 0%, 100% { transform: translate3d(0,-25px,0); } 50% { transform: translate3d(0,5px,0); } }

/* Info Section (overlapping) */
.info-sec { margin-top: -5px; } /* attach to wave bg */
.info-card-box {
    display: flex; background: var(--clr-white); border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(-40px); z-index: 10; position: relative; padding: 40px;
}
.i-col { flex:1; text-align: center; border-right: 1px solid #EEE; padding: 0 20px; }
.i-col:last-child { border-right: none; }
.i-col i { font-size: 2.5rem; color: var(--clr-blue); margin-bottom: 15px; }
.i-col h3 { font-size: 1.1rem; margin-bottom: 5px; }
.i-col p { font-size: 0.95rem; color: var(--clr-text); }
.i-col strong { color: var(--clr-navy); display: block; margin-top: 5px; }

/* Activities */
.act-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.act-card { background: var(--clr-white); padding: 40px 20px; border-radius: 10px; border: 1px solid #EAEAEA; transition: var(--transition); }
.act-card:hover { transform: translateY(-10px); border-color: var(--clr-blue); box-shadow: 0 10px 30px rgba(0,168,232,0.1); }
.icon-circle { width: 70px; height: 70px; background-color: var(--clr-light-blue); color: var(--clr-blue); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; margin: 0 auto 20px; }

/* Packing Checklist */
.relative { position: relative; }
.fly-decor { position: absolute; width: 100px; opacity: 0.5; }
.top-right { top: 20px; right: 20px; transform: rotate(15deg); }
.packing-wrapper { display: flex; gap: 50px; align-items: center; }
.p-img { flex: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.p-content { flex: 1; }
.p-content h2 { font-size: 2.2rem; }
.check-list { list-style: none; }
.check-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; font-weight: 500; font-size: 1.05rem; }
.check-list li i { font-size: 1.8rem; color: var(--clr-blue); }

/* Gallery */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; grid-auto-rows: 250px; }
.g-img { overflow: hidden; border-radius: 10px; }
.g-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); border-radius: 10px;}
.g-img:hover img { transform: scale(1.1); }
.tall { grid-row: span 2; }
@media (min-width: 900px) { .wide { grid-column: span 2; } }

/* FAQ */
.faq-accordion { margin-top: 20px; text-align: left;}
.faq-item { background: var(--clr-white); border-radius: 5px; margin-bottom: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.faq-q { padding: 20px; cursor: pointer; font-weight: 600; color: var(--clr-navy); display: flex; justify-content: space-between; align-items: center; user-select: none;}
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--clr-text); font-size: 0.95rem; }
.faq-item.active .faq-a { padding: 0 20px 20px 20px; max-height: 200px; }
.faq-item.active .faq-q i { transform: rotate(180deg); transition: transform 0.3s; }

/* Footer */
footer { background-color: var(--clr-navy); color: var(--clr-white); padding: 50px 0 20px; }
footer h3 { color: var(--clr-white); opacity: 0.9; }
footer p { color: rgba(255,255,255,0.7); }
.copy { margin-top: 30px; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;}

/* Responisve */
@media(max-width: 900px) {
    .packing-wrapper { flex-direction: column; }
    .hero-content h1 { font-size: 3rem; }
}
@media(max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .info-card-box { flex-direction: column; transform: translateY(0); box-shadow: none; padding: 20px 0; background: transparent; }
    .i-col { border-right: none; border-bottom: 1px dashed #CCC; padding: 20px 0; }
    .i-col:last-child { border-bottom: none; }
    .info-sec { margin-top: 0; padding-top: 0;}
    .ocean { display: none; } /* Hide waves on mobile to simplify header */
    .hero-bg { background-position: left; }
    .hero { min-height: 80vh; }
    .hero-btns { flex-direction: column; }
    .tall { grid-row: span 1; }
}
