:root {
    --white: #ffffff;
    --off-white: #f9f7f4;
    --light-beige: #faf6f3;
    --soft-cream: #fdfbfa;
    --light-grey: #eae7e3;

    --warm-brown: #8c6a4e;
    --medium-brown: #a58a76;
    --light-brown: #cbb7a2;

    --text-primary: #3a3a3a;
    --text-secondary: #6b6b6b;
}

body {
    font-family: 'Georgia', serif;
    color: var(--text-primary);
    background-color: var(--off-white);
    margin: 0;
    padding: 0;
    line-height: 1.7;
}


header {
    position: relative;
    width: 100%;
    overflow: hidden;
}

nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.642);

}

nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav ul li a:hover {
    border-bottom: 2px solid var(--warm-brown);
}

nav ul li.head a {
    font-size: 24px;
    color: black;
    font-weight: 700;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;

}

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



.hero-text {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 1200px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-text h1:hover {
    text-decoration: underline;
}

.halfcircle {
    width: 115vw;
    height: 9rem;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    nav ul li {
        margin: 0 10px;
    }

    nav ul li.head a {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    nav ul {
        justify-content: space-around;
    }

    nav ul li {
        margin: 5px 8px;
    }

    nav ul li a {
        font-size: 12px;
    }

    nav ul li.head {
        order: -1;
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    nav {
        padding: 10px 0;
    }

    nav ul li {
        margin: 5px;
    }
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service {
    display: flex;
    margin-bottom: 6rem;
    align-items: center;
    position: relative;
}

.service-image {
    flex: 1;
    min-width: 50%;
    position: relative;
    z-index: 1;
}

.service-image img {
    width: 98%;
    height: 350px;
    object-fit: cover;
    display: block;
    border: 10px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-content {
    flex: 1;
    background-color: #f5f0e9;
    padding: 3rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service:nth-child(even) .service-content {
    margin-left: -50px;
}

.service:nth-child(odd) .service-content {
    margin-right: -15px;
}

.service-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--warm-brown);
}

.service-content p {
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--medium-brown);

}

.divider {
    width: 120px;
    height: 1px;
    background-color: var(--warm-brown);
    margin: 1.5rem 0;
    opacity: 0.7;
}

.service-btn {
    background: none;
    border: 1px solid var(--warm-brown);
    color: var(--warm-brown);
    padding: 0.8rem 2.2rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.service-btn:hover {
    background-color: var(--warm-brown);
    color: white;
}

.decoration {
    position: absolute;
    z-index: 0;
}



/* Media Queries */
@media (max-width: 1100px) {

    .service:nth-child(even) .service-content,
    .service:nth-child(odd) .service-content {
        margin: -50px 30px 0;
    }

    .service-content {
        padding: 2.5rem;
    }
}

@media (max-width: 900px) {
    .service {
        flex-direction: column;
    }

    .service:nth-child(even) {
        flex-direction: column-reverse;
    }

    .service-image,
    .service-content {
        width: 100%;
    }

    .service:nth-child(even) .service-content,
    .service:nth-child(odd) .service-content {
        margin: -50px 0 0;
        width: 90%;
    }


}

@media (max-width: 768px) {

    .service-content {
        padding: 2rem;
    }

    .service-content h2 {
        font-size: 2rem;
    }

    .service-btn {
        padding: 0.7rem 1.8rem;
    }
}

@media (max-width: 576px) {

    .service-content {
        padding: 1.5rem;
        width: 100%;
    }

    .service:nth-child(even) .service-content,
    .service:nth-child(odd) .service-content {
        margin: -30px 0 0;
        width: 91%;
    }

    .service-content h2 {
        font-size: 1.8rem;
    }

    .service-content p {
        font-size: 1rem;
    }

    .service-image img {
        height: 300px;
        border-width: 8px;
    }

    .fakeicon {
        display: none;
    }

    .circle1,
    .circle2 {
        display: none;
    }
}

.circlend {
    background-color: var(--off-white);
}

.fakeicon img {
    position: absolute;
    z-index: 1;
    width: 24rem;
    margin: -5rem 0 0 41rem;
}

.browncircle {
    width: 100%;
    height: 6rem;
    position: relative;
    margin: -1rem 0rem;
}

/* Footer */
footer {
    position: absolute;
    background-color: var(--warm-brown);
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(139, 107, 74, 0.1);
    border-radius: 11px;
}

.footer-content {
    margin: 0rem 6rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-description {
    color: white;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #d4a977;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    color: white;
}

.footer-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #d4a977;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #d4a977;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: white;
}

.copyright {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid white;
    text-align: center;
    color: white;
    font-size: 0.9rem;
}


@media (max-width: 1116px) {
    .fakeicon img {
        width: 20%;
        margin-left: 13rem;
    }
}


/* Media Queries */
@media (max-width: 1200px) {
    .footer-content {
        margin: 0rem 4rem;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        margin: 0rem 3rem;
    }

    .footer-logo-container {
        grid-column: 1 / -1;
        /* Make logo section span full width */
    }
}

@media (max-width: 768px) {
    footer {
        padding: 40px 20px 20px;
        position: relative;
        /* Changed from absolute for better mobile flow */
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 0rem 2rem;
    }

    .footer-heading {
        font-size: 1.2rem;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        margin: 0rem 1rem;
    }

    .footer-logo {
        font-size: 1.8rem;
        text-align: center;
    }

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

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

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
        padding: 0;
    }

    .copyright {
        font-size: 0.8rem;
        margin-top: 30px;
    }
}