/* ===========================
   RESET & BASE STYLES
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0E1019 0%, #1A1C2E 50%, #0E1019 100%);
    color: #C8C2B8;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(14, 16, 25, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(196, 168, 130, 0.1);
    padding: 1.5rem 2rem;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Bungee', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: #C4A882;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(123, 156, 196, 0.2);
}

.nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #C8C2B8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #C4A882, #7B9CC4);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #C4A882;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===========================
   SECTIONS & DIAGONAL CUTS
   =========================== */

section {
    position: relative;
    padding: 120px 2rem;
    margin-top: 80px;
}

section:first-of-type {
    margin-top: 0;
    padding-top: 200px;
}

.diagonal-section {
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
}

.diagonal-section:nth-child(even) {
    clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 97%);
}

section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(123, 156, 196, 0.03), transparent);
    pointer-events: none;
}

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

.section-title {
    font-family: 'Bungee', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.03em;
    color: #C4A882;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(196, 168, 130, 0.15);
}

.section-description {
    font-size: 1.1rem;
    color: #B8B2A8;
    font-weight: 400;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    text-align: center;
    padding-bottom: 150px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(123, 156, 196, 0.08), transparent);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title {
    font-family: 'Bungee', sans-serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #C4A882;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 0 40px rgba(196, 168, 130, 0.2);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: #E0DAD0;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.meta-item {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    color: #7B9CC4;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(196, 168, 130, 0.2);
    border-radius: 4px;
    background: rgba(123, 156, 196, 0.04);
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(196, 168, 130, 0.08);
    border-color: rgba(196, 168, 130, 0.4);
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: rgba(224, 218, 208, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(196, 168, 130, 0.15);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(123, 156, 196, 0.05), transparent);
    pointer-events: none;
}

.service-card:hover {
    background: rgba(224, 218, 208, 0.04);
    border-color: rgba(196, 168, 130, 0.3);
    transform: translateY(-8px);
}

.card-visual {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schematic {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(123, 156, 196, 0.1));
    animation: rotateSchematic 20s linear infinite;
}

.service-card:nth-child(even) .schematic {
    animation: rotateSchematic 25s linear infinite reverse;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #E0DAD0;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 15px rgba(224, 218, 208, 0.1);
}

.card-description {
    font-size: 0.95rem;
    color: #B8B2A8;
    line-height: 1.7;
    text-align: center;
}

/* ===========================
   PROCESS SECTION / TIMELINE
   =========================== */

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(196, 168, 130, 0.3), transparent);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) > * {
    direction: ltr;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #C4A882, #7B9CC4);
    border: 2px solid rgba(14, 16, 25, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bungee', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #0E1019;
    z-index: 10;
    box-shadow: 0 0 20px rgba(196, 168, 130, 0.2);
}

.timeline-content {
    background: rgba(224, 218, 208, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(196, 168, 130, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(224, 218, 208, 0.04);
    border-color: rgba(196, 168, 130, 0.3);
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #C8C2B8;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #B8B2A8;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ===========================
   FIELD REPORTS SECTION
   =========================== */

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.report-card {
    background: rgba(224, 218, 208, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(196, 168, 130, 0.15);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.report-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(123, 156, 196, 0.05), transparent);
    pointer-events: none;
}

.report-card:hover {
    background: rgba(224, 218, 208, 0.04);
    border-color: rgba(196, 168, 130, 0.3);
    transform: translateY(-6px);
}

.report-date {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: #7B9CC4;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.report-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #E0DAD0;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: 0 0 15px rgba(224, 218, 208, 0.1);
}

.report-excerpt {
    font-size: 0.95rem;
    color: #B8B2A8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.meta-tag {
    font-size: 0.8rem;
    color: #C4A882;
    background: rgba(196, 168, 130, 0.1);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    border: 1px solid rgba(196, 168, 130, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.meta-tag:hover {
    background: rgba(196, 168, 130, 0.2);
    border-color: rgba(196, 168, 130, 0.4);
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-block {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(196, 168, 130, 0.15);
    transition: all 0.3s ease;
}

.info-block:last-child {
    border-bottom: none;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #C4A882;
    margin-bottom: 0.75rem;
}

.info-text {
    font-size: 0.95rem;
    color: #8A8478;
    line-height: 1.8;
    font-family: 'Space Mono', monospace;
}

.contact-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-schematic {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 0 20px rgba(123, 156, 196, 0.15));
    animation: pulseSchematic 6s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-schematic {
        max-width: 300px;
    }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: rgba(14, 16, 25, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(196, 168, 130, 0.1);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
    color: #8A8478;
    font-family: 'Space Mono', monospace;
    line-height: 1.8;
}

/* ===========================
   ANIMATIONS
   =========================== */

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

@keyframes rotateSchematic {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseSchematic {
    0%, 100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 20px rgba(123, 156, 196, 0.15));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 30px rgba(123, 156, 196, 0.25));
    }
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */

.service-card,
.report-card,
.timeline-content {
    animation: fadeInUp 0.8s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.15s; }
.service-card:nth-child(5) { animation-delay: 0.25s; }
.service-card:nth-child(6) { animation-delay: 0.35s; }

.report-card:nth-child(1) { animation-delay: 0.1s; }
.report-card:nth-child(2) { animation-delay: 0.2s; }
.report-card:nth-child(3) { animation-delay: 0.3s; }
.report-card:nth-child(4) { animation-delay: 0.15s; }
.report-card:nth-child(5) { animation-delay: 0.25s; }
.report-card:nth-child(6) { animation-delay: 0.35s; }

.timeline-item:nth-child(1) .timeline-content { animation-delay: 0.1s; }
.timeline-item:nth-child(2) .timeline-content { animation-delay: 0.2s; }
.timeline-item:nth-child(3) .timeline-content { animation-delay: 0.3s; }
.timeline-item:nth-child(4) .timeline-content { animation-delay: 0.4s; }
.timeline-item:nth-child(5) .timeline-content { animation-delay: 0.5s; }
.timeline-item:nth-child(6) .timeline-content { animation-delay: 0.6s; }

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    section {
        padding: 60px 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .hero {
        min-height: 80vh;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-meta {
        gap: 1rem;
        flex-direction: column;
    }

    .meta-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .nav {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    section {
        padding: 40px 1rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card,
    .report-card {
        padding: 1.5rem;
    }
}
