/* =========================
   FONTS & GLOBAL
========================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
	padding-top: 80px;
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: white;
    overflow-x: hidden;
}

/* =========================
   TYPOGRAPHY (RESPONSIVE FIX)
========================= */
h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2rem);
}

p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.6;
}

/* =========================
   HEADER
========================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 75px;
}

/* =========================
   NAV (DESKTOP)
========================= */
#nav {
    display: flex;
    gap: 20px;
}

#nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
}

/* Underline animation */
#nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #c46b2c;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

#nav a:hover::after {
    width: 100%;
}

/* =========================
   MOBILE NAV TOGGLE
========================= */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* =========================
   HERO
========================= */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
	
    padding: 140px 10%;
	
    min-height: auto;
	position: relative;
	z-index: 1;
}

.hero-text h1 {
    margin-bottom: 10px;
}

.hero-text p {
    opacity: 0.85;
    margin-top: 10px;
}

.hero-buttons {
    margin-top: 20px;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    margin-right: 10px;
    transition: 0.3s;
}

.primary {
    background: #c46b2c;
    color: white;
}

.primary:hover {
    background: #a95522;
}

.secondary {
    border: 1px solid white;
    color: white;
}

.secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Floating card */
.hero-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    max-width: 300px;
}

/* =========================
   SECTIONS (FIXED WIDTH)
========================= */
.section {
    padding: 100px 20px;
    max-width: 1100px;
	margin: auto;
	position: relative;
	z-index: 2;
}

.section.dark {
    background: #020617;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* =========================
   SERVICES
========================= */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
}

.service:hover {
    transform: translateY(-10px);
}

/* =========================
   PROCESS
========================= */
.process {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 20px;
}

.process span {
    font-size: 2em;
    color: #c46b2c;
}

/* =========================
   Contact Form
========================= */
.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 6px;
    border: none;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form button {
    border: none;
    cursor: pointer;
}

#form-status {
    margin-top: 15px;
    font-weight: 500;
}

#form-status.success {
    color: #4ade80; /* green */
}

#form-status.error {
    color: #f87171; /* red */
}
/* =========================
   CTA
========================= */
.cta {
    text-align: center;
    padding: 100px 20px;
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 30px;
    background: #020617;
}

/* =========================
   ANIMATIONS
========================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   MOBILE NAV (SLIDE-IN)
========================= */

/* Overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 900;
}

/* =========================
   MOBILE STYLES
========================= */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    /* Slide-in nav */
    #nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 260px;
        background: #020617;

        display: flex;
        flex-direction: column;
        padding-top: 100px;

        transform: translateX(100%);
        transition: 0.3s ease;
        z-index: 1001;
    }

    #nav a {
        margin: 15px 25px;
        font-size: 1.2em;
    }

    #nav.active {
        transform: translateX(0);
    }

    #overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Layout fixes */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px;
    }

    .section {
        padding: 60px 20px;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .process {
        flex-direction: column;
        gap: 25px;
    }

    .hero-card {
        margin-top: 20px;
        max-width: 100%;
    }
}

/* =========================
   DESKTOP OVERRIDE
========================= */
@media (min-width: 769px) {

    #overlay {
        display: none;
    }
}