/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #ffffff;
}

/* Design System */
:root {
    --forest-green: #10B981;
    --forest-dark: #059669;
    --gold: #FDE68A;
    --gold-dark: #F59E0B;
    --background: #ffffff;
    --foreground: #334155;
    --muted: #F8FAFC;
    --muted-foreground: #64748B;
    --border: #E2E8F0;
    --shadow-soft: 0 4px 20px -2px rgba(51, 65, 85, 0.1);
    --shadow-elegant: 0 20px 40px -15px rgba(16, 185, 129, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --hero-gradient: linear-gradient(135deg, #10B981, #059669);
    --accent-gradient: linear-gradient(135deg, #FDE68A, #F59E0B);
}

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

.text-forest {
    color: var(--forest-green);
}

.text-gold {
    color: var(--gold-dark);
}

.bg-muted {
    background-color: var(--muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.btn-primary {
    background: var(--hero-gradient);
    color: white;
    box-shadow: var(--shadow-elegant);
}

.btn-primary:hover {
    background: var(--forest-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--hero-gradient);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.brand-text h1 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1;
}

.brand-text p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1;
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--forest-green);
    background: var(--muted);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background: var(--foreground);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-top: 4rem;
}

.hero-left {
    color: white;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-item svg {
    color: var(--gold);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
}

.hero-right {
    justify-self: end;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-elegant);
    border: 0;
    max-width: 400px;
}

.hero-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.highlight-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    padding-left: 1rem;
    border-left: 4px solid;
}

.forest-border {
    border-color: var(--forest-green);
}

.gold-border {
    border-color: var(--gold-dark);
}

.highlight-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.highlight-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-4px);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    transition: var(--transition-smooth);
}

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

.card-icon.forest {
    background: var(--forest-green);
}

.card-icon.gold {
    background: var(--gold-dark);
}

.card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.card-value,
.card-static-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.card-description {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

/* Section Content */
.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-elegant);
    border: 0;
}

.content-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--muted);
    border-radius: 0.5rem;
}

.ranking-level {
    font-weight: 600;
    color: var(--foreground);
}

.ranking-total {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.ranking-position {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-green);
}

.content-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.content-text p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.info-box {
    background: rgba(253, 230, 138, 0.2);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--gold-dark);
}

.info-box p {
    color: var(--foreground);
    font-weight: 500;
    margin: 0;
}

/* Map Container */
.map-container {
    margin-top: 4rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
    border: 1px solid var(--border);
}

#map {
    height: 500px;
    width: 100%;
    z-index: 1;
}

/* Gallery Section */
.gallery-container {
    margin-top: 4rem;
    margin-bottom: 4rem;
    text-align: center;
}

.gallery-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2rem;
}

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

.photo-item {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    cursor: pointer;
    height: 200px; /* Fixed height for uniformity */
}

.photo-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-elegant);
    z-index: 2;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.95);
    transition: opacity 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px;
    animation-name: zoom;
    animation-duration: 0.4s;
}

@keyframes zoom {
    from {transform:scale(0.8); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 50px;
    font-size: 1rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
}

.prev-modal, .next-modal {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.4s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next-modal {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-modal {
    left: 0;
}

.prev-modal:hover, .next-modal:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Footer */
.footer {
    background: var(--foreground);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo p {
    color: var(--muted-foreground);
}

.footer-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    max-width: 400px;
    line-height: 1.7;
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: white;
}

.footer-info h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-item svg {
    color: var(--forest-green);
    margin-top: 0.125rem;
}

.info-item p {
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.info-item span {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 2rem;
}

.footer-bottom-left p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-update {
    font-size: 0.75rem !important;
    margin-top: 0.25rem;
}

.footer-bottom-right {
    text-align: right;
}

.footer-bottom-right p {
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-term {
    font-size: 0.75rem !important;
    color: var(--muted-foreground) !important;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-right {
        justify-self: center;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        border-top: 1px solid var(--border);
        padding: 1rem;
        gap: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.125rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-right {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-card {
        padding: 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .content-card {
        padding: 1.5rem;
    }
}