/* ═══════════════════════════════════════════════
   Base Styles - Clean Minimal
   ═══════════════════════════════════════════════ */

:root {
    --primary: #333;
    --white: #fff;
    --gray-100: #f7f7f7;
    --gray-200: #e5e5e5;
    --gray-300: #ccc;
    --gray-500: #777;
    --gray-800: #333;
    --text: #333;
    --text-light: #666;
    --shadow: 0 2px 8px rgba(0,0,0,0.12);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --radius: 4px;
    --radius-lg: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a { color: var(--primary); transition: opacity 0.2s; }
a:hover { opacity: 0.7; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── NAVBAR ─────────────────────────────── */
.navbar {
    background: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-brand {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.nav-links a:hover { background: var(--gray-100); opacity: 1; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ─── BUTTONS ────────────────────────────── */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    opacity: 0.85;
    color: var(--white);
}

.btn-accent {
    background: var(--white);
    color: var(--primary);
}

.btn-accent:hover {
    background: var(--gray-100);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-danger { background: #c0392b; color: var(--white); border-color: #c0392b; }
.btn-danger:hover { opacity: 0.85; }
.btn-sm { padding: 6px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { display: block; width: 100%; }

/* ─── HERO ───────────────────────────────── */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
    max-width: 700px;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 30px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── SECTIONS ───────────────────────────── */
.section { padding: 60px 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--gray-800); color: var(--white); }

.section-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 40px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ─── MISSION ────────────────────────────── */
.mission-section {
    padding: 60px 0;
    text-align: center;
}

.mission-section .section-title {
    margin-bottom: 20px;
}

.mission-text {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

/* ─── FEATURES (Why Choose) ──────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    border-right: 1px solid var(--gray-200);
    background: var(--white);
}

.feature-card:last-child { border-right: none; }

.feature-card:hover {
    box-shadow: var(--shadow);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-card .btn { margin-top: 8px; }

.feature-quote {
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 8px;
}

.feature-attribution {
    font-size: 0.8rem;
    color: var(--gray-500);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ─── TRIPS ──────────────────────────────── */
.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.trip-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
}

.trip-card:hover {
    box-shadow: var(--shadow);
}

.trip-card-header {
    background: var(--gray-800);
    color: var(--white);
    padding: 20px;
}

.trip-card-header h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.trip-duration {
    font-size: 0.8rem;
    opacity: 0.7;
}

.trip-card-body {
    padding: 20px;
    flex: 1;
}

.trip-card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.trip-details {
    list-style: none;
    padding: 0;
}

.trip-details li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
    font-size: 0.88rem;
}

.trip-details li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: 600;
}

.trip-card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trip-price .price {
    font-size: 1.4rem;
    font-weight: 600;
}

.trip-price .price-note {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ─── CTA ────────────────────────────────── */
.cta-section {
    background: var(--gray-800);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.cta-section p {
    margin-bottom: 30px;
    opacity: 0.7;
    font-size: 0.95rem;
}

/* ─── BOAT SPECS ─────────────────────────── */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.spec-group h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.spec-group ul {
    list-style: none;
    padding: 0;
}

.spec-group li {
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ─── PAGE HEADER ────────────────────────── */
.page-header {
    background: var(--gray-800);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.page-header p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.page-header-success {
    background: var(--gray-800);
    padding: 80px 0;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* ─── FORMS ──────────────────────────────── */
.booking-form { max-width: 700px; margin: 0 auto; }

.form-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
}

.form-section h2 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-actions { text-align: center; margin-top: 20px; }

/* Trip Select */
.trip-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.trip-option { cursor: pointer; }
.trip-option input { display: none; }

.trip-option-content {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: 0.2s;
}

.trip-option input:checked + .trip-option-content {
    border-color: var(--primary);
    background: var(--gray-100);
}

.trip-option-content h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.trip-option-content p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.trip-option-price {
    font-weight: 600 !important;
    color: var(--primary) !important;
    font-size: 1.1rem !important;
    margin-top: 8px !important;
}

/* ─── CHECKOUT ───────────────────────────── */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.summary-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

.summary-row strong { font-weight: 600; }
.summary-row.total { font-size: 1.1rem; }
.summary-row:last-child { border-bottom: none; }

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
}

/* ─── CONFIRMATION ───────────────────────── */
.confirmation-card { max-width: 600px; margin: 0 auto; }

.confirmation-info {
    margin-top: 24px;
    padding: 24px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.confirmation-info h3 {
    margin-bottom: 12px;
}

.confirmation-info ul { padding-left: 20px; }
.confirmation-info li { padding: 4px 0; color: var(--text-light); font-size: 0.9rem; }

/* ─── LOOKUP ─────────────────────────────── */
.lookup-form-wrapper { max-width: 450px; margin: 0 auto; }

.lookup-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
}

.lookup-form .form-group { text-align: left; margin-bottom: 20px; }
.lookup-form input { text-align: center; font-size: 1.2rem; letter-spacing: 3px; }

/* ─── STATUS BADGES ──────────────────────── */
.status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-pending { background: #fef9e7; color: #b7950b; }
.status-confirmed, .status-deposit_paid { background: #eafaf1; color: #1e8449; }
.status-paid, .status-completed, .status-sent { background: #d5f5e3; color: #1e8449; }
.status-cancelled, .status-failed { background: #fdedec; color: #c0392b; }

/* ─── ALERTS ─────────────────────────────── */
.flash-container { margin-top: 16px; }

.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.alert-error { background: #fdedec; color: #c0392b; border: 1px solid #f5b7b1; }
.alert-success { background: #eafaf1; color: #1e8449; border: 1px solid #abebc6; }
.alert-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
}

/* ─── FOOTER ─────────────────────────────── */
.footer {
    background: var(--gray-800);
    color: rgba(255,255,255,0.7);
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer h4 {
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer ul { list-style: none; }
.footer li { padding: 3px 0; font-size: 0.9rem; }
.footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow);
    }
    .nav-container.open .nav-links { display: flex; }
    .hero h1 { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.85rem; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { border-right: none; border-bottom: 1px solid var(--gray-200); }
    .feature-card:last-child { border-bottom: none; }
    .checkout-grid { grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
    .section-title { font-size: 1.4rem; }
    .trips-grid { grid-template-columns: 1fr; }
}

@media (max-width: 450px) {
    .hero h1 { font-size: 1.3rem; }
    .trip-select-grid { grid-template-columns: 1fr; }
}
