/* ===========================
   AES-CONSULT – STYLE.CSS (BLUE EDITION)
   =========================== */

:root {
    --color-primary: #0066CC;
    --color-primary-dark: #004C99;
    --color-accent: #E60000;

    --color-bg-dark: #0D1B2A;
    --color-bg-dark-alt: #1B263B;

    --color-bg-light: #F0F7FF;
    --color-bg-light-alt: #FFFFFF;

    --color-text-dark: #FFFFFF;
    --color-text-light: #111111;

    --shadow-soft: 0 10px 30px rgba(0,0,0,0.25);
    --transition-fast: 0.2s ease-out;
}

/* GLOBAL */

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--color-bg-dark);
    color: var(--color-text-dark);
    transition: background 0.3s ease, color 0.3s ease;
}

body.theme-light {
    background: var(--color-bg-light);
    color: var(--color-text-light);
}

/* HEADER */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(13, 27, 42, 0.85);
}

body.theme-light .header {
    background: rgba(240, 247, 255, 0.85);
}

/* LOGO CLICKABLE */

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

/* NAVIGATION */

.nav a {
    margin: 0 0.75rem;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
}

.nav a:hover::after {
    width: 100%;
}

.theme-toggle a {
    color: var(--color-primary);
    text-decoration: none;
}

/* HERO */

.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, #0D1B2A 0%, #1B263B 100%);
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #DCE6F2;
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: 1px solid var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-primary {
    background: var(--color-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: inherit;
}

.btn-secondary:hover {
    background: rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

/* SECTIONS */

.section {
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-alt {
    background: rgba(0, 102, 204, 0.05);
}

body.theme-light .section-alt {
    background: var(--color-bg-light-alt);
}

.section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    padding: 1.5rem;
    border-radius: 12px;
    background: #1B263B;
    color: #FFFFFF;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

body.theme-light .card {
    background: #FFFFFF;
    color: #111111;
    border-left: 4px solid var(--color-primary);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* CONTACT FORM */

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

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-row input,
.form-row textarea {
    padding: 0.7rem;
    border-radius: 8px;
    border: 1px solid #2C3E50;
    background: #1B263B;
    color: #FFF;
}

body.theme-light .form-row input,
body.theme-light .form-row textarea {
    background: #FFFFFF;
    color: #111;
    border-color: #CCC;
}

/* FOOTER */

.footer {
    padding: 1.5rem 2rem;
    text-align: center;
    opacity: 0.8;
    color: #DCE6F2;
}

/* ANIMATION */

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

/* RESPONSIVE */

@media (max-width: 768px) {
    .header { flex-wrap: wrap; gap: 0.5rem; }
    .nav { width: 100%; display: flex; justify-content: center; flex-wrap: wrap; }
    .hero h1 { font-size: 2.1rem; }
}
