/* ===== ALDEBARAN SOFT - GLOBAL THEME ===== */

:root {
    --bg-color: #0a0f15;
    --surface-color: #0d1420;
    --surface-hover: #101a28;
    --accent-color: #cc3333;
    --text-main: #b8b8b8;
    --text-muted: #7d7d7d;
    --nav-height: 65px;
    --border-color: rgba(255, 255, 255, 0.03);
    --transition: 0.3s;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--accent-color); text-decoration: none; }
a:hover { opacity: 0.8; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .logo img {
    height: 50px;
    transition: transform var(--transition);
}

.navbar .logo img:hover {
    transform: scale(1.05);
}

.navbar .nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.navbar .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}

.navbar .nav-links a:hover {
    color: var(--accent-color);
}

.navbar .menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-main);
    background: none;
    border: none;
    padding: 5px;
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #080c12;
    list-style: none;
    padding: 12px 0;
    min-width: 220px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all var(--transition) ease;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-muted);
    font-size: 13px;
    transition: all var(--transition);
}

.dropdown-menu li a:hover {
    color: var(--accent-color);
    background: rgba(204, 51, 51, 0.05);
    padding-left: 24px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(13, 20, 32, 0.85) 0%, rgba(10, 15, 21, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-logo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.12;
    user-select: none;
}

.hero-logo-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(204, 51, 51, 0.3));
    -webkit-user-drag: none;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.logic-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 25px;
    padding: 8px 16px;
    border: 1px solid rgba(204, 51, 51, 0.2);
    border-radius: 4px;
    background: transparent;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 56px);
    color: var(--accent-color);
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(16px, 2.5vw, 18px);
    opacity: 0.75;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 50px;
    text-align: center;
    font-weight: 300;
    letter-spacing: -0.5px;
}

/* ===== GRIDS ===== */
.grid-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.grid-sub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* ===== CARDS ===== */
.card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(204, 51, 51, 0.2);
    background: var(--surface-hover);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.card.big {
    padding: 40px;
}

.card h3 {
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.card p {
    font-size: 14px;
    opacity: 0.75;
    line-height: 1.8;
}

.card-image {
    height: 126px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.card-image img {
    max-height: 108px;
    max-width: 80px;
    opacity: 0.2;
    transition: opacity var(--transition);
}

.card:hover .card-image img {
    opacity: 0.4;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 60px 20px;
    opacity: 0.4;
    font-size: 13px;
    letter-spacing: 2px;
    border-top: 1px solid var(--border-color);
}

/* ===== CONTACT FORM ===== */
#contactForm {
    max-width: 500px;
    margin: 0 auto;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 12px;
    background: var(--surface-color);
    border: 1px solid rgba(204, 51, 51, 0.15);
    border-radius: 6px;
    color: var(--text-main);
    font-family: Inter, sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(13, 20, 32, 0.8);
    box-shadow: 0 0 8px rgba(204, 51, 51, 0.2);
}

#contactForm textarea {
    resize: vertical;
    min-height: 120px;
}

#contactForm button {
    padding: 12px 24px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-family: Inter, sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

#contactForm button:hover {
    background: #e63c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 51, 51, 0.3);
}

#contactForm button:active {
    transform: translateY(0);
}

/* ===== FORM LABELS ===== */
#contactForm label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
}

/* ===== FORM GROUPS ===== */
#contactForm > div {
    margin-bottom: 18px;
}

/* ===== SUCCESS/ERROR MESSAGES ===== */
.form-message {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.form-message.error {
    background: rgba(204, 51, 51, 0.1);
    border: 1px solid rgba(204, 51, 51, 0.3);
    color: #cc3333;
}
@media (max-width: 768px) {
    .navbar .menu-toggle {
        display: block;
    }

    .navbar .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .navbar .nav-links.active {
        max-height: 500px;
    }

    .navbar .nav-links li {
        padding: 12px 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.85);
        border: 1px solid var(--border-color);
        border-radius: 6px;
        padding: 0;
        margin-top: 8px;
        transition: all 0.3s ease;
    }

    .navbar .nav-links li.dropdown:active .dropdown-menu,
    .navbar .nav-links li.dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        padding: 8px 0;
    }

    .dropdown-menu::before {
        display: none;
    }

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

    .hero {
        height: 60vh;
    }

    .hero-logo-bg {
        width: 400px;
        height: 400px;
        opacity: 0.1;
    }

    .section {
        padding: 60px 20px;
    }
}
