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

:root {
    --primary-brown: #8B7355;
    --primary-tan: #A0826D;
    --secondary-cream: #F5F5DC;
    --secondary-beige: #FAF8F3;
    --accent-dark: #6B5D4F;
    --text-dark: #2C2C2C;
    --text-light: #666;
    --white: #FFFFFF;
    --success: #4CAF50;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Mobile First */
.navbar {
    background-color: var(--accent-dark);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--accent-dark);
    flex-direction: column;
    padding: 80px 30px 30px;
    list-style: none;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px var(--shadow);
}

.nav-menu.active {
    right: 0;
}

.nav-menu li {
    margin: 15px 0;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-cream);
}

.nav-phone {
    color: var(--secondary-cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background-image: url('images/hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.55));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 20px;
    max-width: 800px;
}

.licensed-badge {
    display: inline-block;
    background-color: var(--primary-brown);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 500;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 1;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-brown);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    margin: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.cta-button-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    margin: 10px;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background-color: var(--white);
    color: var(--primary-brown);
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    background-color: var(--secondary-beige);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.4rem;
    color: var(--primary-brown);
}

.service-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
}

.service-link {
    display: block;
    text-align: center;
    background-color: var(--primary-brown);
    color: var(--white);
    padding: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.service-link:hover {
    background-color: var(--accent-dark);
}

/* Why Us Section */
.why-us {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--secondary-beige);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    color: var(--primary-brown);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Service Area Section */
.service-area {
    background-color: var(--secondary-cream);
    text-align: center;
}

.service-area-text {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Contact Section */
.contact {
    background-color: var(--secondary-beige);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 10px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.progress-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--text-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: background-color 0.3s ease;
}

.progress-step.active .progress-number {
    background-color: var(--primary-brown);
}

.progress-step.completed .progress-number {
    background-color: var(--success);
}

.progress-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

.progress-step.active .progress-label {
    color: var(--primary-brown);
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 2px;
    background-color: var(--text-light);
    margin: 0 10px 20px;
    max-width: 80px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-brown);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-next,
.btn-prev,
.btn-submit {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-next,
.btn-submit {
    background-color: var(--primary-brown);
    color: var(--white);
}

.btn-next:hover,
.btn-submit:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-prev {
    background-color: transparent;
    color: var(--primary-brown);
    border: 2px solid var(--primary-brown);
}

.btn-prev:hover {
    background-color: var(--secondary-beige);
}

.form-success {
    text-align: center;
    padding: 40px;
}

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

.form-success h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

.contact-info {
    text-align: center;
    margin-top: 30px;
}

.contact-prefer,
.contact-email {
    margin: 10px 0;
    color: var(--text-light);
}

.contact-info a {
    color: var(--primary-brown);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--accent-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin: 8px 0;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--white);
}

.licensed-badge-footer {
    display: inline-block;
    background-color: var(--primary-brown);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        display: flex;
        align-items: center;
    }

    .nav-menu li {
        margin: 0 20px;
    }

    .nav-link,
    .nav-phone {
        font-size: 16px;
    }

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .progress-label {
        font-size: 0.9rem;
    }

    .progress-line {
        max-width: 120px;
    }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
    .hero {
        height: 700px;
    }

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

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-form {
        padding: 50px;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .section-title {
        font-size: 2.5rem;
    }
}
