/* 
    Navigator Tours - Global Design System 2.0
    Aesthetics: Premium, Ultra-modern, Dynamic
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800;900&display=swap');

:root {
    --primary: #0a1128;
    --primary-light: #1c2541;
    --secondary: #3a506b;
    --accent: #ffb703;
    --accent-hover: #fb8500;
    --text-white: #f8f9fa;
    --text-muted: #adb5bd;
    --text-dark: #212529;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    gap: 30px;
    flex-wrap: wrap;
}

header.sticky {
    padding: 15px 6%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.3px;
    white-space: nowrap;
    flex-shrink: 0;
}

header.sticky .logo {
    color: var(--primary);
}

.logo i {
    font-size: 1.6rem;
}

.logo span {
    color: var(--accent);
    font-weight: 800;
}

.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
}

header.sticky .nav-links a {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent) !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.btn-cta {
    background: var(--accent);
    color: var(--primary) !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 8px 15px rgba(255, 183, 3, 0.3);
}

.btn-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(255, 183, 3, 0.4);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}

header.sticky .menu-toggle {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 180px 8% 80px;
    background: var(--primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.9) 0%, rgba(10, 17, 40, 0.4) 100%), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    animation: slideRight 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Inquiry Form */
.hero-form-wrapper {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.inquiry-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 24px;
    width: 450px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.inquiry-card h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 183, 3, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(10, 17, 40, 0.2);
}

/* Section Common */
section {
    padding: 120px 8%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}

.section-tag {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

/* Services Grid */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(255, 183, 3, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--accent);
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--accent);
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    color: var(--secondary);
}

/* Packages Grid */
.packages {
    background: #f8f9fa;
}

.packages-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pkg-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pkg-card:hover {
    transform: translateY(-10px);
}

.pkg-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.pkg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pkg-card:hover .pkg-image img {
    transform: scale(1.15);
}

.pkg-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.pkg-content {
    padding: 30px;
}

.pkg-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pkg-meta span i {
    color: var(--accent);
    margin-right: 5px;
}

.pkg-content h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.pkg-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 25px;
}

.pkg-price .amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.pkg-price .unit {
    color: var(--text-muted);
}

.btn-book-now {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    border: 2px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

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

/* Contact Footer Area */
.contact-section {
    background: var(--primary);
    color: var(--white);
    padding-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.contact-details {
    margin-bottom: 50px;
}

.detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
}

.detail-text h4 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.detail-text p {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.booking-form-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.booking-form-box input,
.booking-form-box textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-family: inherit;
    margin-bottom: 20px;
    transition: var(--transition);
}

.booking-form-box input:focus,
.booking-form-box textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    outline: none;
}

/* Floating Elements */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

/* ========================================
   RESPONSIVE DESIGN SYSTEM
   ======================================== */

/* ===== LARGE DESKTOP (1400px+) ===== */
@media (min-width: 1400px) {
    .hero-content h1 {
        font-size: 5.5rem;
    }

    section {
        padding: 150px 10%;
    }
}

/* ===== DESKTOP (1025px - 1399px) ===== */
@media (min-width: 1025px) and (max-width: 1399px) {
    .hero-content h1 {
        font-size: 4rem;
    }
}

/* ===== SMALL LAPTOP (1024px and below) ===== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-form-wrapper {
        width: 380px;
    }

    .section-title {
        font-size: 2.8rem;
    }
}

/* ===== TABLET LANDSCAPE (768px - 1024px) ===== */
@media (max-width: 1024px) {

    /* Header adjustments */
    header {
        padding: 18px 5%;
        gap: 15px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 18px;
    }

    .btn-cta {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    /* Hero adjustments */
    .hero {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        padding: 180px 5% 80px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-form-wrapper {
        width: 100%;
        max-width: 500px;
    }

    /* Grid adjustments */
    .services-container,
    .packages-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ===== TABLET PORTRAIT (768px and below) ===== */
@media (max-width: 768px) {

    /* Hide desktop nav, show hamburger */
    .desktop-nav {
        display: none !important;
    }

    .menu-toggle {
        display: block;
    }

    /* Header compact mode */
    header {
        padding: 15px 4%;
        gap: 10px;
    }

    header.sticky {
        padding: 12px 4%;
    }

    .logo {
        font-size: 1.3rem;
        flex: 1;
    }

    .logo i {
        font-size: 1.4rem;
    }

    /* Nav actions - keep both button and menu visible */
    .nav-actions {
        gap: 12px;
    }

    .btn-cta {
        padding: 8px 16px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .menu-toggle {
        font-size: 1.6rem;
    }

    /* Section adjustments */
    .section-title {
        font-size: 2.2rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }
}

/* ===== MOBILE LARGE (577px - 767px) ===== */
@media (min-width: 577px) and (max-width: 767px) {

    .services-container,
    .packages-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== MOBILE (320px - 576px) ===== */
@media (max-width: 576px) {

    /* Header mobile optimization */
    header {
        padding: 12px 3%;
        gap: 8px;
    }

    header.sticky {
        padding: 10px 3%;
    }

    .logo {
        font-size: 1.1rem;
        gap: 5px;
    }

    .logo i {
        font-size: 1.2rem;
    }

    /* Simplify nav actions for small screens */
    .nav-actions {
        gap: 10px;
    }

    .btn-cta {
        padding: 8px 14px;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    .btn-cta i {
        display: none;
        /* Hide phone icon on very small screens */
    }

    .menu-toggle {
        font-size: 1.5rem;
    }

    /* Section spacing */
    section {
        padding: 60px 5%;
    }

    /* Hero mobile */
    .hero {
        padding: 100px 5% 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    /* Single column grids */
    .services-container,
    .packages-container {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
    }

    /* Forms mobile */
    .inquiry-card {
        padding: 25px 18px;
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .btn-submit {
        font-size: 0.95rem;
    }

    .booking-form-box {
        padding: 25px 18px;
    }

    .booking-form-box div {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

/* ===== EXTRA SMALL MOBILE (320px - 400px) ===== */
@media (max-width: 400px) {
    .logo {
        font-size: 1rem;
    }

    .logo span {
        font-size: 0.9rem;
    }

    .btn-cta {
        padding: 7px 12px;
        font-size: 0.7rem;
    }

    .menu-toggle {
        font-size: 1.4rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* ===== TINY SCREENS (< 360px) ===== */
@media (max-width: 359px) {
    header {
        padding: 10px 2%;
    }

    .logo {
        font-size: 0.9rem;
    }

    /* Simplify further - stack if needed */
    .logo span {
        display: block;
        font-size: 0.8rem;
        line-height: 1;
    }

    .btn-cta {
        padding: 6px 10px;
        font-size: 0.65rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
}