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

body {
    font-family: 'Inter', sans-serif;
    background: #0b0b1a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVIGATION (FIXED - COMPACT) ========== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 40px; /* 👈 REDUCED padding from 10px to 5px */
    background: #0b0b1a;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 80px; /* 👈 Slightly reduced for better proportions */
    width: auto;
}

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

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #38bdf8;
}

/* ========== HERO SECTION (DARK) ========== */
.hero {
    background: linear-gradient(135deg, #0b0b1a 0%, #1a1a3e 100%);
    padding: 40px 0; /* 👈 REDUCED padding from 80px to 40px */
    min-height: 85vh;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px; /* 👈 Space between left and right */
    flex-wrap: wrap;
}

/* LEFT SIDE - TEXT */
.hero-text-area {
    flex: 1;
    min-width: 300px;
    padding-left: 20px; /* 👈 Push text LEFT */
}

.tag {
    color: #38bdf8;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}

.hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.1rem;
    color: #c8d6e5;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #38bdf8;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #0284c7;
}

/* RIGHT SIDE - VIDEO */
.hero-video-area {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: flex-end; /* 👈 Push video RIGHT */
    padding-right: 40px; /* 👈 Add extra space on right */
}

.hero-video-area video {
    width: 100%;
    max-width: 550px; /* 👈 Slightly smaller for better balance */
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* ========== ABOUT SECTION (WHITE) ========== */
#about {
    background: #ffffff !important;
    color: #333 !important;
    padding: 80px 0;
}

#about h2 {
    color: #0b0b1a;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

#about p, #about ul {
    color: #444;
}

#about ul li::before {
    content: '▸';
    color: #38bdf8;
    margin-right: 10px;
}

/* ========== PRODUCTS SECTION ========== */
#products {
    background: linear-gradient(135deg, #0b0b1a 0%, #1a1a3e 100%);
    padding: 80px 0;
}

#products h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

#products p {
    color: #c8d6e5;
}

#products ul {
    color: #c8d6e5;
    margin-left: 20px;
}

/* ========== GALLERY SECTION ========== */
#gallery {
    background: linear-gradient(135deg, #0b0b1a 0%, #1a1a3e 100%);
    padding: 80px 0;
}

#gallery h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

#gallery .container > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

#gallery img {
    width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: 0.3s;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* ========== SERVICES GRID (PROFESSIONAL) ========== */
.section.gray {
    background: #0b0b1a;
    padding: 80px 0;
}

.section.gray h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    color: #c8d6e5;
}

.card:hover {
    background: #38bdf8;
    color: white;
    transform: translateY(-5px);
}

/* ========== CONTACT SECTION (WHITE & STACKED) ========== */
#contact {
    background: #ffffff !important;
    color: #333 !important;
    padding: 80px 0;
}

#contact h2 {
    color: #0b0b1a;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.contact-wrap {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info p {
    margin-bottom: 15px;
    color: #444;
}

.contact-info strong {
    color: #38bdf8;
}

/* FORM FIX */
.contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 5px rgba(56, 189, 248, 0.2);
}

.contact-form button {
    background: #38bdf8;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    width: fit-content;
}

.contact-form button:hover {
    background: #0284c7;
}

/* ========== FOOTER ========== */
.footer {
    padding: 40px;
    text-align: center;
    background: #0b0b1a;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    nav {
        padding: 5px 20px;
    }

    .logo img {
        height: 60px;
    }

    .hero .container {
        gap: 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-video-area {
        justify-content: center;
        padding-right: 0;
    }

    .hero-text-area {
        padding-left: 0;
    }
}
