* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --accent-color: #8b7355;
    --accent-light: #a68968;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f6f3;
    --white: #ffffff;
    --border-color: #e0ddd9;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    z-index: 1001;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
    padding: 80px 2rem 2rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 2rem;
}

.mobile-menu ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.mobile-menu ul li a:hover {
    color: var(--accent-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.hero {
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(139, 115, 85, 0.75)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%238b7355" width="1200" height="800"/><g opacity="0.3"><rect fill="%23ffffff" x="100" y="150" width="200" height="300"/><rect fill="%23ffffff" x="350" y="200" width="150" height="250"/><rect fill="%23ffffff" x="550" y="180" width="180" height="280"/><rect fill="%23ffffff" x="780" y="160" width="220" height="320"/><circle fill="%23ffffff" cx="600" cy="120" r="60"/></g></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 115, 85, 0.3), transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1.2s ease;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 115, 85, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator::after {
    content: '↓';
    font-size: 2rem;
    color: var(--white);
    opacity: 0.8;
}

.stats-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    animation: fadeInUp 1s ease;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-number {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    color: var(--accent-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-block {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    border-left: 5px solid var(--accent-color);
    transition: all 0.3s ease;
}

.content-block:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.content-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-block p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

.timeline {
    position: relative;
    padding-left: 4rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color), var(--accent-light));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4.5rem;
    top: 0.3rem;
    width: 18px;
    height: 18px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 3px var(--border-color), 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px var(--accent-light), 0 6px 12px rgba(0,0,0,0.15);
}

.timeline-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.timeline-content {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.heritage-card {
    background: linear-gradient(135deg, var(--white), var(--bg-light));
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.heritage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.heritage-card:hover::before {
    transform: scaleX(1);
}

.heritage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.heritage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.heritage-card:hover .heritage-icon {
    transform: rotate(360deg) scale(1.1);
}

.heritage-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.heritage-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.heritage-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.quote-block {
    background: linear-gradient(135deg, var(--bg-light), var(--white));
    padding: 4rem 3rem;
    border-left: 6px solid var(--accent-color);
    margin: 4rem 0;
    font-style: italic;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    position: relative;
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    opacity: 0.2;
}

.quote-block p {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.footer {
    background: linear-gradient(135deg, var(--primary-color), #1a2634);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        height: 80vh;
        min-height: 500px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .stats-container {
        gap: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .content-block {
        padding: 2.5rem 2rem;
    }

    .timeline {
        padding-left: 3rem;
    }

    .heritage-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quote-block {
        padding: 3rem 2rem;
    }

    .quote-block p {
        font-size: 1.3rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-label {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .content-block {
        padding: 2rem 1.5rem;
    }

    .content-block h3 {
        font-size: 1.5rem;
    }

    .timeline {
        padding-left: 2.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .quote-block {
        padding: 2.5rem 1.5rem;
    }

    .quote-block p {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .container {
        padding: 3rem 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}