/* =====================
   RESET & GLOBAL
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* =====================
   HEADER & NAVBAR
===================== */
header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #5b6cff;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding-bottom: 4px;
}

nav a:hover {
    color: #5b6cff;
}

nav a.active {
    color: #5b6cff;
    border-bottom: 2px solid #5b6cff;
}

.theme-toggle {
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 1rem;
}

/* =====================
   HERO (HOME PAGE)
===================== */
.hero {
    height: 90vh;
    background-image:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url("hero.jpg");

    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

/* =====================
   PAGE HERO (ABOUT / CONTACT)
===================== */
.page-hero {
    height: 50vh;
    background-image:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url("hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.page-hero h1 {
    font-size: 3rem;
}

/* =====================
   ABOUT SECTION
===================== */
.about-content {
    padding: 4rem 10%;
    background: #f8f9ff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h2 {
    margin-bottom: 1rem;
    color: #5b6cff;
}

.about-card ul {
    list-style: disc;
    padding-left: 1.2rem;
}

/* =====================
   CONTACT PAGE
===================== */
.contact-content {
    padding: 4rem 10%;
    background: #ffffff;
}

.contact-content form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-content input,
.contact-content textarea {
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-content button {
    background: #5b6cff;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 6px;
    cursor: pointer;
}

.contact-content button:hover {
    background: #3f4cff;
}

/* =====================
   FOOTER
===================== */
footer {
    text-align: center;
    padding: 1.5rem;
    background: #111;
    color: #fff;
}

/* =====================
   DARK MODE (OPTIONAL)
===================== */
body.dark {
    background: #121212;
    color: #eee;
}

body.dark header {
    background: #1e1e1e;
}

body.dark .about-content {
    background: #1a1a1a;
}

body.dark .about-card {
    background: #222;
    color: #eee;
}

body.dark footer {
    background: #000;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    .hero h1,
    .page-hero h1 {
        font-size: 2.2rem;
    }

    nav {
        gap: 1rem;
    }
}
