/*==================================================
    RESET
==================================================*/

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter', Arial, Helvetica, sans-serif;
    background:#faf9f5;
    color:#3f4637;
    line-height:1.7;
    overflow-x:hidden;
}

img{
    display:block;
    max-width:100%;
}

ul{
    list-style:none;
}

a{
    text-decoration:none;
    color:inherit;
}

button{
    border:none;
    background:none;
    cursor:pointer;
    font-family:inherit;
}

input,
textarea{
    font-family:inherit;
}


/*==================================================
    VARIABLES
==================================================*/

:root{

    /* Main Colors */

    --sage:#d8e2d0;
    --olive:#66764c;
    --olive-dark:#4b5a38;

    
    --sand-dark:#c2aa88;

    --white:#ffffff;
    --light:#f8f7f2;

    --text:#454c40;
    --text-light:#70766a;

    --shadow:
    0 15px 40px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.35s ease;

}


/*==================================================
    GLOBAL
==================================================*/

.container{

    width:min(1200px,90%);
    margin:auto;

}

section{

    padding:100px 0;

}

.section-subtitle{

    display:inline-block;

    color:var(--olive);

    font-size:.95rem;

    text-transform:uppercase;

    letter-spacing:3px;

    margin-bottom:14px;

    font-weight:600;

}

.section-title,
h1,
h2{

    font-family:"Playfair Display",serif;

    color:var(--olive-dark);

}

.section-subtitle h2 {
    text-transform: none;
}

h1{

    font-size:4rem;
    line-height:1.1;
    margin-bottom:25px;

}

h2{

    font-size:2.6rem;
    margin-bottom:25px;

}

h3{
    margin-bottom:25px;
    font-size:1.25rem;
    color:var(--olive-dark);

}

p{

    color:var(--text-light);

}


/*==================================================
    BUTTONS
==================================================*/

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:15px 36px;

    border-radius:999px;

    font-weight:600;

    transition:var(--transition);

}

.btn.primary{

    background:var(--olive);

    color:white;

}

.btn.primary:hover{

    background:var(--olive-dark);

    transform:translateY(-3px);

}

.btn.secondary{

    border:2px solid var(--olive);

    color:var(--olive);

}

.btn.secondary:hover{

    background:var(--olive);

    color:white;

}


/*==================================================
    HEADER
==================================================*/

#header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:1000;

    background:rgba(250,249,245, 0.4);

    backdrop-filter:blur(10px);

    border-bottom:1px solid rgba(0,0,0,.05);

}

.navbar{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:82px;

}

.logo{

    font-family:"Playfair Display",serif;

    font-size:1.8rem;

    color:var(--olive-dark);

    font-weight:600;

}

nav ul{

    display:flex;

    gap:38px;

}

nav a{

    position:relative;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color: #c2aa88;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--sand);

    transition:.3s;

}

nav a:hover::after{

    width:100%;

}

#menu-btn{

    display:none;

    font-size:1.5rem;

    color:var(--olive-dark);

}


/*==================================================
    HERO
==================================================*/

#hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    padding-top:90px;

    position:relative;

    overflow:hidden;

    background-image:
    linear-gradient(
        rgba(248,247,242,0.5),
        rgba(238,242,234,0.5)
    ),
    url("images/hero-bg.png");

    background-size:cover;

    background-position:center top;

    background-attachment:fixed;

}

.hero-grid{

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;

}

.hero-text {
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}



.hero-subtitle{

    display:inline-block;

    background:var(--sage);

    color:var(--olive-dark);

    padding:8px 18px;

    border-radius:999px;

    margin-bottom:25px;

    font-weight:600;

}

.hero-text p{

    font-size:1.1rem;

    margin-bottom:35px;

    max-width:550px;

}

.hero-buttons{

    display:flex;

    gap:18px;

}




    .hero-text p{

        margin-left:auto;

        margin-right:auto;

    }


    .hero-buttons{

        justify-content:center;

    }



   
.hero-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
}



/*==================================================
    COMMON CARDS
==================================================*/

.card{

    background:white;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-8px);

}


/*==================================================
    SIMPLE ANIMATIONS
==================================================*/

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:1s;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}


/*SECOND PART */

/*==================================================
    ABOUT
==================================================*/

