header {
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-size: 300px;
    opacity: 0.3;
}

.logo {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

.slogan {
    font-size: clamp(1rem, 4vw, 1.8rem);
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-style: italic;
    max-width: 800px;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.btn:hover {
    background: #ffc107;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

section {
    padding: 60px 15px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    /* background-color: #ededed; */
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
    background-size: cover;
    background-position: center;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 40px;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--accent-gold), var(--primary-dark));
    border-radius: 3px;
}

.services {
    display: grid;
    margin: auto;
    grid-template-columns: repeat(3, minmax(250px, 350px));
    gap: 30px;
    width: fit-content;
}

.services a {
    text-decoration: none;
}

.service-card {
    background-color: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    background: url('https://www.transparenttextures.com/patterns/cream-paper.png');
    cursor: pointer;
    color: var(--text-dark);
    text-decoration: none;
}

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

.service-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.service-content {
    padding: 20px;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 8px;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.gallery-item:nth-child(n + 9) {
    display: none;
}

.gallery-item {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.4s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--text-light);
    filter: grayscale(20%);
}

.gallery-item:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.see-all-gal-block {
    font-size: 22px;
    margin: auto;
    width: fit-content;
    margin-top: 20px;
}

.see-all-gal {
    text-decoration: underline;
    color: var(--primary-medium);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-info {
    background: linear-gradient(135deg, #34953940, var(--text-light));
    /* background-color: #34953940; */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%232e7d32" fill-opacity="0.1" d="M30,10 Q50,5 70,10 Q95,15 90,40 Q85,65 70,90 Q50,95 30,90 Q5,85 10,60 Q15,35 30,10 Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.contact-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-gold);
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 8px;
    transition: all 0.3s;
    border-radius: 5px;
}

.contact-item:hover {
    background-color: rgba(129, 199, 132, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    margin-right: 15px;
    color: var(--primary-medium);
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

.contact-form {
    /* background: linear-gradient(135deg, var(--text-light), var(--primary-extra-light)); */
    background: linear-gradient(135deg, #34953940, var(--text-light));
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    position: relative;
}

.form-group label {
    font-size: 0.95rem;
}

.form-input, .form-textarea {
    font-size: 0.95rem;
}

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

button[type="submit"] {
    display: inline-block;
    width: 100%;
    max-width: 250px;
}

.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0,0V26c60,20,120,35,180,31s120-29,180-33c60-4,120,15,180,30s120,20,180,10,120-40,180-50,120,0,180,20,120,50,120,50V0Z' opacity='.25' fill='%231b5e20'></path><path d='M0,0V10c30,30,60,55,120,70s120,10,180-10,120-60,180-60,120,30,180,60,120,30,180,10,120-60,180-70,120,10,180,30,120,20,120,20V0Z' opacity='.5' fill='%231b5e20'></path><path d='M0,0V5c150,50,300,60,450,30s300-70,450-10,300,60,450,20V0Z' fill='%231b5e20'></path></svg>") no-repeat center center;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
}

button[type="submit"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
}

button[type="submit"]:hover::before {
    left: 100%;
}

footer {
    text-align: center;
    margin-top: 40px;
    overflow: hidden;
}

/* About section specific styles */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 5px solid white;
}

.about-text {
    background-color: #C8E0C7;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
}

.about-text p {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    section {
        padding: 80px 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .about-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .gallery-item {
        height: 160px;
    }
    
    .submit-btn {
        width: auto;
    }
}

@media (min-width: 992px) {
    section {
        padding: 100px 30px;
    }
    
    .services {
        gap: 40px;
    }
    
    .service-img {
        height: 250px;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .about-text {
        font-size: 1.1rem;
        padding: 30px;
    }
}

@media (min-width: 1200px) {
    .service-img {
        height: 280px;
    }
    
    .gallery-item {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
}

@media (max-width: 770px) {
    .gallery-item:nth-child(n + 5) {
        display: none;
    }
}

@media (max-width: 1400px) {
    .services {
        display: grid;
        margin: auto;
        grid-template-columns: repeat(2, minmax(250px, 350px));
        gap: 30px;
        width: fit-content;
    }
}

@media (max-width: 800px) {
    .services {
        display: grid;
        margin: auto;
        grid-template-columns: repeat(1, minmax(250px, 350px));
        gap: 30px;
        width: fit-content;
    }
}
