/* NAM Travel & Tours - Main Stylesheet */
/* WordPress flavor / WPBakery travel theme aesthetic */

:root {
    --primary: #1a3c6e;
    --primary-dark: #0f2847;
    --accent: #e8711a;
    --accent-hover: #d0630f;
    --warm: #f59e0b;
    --text: #444;
    --text-light: #777;
    --bg-cream: #fdf8f3;
    --bg-light: #f9f6f2;
    --white: #fff;
    --border: #e8e2da;
    --radius: 6px;
    --shadow: 0 2px 12px rgba(0,0,0,.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito Sans', Arial, sans-serif; color: var(--text); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* === UTILITY BAR === */
.util-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,.75);
    font-size: .78rem;
    padding: 6px 0;
}
.util-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.util-bar a { color: rgba(255,255,255,.75); transition: color .3s; }
.util-bar a:hover { color: var(--warm); }
.util-contact { display: flex; gap: 20px; }
.util-social { display: flex; gap: 12px; }
.util-social a { font-size: .9rem; }

/* === MAIN NAVIGATION === */
.main-nav {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 68px;
    max-width: 1140px;
    margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo img { height: 42px; }
.nav-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.nav-brand small {
    display: block;
    font-size: .6rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: block;
    padding: 22px 14px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
    transition: color .3s;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--accent); }

/* Dropdown */
.nav-menu .dropdown { position: relative; }
.nav-menu .dropdown > a::after { content: ' ▾'; font-size: .65rem; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all .25s;
    z-index: 200;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: .84rem;
    color: var(--text);
    border-bottom: 1px solid #f0f0f0;
    transition: all .2s;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--bg-cream); color: var(--accent); padding-left: 22px; }

.nav-cta {
    background: var(--accent);
    color: var(--white);
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .84rem;
    transition: background .3s;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--primary);
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary);
    margin: 4px 0;
    transition: .3s;
}

/* === HERO / SEARCH === */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26,60,110,.85), rgba(15,40,71,.75)),
        url('https://images.unsplash.com/photo-1488085061387-422e29b40080?w=1400&q=80') center/cover no-repeat;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 40px;
    text-align: center;
    width: 100%;
}
.hero h1 {
    color: var(--white);
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.hero p {
    color: rgba(255,255,255,.8);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* Search Box */
.search-box {
    background: var(--white);
    border-radius: 10px;
    padding: 24px 28px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(0,0,0,.2);
}
.search-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 18px;
    border-bottom: 2px solid #eee;
}
.search-tab {
    padding: 8px 20px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .3s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: inherit;
}
.search-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.search-fields { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.search-field label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.search-field input, .search-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: .88rem;
    outline: none;
    transition: border .3s;
}
.search-field input:focus, .search-field select:focus { border-color: var(--accent); }
.search-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: inherit;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    transition: background .3s;
    white-space: nowrap;
}
.search-btn:hover { background: var(--accent-hover); }

/* === TRUST BAR === */
.trust-bar {
    background: var(--bg-cream);
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.trust-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--text-light);
    font-weight: 600;
}
.trust-item svg { width: 20px; height: 20px; fill: var(--accent); flex-shrink: 0; }

/* === SECTION STYLES === */
.section { padding: 70px 0; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--primary-dark); color: var(--white); }
.section-header { margin-bottom: 40px; }
.section-header h2 {
    font-size: 1.85rem;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.2;
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p { color: var(--text-light); font-size: .95rem; max-width: 560px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* === POPULAR DESTINATIONS === */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dest-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}
.dest-card img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s; }
.dest-card:hover img { transform: scale(1.06); }
.dest-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: var(--white);
}
.dest-info h3 { font-size: 1rem; margin-bottom: 2px; }
.dest-info .price { font-size: .88rem; color: var(--warm); font-weight: 700; }
.dest-info .route { font-size: .72rem; opacity: .8; }

