/* =========================
   VARIABLES TEMPLATE
========================= */

:root {
    --primary: #b45309;
    --primary-hover: #92400e;

    --dark: #111827;
    --text: #1f2937;
    --muted: #6b7280;

    --background: #ffffff;
    --surface: #f8fafc;
    --border: #e5e7eb;

    --radius: 20px;

    --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* =========================
   RESET
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;

    color: var(--text);

    background: var(--background);
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   LAYOUT
========================= */

.page {
    min-height: 100vh;

    display: flex;

    flex-direction: column;
}

.page-body {
    flex: 1;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    min-height: 90px;

    padding: 0 70px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.75);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

.nav-left,
.nav-right {
    display: flex;

    align-items: center;

    gap: 35px;
}

.navbar a {
    text-decoration: none;

    color: #374151;

    font-weight: 500;

    transition: 0.3s;
}

.navbar a:hover {
    color: var(--primary);
}

.logo {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);
}

.logo img {
    width: 110px;
}

.navbar.scrolled {
    background: white;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* MOBILE MENU */

.menu-toggle,
.mobile-menu {
    display: none;
}

/* =========================
 HERO
========================= */

.hero-section {
    padding: 140px 20px;

    background:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        url("assets/hero_section.jpeg");

    background-size: cover;

    background-position: center;

    text-align: center;

    color: white;
}

.hero-content {
    max-width: 850px;

    margin: auto;
}

.hero-tag,
.section-tag {
    display: inline-block;

    padding: 8px 18px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.15);

    margin-bottom: 25px;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);

    line-height: 1.1;
}

.hero-section p {
    max-width: 650px;

    margin: 20px auto 40px;

    line-height: 1.7;
}

.btn {
    display: inline-block;

    padding: 16px 35px;

    border-radius: 50px;

    background: var(--primary);

    color: white;

    text-decoration: none;

    font-weight: 600;
}

.btn:hover {
    background: var(--primary-hover);
}

/* =========================
 SECTIONS
========================= */

.services,
.projects,
.contact {
    padding: 100px 20px;
}

.projects {
    background: var(--surface);
}

.services {
    text-align: center;
}

/* =========================
 CARDS
========================= */

.cards {
    max-width: 1200px;

    margin: 50px auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.card {
    background: white;

    border-radius: var(--radius);

    overflow: hidden;

    border: 1px solid var(--border);

    transition: 0.3s;
}

.card:hover,
.project-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow);
}

.card img {
    height: 220px;

    width: 100%;

    object-fit: cover;
}

.card h2 {
    padding: 20px;
}

.card .content {
    padding: 0 25px 30px;

    color: var(--muted);
}

/* =========================
 PROJECTS
========================= */

.projects-grid {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}

.project-card {
    background: white;

    border-radius: var(--radius);

    overflow: hidden;

    border: 1px solid var(--border);
}

.project-card img {
    width: 100%;

    height: 320px;

    object-fit: cover;
}

.project-content {
    padding: 30px;
}

/* =========================
 CONTACT
========================= */

.contact {
    background: var(--surface);
}

.contact-content {
    max-width: 700px;

    margin: auto;

    text-align: center;
}

.contact form {
    display: flex;

    flex-direction: column;

    gap: 20px;

    margin-top: 40px;
}

.contact input,
.contact textarea {
    width: 100%;

    padding: 17px 20px;

    border-radius: 12px;

    border: 1px solid var(--border);
}

.contact button {
    padding: 17px;

    border: none;

    border-radius: 50px;

    background: var(--dark);

    color: white;

    cursor: pointer;
}

.contact button:hover {
    background: var(--primary);
}

/* =========================
 FOOTER
========================= */

.page-footer {
    background: var(--dark);

    color: white;

    padding: 70px 20px 25px;
}

.footer-content {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 50px;
}

.footer-links,
.footer-legal {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-links a,
.footer-legal a {
    color: #9ca3af;

    text-decoration: none;
}

/* =========================
 RESPONSIVE
========================= */

@media (max-width: 900px) {
    .navbar {
        padding: 20px;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: block;

        margin-left: auto;

        background: none;

        border: none;

        font-size: 30px;

        cursor: pointer;
    }

    .logo {
        position: static;

        transform: none;
    }

    .mobile-menu {
        position: absolute;

        top: 90px;

        left: 0;

        width: 100%;

        background: white;

        display: none;

        flex-direction: column;

        padding: 25px;

        gap: 20px;
    }

    .mobile-menu.active {
        display: flex;
    }

    .cards,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 110px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