#about{
    background:var(--white);
}

.about-grid{
    text-align: justify;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:start;
}

.about-image{
    display:flex;
    justify-content:center;
    padding-top:60px;
}

.about-image img{
    width:100%;
    max-width:480px;
    border-radius:24px;
    box-shadow:var(--shadow);
}

.about-content p{
    margin-bottom:22px;
}

.about-list{
    margin-top:30px;
    display:grid;
    gap:18px;
}

.about-list li{
    display:flex;
    align-items:center;
    gap:14px;
    color:var(--text);
    font-weight:500;
}

.about-list i{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--sage);
    color:var(--olive-dark);
}


/*==================================================
    SERVICES
==================================================*/

#services{
    background:var(--light);
    text-align:center;
}

.services-grid{
    margin-top:60px;

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.service-card{

    background:var(--white);

    padding:45px 35px;

    border-radius:22px;

    transition:.35s;

    box-shadow:0 12px 30px rgba(0,0,0,.05);

}

.service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.08);

}

.service-card i{

    width:75px;
    height:75px;

    margin:auto;

    margin-bottom:25px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:1.8rem;

    border-radius:50%;

    background:var(--sage);

    color:var(--olive-dark);

}

.service-card h3{

    margin-bottom:18px;

}

.service-card p{

    color:var(--text-light);

}


/*==================================================
    WHY CHOOSE ME
==================================================*/

#why{

    background:linear-gradient(
        180deg,
        #ffffff,
        #f8f7f2
    );

}

.why-grid{
    text-align: justify;

    display:flex;
    flex-direction:column;
    gap: 50px;

}

.why-grid > div:first-child {
    text-align: center;
}

.why-grid h2 {
    margin: 0 auto;
}

.why-grid > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-item{

    display:flex;

    align-items:flex-start;

    gap:20px;

    padding:28px;

    margin-bottom:25px;

    border-radius:20px;

    background:white;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    transition:.35s;

}

.why-item:hover{

    transform: translateY(-5px);

}

.why-item i{

    font-size:2rem;

    color:var(--olive);

    margin-top:3px;

}

.why-item h3{

    margin-bottom:8px;

}

.why-item p{

    color:var(--text-light);

}


/*==================================================
    SMALL DECORATIVE EFFECTS
==================================================*/

#about,
#services,
#why{
    position:relative;
    overflow:hidden;
}



#services::after{

    content:"";

    position:absolute;

    width:260px;
    height:260px;

    background:var(--sand);

    opacity:.15;

    border-radius:50%;

    right:-100px;
    bottom:-100px;

}

#why::before{

    content:"";

    position:absolute;

    width:220px;
    height:220px;

    background:var(--sage);

    opacity:.12;

    border-radius:50%;

    top:40px;
    right:-80px;

}



/* Part 3 */

/*==================================================
    GALLERY
==================================================*/

#gallery{
    background:var(--white);
    text-align:center;
}

.gallery-grid{
    margin-top:60px;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.gallery-grid img{

    width:100%;
    height:320px;

    object-fit:cover;

    border-radius:20px;

    cursor:pointer;

    transition:.4s ease;

    box-shadow:0 12px 30px rgba(0,0,0,.06);

}

.gallery-grid img:hover{

    transform:scale(1.04);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}


/*==================================================
    CTA
==================================================*/

#cta{

    background:linear-gradient(
        135deg,
        var(--sage),
        #a3b990
    );

}

.cta-box{

    text-align:center;

    max-width:800px;

    margin:auto;

}

.cta-box h2{

    margin-bottom:20px;

}

.cta-box p{

    font-size:1.1rem;

    margin-bottom:35px;

}


/*==================================================
    CONTACT
==================================================*/


.contact-grid{
     display:grid;

    grid-template-columns: 1fr 1.5fr;

    gap:70px;

    align-items:start;

}

#contact{

    background:var(--white);

}



.contact-info h2{

    margin-bottom:30px;

}

.contact-item{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:28px;

    color:var(--text);

    font-weight:500;

}

.contact-item i{

    width:52px;

    height:52px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:var(--sage);

    color:var(--olive-dark);

    font-size:1.2rem;

}


/*==================================================
    CONTACT FORM
==================================================*/

