/* ========================================
   REDESIGNED HOMEPAGE CSS FOR ASSAMINFO.COM
   ======================================== */

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #007BFF;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 60vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-bottom: -5rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 1rem;
    width: 100%;
}

.hero-text {
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-line-1 { 
    display: block; 
    font-size: 0.4em; 
    opacity: 1; 
    margin-bottom: 0.5rem;
    color: #FFD700;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.hero-line-2 { 
    display: block; 
    font-size: 1em; 
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8); 
    margin-bottom: 0.5rem;
    color: #FFFFFF;
    font-weight: 800;
    letter-spacing: 2px;
}
.hero-line-3 { 
    display: block; 
    font-size: 0.3em; 
    opacity: 1; 
    color: #FFA500;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 0.5rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease 2s both;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin: 0 auto;
    animation: bounce 2s infinite;
}

/* Quick Facts Section */
.quick-facts-section {
    padding: 0.5rem 0;
    background: #f8f9fa;
    margin-top: -6rem;
}

.quick-facts-section .section-header {
    text-align: center !important;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    width: 100%;
}

.quick-facts-section .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center !important;
}

.quick-facts-section .section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    text-align: center !important;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.fact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.fact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.fact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.fact-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.fact-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Main Layout */
.layout {
    display: grid;
    grid-template-columns: 280px 1fr 250px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    align-items: start;
}

/* Sidebar Styles */
.sidebar {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.sidebar-content {
    padding: 0;
}

.sidebar-header {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    border-bottom: 3px solid #FFD700;
}

.sidebar-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.sidebar-header p {
    margin: 0;
    opacity: 1;
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.districts-grid {
    padding: 1rem;
}

.district-item {
    margin-bottom: 0.5rem;
}

.district-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.district-link:hover {
    background: #f8f9fa;
    color: #007BFF;
    transform: translateX(5px);
}

.district-arrow {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.district-link:hover .district-arrow {
    opacity: 1;
}

.quick-links {
    padding: 1rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.quick-link:hover {
    background: #f8f9fa;
    color: #007BFF;
    transform: translateX(5px);
}

.link-icon {
    font-size: 1.25rem;
}

/* Main Content */
.main-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    min-height: 500px;
}

/* About Section */
.about-section {
    padding: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.feature-icon {
    font-size: 2rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 50%;
    min-width: 60px;
    text-align: center;
}

.feature-content h4 {
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.feature-content p {
    color: #7f8c8d;
    margin: 0;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Gallery Sections */
.gallery-section {
    padding: 3rem;
    border-top: 1px solid #e9ecef;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.destination-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.destination-image {
    position: relative;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-content {
    padding: 1.5rem;
}

.destination-content h3 {
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.destination-content p {
    color: #7f8c8d;
    margin: 0 0 1rem 0;
}

/* Info Section */
.info-section {
    padding: 3rem;
    border-top: 1px solid #e9ecef;
}

.info-tabs {
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #7f8c8d;
}

.tab-btn.active {
    background: #007BFF;
    color: white;
}

.tab-btn:hover:not(.active) {
    background: #e9ecef;
}

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #007BFF;
}

.info-item h4 {
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.info-item a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
}

.info-item a:hover {
    text-decoration: underline;
}

.info-item span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #007BFF;
    color: white;
    border-color: #007BFF;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #007BFF;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #007BFF;
    border-color: #007BFF;
    padding: 0.5rem 1rem;
}

.btn-outline:hover {
    background: #007BFF;
    color: white;
}

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

/* Utility Classes */
.responsive-image {
    max-width: 100%;
    height: auto;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus, .tab-btn:focus, .district-link:focus, .quick-link:focus {
    outline: 2px solid #007BFF;
    outline-offset: 2px;
}

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

.fact-card, .destination-card, .info-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .layout {
        grid-template-columns: 250px 1fr 200px;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-line-2 {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sidebar {
        position: static;
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .destinations-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-line-2 {
        font-size: 3.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-line-2 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .facts-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .about-section, .gallery-section, .info-section {
        padding: 2rem 1.5rem;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-line-2 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section, .gallery-section, .info-section {
        padding: 1.5rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Cultural Highlights Grid - Single Item Display */
.cultural-highlights .destinations-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 1rem 0;
    padding: 1rem 0;
}

.cultural-highlights .destination-card {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cultural-highlights .destination-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* Responsive breakpoints for Cultural Highlights */
@media (max-width: 1200px) {
    .cultural-highlights .destinations-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
    
    .cultural-highlights .destination-image img {
        height: 100px;
    }
}

@media (max-width: 992px) {
    .cultural-highlights .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .cultural-highlights .destination-image img {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .cultural-highlights .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .cultural-highlights .destination-image img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .cultural-highlights .destinations-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cultural-highlights .destination-image img {
        height: 150px;
    }
    
    .cultural-highlights .destination-card {
        min-height: 180px;
    }
}
