﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f5f5;
    padding-top: 70px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: #0a0a0a;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 99999;
}

.logo img {
    height: 40px;
}

/* HAMBURGER */
.hamburger {
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 70px;
    right: 0;
    width: fit-content;
    max-width: 90%;
    background: #0a0a0a;
    padding: 10px 0;
    border-left: 1px solid #222;
    box-shadow: -4px 0 12px rgba(0,0,0,0.3);

    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;

    transition: transform 0.35s ease, opacity 0.35s ease;
}

.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    padding: 10px 20px;
}

.mobile-menu ul li a {
    color: white;
    font-size: 16px;
}

/* DROPDOWN */
.dropdown-menu {
    display: none;
    background: #1a1a1a;
    padding-left: 20px;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    font-size: 15px;
    color: #ddd;
}

/* HERO — UPDATED */
.hero {
    height: 45vh;
    min-height: 300px;
    max-height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.hero h1,
.hero p {
    color: white;
}

.hero h1 {
    font-size: 34px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 16px;
    margin-bottom: 20px;
}

.btn {
    background: #00c3ff;
    padding: 10px 22px;
    color: white;
    border-radius: 6px;
    font-size: 15px;
}

/* RESPONSIVE HERO TEXT + HEIGHT */
@media (max-width: 600px) {
    .hero {
        height: 35vh;
        min-height: 240px;
    }

    .hero h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 14px;
    }
}

/* SERVICES */
.services {
    padding: 60px 40px;
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
}

.services h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.btn-small {
    display: inline-block;
    margin-top: 10px;
    background: #0a0a0a;
    color: white;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
}

.btn-small:hover {
    background: #333;
}

/* FOOTER */
footer {
    background: #0a0a0a;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}

/* PRODUCT SECTION */
.product-section {
    padding: 60px 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.product-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.product-text {
    flex: 1 1 450px;
    text-align: left;
}

.product-text h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.product-text h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.product-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
    text-align: left;
}

.product-image {
    flex: 1 1 450px;
    text-align: center;
}

.product-image img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 10px;
}

/* ALIGN TEXT LEFT FOR NON-IMAGE CARDS */
.service-card {
    text-align: left;
}

.services .service-card:not(:has(img)) {
    text-align: left;
}
