:root {
    --primary: #D35400;
    /* Richer, earthier orange */
    --primary-dark: #A04000;
    --secondary: #1F3A48;
    /* Deeper steel blue */
    --accent: #E59866;
    --text: #333333;
    --bg-light: #FAFAFA;
    --bg-warm: #F4F1ED;
    /* Slight off-white paper feel */
    --white: #FFFFFF;

    --font-main: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
    --font-hand: 'Caveat', cursive;

    --transition: all 0.3s ease;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-img: 2px 4px 10px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-display);
    color: var(--secondary);
    line-height: 1.25;
}

.handwriting {
    font-family: var(--font-hand);
    font-size: 2rem;
    color: var(--primary);
    transform: rotate(-2deg);
    display: inline-block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.mt-4 {
    margin-top: 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-warm {
    background-color: var(--bg-warm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 4px;
    /* More grounded, less pill-shaped */
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 2px 6px 0 rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--text);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
}

.logo-text small {
    display: block;
    font-size: 0.8rem;
    font-family: var(--font-main);
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--secondary);
    border-bottom: 2px solid transparent;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--secondary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(31, 58, 72, 0.95) 0%, rgba(31, 58, 72, 0.7) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 650px;
    color: var(--white);
}

.hero-text h1,
.hero-text p {
    color: var(--white);
}

.badge-human {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 24px;
}

.hero-text h1 span {
    color: var(--accent);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Real Stories & Services */
.section-header {
    margin-bottom: 50px;
    max-width: 600px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin: 8px 0 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: #555;
}

.service-grid,
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card,
.project-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #EAEAEA;
    transition: var(--transition);
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-img);
}

.card-img,
.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary);
}

.card-content,
.project-content {
    padding: 30px;
}

.card-content h3,
.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-content p,
.project-content p {
    color: #555;
    font-size: 1.05rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.polaroid-caption {
    padding: 15px;
    color: #333;
    font-size: 1.8rem;
}

.about-image-wrapper {
    position: relative;
    background: #FFF;
    padding: 12px 12px 0 12px;
    box-shadow: var(--shadow-img);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover {
    transform: rotate(0deg);
}

.about-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    filter: sepia(0.2) contrast(1.1);
    /* Adds a slight vintage photo feel */
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #444;
}

.human-list {
    list-style: none;
    padding: 15px 0 15px 15px;
    border-left: 3px solid var(--primary);
}

.human-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--text);
}

.human-list li i {
    color: var(--primary);
    font-size: 1.4rem;
    margin-top: 2px;
}

/* CTA Banner */
.cta-banner {
    background: var(--secondary);
    color: var(--white);
    padding: 70px 0;
    border-top: 6px solid var(--primary);
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: #111;
    color: #CCC;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.footer h3 {
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer ul li i {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #777;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-left,
.animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-left {
    transform: translateX(-30px);
}

.animate-up.visible,
.animate-left.visible,
.animate-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-overlay {
        background: rgba(31, 58, 72, 0.85);
    }

    .service-grid,
    .project-grid,
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        margin-top: 40px;
        transform: rotate(0);
    }
}