/* VARIABLES - Design System */
:root {
    --color-navy: #0A192F;
    --color-navy-light: #112240;
    --color-steel: #8892B0;
    --color-gold: #D4AF37;
    --color-teal: #008080;
    --color-white: #F8F9FA;
    --color-black: #020C1B;
    --color-bg-light: #F0F4F8;
    
    --font-main: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    --shadow-light: 0 4px 20px rgba(0,0,0,0.05);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-white);
    color: var(--color-navy);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

p {
    color: var(--color-steel);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* UTILITIES */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.py-large { padding: 6rem 0; }
.mt-large { margin-top: 4rem; }
.mt-small { margin-top: 1rem; }
.mb-medium { margin-bottom: 2rem; }
.max-w { max-width: 800px; margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.bg-light { background-color: var(--color-bg-light); }
.bg-dark { background-color: var(--color-navy-light); color: var(--color-white); }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media(min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
}
.gap-large { gap: 4rem; }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.bg-dark .section-title { color: var(--color-white); }

.section-kicker {
    color: var(--color-gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.shadow-lg { box-shadow: var(--shadow-soft); }
.rounded { border-radius: 4px; }

/* BUTTONS */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-navy);
}
.btn-primary:hover {
    background-color: #e5bf42;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}
.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.btn-primary-outline {
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.5rem 1.5rem;
}
.btn-primary-outline:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--color-navy);
    font-weight: 600;
    margin-top: 1rem;
}
.link-arrow i { margin-left: 0.5rem; transition: var(--transition); width: 18px;}
.link-arrow:hover i { transform: translateX(5px); color: var(--color-gold); }

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}
.logo span {
    color: var(--color-gold);
    font-weight: 300;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}
@media(min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-links a:not(.btn-primary-outline) {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}
.nav-links a:not(.btn-primary-outline)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition);
}
.nav-links a:not(.btn-primary-outline):hover::after { width: 100%; }

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
}
@media(min-width: 768px) {
    .mobile-menu-btn { display: none; }
}

.mobile-nav {
    display: none;
    background-color: var(--color-navy);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}
.mobile-nav.active { display: flex; }
.mobile-nav .mobile-link { color: var(--color-white); padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1);}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05); /* Slight scale for parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 12, 27, 0.9) 0%, rgba(2, 12, 27, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
@media(min-width: 768px) {
    .hero-title { font-size: 5rem; }
}

.accent-text { color: var(--color-gold); font-weight: 300; }

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

.hero-pillars {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
}
.pillar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
}
.pillar i { color: var(--color-gold); width: 20px;}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* ABOUT SECTION */
.about-section .about-text p { font-size: 1.1rem; }
.about-image { position: relative; }
.about-image::before {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--color-gold);
    z-index: -1;
}

/* SERVICES */
.services-section {
    position: relative;
    z-index: 1;
}
.services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/services-bg.png') center/cover no-repeat;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media(min-width: 768px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-top: 3px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
    border-top-color: var(--color-gold);
}
.service-card .icon-box {
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 128, 128, 0.1);
    border-radius: 50%;
    color: var(--color-teal);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.service-card p { font-size: 0.95rem; margin: 0; }

/* PARALLAX BANNER */
.parallax-banner {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
    color: var(--color-white);
}
.parallax-banner .banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(10, 25, 47, 0.85);
}
.parallax-banner h2 { font-size: 2.5rem; color: var(--color-white); }
@media(min-width: 768px) { .parallax-banner h2 { font-size: 3.5rem; } }

/* WHY ATLAS */
.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.feature-icon {
    flex-shrink: 0;
    color: var(--color-teal);
    background: var(--color-bg-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-content h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-content p { font-size: 0.95rem; }

/* CONTACT */
.contact-section {
    position: relative;
    z-index: 1;
}
.contact-section::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: url('assets/about-bg.png') center/cover no-repeat;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%);
    mask-image: linear-gradient(to right, transparent 0%, black 20%);
}
@media(max-width: 768px) {
    .contact-section::after {
        width: 100%;
        opacity: 0.15;
        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 40%);
        mask-image: linear-gradient(to top, transparent 0%, black 40%);
    }
}
.bg-dark p.mb-medium { color: var(--color-steel); }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item i { color: var(--color-gold); margin-top: 5px;}
.contact-item h5 { color: var(--color-white); margin-bottom: 0.2rem; font-size: 1.1rem;}
.contact-item p { color: var(--color-steel); font-size: 0.9rem;}
.contact-item a { color: var(--color-gold); }

.contact-form {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(2, 12, 27, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-white);
    border-radius: 2px;
    font-family: inherit;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(2, 12, 27, 0.9);
}

/* FOOTER */
.footer {
    background-color: var(--color-black);
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-brand h3 { color: var(--color-white); margin-bottom: 0.2rem; font-size: 1.2rem; }
.footer-brand p { color: var(--color-steel); font-size: 0.85rem; margin: 0;}
.footer-links { text-align: right; color: var(--color-steel); font-size: 0.85rem; }

/* ANIMATIONS & INTERACTIONS */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}
.scroll-reveal.right {
    transform: translateX(30px);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.reveal-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
