:root {
    --ocean-blue: #006994;
    --sand: #F0EAD6;
    --wood: #8D6E63;
    --dark: #2F4F4F;
    --white: #ffffff;
    
    --font-head: 'Quicksand', sans-serif;
    --font-body: 'Lato', sans-serif;
    --nav-height: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--sand);
    color: var(--dark);
    font-family: var(--font-body);
    line-height: 1.6;
    /* Make space for bottom nav */
    padding-bottom: 0; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Top Brand Header */
.brand-header {
    background-color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--dark); display: flex; align-items: center; gap: 5px; }
.wave-icon { font-size: 1.5rem; color: var(--ocean-blue); }
.blue { color: var(--ocean-blue); }

.btn-book-top { font-size: 0.8rem; font-weight: 700; color: var(--ocean-blue); border: 2px solid var(--ocean-blue); padding: 5px 15px; border-radius: 20px; }
.btn-book-top:hover { background: var(--ocean-blue); color: var(--white); }

/* Main Viewport */
.content-viewport {
    min-height: 100vh;
    padding-bottom: var(--nav-height); /* Ensure content isn't hidden by bottom nav */
}

.container { width: 90%; max-width: 1000px; margin: 0 auto; }

/* Hero */
.hero-water { height: 70vh; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; }
.hero-center { text-align: center; color: var(--white); background: rgba(0, 105, 148, 0.4); padding: 40px; border-radius: 20px; backdrop-filter: blur(3px); width: 90%; max-width: 600px; }
.hero-center h1 { font-family: var(--font-head); font-size: 3rem; margin-bottom: 10px; line-height: 1.2; text-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.hero-center p { font-size: 1.2rem; margin-bottom: 30px; font-weight: 300; }

.search-bubble { background: var(--white); padding: 10px; border-radius: 50px; display: inline-block; box-shadow: 0 5px 15px rgba(0,0,0,0.2); width: 100%; }
#searchForm { display: flex; gap: 10px; }
#searchForm select { flex: 1; padding: 10px 20px; border: none; background: transparent; font-family: var(--font-body); font-weight: bold; color: var(--dark); outline: none; }
#searchForm button { background: var(--ocean-blue); color: var(--white); border: none; padding: 10px 25px; border-radius: 40px; font-weight: 700; cursor: pointer; }

/* Content Sections */
.section-title { text-align: center; margin: 60px 0 40px; }
.section-title h2 { font-family: var(--font-head); font-size: 2rem; color: var(--ocean-blue); }
.sub { font-style: italic; color: #777; font-size: 0.9rem; }

.boat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.boat-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.boat-card:hover { transform: translateY(-5px); }
.card-image { height: 200px; background-size: cover; background-position: center; position: relative; }
.capacity { position: absolute; bottom: 10px; left: 10px; background: rgba(255,255,255,0.9); padding: 3px 10px; border-radius: 10px; font-size: 0.8rem; font-weight: bold; }
.card-details { padding: 20px; }
.card-details h3 { color: var(--wood); margin-bottom: 5px; font-family: var(--font-head); }
.price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.price { font-weight: bold; color: var(--ocean-blue); }
.btn-view { color: var(--dark); border-bottom: 1px solid var(--dark); padding-bottom: 2px; font-size: 0.9rem; }

/* About & Info Blocks */
.page-intro { text-align: center; padding: 60px 20px; background-color: var(--white); }
.page-intro h1 { font-family: var(--font-head); color: var(--ocean-blue); margin-bottom: 10px; }

.info-blocks { display: flex; flex-direction: column; gap: 50px; margin-top: 40px; }
.block { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: var(--white); padding: 30px; border-radius: 20px; }
.block.reverse { direction: rtl; }
.block.reverse .block-text { direction: ltr; }
.block h2 { font-family: var(--font-head); color: var(--wood); margin-bottom: 15px; font-size: 1.5rem; }
.block-img img { width: 100%; border-radius: 10px; }
.check-list { list-style: none; margin-top: 10px; }
.check-list li { margin-bottom: 5px; color: var(--ocean-blue); }

/* Reviews */
.reviews-container { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; max-width: 800px; }
.log-entry { background: var(--white); padding: 25px; border-radius: 15px; border-left: 5px solid var(--ocean-blue); }
.log-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.log-header img { width: 50px; height: 50px; border-radius: 50%; }
.log-header small { display: block; color: #888; }
.stars { color: #FFD700; margin-top: 10px; }

/* Contact & Legal */
.booking-wrapper { margin-top: 40px; max-width: 600px; }
.booking-card { background: var(--white); padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; }
.booking-card h2 { font-family: var(--font-head); color: var(--ocean-blue); margin-bottom: 15px; }
.contact-methods { margin: 20px 0; font-weight: bold; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.nautical-form { margin-top: 30px; text-align: left; }
.input-group { margin-bottom: 15px; }
.input-group label { display: block; font-size: 0.85rem; font-weight: bold; margin-bottom: 5px; color: var(--dark); }
.input-group input, .input-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: var(--font-body); background: var(--sand); }
.row-group { display: flex; gap: 15px; }
.row-group .input-group { flex: 1; }
.btn-submit { width: 100%; padding: 15px; background: var(--ocean-blue); color: var(--white); border: none; border-radius: 8px; font-weight: bold; cursor: pointer; margin-top: 10px; font-size: 1.1rem; }
.btn-submit:hover { background: var(--dark); }

.legal-section { max-width: 800px; margin-top: 40px; background: var(--white); padding: 40px; border-radius: 20px; }
.legal-section h1 { font-family: var(--font-head); color: var(--dark); text-align: center; }
.wave-line { height: 2px; width: 100px; background: var(--ocean-blue); margin: 20px auto 40px; }
.legal-section article { margin-bottom: 30px; }
.legal-section h3 { color: var(--wood); margin-bottom: 10px; }

/* Bottom Nav */
.bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; height: var(--nav-height); background: var(--white); display: flex; justify-content: space-around; align-items: center; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); z-index: 2000; border-top: 1px solid #eee; }
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #888; font-size: 0.7rem; font-weight: bold; text-transform: uppercase; width: 100%; height: 100%; transition: 0.3s; }
.nav-item .icon { font-size: 1.5rem; margin-bottom: 2px; }
.nav-item.active { color: var(--ocean-blue); }
.nav-item.highlight { color: var(--wood); background: #fafafa; }
.nav-spacer { height: 20px; }

/* Footer */
.wave-footer { text-align: center; color: #888; font-size: 0.8rem; padding: 40px 0; margin-top: 40px; border-top: 1px solid #ddd; }
.footer-links a { margin: 0 10px; color: var(--ocean-blue); }

/* Toast */
.toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); background: var(--dark); color: var(--white); padding: 10px 20px; border-radius: 30px; z-index: 3000; display: none; align-items: center; gap: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); width: max-content; }
.toast.show { display: flex; animation: fadeUp 0.5s; }
.toast button { background: var(--white); color: var(--dark); border: none; padding: 5px 15px; border-radius: 20px; font-weight: bold; cursor: pointer; }

@keyframes fadeUp { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 900px) {
    .block { grid-template-columns: 1fr; }
    .block.reverse { direction: ltr; }
    .hero-center h1 { font-size: 2.2rem; }
}