/* ========================================
 BASE & RESET
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #1D2228;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 0 24px;
}

main.no-padding {
    padding: 0;
}

/* ========================================
TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin: 0;
}

h1 {
    font-size: 56px;
    line-height: 1.05;
}

h2 {
    font-size: 36px;
    line-height: 1.2;
}

h3 {
    font-size: 22px;
    line-height: 1.3;
}

a {
    color: #4177B9;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid #4177B9;
    outline-offset: 2px;
}

/* ========================================
HEADER & NAVIGATION
   ======================================== */

.site-header {
    background-color: #1D2228;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-nav {
    width: 100%;
}

.nav-container {
    width: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.logo {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.logo-image {
    height: 72px;
    width: auto;
    display: block;
}

.logo:hover {
    opacity: 0.8;
}

.logo:focus-visible {
    outline: 2px solid #4177B9;
    outline-offset: 4px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    padding: 8px 0;
}

.nav-link:hover {
    color: #4177B9;
    text-decoration: none;
}

.nav-link:focus-visible {
    outline: 2px solid #4177B9;
    outline-offset: 4px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger:focus-visible {
    outline: 2px solid #4177B9;
    outline-offset: 4px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 64px;
    }

    .logo-image {
        height: 64px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background-color: #1D2228;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        gap: 0;
        transition: left 0.3s ease;
        padding: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 20px 20px;
        font-size: 17px;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* ========================================
BUTTONS
   ======================================== */

.btn-primary {
    background-color: #4177B9;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-height: 44px;
}

.btn-primary:hover {
    background-color: #335E91;
}

.btn-primary:focus-visible {
    outline: 2px solid #4177B9;
    outline-offset: 2px;
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: border-color 0.2s ease;
    min-height: 44px;
}

.btn-secondary:hover {
    border-color: #4177B9;
}

.btn-secondary:focus-visible {
    outline: 2px solid #4177B9;
    outline-offset: 2px;
}

/* ========================================
CARDS
   ======================================== */

.card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px;
    transition: border-color 0.2s ease;
}

.card:hover {
    border-color: #4177B9;
}

/* ========================================
LAYOUT UTILITIES
   ======================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.section {
    padding: 96px 0;
}

@media (max-width: 1024px) {
    .section {
        padding: 72px 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    .section {
        padding: 48px 0;
    }

    main {
        padding: 0 20px;
    }

    main.no-padding {
        padding: 0;
    }
}

/* ========================================
HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('/images/home-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(29, 34, 40, 0.4), rgba(29, 34, 40, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 24px;
    width: 100%;
}

.hero-content h1 {
    margin-bottom: 24px;
}

.hero-content h3 {
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
}

.hero-contact {
    background-image: url('/images/contact-hero.jpg');
}

@media (max-width: 1024px) {
    .hero-section {
        min-height: 500px;
    }

    .hero-content {
        padding: 96px 24px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 450px;
    }

    .hero-content {
        padding: 72px 20px;
    }

    .hero-content h1 {
        margin-bottom: 20px;
    }
}

/* ========================================
FOOTER
   ======================================== */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 24px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer {
        padding: 32px 20px;
    }
}
