/* Kerala Travel Packages - Batch 6 CSS Framework */
/* Mobile-first responsive design with Kerala tourism theme */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

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

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* Kerala Color Palette */
:root {
    --kerala-green: #2E7D32;
    --kerala-gold: #FFC107;
    --kerala-blue: #1976D2;
    --kerala-orange: #FF6F00;
    --kerala-red: #D32F2F;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--kerala-green), var(--kerala-blue));
    color: white;
    padding: 1rem 0;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.header-contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-contact a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.header-contact a:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
}

/* Navigation */
.nav {
    background: rgba(46, 125, 50, 0.9);
    padding: 0.5rem 0;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(46, 125, 50, 0.7), rgba(25, 118, 210, 0.7)),
                url('https://images.unsplash.com/photo-1602216056096-3b40cc0c9944?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover;
    color: white;
    padding: 4rem 0;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

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

.btn-primary {
    background: linear-gradient(45deg, var(--kerala-gold), var(--kerala-orange));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

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

.btn-secondary {
    background: linear-gradient(45deg, var(--kerala-green), var(--kerala-blue));
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

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

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

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

.section-alt {
    background: white;
}

.section-title {
    font-size: 2rem;
    color: var(--kerala-green);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

.col-1, .col-2, .col-3, .col-4, .col-6, .col-8, .col-9, .col-12 {
    padding: 0 15px;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
    padding: 1.5rem;
    background: linear-gradient(45deg, var(--kerala-green), var(--kerala-blue));
    color: white;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--kerala-green);
}

.card-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* Destination Cards */
.destination-card {
    text-align: center;
    padding: 1.5rem;
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.destination-card h3 {
    color: var(--kerala-green);
    margin-bottom: 0.5rem;
}

/* Package Cards */
.package-card {
    border-left: 4px solid var(--kerala-gold);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.package-title {
    color: var(--kerala-green);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.package-price {
    color: var(--kerala-orange);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.package-features {
    list-style: none;
}

.package-features li {
    padding: 0.25rem 0;
    color: var(--text-light);
}

.package-features li::before {
    content: "✓ ";
    color: var(--kerala-green);
    font-weight: bold;
}

/* FAQ Section */
.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-question {
    background: linear-gradient(45deg, var(--kerala-green), var(--kerala-blue));
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
}

.faq-answer {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Cards */
.contact-info {
    background: linear-gradient(135deg, var(--kerala-green), var(--kerala-blue));
    color: white;
    padding: 2rem 0;
}

.office-card {
    background: white;
    color: var(--text-dark);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.office-phone, .office-email {
    display: inline-block;
    color: var(--kerala-blue);
    text-decoration: none;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.office-phone:hover, .office-email:hover {
    color: var(--kerala-green);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--kerala-gold);
}

.copyright {
    border-top: 1px solid #555;
    padding-top: 1rem;
    margin-top: 1rem;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--kerala-orange), var(--kerala-red));
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .col-3, .col-4, .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .header-content {
        text-align: center;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: 400px;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .card-body, .office-card {
        padding: 1rem;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .header, .nav, .cta-section, .footer {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
        padding: 1rem 0;
    }
    
    .section {
        padding: 1rem 0;
    }
}