/* GLOBAL ---------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #000;      /* blends with hero */
    color: #111;
    padding-top: 80px;     /* space for fixed header */
}

section {
    padding: 80px 10%;
    scroll-margin-top: 100px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;     /* 🔥 FIXED: Now headings appear on dark background */
}

/* HEADER + NAV ---------------------------------- */

.site-header {
    background: #000;
    padding: 12px 10%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    border-bottom: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 55px;
    width: auto;
}

/* DESKTOP NAV */

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.main-nav a:hover {
    color: #ff6600;
}

/* HAMBURGER BUTTON (MOBILE) */

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
}

/* HERO ----------------------------------------- */

.hero {
    height: 100vh;
    background: linear-gradient(to right, #000 60%, #ff6600);
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 54px;
    color: #fff;
    line-height: 1.1;
}

.hero span {
    color: #ff6600;
}

.subtitle {
    font-size: 18px;
    color: #eee;
    max-width: 450px;
}

.cta-btn {
    margin-top: 20px;
    padding: 14px 32px;
    background: #ff6600;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

/* SERVICES ------------------------------------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background: #f8f8f8;
    padding: 25px;
    border-left: 5px solid #ff6600;
    border-radius: 12px;
}

/* ABOUT ---------------------------------------- */

.dark-bg {
    background: #000;
    color: #fff;
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
}

/* CONTACT -------------------------------------- */

.contact-box {
    background: #f2f2f2;
    padding: 20px;
    border-radius: 12px;
    max-width: 500px;
    margin: auto;
}

/* CONTACT GRID (DETAILS + FORM SIDE BY SIDE) */

.contact-section {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: flex-start;
}

.contact-details .contact-box {
    margin: 0;
}

/* CONTACT FORM STYLES */

.contact-form-card {
    background: #f8f8f8;
    padding: 25px 24px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.contact-form-card h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 700;
}

.form-row {
    margin-bottom: 14px;
    text-align: left;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
}

.form-row input,
.form-row textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: #ff6600;
}

/* FORM BUTTON */

.form-btn {
    margin-top: 6px;
    padding: 10px 22px;
    border-radius: 6px;
    border: none;
    background: #ff6600;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.form-btn:hover {
    background: #e95b00;
}

/* MOBILE TWEAKS */

@media (max-width: 768px) {
    body {
        padding-top: 72px;
    }

    .hero {
        padding: 0 8%;
    }

    .hero h1 {
        font-size: 38px;
    }

    .subtitle {
        font-size: 16px;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 10%;
        background: #000;
        padding: 12px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        border-radius: 6px;
        display: none;
    }

    .main-nav.nav-open {
        display: flex;
    }

    .main-nav a {
        margin: 0;
        font-size: 15px;
    }
}

/* FOOTER --------------------------------------- */

.footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 30px;
    margin-top: 50px;
}

/* SOCIAL ICONS -------------------------------- */

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
}

.social-icons img {
    width: 32px;
    height: 32px;
    opacity: 0.85;
    transition: 0.3s ease;
}

.social-icons img:hover {
    opacity: 1;
    transform: scale(1.1);
}
