* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: hsl(40, 8%, 97%);
    --bg-secondary: hsl(40, 8%, 95%);
    --text-primary: hsl(30, 12%, 12%);
    --text-secondary: hsl(30, 10%, 35%);
    --text-tertiary: hsl(30, 10%, 50%);
    --primary: hsl(28, 75%, 42%);
    --primary-hover: hsl(28, 75%, 38%);
    --primary-light: hsl(28, 75%, 98%);
    --border: hsl(40, 6%, 88%);
    --card-bg: hsl(40, 8%, 95%);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    background: rgba(250, 246, 243, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.logo:hover {
    background: rgba(0, 0, 0, 0.03);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links button {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    opacity: 0.8;
}

.nav-links button:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.03);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu button {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s;
}

.mobile-menu button:hover {
    background: rgba(0, 0, 0, 0.03);
}

/* Buttons */
.btn {
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.03);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('attached_assets/generated_images/Hero_excavation_site_sunset_ba5bc01e.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    text-align: center;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    animation: bounce 2s infinite;
}

.chevron {
    font-size: 2rem;
}

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

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

.section-alt {
    background: var(--bg-secondary);
}

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

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 0 auto;
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}

.col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.col p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.rounded-img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

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

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

.card-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.card h3, .card h4 {
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.card .btn {
    width: 100%;
    margin-top: auto;
}

/* Sites */
.sites-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.site-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.site-item img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.site-card {
    display: flex;
    flex-direction: column;
}

.site-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.site-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.site-period {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Team */
.team-section {
    margin-top: 4rem;
}

.team-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.team-card {
    text-align: center;
}

.avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.team-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.team-card p {
    font-size: 0.875rem;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

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

.footer-col h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
}

.social-links button:hover {
    background: rgba(0, 0, 0, 0.03);
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    margin-left: -0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.footer-col ul button:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.footer-col form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col input {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background: white;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive */
@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section {
        padding: 6rem 0;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .two-col {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-item {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .site-item-reverse {
        direction: rtl;
    }

    .site-item-reverse > * {
        direction: ltr;
    }

    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
