/* Kerala Travel Packages - Unified CSS Framework */
/* Mobile-first responsive design for all city pages */

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

/* Color Variables - Kerala Tourism Theme */
:root {
    --primary-green: #2E7D32;
    --secondary-gold: #FFC107;
    --accent-blue: #1976D2;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --light-bg: #f8f9fa;
    --border-light: #e0e0e0;
}

/* Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-green);
}

h2 {
    font-size: 2rem;
    color: var(--primary-green);
    border-bottom: 3px solid var(--secondary-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Container and Grid System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: 1fr;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.9), rgba(25, 118, 210, 0.8)),
                url('https://images.unsplash.com/photo-1602216056096-3b40cc0c9944?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin: 5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), #4CAF50);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-gold), #FFD54F);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Content Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--light-bg);
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

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

.card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Destination Cards */
.destination-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destination-card-content {
    padding: 1.5rem;
}

/* Itinerary Cards */
.itinerary-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.itinerary-card:hover {
    border-color: var(--primary-green);
    transform: scale(1.02);
}

.itinerary-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
    margin: 1rem 0;
}

.itinerary-duration {
    background: var(--secondary-gold);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--light-bg);
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e8f5e8;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-toggle {
    font-size: 1.2rem;
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Contact Information */
.contact-info {
    background: var(--primary-green);
    color: white;
    padding: 3rem 0;
}

.office-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
}

.office-card h3 {
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

.office-phone, .office-email {
    display: inline-block;
    color: white;
    text-decoration: none;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.office-phone:hover, .office-email:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 2rem 0 1rem;
    text-align: center;
}

.footer p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-green));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    border-bottom: none;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Transportation Options */
.transport-option {
    background: white;
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.transport-option h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.p-2 {
    padding: 2rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
    
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 60px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .cta-buttons {
        flex-wrap: nowrap;
    }
}

/* Print Styles */
@media print {
    .hero, .cta-section, .contact-info {
        background: white !important;
        color: black !important;
    }
    
    .btn {
        border: 1px solid black;
        background: white;
        color: black;
    }
}