*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body{
    background-image: url(images/frerfeef.jpg);
    background-position: center;
    background-size: cover;
    height: 100vh;
}

header{
    display: flex;
    justify-content: space-between;
    height: 15vh;
    padding: 30px;
}

main{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 85vh;
}

.logo-sec img{
    width: 100%;
    max-width: 35px;
}

.nav-links{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-links a{
    text-decoration: none;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    font-size: 0.9rem;
}

.nav-links a:hover{
    color: #3D4558;
}

.bookavieeebtn button{
    padding: 10px 20px;
    border-radius: 20px;
    border: 3px solid white;
    background-color: white;
    cursor: pointer;
}

.precisiveheeader{
    padding: 30px;
}
.precisiveheeader h1{
    width: 100%;
    max-width: 700px;
    font-size: 6rem;
    /* font-weight: 600; */
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    /* color: #575757; */
    color: #3D4558;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
}

.undersecttsuios{
    display: flex;
    justify-content: space-between;
}

.first-underersectonnne{
    display: flex;
    align-items: center;
    background-color: #e3e3e3;
    padding: 0 30px;
}

.sketvckimgga img{
    background-image: url(images/illustration-house-planning.png);
    background-position: center;
    background-size: cover;
    width: 100%;
    max-width: 300px;
}

.houseeeareaunssd{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px;
}

.undeeerssccaschousesectonns h2{
    font-size: 3rem;
    font-weight: 600;
}

.unsnnsdggd-dbsvsd-ssect2{
    display: flex;
}

.unsnnsdggd-dbsvsd-ssect2 h3{
    width: 100%;
    max-width: 130px;
    font-weight: 100;
}

.bbbbtnssaectbtn{
    display: flex;
}

.bbbbtnssaectbtn button{
    width: 50px;
    height: 50px;
    border-radius: 100%;
    border: 1px solid #acacac;
    background-color: transparent;
    cursor: pointer;
}



.seconndnsvccsketsuis{
    width: 100%;
    max-width: 350px;
    padding: 20px;
}

.seconndnsvccsketsuis img{
    width: 100%;
    max-width: 300px;
}

.seconndnsvccsketsuis p{
    color: white;
}

.uehdhuhdh-oomsbbs{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.uehdhuhdh-oomsbbs img{
    width: 100%;
    max-width: 150px;
}








/* ========================= */
/* ACTIVE NAV LINK */
/* ========================= */

.nav-links a{
    position: relative;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    font-size: 0.9rem;
    width: fit-content;
    transition: color .35s ease;
}

/* underline animation */
.nav-links a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: #3D4558;
    transition: width .4s ease;
}

/* hover */
.nav-links a:hover{
    color: #3D4558;
}

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

/* ACTIVE PAGE = PROJECT */
.nav-links a:first-child{
    color: #3D4558;
    font-weight: 500;
}

.nav-links a:first-child::after{
    width: 100%;
}



/* ========================= */
/* SILVER SHINE ANIMATION */
/* ========================= */

.first-underersectonnne{
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    background-color: #e3e3e3;
    padding: 0 30px;
}

/* silver shine layer */
.first-underersectonnne::before{
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.15) 20%,
        rgba(255,255,255,0.65) 50%,
        rgba(255,255,255,0.15) 80%,
        transparent 100%
    );

    transform: skewX(-25deg);

    animation: silverShine 4s linear infinite;
}

@keyframes silverShine{
    100%{
        left: 160%;
    }
}



/* ========================= */
/* PREMIUM BUTTON HOVERS */
/* ========================= */

button{
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

/* viewing button */
.bookavieeebtn button:hover{
    background-color: #3D4558;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

/* circle buttons */
.bbbbtnssaectbtn button:hover{
    background-color: #3D4558;
    color: white;
    border-color: #3D4558;
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 10px 20px rgba(61,69,88,.25);
}

/* ripple glow */
button::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 100%;
    background: rgba(255,255,255,0.35);
    transform: translate(-50%, -50%);
    transition: width .6s ease, height .6s ease;
}

button:hover::before{
    width: 220px;
    height: 220px;
}



/* ========================= */
/* EXTRA PREMIUM EFFECTS */
/* ========================= */

/* floating circles image */
.uehdhuhdh-oomsbbs img{
    width: 100%;
    max-width: 150px;
    animation: floatCircle 5s ease-in-out infinite;
}

@keyframes floatCircle{
    0%,100%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-10px);
    }
}

/* heading reveal */
.precisiveheeader h1{
    animation: textReveal 1.2s ease forwards;
}

@keyframes textReveal{
    0%{
        opacity: 0;
        transform: translateY(40px);
        letter-spacing: 10px;
    }

    100%{
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0;
    }
}

/* sketch hover zoom */
.sketvckimgga img,
.seconndnsvccsketsuis img{
    transition: transform .6s ease;
}

.sketvckimgga img:hover,
.seconndnsvccsketsuis img:hover{
    transform: scale(1.04);
}






