/* ==========================================================================
   MahaExplore - Global Stylesheet
   Color Palette:
   - Primary Blue: #006699
   - Nature Green: #2E7D32
   - Vibrant Orange: #E65100
   - Dark Text: #212121
   - Light Gray Background: #F5F7FA
   - Pure White: #FFFFFF
   ========================================================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #212121;
    background-color: #F5F7FA;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    color: #006699;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    color: #424242;
}

/* Shared UI Components */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #006699;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #E65100;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #E65100;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #BF3600;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(230, 81, 0, 0.3);
}

.btn-secondary {
    background-color: #006699;
    color: #FFFFFF;
}

.btn-secondary:hover {
    background-color: #004C73;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 102, 153, 0.3);
}

.btn-outline {
    border: 2px solid #006699;
    color: #006699;
    background: transparent;
}

.btn-outline:hover {
    background-color: #006699;
    color: #FFFFFF;
}

/* Header & Navigation */
header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #006699;
}

.logo span {
    color: #E65100;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background-color: #2E7D32;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 600;
    color: #212121;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #E65100;
}

/* Inner Page Banners */
.page-banner {
    background: linear-gradient(rgba(0, 102, 153, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1570168007204-dfb528c6958f?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
}

.page-banner h1 {
    color: #FFFFFF;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-banner p {
    color: #F5F7FA;
    font-size: 1.2rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Standard Card Design */
.card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

/* Home Page - Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('https://images.unsplash.com/photo-1570168007204-dfb528c6958f?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.8rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #FFB74D;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero p {
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-bottom: 2rem;
}

/* Feature Cards (Why Visit) */
.feature-card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border-bottom: 4px solid #2E7D32;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Stats Section */
.stats-section {
    background-color: #006699;
    color: #FFFFFF;
    text-align: center;
}

.stat-box h3 {
    font-size: 2.8rem;
    color: #FFB74D;
    margin-bottom: 0.2rem;
}

.stat-box p {
    color: #FFFFFF;
    font-weight: 600;
}

/* Packages Page Styling */
.badge-popular {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #E65100;
    color: #FFFFFF;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 15px;
    text-transform: uppercase;
}

.package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-info {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
    font-size: 0.9rem;
    font-weight: 600;
}

.package-price {
    font-size: 1.5rem;
    color: #2E7D32;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Gallery Page Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #FFFFFF;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Contact Page Styling */
.contact-wrapper {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.contact-form {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #212121;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #006699;
}

textarea.form-control {
    resize: vertical;
    height: 120px;
}

.contact-info {
    background-color: #006699;
    color: #FFFFFF;
    padding: 2.5rem;
}

.contact-info h3 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h4 {
    color: #FFB74D;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.info-item p {
    color: #FFFFFF;
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #E65100;
}

.map-placeholder {
    height: 300px;
    background-color: #E0E0E0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #616161;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 3rem;
}

/* Footer Architecture */
footer {
    background-color: #1A252C;
    color: #FFFFFF;
    padding-top: 3rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-about p {
    color: #B0BEC5;
    margin-top: 1rem;
}

.footer-links h4 {
    color: #FFFFFF;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #E65100;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #B0BEC5;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFB74D;
}

.copyright {
    background-color: #10171D;
    text-align: center;
    padding: 1.2rem 0;
    color: #90A4AE;
    font-size: 0.9rem;
    border-top: 1px solid #263238;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 3rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .page-banner h1 {
        font-size: 2.2rem;
    }
}