:root {
    --eerie-black: #161C10;
    --cal-poly-green: #37492D;
    --moss-green: #8C9D75;
    --dun: #DBC9AB;
    --rosy-brown: #C99585;
    --primary-font: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--primary-font);
    line-height: 1.6;
    color: var(--eerie-black);
    overflow-x: hidden;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--eerie-black);
}

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--moss-green) 0%, var(--cal-poly-green) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/hero_background.png') center/cover;
    opacity: 0.75;
    z-index: 1;
    filter: brightness(1.15)
}

.logo-container {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 15;
}

.navbar {
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
    z-index: 10;
    margin-top: 3rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: clamp(6rem, 12vh, 12rem);
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    background: transparent;
    mix-blend-mode: multiply;
    object-fit: contain;
    padding: 0;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-wide {
    display: flex;
    align-items: center;
}

.logo-wide-image {
    height: 60px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    background: transparent;
    object-fit: contain;
    padding: 0;
}

.logo-wide-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--cal-poly-green);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--dun);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 2rem;
    position: relative;
    z-index: 5;
}

.hero-title {
    font-size: 8rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    text-align: center;
}

.hero-image {
    max-width: 45%;
    position: relative;
}

.house-render {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.house-render:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.about-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--dun) 0%, #f5f0e8 100%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--cal-poly-green);
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--eerie-black);
    line-height: 1.8;
}

.process-section {
    padding: 5rem 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.process-step {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-step p {
    color: var(--eerie-black);
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 25%, rgba(0,0,0,0.02) 50%);
    border-radius: 15px;
    z-index: 1;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.process-step:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 25%, rgba(0,0,0,0.01) 50%);
}

.step-image {
    display: none;
}

.process-step:nth-child(1) {
    background-image: url('assets/process_specification.jpg');
    filter: brightness(1.0) contrast(1.1);
}

.process-step:nth-child(2) {
    background-image: url('assets/process_selections_v3.png');
    filter: brightness(1.0) contrast(1.0);
}

.process-step:nth-child(3) {
    background-image: url('assets/process_bathroom.png');
    filter: brightness(1.1) contrast(1.1);
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cal-poly-green);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.process-step h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    color: var(--eerie-black);
    font-weight: 600;
    text-shadow: none;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.4rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    display: inline-block;
}

.process-step p {
    color: var(--eerie-black);
    line-height: 1.6;
    font-weight: 500;
    text-shadow: none;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.4rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    display: inline-block;
}

.process-footer {
    text-align: center;
    font-size: 1.25rem;
    color: var(--cal-poly-green);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.services-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--moss-green) 0%, var(--eerie-black) 100%);
    color: white;
}

.services-section .section-title {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--cal-poly-green);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
}

.service-image {
    height: 300px;
    overflow: hidden;
}

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

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dun);
    font-weight: 600;
}

.service-content p {
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--moss-green);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: var(--moss-green);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--primary-font);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--moss-green);
    color: white;
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: #f8f9fa;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.8);
}

.load-more {
    text-align: center;
}

.load-more-btn {
    background: var(--moss-green);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--primary-font);
    font-size: 1rem;
}

.load-more-btn:hover {
    background: var(--cal-poly-green);
    transform: translateY(-2px);
}

.contact-section {
    padding: 5rem 0;
    /* background: linear-gradient(135deg, var(--dun) 0%, var(--dun) 100%); */
    background: linear-gradient(135deg, var(--dun) 0%, #f5f0e8 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin: 2rem 0 1rem 0;
    color: var(--cal-poly-green);
    font-weight: 600;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cal-poly-green);
}

.contact-form {
    background: rgba(255,255,255,0.9);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--eerie-black);
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--moss-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(140,157,117,0.2);
}

.submit-btn {
    width: 100%;
    background: var(--cal-poly-green);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--primary-font);
    font-size: 1.1rem;
}

.submit-btn:hover {
    background: var(--eerie-black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer {
    background: var(--eerie-black);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
}

.footer-contact {
    text-align: center;
}


.footer-links {
    display: flex;
    justify-content: right;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact p {
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.gallery-item.hidden {
    display: none;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        max-width: 100%;
    }

    .hero-image {
        max-width: 90%;
    }

    .about-content {
        flex-direction: column;
    }

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 45%;
        height: 75vh;
        background: linear-gradient(to bottom, var(--dun) 0%, #f5f0e8 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

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

    .nav-menu a {
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        position: relative;
        z-index: 1001;
        font-size: 2rem !important;
        padding: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}