/* Reset and Base Styles */
:root {
    /*--base-color: #223634;*/
    /*--primary-color: #F9C6B0;*/
    /*--primary-color-gradient: #da957b;*/
    /*--primary-color-5: rgba(249, 198, 176, 0.1);*/
    /*--asdf: rgba(255, 184, 35, 0.2);*/
    /*--neutral-color: #F4F0EF;*/
    /*--neutral-color-80: rgba(244, 240, 239, 0.8);*/
    
    --base-color: rgba(252, 242, 209, 1);
    --primary-color: #FCD002;
    --primary-color-gradient: #f3cf27;
    --secondary-color: #004c30;
    --card-color: #FFF9E7;
    --card-border: #faebb7;
    --primary-color-5: rgba(45, 69, 47, 0.05);
    --asdf: rgba(255, 184, 35, 0.2);
    --neutral-color: #000;
    --neutral-color-80: rgba(0,0,0, 0.8);
    
    --title-font: 'EB Garamond', Garamond, Georgia, sans-serif;
}

h1, h2, h3, h4 {
    font-family: var(--title-font);
    font-weight: 400;
    /*letter-spacing: -0.05rem;*/
    color: var(--secondary-color)
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--neutral-color);
    overflow-x: hidden;
    background: var(--base-color);
    /*perspective: 1px;*/
    /*overflow-y: scroll;*/
    /*transform-style: preserve-3d;*/
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--base-color);
    z-index: 1000;
    transition: all 0.3s ease;
    /*box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);*/
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-logo img{
    height: 1.3rem;
    
}

.nav-logo h2 {
    /*font-weight: 700;*/
    font-size: 1.5rem;
    margin: 0;
    
}

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

.nav-link {
    text-decoration: none;
    color: var(--neutral-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2d5016;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--neutral-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    /*background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);*/
    overflow: hidden;
    position: relative;


}

.hero-inner {
    gap: 6rem;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.hero-content {
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    /*padding: 24px 32px;*/
    max-width: 800px;

}

.hero-content > *:not(a) {
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/*.hero-content:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 0;*/
/*    bottom: 0;*/
/*    right: 0;*/
/*    top: 0;*/
/*    background: rgba(252, 242, 209, 0.6);*/
/*    backdrop-filter: blur(20px);*/
/*    z-index: -1;*/
/*}*/

.hero-title {
    font-size: 4.5rem;
    font-weight: 400;
    /*color: var(--neutral-color);*/
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: var(--title-font);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.6;
}

button, .cta-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
}

.cta-button {
    display: inline-block;

    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    /*box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);*/
}

button:hover, .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0, 0.1);
}

.hero-image {
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    background: url(../images/landscape.jpg) bottom;
    background-size: cover;
    transform: translateZ(-1px);
    /*transform: scaleX(-1);*/
    
}

.hero-image:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

#hill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 50%;
    z-index: -1;
    
}

/* Section Styles */
.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

/* Services Section */

section {
    padding: 150px 0;
    
}

/*.services {*/
/*}*/

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

.service-card {
    background: var(--card-color);
    padding: 2.5rem;
    /*border-radius: 15px;*/
    text-align: center;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    /*box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);*/
    /*border: 1px solid var(--primary-color-5);*/
}

.service-card:hover {
    transform: translateY(-10px);
    /*box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);*/
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Section */
/*.gallery {*/
/*    padding: 100px 0;*/
    /*background: #f8fffe;*/
/*}*/

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    /*border-radius: 15px;*/
    cursor: pointer;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 76, 48, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    
    opacity: 1;
}

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

/* About Section */
.about {
    padding: 100px 0;
    /*background: white;*/
}

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

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    /*font-weight: 700;*/
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    /*padding: 100px 0;*/
}

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

.testimonial {
    background: var(--card-color);
    padding: 2.5rem;
    border: 1px solid var(--card-border);
    /*border-radius: 15px;*/
    /*box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);*/
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
    line-height: 0.4;
}

.testimonial-author span {
    color: #999;
    font-size: 0.8rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    /*background: white;*/
}

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

.contact-info h3 {
    color: #2d5016;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 20px;
    color: #2d5016;
}

.contact-form {
    background: var(--card-color);
    padding: 2.5rem;
    border: 1px solid var(--card-border);
    /*border-radius: 15px;*/
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 1px var(--secondary-color);
}

input, textarea, select {
    background: none;
}

.submit-button {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a7c59;
    color: #ccc;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        /*top: -100%;*/
        position: relative;
        flex-direction: column;
        background-color: var(--base-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        transform: scaleY(0);
        
        /*max-height: 0;*/
        overflow: hidden;
        transform-origin: top;
    }
    
    .nav-menu-outer {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
    }

    .nav-menu-outer.active .nav-menu {
        transform: scaleY(1);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: scale(0.5);
        
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    

    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title, h1, h2, h3, h4, h5 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
        
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .stats {
        justify-content: center;
    }

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

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

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

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title, h1, h2, h3, h4, h5 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .service-card,
    .testimonial,
    .contact-form {
        padding: 1.5rem;
    }
}

