/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(rgba(61, 64, 91, 0.7), rgba(61, 64, 91, 0.5)), url('../images/hero1-modern-office-technology_orig.jpg') center/cover;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

/* Archive Overview Section */
.archive-overview {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text h2 {
    color: var(--primary);
    margin-bottom: 2rem;
}

.overview-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-elevated);
}

/* Pillars Section */
.pillars-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(129, 178, 154, 0.1);
    border-radius: 50%;
}

.pillar-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--accent);
}

.pillar-title {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.pillar-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Latest Research Section */
.latest-research {
    padding: 6rem 0;
    background: linear-gradient(rgba(61, 64, 91, 0.9), rgba(61, 64, 91, 0.8)), url('../images/section3-data-center-server_orig.jpg') center/cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.latest-research h2 {
    color: white;
    margin-bottom: 2rem;
}

.research-highlight {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Page Header Styles */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(rgba(61, 64, 91, 0.8), rgba(61, 64, 91, 0.6)), url('../images/banner4-modern-office-technology_orig.jpg') center/cover;
    color: white;
    text-align: center;
    margin-top: 80px;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Classification Section */
.classification-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.classification-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.classification-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.classification-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.classification-content h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Astronomy Interactive Section */
.astronomy-interactive {
    padding: 6rem 0;
    background: var(--bg-primary);
    text-align: center;
}

.solstice-simulator {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-subtle);
    margin-top: 3rem;
    border: 1px solid var(--border-color);
}

.simulator-diagram {
    width: 100%;
    max-width: 600px;
    height: 300px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
}

/* Engineering Techniques Section */
.techniques-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.techniques-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.technique-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

/* Artifacts Section */
.artifacts-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.artifact-rotator {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    margin-top: 3rem;
    border: 1px solid var(--border-color);
}

.rotator-viewer {
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.rotator-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Research Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.chronology-slider {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-subtle);
    margin-top: 3rem;
    border: 1px solid var(--border-color);
}

.timeline-slider {
    width: 100%;
    margin: 2rem 0;
    position: relative;
}

.timeline-content {
    margin-top: 2rem;
    text-align: center;
}

/* Gallery Styles */
.gallery-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 1;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact Form Section */
.contact-form-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-card {
    text-align: center;
    padding: 2rem;
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(129, 178, 154, 0.1);
    border-radius: 50%;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--accent);
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.team-member-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
}

.member-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.member-info {
    padding: 2rem;
}

.member-name {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.member-title {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Breadcrumb Area */
.breadcrumb-area {
    padding: 1rem 0;
    background: rgba(244, 241, 222, 0.5);
    border-bottom: 1px solid var(--border-color);
    margin-top: 80px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.breadcrumb-nav a {
    color: var(--accent);
}

.breadcrumb-nav span {
    color: var(--text-secondary);
}

/* Decorative Elements */
.stone-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(129, 178, 154, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(224, 122, 95, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    pointer-events: none;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .overview-content,
    .techniques-grid,
    .classification-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .classification-item {
        flex-direction: column;
    }
    
    .classification-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .pillars-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}