/* ===== CSS Variables & System Architecture ===== */
:root {
    --primary-color: #1a2a3a;
    --accent-color: #e67e22;
    --accent-hover: #d35400;
    --bg-color: #ffffff;
    --text-primary: #2d3748;
    --text-muted: #5a6a85;
    --surface-light: #f7fafc;
    --border-color: #e2e8f0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ===== Reset & Native Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== Elegant Sticky Navigation ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== UI Component Buttons ===== */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

/* ===== Structural Layout ===== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.hero-intro {
    margin-bottom: 3rem;
    max-width: 800px;
}

.hero-intro h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-intro p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ===== Accordion Services List ===== */
.services-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.services-list {
    list-style: none;
}

.services-list li {
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--surface-light);
    transition: var(--transition-smooth);
}

.services-list li:hover {
    border-color: #cbd5e0;
    background-color: #fff;
}

.service-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-toggle .arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

/* Smooth Accordion Height Logic */
.service-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 1.25rem;
    background-color: #ffffff;
}

.service-detail p {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-bottom: 1rem;
}

/* Active State Styles */
.services-list li.active {
    border-left: 4px solid var(--accent-color);
    background-color: #ffffff;
}

.services-list li.active .arrow {
    transform: rotate(180deg);
}

.services-list li.active .service-detail {
    max-height: 200px; /* Arbitrary limit allowing smooth expansion transition */
}

/* ===== High Performance Pure CSS Parallax Engine ===== */
.visual-section {
    position: sticky;
    top: 140px; /* Aligns comfortably with sticky header */
}

.parallax-window {
    width: 100%;
    height: 500px;
    background-image: url('logo.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Native device hardware acceleration */
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

/* ===== Modern Footer Matrix ===== */
footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 4rem 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-content > p {
    color: #a0aec0;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

a.contact-item:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.copyright {
    font-size: 0.85rem;
    color: #718096;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

/* ===== Fluid Responsiveness Layer ===== */
@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-intro h2 {
        font-size: 1.8rem;
    }

    /* Fallback layout design pattern for mobile viewport environments */
    .parallax-window {
        height: 300px;
        background-attachment: scroll; /* Disabled on mobile to prevent paint clipping */
    }

    .contact-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}