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

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #2c5f2d, #4a7c59);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #ffd700;
    border-bottom: 2px solid #ffd700;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('gulmarg-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

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

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #2c5f2d;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Main Content */
.main-content {
    margin-top: 70px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: #f8f9fa;
}

.section:nth-child(odd) {
    background-color: white;
}

.section h2 {
    font-size: 2.5rem;
    color: #2c5f2d;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 2px;
}

.section h3 {
    color: #2c5f2d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.section p {
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.8;
}

.section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.section li {
    margin-bottom: 0.5rem;
}

/* Content Grids - 2x2 Layout */
.content-grid, .geography-grid, .history-grid, .politics-content, .economy-grid, .culture-content, .tourism-grid, .challenges-content, .future-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

/* Ensure responsive behavior for smaller screens */
@media (max-width: 768px) {
    .content-grid, .geography-grid, .history-grid, .politics-content, .economy-grid, .culture-content, .tourism-grid, .challenges-content, .future-content {
        grid-template-columns: 1fr;
    }
}

.geo-item, .history-item, .economy-item, .tourism-item, .politics-item, .culture-item, .challenge-item, .future-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #2c5f2d;
    position: relative;
    overflow: hidden;
}

.geo-item::before, .history-item::before, .economy-item::before, .tourism-item::before, .politics-item::before, .culture-item::before, .challenge-item::before, .future-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2c5f2d, #ffd700);
}

.section:nth-child(even) .geo-item,
.section:nth-child(even) .history-item,
.section:nth-child(even) .economy-item,
.section:nth-child(even) .tourism-item,
.section:nth-child(even) .politics-item,
.section:nth-child(even) .culture-item,
.section:nth-child(even) .challenge-item,
.section:nth-child(even) .future-item {
    background: #f8f9fa;
}

.geo-item:hover, .history-item:hover, .economy-item:hover, .tourism-item:hover, .politics-item:hover, .culture-item:hover, .challenge-item:hover, .future-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2c5f2d, #ffd700);
    border-radius: 2px;
}

.timeline-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: scale(1.02);
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    margin-right: 50%;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    margin-right: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 15px;
    height: 15px;
    background: #ffd700;
    border: 3px solid #2c5f2d;
    border-radius: 50%;
}

.timeline-item:nth-child(odd)::before {
    right: -35px;
}

.timeline-item:nth-child(even)::before {
    left: -35px;
}

/* Seasons Grid - 2x2 Layout */
.seasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    align-items: start;
}

.season-item {
    background: linear-gradient(135deg, #2c5f2d, #4a7c59);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.season-item:hover {
    transform: translateY(-10px);
}

.season-item h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Monthly Guide */
.monthly-guide {
    margin-top: 3rem;
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: start;
}

.month-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.month-item:hover {
    transform: translateX(5px);
}

.month-item h4 {
    color: #2c5f2d;
    margin-bottom: 0.5rem;
}

/* Conclusion */
.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
}

.conclusion-text {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c5f2d, #4a7c59);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer p {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #2c5f2d, #4a7c59);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        margin-left: 50px !important;
        margin-right: 0 !important;
    }
    
    .timeline-item::before {
        left: -35px !important;
    }
    
    .seasons-grid {
        grid-template-columns: 1fr;
    }
    
    .months-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .geo-item, .economy-item, .tourism-item, .politics-item, .culture-item, .challenge-item, .future-item {
        padding: 1.5rem;
    }
    
    .timeline-item {
        padding: 1.5rem;
    }
    
    .season-item {
        padding: 1.5rem;
    }
    
    .conclusion-text {
        padding: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .hero-btn, .nav-toggle {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
    
    .main-content {
        margin-top: 0;
    }
}