/* =========================
   Reset & Base Styles
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1f2937; /* dark gray */
    background-color: #ffffff;
}

/* =========================
   Links
========================= */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #ea580c; /* primary accent color */
}

/* =========================
   Headings
========================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5em;
}

/* =========================
   Container & Layout
========================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 6rem 0;
}

.section-sm {
    padding: 3rem 0;
}

/* =========================
   Navigation
========================= */
header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ea580c;
}

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

nav .nav-links a {
    font-weight: 500;
    padding: 0.5rem 0;
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    nav .nav-links {
        position: absolute;
        top: 4rem;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid #e5e7eb;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

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

    .nav-toggle {
        display: block;
    }

    nav .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid #e5e7eb;
    }
}

/* =========================
   Buttons
========================= */
button, .btn {
    background-color: #ea580c;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover, .btn:hover {
    background-color: #f97316;
    transform: translateY(-2px);
}

/* =========================
   Hero Section
========================= */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 80vh;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #ffffff;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.125rem;
    max-width: 600px;
}

/* =========================
   Sections & Cards
========================= */
.card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* =========================
   Footer
========================= */
footer {
    background-color: #f9fafb;
    padding: 3rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

/* =========================
   Responsive Typography
========================= */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.9rem;
    }
}
