/*
Theme Name: G.I. Holidays
Theme URI: https://giholidays.com
Author: Ganga International Holidays
Author URI: https://giholidays.com
Description: Production-ready, Elementor compatible WordPress theme for G.I. Holidays travel agency.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gi-holidays
Tags: travel, agency, elementor, modern, responsive
*/

:root {
    --primary-blue: #0A3D62; /* Trust Blue */
    --secondary-blue: #1E6B9E;
    --accent-orange: #FF7B00; /* Energy Orange */
    --accent-yellow: #FFC300;
    --text-dark: #333333;
    --text-light: #F4F6F7;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Navigation */
.site-header {
    background: var(--bg-white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.site-header.is-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.site-branding .site-title,
.site-branding .site-title a {
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0;
}

.site-branding .site-title span {
    color: var(--accent-orange);
}

.site-description {
    font-size: 12px;
    color: var(--secondary-blue);
    margin: 0;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-navigation a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--accent-orange);
}

/* Buttons */
.btn {
    background-color: var(--accent-orange);
    color: var(--bg-white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.btn:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Page Layout */
.site-main {
    min-height: 70vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Archive Grid */
.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    color: var(--primary-blue);
    font-size: 32px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.package-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.package-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-title {
    font-size: 20px;
    margin: 0 0 10px;
}

.package-title a {
    color: var(--primary-blue);
    text-decoration: none;
}

.package-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

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

.package-excerpt {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.package-price {
    font-weight: 800;
    font-size: 18px;
    color: var(--accent-orange);
    margin-bottom: 15px;
}

/* Single Package Layout */
.single-package-header {
    background: var(--primary-blue);
    color: var(--bg-white);
    padding: 60px 20px;
    text-align: center;
}

.single-package-header h1 {
    margin: 0;
    font-size: 36px;
    color: var(--bg-white);
}

.single-package-meta {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 16px;
}

.single-package-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.package-main-details h3 {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 10px;
    margin-top: 40px;
}

.package-inc-exc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.inclusions, .exclusions {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.inclusions h4 { color: #2ecc71; }
.exclusions h4 { color: #e74c3c; }

.package-details-box {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.price-tag {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-orange);
    margin-bottom: 20px;
    display: block;
}

.itinerary-day {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.itinerary-day h4 {
    color: var(--secondary-blue);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.itinerary-day h4 .day-label {
    background: var(--accent-orange);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Footer layout */
.site-footer {
    background: var(--primary-blue);
    color: var(--text-light);
    padding: 60px 20px 20px;
    border-top: 5px solid var(--accent-orange);
}

.footer-widgets {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.widget-title {
    color: var(--accent-orange);
    margin-bottom: 20px;
    font-size: 18px;
}

.site-info {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 14px;
}

.site-info a {
    color: var(--accent-orange);
    text-decoration: none;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* Chatbot UI */
.chatbot-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
}
.chatbot-toggle {
    width: 60px;
    height: 60px;
    background-color: var(--accent-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 24px;
    transition: transform 0.3s;
}
.chatbot-toggle:hover {
    transform: scale(1.1);
}
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eee;
}
.chatbot-window.active {
    display: flex;
}
.chatbot-header {
    background: var(--primary-blue);
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-header .close-btn {
    cursor: pointer;
    font-size: 20px;
}
.chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f9f9f9;
}
.chat-msg {
    max-width: 80%;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}
.chat-msg.bot {
    align-self: flex-start;
    background: #e1f5fe;
    color: #0277bd;
    border-bottom-left-radius: 0;
}
.chat-msg.user {
    align-self: flex-end;
    background: var(--primary-blue);
    color: white;
    border-bottom-right-radius: 0;
}
.chatbot-input {
    display: flex;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #eee;
}
.chatbot-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}
.chatbot-input button {
    background: var(--accent-orange);
    color: #fff;
    border: none;
    padding: 0 15px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* Forms */
.gi-contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.gi-contact-form input, .gi-contact-form select, .gi-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    box-sizing: border-box;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    .menu-toggle {
        display: block;
    }
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding-top: 15px;
    }
    .main-navigation.toggled ul {
        display: flex;
    }
    .main-navigation .btn-quote {
        display: none;
    }
    .single-package-content {
        grid-template-columns: 1fr;
    }
    .chatbot-window {
        right: -20px;
        width: 300px;
    }
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    .package-inc-exc {
        grid-template-columns: 1fr;
    }
}
