/* ===== Base Styles (Mobile First) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}
body {
    background: #f4f7fb;
}

/* Main container adapts to screen size */
.c2g-container {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* Header */
header {
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecf0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: #0066b3;
    letter-spacing: -0.5px;
}
.logo span { color: #ff6b4a; }
.hotel-link {
    margin-left: auto;
    background: #f0f5ff;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0066b3;
    text-decoration: none;
    white-space: nowrap;
}

/* Hero */
.hero {
    padding: 24px 20px 30px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafd 100%);
}
.hero h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.tagline {
    color: #5e6f88;
    margin-bottom: 24px;
    font-size: 1rem;
}
..search-box {
    display: flex;
    gap: 8px;
    background: white;
    border-radius: 60px;
    padding: 4px 4px 4px 16px;
    box-shadow: 0 8px 20px rgba(0,40,80,0.08);
    border: 1px solid #dde3ea;
    flex-wrap: nowrap;          /* prevent wrapping */
    align-items: center;
}

.search-box input {
    flex: 1 1 auto;              /* take available space */
    min-width: 0;                /* allow shrinking below content size */
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    padding: 10px 0;
}

.search-box button {
    background: #0066b3;
    border: none;
    color: white;
    font-weight: 600;
    padding: 8px 18px;           /* slightly smaller padding */
    border-radius: 40px;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;              /* prevent shrinking */
}
.search-box button:hover { background: #004b8f; }
.gps-btn {
    background: #eef2f6;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 40px;
    font-size: 1.2rem;
    color: #2c3e50;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.city-badge {
    margin-top: 16px;
    font-size: 0.9rem;
    color: #2c3e50;
    background: #e6edf6;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
}
.city-badge i { margin-right: 6px; color: #0066b3; }

/* Sections */
.section {
    padding: 24px 20px;
    border-bottom: 8px solid #f0f4fa;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.section-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}
.section-header a {
    color: #0066b3;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Card grid – responsive with columns */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.card {
    background: white;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    gap: 16px;
}
.card-icon {
    width: 60px;
    height: 60px;
    background: #d9e9ff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0066b3;
    flex-shrink: 0;
}
.card-content {
    flex: 1;
}
.card-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.meta {
    color: #5e6f88;
    font-size: 0.85rem;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.btn-sm {
    background: #f0f5ff;
    border: none;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0066b3;
    cursor: pointer;
    white-space: nowrap;
}
.btn-sm.primary {
    background: #0066b3;
    color: white;
}

/* Promo boxes */
.promo-box {
    background: #fef0e7;
    border-radius: 24px;
    padding: 24px;
    text-align: center;
}
.promo-box h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b4a;
}
.promo-box p { margin: 8px 0 16px; }

/* Email input */
.email-input {
    display: flex;
    background: white;
    border-radius: 60px;
    padding: 4px;
    flex-wrap: nowrap;
    align-items: center;
}

.email-input input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    padding: 12px 16px;
    border-radius: 60px;
    outline: none;
    font-size: 0.95rem;
}

.email-input button {
    background: #ff6b4a;
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 60px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.95rem;
}

/* Q&A */
.qa-item {
    background: #f8fafd;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 10px;
}
.qa-question { font-weight: 600; margin-bottom: 6px; }
.qa-answer { color: #2c3e50; }
.qa-ask {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.qa-ask input {
    flex: 1 1 200px;
    border: 1px solid #dde3ea;
    border-radius: 40px;
    padding: 12px 18px;
    outline: none;
    min-width: 150px;
}
.qa-ask button {
    background: #0066b3;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* Great Destinations (horizontal scroll) */
.destinations-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}
.destination-card {
    min-width: 120px;
    background: #eef2f6;
    border-radius: 20px;
    padding: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Footer */
.footer {
    padding: 32px 20px;
    background: #1e2b3c;
    color: white;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}
.footer-links a {
    color: #b0c4de;
    text-decoration: none;
    font-size: 0.9rem;
}
.social {
    display: flex;
    gap: 20px;
    font-size: 1.4rem;
    margin: 20px 0;
}
.copy {
    color: #5e7a99;
    font-size: 0.8rem;
    text-align: center;
}

/* Hotel page specific */
.hotel-hero {
    background: #004b8f;
    color: white;
    padding: 30px 20px;
}
.hotel-hero h1 { font-size: 2rem; }
.glance {
    background: rgba(255,255,255,0.15);
    border-radius: 40px;
    padding: 8px 16px;
    display: inline-block;
    margin: 12px 0;
    word-break: break-word;
}
.savings-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}
.saving-offer {
    background: #eef5e9;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.saving-offer .claim {
    background: #2d6e2d;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.nav-link {
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 16px;
}
#map {
    height: 200px;
    border-radius: 16px;
    margin-top: 16px;
}
.loading {
    text-align: center;
    padding: 20px;
    color: #5e6f88;
}

/* ===== Tablet Styles (min-width: 768px) ===== */
@media screen and (min-width: 768px) {
    .c2g-container {
        max-width: 90%;
        margin: 20px auto;
        border-radius: 24px;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 40px 30px;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .search-box {
        max-width: 600px;
    }

    .destinations-scroll {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }

    .social {
        justify-content: center;
    }
}

/* ===== Desktop Styles (min-width: 1024px) ===== */
@media screen and (min-width: 1024px) {
    .c2g-container {
        max-width: 1000px;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        padding: 50px 40px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .section {
        padding: 32px 30px;
    }
}

/* ===== Large Desktop (min-width: 1400px) ===== */
@media screen and (min-width: 1400px) {
    .c2g-container {
        max-width: 1200px;
    }

    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}