/* Modern Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Brand Colors */
    --color-primary: #2C3E50;
    /* Deep Slate Blue */
    --color-primary-dark: #1a252f;
    --color-accent: #89CFF0;
    /* Sky Blue */
    --color-accent-hover: #5DAED5;
    --color-sand: #F5F5F5;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* UI */
    --radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-accent {
    color: var(--color-accent);
}

.text-white {
    color: var(--color-white);
}

.bg-light {
    background-color: var(--color-sand);
}

.bg-dark {
    background-color: var(--color-primary);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 0.2rem 0.5rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--color-accent);
}

/* Call Now Button in Nav */
.btn-call-nav {
    background: var(--color-primary);
    color: #fff;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.btn-call-nav:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    background-image: linear-gradient(135deg, rgba(26, 37, 47, 0.85) 0%, rgba(44, 62, 80, 0.7) 100%), url('assets/anthony-working-1.webp');
    background-size: cover;
    background-position: center top;
    color: var(--color-white);
    margin-top: 60px;
    padding: 3rem 0;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.service-area {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 2rem;
    opacity: 1;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.phone-number-display {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-top: 1rem;
    letter-spacing: 1px;
}

.trust-badge {
    font-weight: 500;
    font-size: 0.85rem;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* Lead paragraph */
.lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* Phone link */
.phone-link {
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 600;
}

.phone-link:hover {
    text-decoration: underline;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: 1.5rem 0;
}

.trust-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    font-weight: 600;
}

.trust-item .icon {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

/* Services */
.section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--color-accent);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* CTA Block (Mid-Page) */
.cta-block {
    background-color: var(--color-primary);
    background-image: linear-gradient(135deg, rgba(26, 37, 47, 0.95) 0%, rgba(44, 62, 80, 0.9) 100%);
    color: var(--color-white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.phone-display {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 2px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-content {
    padding-top: 1rem;
}

.sub-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: var(--color-accent);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.owner-message {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text);
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.quote-form {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius);
    color: var(--color-text);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: var(--font-body);
}

.form-group input:focus {
    border-color: var(--color-accent);
    outline: none;
}

/* Animation Utilities */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Enhanced Button States */
.btn {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(137, 207, 240, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form Select Styling */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.form-group select:focus {
    border-color: var(--color-accent);
    outline: none;
}

/* Service Card Icons */
.service-card h3::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    margin-bottom: 1rem;
    border-radius: 2px;
}

/* About Section Enhancement */
.about-image {
    position: relative;
}

.about-image::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--color-accent);
    border-radius: var(--radius);
    z-index: -1;
}

.about-image img {
    object-fit: cover;
}

/* Contact Section Polish */
.contact-details {
    margin-top: 2rem;
    padding: 1.5rem 1.5rem 1.5rem 0;
    background: transparent;
    border-radius: var(--radius);
}

.contact-branding {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .service-area {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }

    .hero-cta {
        width: 100%;
        font-size: 1.1rem;
        padding: 1.2rem 2rem;
    }

    .phone-number-display {
        font-size: 1.5rem;
        text-align: center;
    }

    .trust-badge {
        text-align: center;
    }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        margin-top: 60px;
        min-height: auto;
        padding: 3rem 0;
    }

    .about-image::after {
        display: none;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .trust-bar .container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .trust-item {
        font-size: 0.9rem;
    }

    .btn-lg {
        width: 100%;
        text-align: center;
    }

    .quote-form {
        padding: 1.5rem;
    }

    /* CTA Block Mobile */
    .cta-block {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .phone-display {
        font-size: 1.5rem;
    }
}