/* style.css */
:root {
    --clr-primary: #ff9900;
    --clr-bg: #111;
    --clr-light: #fff;
    --clr-muted: #ccc;
    --transition: 0.3s ease;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: var(--clr-light);
    background: var(--clr-bg);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Nav */
.site-header {
    background: var(--clr-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.75rem;
    color: var(--clr-primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--clr-light);
    position: relative;
    transition: var(--transition);
}

.nav-toggle .hamburger::before {
    top: -8px;
}

.nav-toggle .hamburger::after {
    top: 8px;
}

.site-nav ul {
    display: flex;
    gap: 2rem;
}

.site-nav a {
    color: var(--clr-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.site-nav a:hover {
    color: var(--clr-primary);
}

/* Hero */
.hero {
    position: relative;
    text-align: center;
    margin-top: 1rem;
}

.hero-img {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    filter: brightness(0.7);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--clr-light);
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.btn-primary {
    background: var(--clr-primary);
    color: var(--clr-bg);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary:hover {
    opacity: 0.9;
}

/* Features */
.features {
    padding: 4rem 0;
    text-align: center;
}

.features h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.feature {
    background: #222;
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.feature .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--clr-primary);
}

.feature h3 {
    margin: 0.5rem 0;
    color: var(--clr-light);
}

.feature p {
    color: var(--clr-muted);
    font-size: 0.95rem;
}

/* Modules */
.modules {
    padding: 4rem 0;
}

.modules h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.module {
    background: #222;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.module-img {
    display: block;
    margin: 2rem auto;
    max-width: 600px;
    border-radius: 8px;
}

.btn-outline {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--clr-primary);
    color: var(--clr-bg);
}

/* Team */
.team {
    padding: 4rem 0;
    text-align: center;
}

.team h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.team-member {
    max-width: 160px;
}

.team-member img {
    width: 100%;
    border-radius: 50%;
    border: 3px solid var(--clr-primary);
}

.team-member h3 {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--clr-light);
}

/* Contact */
.contact {
    padding: 4rem 0;
    text-align: center;
}

.contact a {
    margin-top: 1rem;
}

/* Footer */
.site-footer {
    background: #000;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid #222;
    font-size: 0.875rem;
}

.site-footer a {
    color: var(--clr-primary);
    text-decoration: none;
}

/* Responsive */
@media (max-width:768px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #111;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .site-nav li+li {
        border-top: 1px solid #222;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav.open {
        display: block;
    }
}