/* ============================================
   Davion Hauls - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #2d3e50;
    --color-accent: #d97943;
    --color-accent-hover: #c56a35;
    --color-light: #f5f7fa;
    --color-lighter: #ffffff;
    --color-text: #34495e;
    --color-text-light: #6c757d;
    --color-border: #dee2e6;
    --color-success: #28a745;

    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    --transition: 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-light);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-hover);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    background: var(--color-lighter);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-links a {
    display: block;
    padding: 10px 18px;
    color: var(--color-text);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--color-light);
    color: var(--color-accent);
}

.nav-cta {
    margin-left: 10px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-primary);
    color: white;
}

.btn-secondary:hover {
    background: #3d5a80;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: white;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a252f 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
    background-size: 100px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--color-accent);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 500px;
    opacity: 0.1;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--color-lighter);
}

.section-dark {
    background: var(--color-primary);
    color: white;
}

.section-dark h2,
.section-dark h3 {
    color: white;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* ============================================
   Service Cards
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-lighter);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border-left: 4px solid var(--color-accent);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--color-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--color-accent);
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.pricing-category {
    background: var(--color-lighter);
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.pricing-category h4 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-light);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item-name {
    color: var(--color-text);
    flex: 1;
}

.price-item-desc {
    color: var(--color-text-light);
    font-size: 0.85rem;
    font-style: italic;
    margin-left: 10px;
}

.price-item-cost {
    color: var(--color-accent);
    font-weight: 600;
    margin-left: 15px;
    white-space: nowrap;
}

/* ============================================
   About Section
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-signature {
    font-style: italic;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.2rem;
}

/* ============================================
   Features/Benefits
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.feature-item h3 {
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--color-text-light);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--color-accent) 0%, #c56a35 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-banner .btn {
    background: white;
    color: var(--color-accent);
}

.cta-banner .btn:hover {
    background: var(--color-primary);
    color: white;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--color-lighter);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-accent);
}

.contact-details h4 {
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.contact-details a:hover {
    color: var(--color-accent);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 400px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Service Area
   ============================================ */
.service-area {
    text-align: center;
    padding: 40px;
    background: var(--color-lighter);
    border-radius: var(--radius-lg);
    margin-top: 50px;
}

.service-area h3 {
    margin-bottom: 1rem;
}

.area-badge {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin: 5px;
    font-weight: 500;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--color-primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-accent);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-column h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--color-accent);
}

/* ============================================
   Page Headers
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a252f 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.2rem;
    margin: 0;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumbs a {
    color: white;
    opacity: 0.8;
}

.breadcrumbs a:hover {
    opacity: 1;
}

.breadcrumbs span {
    margin: 0 10px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-lighter);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero Mobile */
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Section Mobile */
    .section {
        padding: 50px 0;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Pricing Mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .price-item-cost {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .service-card,
    .pricing-category,
    .contact-info-card {
        padding: 20px;
    }
}