/* =============================== */
/* EASY PREMIUM FADE-UP ANIMATION */
/* ADD TO BOTTOM OF CSS */
/* =============================== */

/* starting hidden state */
/* .fade-up{
    opacity: 0;
    transform: translateY(70px);
    transition:
    opacity 1.1s ease-out,
    transform 1.1s ease-out;
} */

/* revealed state */
/* .fade-up.show{
    opacity: 1;
    transform: translateY(0);
} */



/* make easing smoother */

.fade-up{
    opacity: 0;
    transform: translateY(80px);
    transition:
    opacity 1.2s ease-out,
    transform 1.2s ease-out;
}

.fade-up.show{
    opacity: 1;
    transform: translateY(0);
}










/* ===================================== */
/* RESPONSIVENESS */
/* ADD TO BOTTOM OF CSS */
/* ===================================== */


/* ===================== */
/* LAPTOPS */
/* ===================== */

@media (max-width: 1200px){

    .precisiveheeader h1{
        font-size: 5rem;
        max-width: 600px;
    }

    .undersecttsuios{
        gap: 20px;
        align-items: flex-end;
    }

    .first-underersectonnne{
        padding: 20px;
    }

    .sketvckimgga img{
        max-width: 240px;
    }

    .seconndnsvccsketsuis{
        max-width: 300px;
    }

}



/* ===================== */
/* TABLETS */
/* ===================== */

@media (max-width: 992px){

    body{
        height: auto;
    }

    header{
        height: auto;
        padding: 20px;
        gap: 25px;
        align-items: center;
    }

    main{
        height: auto;
        gap: 40px;
        padding-bottom: 40px;
    }

    .precisiveheeader{
        padding: 20px;
    }

    .precisiveheeader h1{
        font-size: 4rem;
        max-width: 500px;
        line-height: 1;
    }

    .undersecttsuios{
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .first-underersectonnne,
    .seccceonddsssbbs,
    .uehdhuhdh-oomsbbs{
        width: 100%;
    }

    .first-underersectonnne{
        justify-content: space-between;
        border-radius: 20px;
    }

    .uehdhuhdh-oomsbbs{
        justify-content: center;
        align-items: center;
    }

    .uehdhuhdh-oomsbbs img{
        max-width: 120px;
    }

}



/* ===================== */
/* MOBILE */
/* ===================== */

@media (max-width: 768px){

    header{
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }


    .nav-links{
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .bookavieeebtn{
        width: 100%;
    }

    .bookavieeebtn button{
        width: 100%;
    }

    .precisiveheeader h1{
        font-size: 3rem;
        max-width: 100%;
    }

    .first-underersectonnne{
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
        padding: 25px;
    }

    .sketvckimgga{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .sketvckimgga img{
        max-width: 100%;
    }

    .houseeeareaunssd{
        width: 100%;
        height: auto;
        gap: 25px;
    }

    .undeeerssccaschousesectonns h2{
        font-size: 2.4rem;
    }

    .unsnnsdggd-dbsvsd-ssect2{
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .bbbbtnssaectbtn{
        gap: 10px;
    }

    .seconndnsvccsketsuis{
        max-width: 100%;
        padding: 0;
    }

    .seconndnsvccsketsuis img{
        max-width: 100%;
    }

    .seconndnsvccsketsuis p{
        margin-top: 15px;
        font-size: .95rem;
        line-height: 1.6;
    }

}



/* ===================== */
/* SMALL MOBILE */
/* ===================== */

@media (max-width: 480px){

    header{
        padding: 15px;
    }

    .precisiveheeader{
        padding: 15px;
    }

    .precisiveheeader h1{
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .nav-links{
        gap: 15px;
    }

    .nav-links a{
        font-size: .85rem;
    }

    .first-underersectonnne{
        padding: 20px;
    }

    .undeeerssccaschousesectonns h2{
        font-size: 2rem;
    }

    .unsnnsdggd-dbsvsd-ssect2{
        flex-direction: column;
        align-items: flex-start;
    }

    .bbbbtnssaectbtn button{
        width: 45px;
        height: 45px;
    }

    .seconndnsvccsketsuis p{
        font-size: .9rem;
    }

    .uehdhuhdh-oomsbbs img{
        max-width: 100px;
    }

}




/* Modal Background Overlay */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Modal Box */
.modal-content {
    background: white;
    padding: 40px;
    border-radius: 25px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    cursor: pointer;
    color: #3D4558;
}

/* Form Styling */
.modal-content h2 { margin-bottom: 10px; color: #3D4558; }
.modal-content p { margin-bottom: 25px; color: #666; }

.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-group label { font-size: 0.8rem; margin-bottom: 5px; font-weight: 600; }

.input-group input, .input-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
}

.submit-booking {
    width: 100%;
    padding: 15px;
    background: #3D4558;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-booking:hover {
    background: #2a3140;
}