:root {
    /* --- COLOR SCHEME (Match your Logo here) --- */
    --primary: #FF5722;     /* Logo Orange */
    --secondary: #1A237E;   /* Logo Blue */
    --accent: #FFC107;      /* Yellow Accent */
    
    /* Light Mode Defaults */
    --bg-color: #f9f9f9;
    --text-color: #333;
    --card-bg: #fff;
    --nav-bg: #fff;
    --section-bg-alt: #eaeaea;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- DARK MODE VARIABLES --- */
body.dark-mode {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --card-bg: #1e1e1e;
    --nav-bg: #1e1e1e;
    --section-bg-alt: #2c2c2c;
    --shadow: 0 4px 15px rgba(0,0,0,0.5);
    --secondary: #3949ab;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', 'Noto Sans Tamil', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s, color 0.3s;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    padding: 0.8rem 5%;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s;
}

/* Branding (Logo + Name) */
.brand-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.brand-logo {
    height: 60px;
    width: auto;
}

.brand-name {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active-link {
    color: var(--primary);
}

.lang-btn {
    background: var(--primary);
    color: #fff !important;
    padding: 5px 15px;
    border-radius: 20px;
}

/* Theme Toggle Button */
.theme-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.theme-btn:hover { color: var(--primary); }

/* Hero Section */
.hero {
    background: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?q=80&w=1600&auto=format&fit=crop') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero h1 { font-size: 3rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn:hover { background: var(--secondary); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-right: 10px;
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Layouts */
.container { max-width: 1200px; margin: auto; padding: 4rem 1rem; }
.section-padding { padding: 4rem 1rem; }
.section-title { text-align: center; margin-bottom: 3rem; font-size: 2rem; color: var(--primary); }
.bg-light { background: var(--section-bg-alt); }
.text-center { text-align: center; }

/* Grid Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

.card {
    background: var(--card-bg);
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover { transform: translateY(-5px); }
.card-icon { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 10px; color: var(--text-color); }
.card p { color: var(--text-color); opacity: 0.8; margin-bottom: 15px; }

/* Contact Page Layout */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background: var(--primary);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-item { margin-bottom: 2rem; }
.info-item i { font-size: 1.5rem; margin-bottom: 10px; display: block; }
.info-item h3 { margin-bottom: 5px; font-size: 1.2rem; }
.info-item p { opacity: 0.9; }

/* Forms */
.form-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-tabs { display: flex; justify-content: space-around; margin-bottom: 2rem; border-bottom: 1px solid #ddd; }
.tab-btn {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-color);
    font-size: 1rem;
    border-bottom: 3px solid transparent;
}
.tab-btn.active { border-bottom: 3px solid var(--primary); color: var(--primary); }

.contact-form { display: none; }
.contact-form.active-form { display: block; }

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: var(--bg-color);
    color: var(--text-color);
}

.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; color: var(--text-color); }

/* Footer */
footer { background: #1a1a1a; color: white; padding: 2rem 0; text-align: center; }
.social-links a { color: white; margin: 0 10px; font-size: 1.5rem; transition: color 0.3s; }
.social-links a:hover { color: var(--primary); }

/* --- MODAL (ITINERARY POPUP) --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg);
    color: var(--text-color);
    margin: 5% auto; 
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.itinerary-day {
    border-left: 3px solid var(--primary);
    padding-left: 15px;
    margin-bottom: 15px;
}

.itinerary-day h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

/* Burger Menu (Mobile) */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background-color: var(--text-color); margin: 5px; transition: all 0.3s ease; }

/* Responsive Mobile */
@media (max-width: 768px) {
    .contact-wrapper { grid-template-columns: 1fr; }

    .brand-logo { height: 40px; }
    .brand-name { height: 50px; }
    
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--nav-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        padding-top: 50px;
    }
    
    .nav-links.nav-active { transform: translateX(0%); }
    .burger { display: block; }
    
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

    .brand-name { display: none; }
}