.contact-form{

    display:flex;

    flex-direction:column;

    gap:20px;

    background:var(--light);

    padding:40px;

    border-radius:24px;

    box-shadow:var(--shadow);

}

.contact-form input,
.contact-form textarea{

    width:100%;

    border: 1px solid #3f4637;

    background:white;

    padding:18px 22px;

    border-radius:14px;

    font-size:1rem;

    color:var(--text);

    transition:.3s;

}

.contact-form textarea{

    resize:vertical;

    min-height:180px;

}

.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;

    box-shadow:0 0 0 3px rgba(102,118,76,.15);

}

.contact-form button{

    align-self:flex-start;

}


/*==================================================
    FOOTER
==================================================*/

footer{
    background-color: #a3b990;

    color:white;

    padding:40px 0;

}

.footer-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

}

.footer-content p{

    color:#d8dfd1;

}

.socials{

    display:flex;

    gap:14px;

}

.socials a{

    width:44px;

    height:44px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    transition:.3s;

}

.socials a:hover{

     background:rgb(141, 129, 88);

    transform:translateY(-3px);

}


/*==================================================
    SCROLLBAR (Desktop)
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#efeee8;

}

::-webkit-scrollbar-thumb{

    background:var(--sand-dark);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--olive);

}


/*==================================================
    SMALL UTILITIES
==================================================*/

::selection{

    background:var(--sand);

    color:var(--olive-dark);

}

section{

    scroll-margin-top:100px;

}


.about-image img,
.gallery-grid img{

    user-select:none;

    -webkit-user-drag:none;

}

.btn{

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.btn:hover{

    box-shadow:0 14px 28px rgba(0,0,0,.12);

}


/* Mobile Part


/*==================================================
    RESPONSIVE DESIGN
==================================================*/


/* Large Tablets / Small Laptops
==================================================*/

@media(max-width:1100px){

    h1{
        font-size:3.3rem;
    }


    h2{
        font-size:2.3rem;
    }


    .hero-grid{

        gap:40px;

    }


    .about-grid,
    .why-grid,
    .contact-grid{

        gap:40px;

    }


}



/* Tablets 
==================================================*/

@media(max-width:900px){


body {
    text-align: justify;
}
    


    section{

        padding:80px 0;

    }


    /* Mobile Navigation */

    #menu-btn{

        display:block;

    }


    nav{

        position:absolute;

        top:82px;

        left:0;

        width:100%;

        background:var(--white);

        max-height:0;

        overflow:hidden;

        transition:.4s ease;

        box-shadow:0 15px 30px rgba(0,0,0,.08);

    }


    nav.active{

        max-height:400px;

    }


    nav ul{

        flex-direction:column;

        gap:0;

        padding:25px;

    }


    nav li{

        width:100%;

    }


    nav a{

        display:block;

        padding:15px 0;

    }


    nav a::after{

        display:none;

    }



    /* General Layout */


    .hero-grid,
    .about-grid,
    .why-grid,
    .contact-grid{

        grid-template-columns:1fr;

    }


    


    .about-content{

        text-align:justify;

    }


    .about-list{

        text-align:left;

        max-width:400px;

        margin-left:auto;

        margin-right:auto;

    }


    .why-grid > div:first-child{

        text-align:justify;

    }


    .why-grid h2{

        margin-left:auto;

        margin-right:auto;

    }


    .contact-info{

        text-align:left;

    }


    .contact-item{

        justify-content:flex-start;

    }


    .services-grid{

        grid-template-columns:1fr;

    }


    .gallery-grid{

        grid-template-columns:repeat(2,1fr);

    }


}




/* Mobile Phones
==================================================*/

@media(max-width:600px){


body {
    text-align: justify;
}
    

    .map-container{

        height:320px;

    }



    .container{

        width:88%;

    }


    section{

        padding:65px 0;

    }


    h1{

        font-size:2.5rem;

    }


    h2{

        font-size:2rem;

    }


    p{

        font-size:.95rem;

    }


    .logo{

        font-size:1.5rem;

    }


    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }


    .btn{

        width:100%;

        max-width:280px;

    }




    .service-card{

        padding:35px 25px;
        text-align: justify;

    }


    .why-item{

        padding:22px;

        flex-direction:column;

        text-align:center;

        align-items:center;

    }


    .gallery-grid{

        grid-template-columns:1fr;

    }


    .gallery-grid img{

        height:260px;

    }


    .contact-form{

        padding:25px;

    }


    .contact-form button{

        width:100%;

        align-self:center;

    }


    .footer-content{

        flex-direction:column;

        text-align:center;

    }


}



