/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Landscaping & Manly Color Palette */
    --primary-color: #166534; /* Deep forest green */
    --primary-dark: #14532d; /* Darker forest green */
    --secondary-color: #ea580c; /* Burnt orange */
    --secondary-dark: #c2410c; /* Darker burnt orange */
    --accent-color: #f97316; /* Vibrant orange */
    --accent-dark: #ea580c; /* Darker orange */
    --text-primary: #1a1a1a; /* Deep black */
    --text-secondary: #4a4a4a; /* Charcoal gray */
    --text-light: #6b7280; /* Medium gray */
    --bg-primary: #ffffff; /* Pure white */
    --bg-secondary: #f8f9fa; /* Light gray */
    --bg-dark: #0f0f0f; /* Deep black */
    --bg-nature: #f7f7f2; /* Natural off-white */
    --border-color: #d1d5db; /* Light gray border */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-nature);
    overflow-x: hidden;
    font-size: 16px;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Modern Header and Navigation */
header {
    background: #1a1a1a;
    backdrop-filter: blur(10px);
    padding: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    height: 70px;
    border-bottom: 2px solid var(--accent-color);
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 var(--spacing-md);
}

.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    display: flex;
    align-items: center;
}

.header-logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition-normal);
}

.header-logo-image:hover {
    transform: scale(1.2);
    filter: brightness(1) invert(0) sepia(2) saturate(0) hue-rotate(30deg);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    margin-left: auto;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-menu a:hover::before {
    width: 80%;
}

.nav-menu a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Modern Hero Section */
.hero2 {
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--bg-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

.hero2::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    padding: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-left {
    color: white;
}

.hero-right {
    position: relative;
    margin-top: var(--spacing-2xl);
}

.hero-left > div {
    text-align: center !important;
}

.hero-left > div > div {
    text-align: center !important;
}

.service-areas {
    margin: var(--spacing-md) auto;
    text-align: center !important;
    width: 98%;
    max-width: 450px;
    display: block;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(100px);
    border: 2px solid var(--accent-color);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.service-areas:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-dark);
}

.service-areas img {
    max-height: 300px;
    display: block;
    margin: 0 auto var(--spacing-md);
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-normal);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.service-areas img:hover {
    transform: translateX(-50%) scale(1.15);
}

.service-areas h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.service-areas h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 400;
}

/* Modern CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-normal);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
}

/* Modern Image Gallery */
.rotating-images {
    background-color: #1a1a1a;
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    border: 3px solid var(--accent-color);
    height: 300px;
    margin: 0 auto;
    width: 98%;
    max-width: 550px;
    display: block;
}

.rotating-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.rotating-images img.active {
    opacity: 0;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid var(--accent-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.gallery-nav:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
    border-color: white;
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.gallery-nav i {
    font-size: 1.1rem;
}

.services-text {
    text-align: center;
    margin: 0 auto;
    width: 98%;
    max-width: 550px;
    display: block;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 2px solid var(--accent-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.services-text h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.services-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Modern Services Section */
.services {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    margin-bottom: 150px;
}

.services::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"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.services-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-2xl);
    width: 85%;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
    border: 3px solid var(--accent-color);
}

.services-heading {
    color: var(--text-primary);
    padding: var(--spacing-lg) var(--spacing-xl);
    display: inline-block;
    margin: 0 auto var(--spacing-2xl);
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.services-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-normal);
}

.services-heading:hover::before {
    left: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: left;
    transition: var(--transition-normal);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-dark), var(--accent-color));
    transform: scaleY(0);
    transition: var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Modern Contact Section */
.contact {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: var(--bg-nature);
    position: relative;
}

.contact-container {
    text-align: center;
    background: white;
    padding: var(--spacing-2xl);
    width: 60%;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--accent-color);
}

.contact h2 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    font-size: 2.5rem;
}

.contact-info {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    border: 2px solid var(--border-color);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-normal);
}

.contact-info a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Modern Form Styling */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: white;
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Modern Footer */
footer {
    background: var(--bg-dark);
    color: white;
    text-align: center;
    padding: var(--spacing-xl);
    font-size: 0.9rem;
    border-top: 3px solid var(--accent-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .service-areas img {
        max-height: 250px;
        display: block;
        margin: 0 auto var(--spacing-md);
        width: auto;
        filter: brightness(0) invert(1);
        transition: var(--transition-normal);
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(10px);
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
        border-top: 2px solid var(--accent-color);
    }

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

    .hero-split {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-left {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0;
    }

    .hero-left > div {
        text-align: center !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-left > div > div {
        text-align: center !important;
    }

    .service-areas {
        margin: var(--spacing-md) auto;
        text-align: center !important;
        width: 98%;
        max-width: 450px;
        display: block;
    }

    .rotating-images {
        height: 300px;
        margin: 0 auto;
        width: 98%;
        max-width: 550px;
        display: block;
    }

    .services-text {
        text-align: center;
        margin: 0 auto;
        width: 98%;
        max-width: 550px;
        display: block;
    }

    .services-container {
        width: 95%;
        padding: var(--spacing-lg);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .contact-container {
        width: 95%;
        padding: var(--spacing-lg);
    }

    .contact-info {
        padding: var(--spacing-md);
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contact-info a {
        word-break: break-all;
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-nav i {
        font-size: 1rem;
    }

    .service-areas img {
        max-height: 250px;
    }

    .wave-shape {
        height: 100px;
    }
    
    .wave-path {
        border-radius: 0 0 60% 60%;
        transform: translateX(-30%);
    }
    
    .wave-path-bottom {
        border-radius: 0 0 60% 60%;
        transform: translateX(-30%);
    }
}

/* Wave Shapes - Simple CSS Approach */
.wave-shape {
    position: absolute;
    width: 100%;
    height: 150px;
    z-index: 1;
    top: 70px;
    left: 0;
    overflow: hidden;
}

.wave-path {
    width: 200%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--bg-nature) 100%);
    border-radius: 0 0 50% 50%;
    transform: translateX(-25%);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.wave-shape-bottom {
    width: 100%;
    height: 120px;
    display: block;
    position: absolute;
    bottom: -120px;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.wave-path-bottom {
    width: 200%;
    height: 100%;
    background: #000000;
    border-radius: 0 0 50% 50%;
    transform: translateX(-25%);
    filter: drop-shadow(0 -4px 8px rgba(0, 0, 0, 0.1));
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }
.service-card:nth-child(9) { animation-delay: 0.9s; }
.service-card:nth-child(10) { animation-delay: 1s; }
.service-card:nth-child(11) { animation-delay: 1.1s; }
