:root {
    --primary: #0077F2;
    --primary-light: #4DABFF;
    --accent: #FF8507;
    --accent-hover: #E37500;
    --bg-dark: #0B1118;
    --bg-card: #151D26;
    --text-main: #F1F4F8;
    --text-dim: #A0B5C6;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Human Element: Subtle Grain Background */
.noise-bg {
    position: relative;
    background-color: var(--bg-dark);
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1.1rem;
}

.noise-bg::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://grain-y.com/noise.png');
    /* Placeholder for a grain texture */
    opacity: 0.04;
    z-index: 10000;
    pointer-events: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.handwritten {
    font-family: 'Caveat', cursive;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.6rem;
}

.playfair {
    font-family: 'Playfair Display', serif;
}

/* Navbar Fix */
.navbar {
    height: 100px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar.scrolled {
    height: 80px;
    background: rgba(11, 17, 24, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: var(--primary);
    text-transform: uppercase;
    text-decoration: none;
    flex-shrink: 0;
}

.logo .dallas {
    color: var(--accent);
    font-weight: 300;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
}

nav ul li a:not(.btn-nav):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

nav ul li a:hover {
    color: white;
}

nav ul li a:hover:after {
    width: 100%;
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 119, 242, 0.3);
    border: 2px solid transparent;
}

.btn-nav:hover {
    background: transparent;
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: url('images/hero.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(11, 17, 24, 0.6) 0%, rgba(11, 17, 24, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 950px;
}

.hero-badge {
    display: block;
    margin-bottom: 20px;
    background: rgba(255, 133, 7, 0.1);
    display: inline-block;
    padding: 5px 20px;
    border-radius: 40px;
    border: 1px dashed var(--accent);
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 30px;
    color: white;
}

.accent-text {
    color: var(--accent);
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-dim);
    margin-bottom: 45px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 20px 45px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(255, 133, 7, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 20px 45px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 133, 7, 0.5);
    background: var(--accent-hover);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

/* Organic Shapes */
.organic-shape {
    position: absolute;
    z-index: 1;
    opacity: 0.1;
    pointer-events: none;
}

.s1 {
    top: 10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

/* Services */
.services {
    padding: 140px 0;
    background: #080C11;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 80px;
    font-weight: 800;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 40px 60px 30px 50px;
    /* Irregular human-like borders */
    padding: 50px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px) rotate(1deg);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.card-img {
    height: 300px;
    border-radius: 30px 50px 20px 40px;
    overflow: hidden;
    margin-bottom: 35px;
    position: relative;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    color: var(--text-dim);
    font-size: 1.15rem;
    font-weight: 300;
}

/* Story/About */
.story {
    padding: 140px 0;
}

.about-flex {
    display: flex;
    gap: 100px;
    align-items: center;
}

.about-text h2 {
    font-size: 3.2rem;
    margin: 20px 0 30px 0;
    line-height: 1.1;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text-dim);
    font-size: 1.2rem;
    font-weight: 300;
}

.signature {
    margin-top: 40px;
    transform: rotate(-2deg);
}

.image-stack {
    position: relative;
    width: 450px;
    height: 550px;
}

.image-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
    border: 5px solid rgba(255, 255, 255, 0.05);
}

.stat-bubble {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--accent);
    padding: 30px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(255, 133, 7, 0.4);
    transform: rotate(5deg);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: white;
}

/* CTA */
.cta-inner {
    background: linear-gradient(135deg, #005BBF 0%, #003366 100%);
    border-radius: 60px;
    padding: 100px 60px;
    text-align: center;
    position: relative;
}

.cta-inner h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: white;
}

.phone-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 800;
    font-size: 2.5rem;
}

.btn-large {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 24px 60px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 15px 45px rgba(255, 133, 7, 0.5);
    transition: var(--transition);
}

.arrow-hint {
    position: absolute;
    top: 80%;
    left: 105%;
    width: 200px;
    text-align: left;
    transform: rotate(10deg);
}

/* Footer */
footer {
    padding: 80px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
}

/* Reveal */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.reveal-left.active {
    opacity: 1;
    transform: none;
}

.reveal-right.active {
    opacity: 1;
    transform: none;
}

.reveal {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .about-flex {
        flex-direction: column;
    }

    .image-stack {
        width: 100%;
        height: 400px;
    }

    .arrow-hint {
        display: none;
    }
}