/* style.css - Unified Stylesheet for Swaraj Travels */

:root {
    --primary: #E67E22; /* Royal Saffron */
    --secondary: #F39C12;
    --dark: #1a1a1a;
    --white: #ffffff;
    --bg-light: #fffdf5;
    --nav-height: 80px;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif; 
}

body { 
    background-color: var(--white); 
    overflow-x: hidden; 
}

html { 
    scroll-behavior: smooth; 
}

section, .hero { scroll-margin-top: var(--nav-height); }

/* Navigation Bar */
nav {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 8%; 
    height: var(--nav-height); 
    background: var(--dark);
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 2000;
    border-bottom: 3px solid var(--primary);
}

.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 0; 
}

.logo-img { 
    height: 110px; 
    width: auto; 
    mix-blend-mode: screen; 
    filter: brightness(1.1); 
    margin-right: -25px; 
    margin-left: -15px; 
}

.logo-text { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.logo-main-text { 
    color: var(--primary); 
    font-size: 26px; 
    font-weight: 800; 
    letter-spacing: 1px; 
    line-height: 0.9; 
}

.logo-sub-text { 
    color: var(--white); 
    font-size: 13px; 
    font-weight: 400; 
    letter-spacing: 1.5px; 
    margin-top: 2px; 
    text-transform: uppercase; 
}

nav ul { 
    display: flex; 
    list-style: none; 
}

nav ul li { 
    margin-left: 25px; 
}

nav ul li a { 
    color: var(--white); 
    text-decoration: none; 
    font-weight: 500; 
    transition: 0.3s; 
    font-size: 0.95rem; 
}

nav ul li a:hover { 
    color: var(--primary); 
}

/* Hero Carousel */
        .hero { position: relative; height: 75vh; margin-top: var(--nav-height); overflow: hidden; background: #000; }
        .main-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; flex-direction: column; }
        .main-slide.active { opacity: 1; }
        .slide-bg { height: 100%; width: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
        .hero-caption { position: absolute; bottom: 0; width: 100%; background: rgba(0,0,0,0.75); color: var(--white); padding: 30px; text-align: center; border-top: 2px solid var(--primary); }
        .hero-caption h2 { font-size: 2rem; margin-bottom: 5px; color: var(--primary); }

/* Global Section Styling */
section { 
    padding: 100px 10% 80px 10%; 
    scroll-margin-top: var(--nav-height);
}

.section-header { 
    text-align: center; 
    margin-bottom: 40px; 
}

.section-header h2 { 
    font-size: 2.3rem; 
    display: inline-block; 
    position: relative; 
    padding-bottom: 10px; 
    color: var(--dark); 
}

.section-header h2::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 60px; 
    height: 4px; 
    background: var(--primary); 
}

/* Grid & Cards */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
    margin-top: 40px; 
}

.service-card { 
    background: #fff; 
    padding: 30px 20px; 
    border-radius: 15px; 
    text-align: center; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
    border: 1px solid #f0f0f0; 
    transition: 0.3s; 
}

.service-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--primary); 
}

.service-card i { 
    font-size: 2.5rem; 
    color: var(--primary); 
    margin-bottom: 15px; 
}

/* Buttons */
.service-btn { 
    display: inline-block; 
    padding: 10px 25px; 
    background: var(--primary); 
    color: white; 
    text-decoration: none; 
    border-radius: 5px; 
    font-weight: 600; 
    transition: 0.3s; 
}

.service-btn:hover { 
    background: var(--dark); 
    transform: scale(1.05);
}

/* Contact Form */
.contact-box { 
    display: grid; 
    grid-template-columns: 1fr 1.5fr; 
    gap: 40px; 
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); 
    background: white; 
    border-top: 5px solid var(--primary); 
}

input, select, textarea { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    margin-bottom: 15px; 
}

.submit-btn { 
    background: var(--primary); 
    color: white; 
    border: none; 
    padding: 15px; 
    border-radius: 8px; 
    font-weight: 700; 
    cursor: pointer; 
    width: 100%; 
    text-transform: uppercase; 
}

/* Footer */
footer { 
    background: var(--dark); 
    color: white; 
    text-align: center; 
    padding: 30px; 
}


/* --- Hamburger Menu Styles --- */
/* Hide menu toggle by default (Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile Call Button */
        .mobile-call-btn {
            display: none;
            position: fixed;
            bottom: 20px;
            right: 20px;
            /* background-color: #25d366; WhatsApp/Call Green */
            background-color: #E67E22; /* Your primary Saffron color */
            color: white;
            padding: 15px 20px;
            border-radius: 50px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            z-index: 3000;
            text-decoration: none;
            font-weight: 700;
            align-items: center;
            gap: 10px;
        }


/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-box {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: none;
    }

    /* Add a hamburger menu for better mobile UX later */
    .hero {
        height: 60vh;
    }

    .menu-toggle {
        display: flex;
        /* Show hamburger on mobile */
    }

    nav ul {
        display: none;
        /* Hide standard nav */
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--dark);
        padding: 20px 0;
        text-align: center;
        border-bottom: 2px solid var(--primary);
    }

    /* When menu is active */
    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 15px 0;
    }

    /* Optional: Animate hamburger to 'X' */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

        .mobile-call-btn {
            display: flex;
            align-items: center;
            gap: 10px;
        }

    .dest-caption h1 { font-size: 1.8rem; }
    
}