/* ================= ROOT & RESET ================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: #f7f7f7;
    color: #333;
}

/* ================= HEADER ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img {
    height: 50px;
}

header nav {
    display: flex;
    align-items: center;
}

header nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #cf0026;
}

/* ================= HAMBURGER MENU ================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================= HERO ================= */
.hero {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                url('../images/hero.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.hero h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 15px;
}

.hero p {
    font-size: clamp(16px, 2.5vw, 20px);
}

/* ================= SECTIONS ================= */
.section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* ================= CARDS / GRIDS ================= */
.packages,
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.card,
.destination-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    flex: 1 1 calc(25% - 20px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img,
.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content,
.destination-card div {
    padding: 15px;
}

.card h3 {
    margin-top: 0;
}

.card:hover,
.destination-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* ================= FILTERS ================= */
.filters {
    text-align: center;
    margin-bottom: 30px;
}

.filters a {
    display: inline-block;
    margin: 5px;
    padding: 8px 16px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filters a.active,
.filters a:hover {
    background: #000;
    color: #fff;
}

/* ================= PAGINATION ================= */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination a {
    padding: 8px 14px;
    margin: 5px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a.active,
.pagination a:hover {
    background: #000;
    color: #fff;
}

/* ================= CONTACT ================= */
.contact-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.contact-info {
    flex: 1;
    background: #000;
    color: #fff;
    padding: 40px;
    border-radius: 8px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-form {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    background: #0a6d3b;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #084d26;
}

/* ================= MAP ================= */
.map-box {
    margin-top: 50px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ================= FOOTER ================= */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
}

/* ================= RESPONSIVE ================= */

/* Tablets */
@media (max-width: 992px) {
    .card,
    .destination-card {
        flex: 1 1 calc(50% - 20px);
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

/* Mobile (<768px) */
@media (max-width: 768px) {
    .packages {
        flex-direction: column;
    }

    .packages .card {
        flex: 1 1 100%;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }

    .contact-form button {
        width: 100%;
    }

    header nav {
        position: absolute;
        top: 65px;
        right: 20px;
        background: #000;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        border-radius: 8px;
        width: 200px;
        display: none; /* hidden by default, shown via JS */
    }

    header nav.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    header nav a {
        margin: 10px 0;
    }
}

/* Extra small devices (<480px) */
@media (max-width: 480px) {
    .section {
        padding: 25px 15px;
    }

    h2 {
        font-size: 24px;
    }

    .card-content p {
        font-size: 14px;
    }
}
