:root {
    --navy: #12324a;
    --teal: #167d8f;
    --sky: #dff4f8;
    --sand: #fff6e8;
    --text: #16323f;
    --card: #ffffff;
    --shadow: 0 10px 25px rgba(18, 50, 74, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f9fdff 0%, var(--sand) 100%);
    line-height: 1.5;
}

img {
    display: block;
    width: 100%;
}

/* ===== HEADER & FOOTER ===== */
header,
footer {
    background: var(--navy);
    color: #fff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.brand img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--sky);
}

nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

nav a,
footer a {
    color: #fff;
    text-decoration: none;
}

nav a:hover,
footer a:hover {
    text-decoration: underline;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 2rem;
    font-size: 0.95rem;
}

/* ===== MAIN LAYOUT ===== */
main {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 420px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}

.hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    background: rgba(18, 50, 74, 0.82);
    color: #fff;
    padding: 1rem;
    border-radius: 10px;
}

.hero-text h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 0;
}

.hero-text p {
    margin: 0.25rem 0 0 0;
    color: #fff;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    color: var(--teal);
    font-weight: 700;
}

/* ===== BUTTON ===== */
.button {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--teal);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
}

.button:hover {
    background: #0f5f6b;
}

/* ===== NEWSLETTER FORM ===== */
.newsletter-form {
    display: grid;
    gap: 0.5rem;
}

.newsletter-form label {
    font-weight: 700;
}

.newsletter-form input,
.newsletter-form textarea {
    padding: 0.7rem;
    border: 1px solid #c8d7dd;
    border-radius: 10px;
    font: inherit;
}

.newsletter-form textarea {
    resize: vertical;
}

.newsletter-form button {
    padding: 0.75rem;
    border: 0;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: #0f3d5e;
}

/* ===== PAGE INTRO ===== */
.page-intro {
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 1rem;
    margin-bottom: 1rem;
}

.page-intro h1 {
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
}

/* ===== FEATURE GRID (Home page) ===== */
.cta-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* ===== TRIP GRID (Trips page) ===== */
.trip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.trip-card {
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
}

.trip-card img {
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
}

/* ===== ABOUT GRID (About page) ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.about-card {
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 1rem;
}

.about-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

/* ===== CONTACT GRID (Contact page) ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-list {
    margin: 0;
    padding-left: 1rem;
    line-height: 1.7;
}

/* ===== CARD ===== */
.card {
    background: #fff;
    border: 1px solid #dbe7ea;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ===== TABLE ===== */
.table-card {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    border: 1px solid #d9e5ea;
    padding: 0.75rem;
    text-align: left;
}

th {
    background: var(--sky);
}

/* ===== MAP IFRAME ===== */
iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

/* ===== SOCIAL LINKS ===== */
.sociallinks {
    display: flex;
    gap: 0.75rem;
}

.sociallinks img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    main {
        width: min(100% - 1rem, 1200px);
    }

    header,
    footer {
        padding: 1rem;
    }

    .hero img {
        height: 360px;
    }

    .cta-grid,
    .feature-grid,
    .trip-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}