:root {
    --primary: #E67E22;
    /* Vibrant Terracotta */
    --primary-dark: #D35400;
    --secondary: #2C3E50;
    /* Deep Slate */
    --accent: #1ABC9C;
    /* Turquoise */
    --bg-light: #FDFEFE;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    background-image: url("https://www.transparenttextures.com/patterns/p6.png");
    /* Subtle plaster texture */
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 1.25rem 0;
    border-bottom: 2px solid rgba(230, 126, 34, 0.1);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.logo-accent {
    color: var(--primary);
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    margin: 0 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.phone-link {
    background: var(--secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.phone-link:hover {
    background: var(--primary);
    transform: rotate(-1deg);
}

/* Hero */
.hero {
    height: 95vh;
    background-image: url('https://images.unsplash.com/photo-1635424710928-0544e8512eae?q=80&w=2071&auto=format&fit=crop');
    /* High-end tile roof detail */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    border-bottom: 20px solid var(--primary);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0.5) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero-label {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin-top: 4rem;
    /* Moved lower */
    margin-bottom: 1.5rem;
    display: inline-block;
    border-bottom: 2px solid var(--primary);
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: var(--primary);
    position: relative;
    z-index: 1;
    display: inline-block;
}

.hero p {
    font-size: 1.35rem;
    max-width: 650px;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-btns .btn-primary,
.hero-btns .btn-secondary {
    width: auto;
    /* Prevent stretching */
    min-width: 250px;
    text-align: center;
}

/* Process Section */
.process-section {
    padding: 120px 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.process-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
}

.process-text .badge {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.process-text h2 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.process-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 550px;
}

.process-image {
    position: relative;
}

.img-frame {
    padding: 15px;
    background: white;
    box-shadow: 30px 30px 0px rgba(230, 126, 34, 0.1);
    border: 1px solid #eee;
    transform: rotate(3deg);
    transition: var(--transition);
}

.img-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.img-placeholder {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-image: url('https://images.unsplash.com/photo-1541976535096-2699a721bee0?q=80&w=2069&auto=format&fit=crop');
    /* Detailed roofing work */
}

/* Services */
.services {
    padding: 150px 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=2070&auto=format&fit=crop');
    /* Sunny Phoenix villa with tile roof */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

.card-num {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(230, 126, 34, 0.15);
    position: absolute;
    top: -10px;
    right: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 0;
    border: 1px solid rgba(230, 126, 34, 0.1);
    box-shadow: 15px 15px 0px rgba(44, 62, 80, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 20px 20px 0px rgba(230, 126, 34, 0.1);
}

/* Local Shop Stats */
.local-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.stat-item {
    padding: 24px;
    background: white;
    border-top: 5px solid var(--primary);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.stat-item strong {
    display: block;
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-item span {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 1.5px;
}

.technical-note {
    background: var(--secondary);
    color: white;
    padding: 30px;
    border-left: 12px solid var(--primary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 30px;
}

.technical-note strong {
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 120px 0;
}

.contact-card {
    display: flex;
    background: white;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 20px 20px 0px rgba(44, 62, 80, 0.05);
}

.contact-info {
    flex: 1;
    padding: 60px;
    background: var(--secondary);
    color: white;
}

.contact-form {
    flex: 1.2;
    padding: 60px;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1;
}

.contact-details {
    margin-top: 40px;
}

.detail-item {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.detail-item .icon {
    margin-right: 20px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.detail-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
}

/* Form Styling */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.25rem;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: #fdfdfd;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 5px 5px 0px rgba(230, 126, 34, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .img-frame {
        transform: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .local-stats {
        grid-template-columns: 1fr;
    }
}

/* Spotlight Section */
.spotlight {
    padding: 150px 0;
    background: #fdfdfd;
}

.spotlight-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: var(--secondary);
    color: white;
    box-shadow: 30px 30px 0px rgba(230, 126, 34, 0.1);
}

.spotlight-image {
    height: 600px;
    background-size: cover;
    background-position: center;
}

.spotlight-content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-content h2 {
    font-size: 3.5rem;
    line-height: 1;
    margin: 1rem 0 2rem;
}

.spotlight-content p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.spotlight-content .btn-primary {
    width: fit-content;
}

@media (max-width: 992px) {
    .spotlight-card {
        grid-template-columns: 1fr;
    }

    .spotlight-content {
        padding: 50px;
    }

    .spotlight-image {
        height: 400px;
    }
}

/* Footer */
footer {
    padding: 60px 0;
    background: #1a252f;
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.reveal-delay.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.reveal-delay-2.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .navbar nav {
        display: none;
    }

    .about-flex,
    .contact-card {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}