/* === SERVICE CARDS === */
.services-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.srv-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow .3s, transform .3s;
}
.srv-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.srv-card-img { height: 180px; overflow: hidden; }
.srv-card-img img { width: 100%; height: 100%; object-fit: cover; }
.srv-card-body { padding: 22px 20px; }
.srv-card-body h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 8px; }
.srv-card-body p { font-size: .85rem; color: var(--text-light); margin-bottom: 14px; }
.srv-link {
    color: var(--accent);
    font-size: .82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.srv-link:hover { gap: 8px; }

/* === ABOUT SPLIT === */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-img { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 380px; object-fit: cover; }
.about-text h2 { font-size: 1.85rem; color: var(--primary); margin-bottom: 14px; line-height: 1.2; }
.about-text p { margin-bottom: 14px; font-size: .92rem; color: var(--text); }
.about-checks { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.about-checks li {
    font-size: .85rem; color: var(--text); padding-left: 20px;
    position: relative; font-weight: 600;
}
.about-checks li::before { content: ''; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }

/* === TESTIMONIAL SLIDER === */
.testimonials-wrap { position: relative; overflow: hidden; }
.testimonial-track { display: flex; transition: transform .5s ease; }
.testimonial-slide { min-width: 100%; padding: 0 40px; }
.testimonial-card {
    background: var(--white);
    border-radius: 10px;
    padding: 36px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.testimonial-card .stars { color: var(--warm); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: .95rem; color: var(--text); font-style: italic; margin-bottom: 16px; line-height: 1.75; }
.testimonial-card cite { font-style: normal; font-weight: 700; color: var(--primary); font-size: .85rem; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.slider-dot {
    width: 10px; height: 10px; border-radius: 50%; background: #ddd; border: none;
    cursor: pointer; transition: background .3s;
}
.slider-dot.active { background: var(--accent); }

/* === CTA BANNER === */
.cta-banner {
    background: linear-gradient(135deg, var(--accent), #d0630f);
    padding: 50px 0;
    text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 22px; font-size: .95rem; }
.btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--accent);
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .88rem;
    transition: all .3s;
}
.btn-white:hover { background: var(--primary); color: var(--white); }

/* === FOOTER === */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,.6);
    padding: 50px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col h4 {
    color: var(--white);
    font-size: .88rem;
    margin-bottom: 16px;
    font-weight: 700;
}
.footer-brand { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.footer-col p { font-size: .8rem; margin-bottom: 6px; }
.footer-col a { display: block; font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 6px; transition: color .3s; }
.footer-col a:hover { color: var(--warm); }

.footer-newsletter input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.06);
    border-radius: var(--radius);
    color: var(--white);
    font-family: inherit;
    font-size: .84rem;
    margin-bottom: 8px;
    outline: none;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 9px 20px;
    border-radius: var(--radius);
    font-family: inherit;
    font-weight: 700;
    font-size: .82rem;
    cursor: pointer;
    transition: background .3s;
}
.footer-newsletter button:hover { background: var(--accent-hover); }

.footer-badges {
    display: flex;
    gap: 14px;
    margin-top: 14px;
    align-items: center;
}
.footer-badge {
    background: rgba(255,255,255,.08);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: .68rem;
    font-weight: 700;
    color: rgba(255,255,255,.6);
    border: 1px solid rgba(255,255,255,.1);
}
.footer-bottom {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .75rem;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-payments { display: flex; gap: 8px; }
.footer-payments span {
    background: rgba(255,255,255,.08);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: .7rem;
    font-weight: 600;
}

/* === SCROLL ANIMATIONS === */
.dest-card, .srv-card, .testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.dest-card.in-view, .srv-card.in-view, .testimonial-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* === INNER PAGES === */
.page-banner {
    background: linear-gradient(135deg, rgba(26,60,110,.9), rgba(15,40,71,.8)),
        url('https://images.unsplash.com/photo-1436491865332-7a61a109db05?w=1200&q=75') center/cover no-repeat;
    padding: 100px 0 50px;
    text-align: center;
}
.page-banner h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 8px; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--warm); }

.page-content { padding: 50px 0; }
.page-content h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: 14px; }
.page-content p { margin-bottom: 14px; font-size: .92rem; }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-info-card {
    background: var(--bg-cream);
    border-radius: var(--radius);
    padding: 28px;
}
.contact-info-item { margin-bottom: 20px; }
.contact-info-item h4 { font-size: .78rem; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 4px; }
.contact-info-item p { font-size: .88rem; color: var(--text); }
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: .78rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px 12px; border: 1.5px solid #ddd;
    border-radius: var(--radius); font-family: inherit; font-size: .88rem; outline: none; transition: border .3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { height: 120px; resize: vertical; }
.form-submit {
    background: var(--accent); color: var(--white); border: none; padding: 12px 30px;
    border-radius: var(--radius); font-family: inherit; font-weight: 700; font-size: .88rem;
    cursor: pointer; transition: background .3s;
}
.form-submit:hover { background: var(--accent-hover); }

/* map */
.map-wrap { margin-top: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 300px; background: #e5e5e0; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: .9rem; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .services-row { grid-template-columns: 1fr 1fr; }
    .about-split { grid-template-columns: 1fr; }
    .dest-grid { grid-template-columns: 1fr 1fr; }
    .search-fields { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .util-bar { display: none; }
    .nav-menu { 
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        box-shadow: 0 8px 20px rgba(0,0,0,.1);
        padding: 10px 0;
    }
    .nav-menu.open { display: flex; }
    .nav-menu > li > a { padding: 12px 20px; }
    .dropdown-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding-left: 20px; }
    .nav-toggle { display: block; }
    .nav-cta { display: none; }
    .hero h1 { font-size: 1.8rem; }
    .search-fields { grid-template-columns: 1fr; }
    .dest-grid { grid-template-columns: 1fr; }
    .services-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .trust-inner { gap: 16px; }
    .about-checks { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}