/* Very Small Phones
==================================================*/

@media(max-width:380px){

body {
    text-align: justify;
}


    h1{

        font-size:2.2rem;

    }


    .hero-subtitle{

        font-size:.8rem;

    }


     .contact-item{
        flex-direction:row;
        justify-content:flex-start;
        gap:14px;
    }

     #navbar-logo{
        content:url("images/logobrowser.png");
    }


}

/*==================================================
    GOOGLE MAP
==================================================*/

.map-container{

     width:100%;

    height:450px;

    margin-top:60px;

    border-radius:25px;

    overflow:hidden;

    box-shadow:var(--shadow);


}


.map-container iframe{

      width:100%;

    height:100%;

    border:0;

    display:block;

}


nav a.active{
    color:var(--olive);
}





.logo img{
    height:60px;
    width: auto;
    display: block;
}



@media(max-width:768px){

    #hero{

        background-attachment:scroll;

    }

}


#hero::before{

    content:"";

    position:absolute;

    width:600px;

    height:600px;

    background:var(--sage);

    opacity:.25;

    border-radius:50%;

    top:-200px;

    right:-200px;

    filter:blur(80px);

}

/* TRANSLATION BUTTON */

.language-switcher {
    gap: 6px;
    margin-right: 10px;
}

.language-switcher button {
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    padding: 3px;
    transition: 0.2s;
}

.language-switcher button:hover {
    color: var(--olive);
}

.language-switcher button.active {
    color: var(--olive);
    font-weight: 600;
}

.language-switcher span {
    color: #ccc;
}

.about-text {
    white-space: pre-line;
}


/*checkbox*/

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

.privacy-checkbox input {
    margin-top: 4px;
    flex-shrink: 0;
    width: auto;
}

.privacy-checkbox a {
    color: inherit;
    text-decoration: underline;
}

.privacy-checkbox a:hover {
    opacity: 0.7;
}

.map-consent {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    background: #f4f1e8;
}

.map-consent h3 {
    margin-bottom: 12px;
}

.map-consent p {
    max-width: 500px;
    margin-bottom: 20px;
    line-height: 1.6;
}


/* ================= PRIVACY PAGE ================= */

.privacy-page {
    padding: 100px 0;
}

.privacy-page h2 {
    margin-bottom: 30px;
}

.privacy-page h3 {
    margin-top: 35px;
    margin-bottom: 12px;
}

.privacy-page p,
.privacy-page li {
    line-height: 1.8;
    color: #555;
}

.privacy-page ul {
    margin: 15px 0 25px 20px;
}

.privacy-page a {
    color: inherit;
    text-decoration: underline;
}

.privacy-page .privacy-updated {
    margin-top: 50px;
    font-size: 13px;
    color: #777;
}


/* ============== FOOTER ================= */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    text-decoration: underline;
}

.footer-links a:hover {
    opacity: 0.7;
}



/*=============== Carousel ============== */

.gallery-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 8px;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-btn {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: #c2aa88;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 2;
}

.carousel-btn:hover {
    background: #66764c;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #c8c3b8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    transform: scale(1.3);
    background: #77705f;
}

@media (max-width: 768px) {

    .gallery-carousel {
        gap: 8px;
    }

    .carousel-track {
        aspect-ratio: 4 / 3;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
}





#AaronBeck {
    text-align: center;
    font-style: italic;
}


/*===========custom icons ============= */

.service-icon {
    width:75px;
    height:75px;

    margin:auto;

    margin-bottom:25px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:1.8rem;

    border-radius:50%;

    background:var(--sage);

    color:var(--olive-dark);
}

.service-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}




/*=========emailJS message==================*/

#status {
    margin-top: 15px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    display: none;
}

#status.success {
    display: block;
    background: #e5f0df;
    color: var(--olive-dark);
    border: 1px solid #b8c9a8;
}

#status.error {
    display: block;
    background: #f8e5e2;
    color: #8a3f38;
    border: 1px solid #d9aaa5;
}