*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    color: white;

    background: radial-gradient(circle at top,
        #1a1a1a 0%,
        #0b0b0b 50%,
        #050505 100%
    );
}

body::before{
    content: "";
    position: fixed;
    top: -200px;
    left: -200px;

    width: 600px;
    height: 600px;

    background: radial-gradient(circle,
        rgba(212,160,23,0.15),
        transparent 70%
    );

    z-index: -1;
}

body::after{
    content: "";
    position: fixed;
    bottom: -200px;
    right: -200px;

    width: 600px;
    height: 600px;

    background: radial-gradient(circle,
        rgba(255,255,255,0.05),
        transparent 70%
    );

    z-index: -1;
}
/* NAVBAR */

header{
    
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85),
        rgba(20,20,20,0.6)
    );

    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212,160,23,0.2);
    
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 8%;
    background: rgba(0,0,0);
    backdrop-filter: blur(8px);
}

.logo img{
    height: 40px;
    width: auto;
}

.menu-toggle{
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.nav-links{
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a{
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links li a:hover{
    color: #d4a017;
}

.hero{
    min-height: 100vh;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 120px 8%;

    gap: 40px;
}

.hero-text{
    width: 40%;
}

.hero-text h1{
    font-size: 72px;
    line-height: 1.1;

    margin-bottom: 20px;
}

.hero-text p{
    font-size: 20px;
    line-height: 1.6;

    color: #ccc;

    margin-bottom: 30px;
}


.hero-btn{
    display: inline-block;

    padding: 14px 28px;

    background: #d4a017;
    color: black;

    text-decoration: none;
    font-weight: bold;

    border-radius: 6px;
    transition: 0.3s;
}

.hero-btn:hover{
    background: #b38f0b;
    color: white;
}

.gold{
    color: #d4a017;
    font-weight: 900;
}
/*Here starts the image styling*/

/* IMAGE COMPARISON */
.comparison-container{
    position: relative;

    width: 900px;
    height: 600px;

    overflow: hidden;

    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.comparison-container img{
    width: 100%;
    height: 100%;
    filter: contrast(1.05);
    object-fit: cover;
    display: block;
    -webkit-filter: contrast(1.05);
}

.img-after{
    position: absolute;
    inset: 0;
}

.dirty-overlay{
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    transition: width 1.5s ease;
}

.img-before{
    width: 100%;
    height: 100%;
}

/* Here starts the image gallery in the first page */

.services-preview{
    padding: 80px 8%;
    background: #0f0f0f;
    text-align: center;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0,0,0,0.6),
        transparent
    );
}

.services-preview h2{
    font-size: 40px;
    margin-bottom: 40px;
}

.services-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card{
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 220px;
}

.service-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover img{
    transform: scale(1.1);
}

.overlay-text{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 15px;

    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);

    color: white;
    font-size: 18px;
    font-weight: bold;
}


/* Here starts the footer of first page */

.footer{
    background: #0b0b0b;
    color: white;
    padding: 60px 8% 20px;
    margin-top: 80px;

    background: linear-gradient(
        to top,
        #050505,
        #0b0b0b
    );
    border-top: 1px solid rgba(212,160,23,0.15);
}

.footer-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h3{
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-col p{
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.6;
}

.socials{
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.socials a{
    color: #d4a017;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.socials a:hover{
    color: white;
}

.footer-bottom{
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    color: #777;
}

/* services page style  */

.page-hero{
    padding: 140px 8% 60px;
    text-align: center;
}

.page-hero-content{
    max-width: 700px;
    margin: 0 auto;
}

.page-hero .subtitle{
    display: block;

    color: #d4a017;
    font-size: 14px;
    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 10px;
}

.page-hero h1{
    font-size: 60px;
    font-weight: 700;

    margin-bottom: 10px;
}

.page-hero h1 span{
    color: #d4a017;
}

.page-hero .line{
    width: 90px;
    height: 3px;

    background: #d4a017;

    margin: 15px auto 20px;

    border-radius: 2px;
}

.page-hero p{
    color: #ccc;
    font-size: 18px;
    line-height: 1.6;
}
.services-list{
    padding: 60px 8%;
}

/* EACH ROW */
.service-row{
    display: flex;
    gap: 30px;

    margin-bottom: 40px;

    background: linear-gradient(
        to right,
        rgba(20,20,20,0.8),
        rgba(10,10,10,0.9)
    );

    border: 1px solid rgba(212,160,23,0.15);
    border-radius: 15px;

    overflow: hidden;
}

/* IMAGE */
.service-img{
    width: 40%;
    overflow: hidden; /* important */
    position: relative;
}
.service-img img{
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    transition: transform 0.5s ease;
}

.service-row:hover .service-img img{
    transform: scale(1.1);
}

/* TEXT SIDE */
.service-info{
    width: 60%;
    padding: 25px;
}

.service-info h2{
    font-size: 28px;
    margin-bottom: 10px;
}

.service-info p{
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* PRICE */
.price{
    font-size: 22px;
    font-weight: bold;

    color: #d4a017;

    margin-bottom: 15px;
}

/* BUTTON */
.book-btn{
    display: inline-block;

    padding: 10px 20px;

    background: #d4a017;
    color: black;

    text-decoration: none;
    font-weight: bold;

    border-radius: 6px;

    transition: 0.3s;
}

.book-btn:hover{
    transform: translateY(-3px);
}


/* here starts the about us page */

.about-content{
    padding: 80px 8%;
}

/* EACH ROW */
.about-row{
    display: flex;
    align-items: center;
    gap: 40px;

    margin-bottom: 60px;
}

/* TEXT */
.about-text{
    width: 50%;
}

.about-text h2{
    font-size: 32px;
    margin-bottom: 15px;
}

.about-text p{
    color: #ccc;
    line-height: 1.7;
}

/* IMAGE */
.about-image{
    width: 50%;
}

.about-image img{
    width: 100%;
    border-radius: 15px;

    object-fit: cover;
}

/* REVERSE (image left, text right) */
.about-row.reverse{
    flex-direction: row-reverse;
}

/*here starts the contact us page*/

.contact-section{
    padding: 80px 8%;
    display: flex;
    gap: 40px;
    align-items: stretch;
    box-sizing: border-box;
}

/* FORM */
.contact-form,
.contact-map{
    width: 50%;
}

.contact-form h2{
    margin-bottom: 20px;
}

.contact-form form{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea{
    padding: 12px;

    background: #111;
    border: 1px solid #333;

    color: white;

    border-radius: 8px;
}

.contact-form button{
    padding: 12px;

    background: #d4a017;
    color: black;

    border: none;
    font-weight: bold;

    cursor: pointer;

    border-radius: 8px;

    transition: 0.3s;
}

.contact-form button:hover{
    transform: translateY(-3px);
}

/* MAP */
.contact-map{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.contact-map iframe{
    flex: 1;
    border-radius: 10px;
    min-height: 350px;
}

/* CONTACT INFO */
.contact-info-bottom{
    display: flex;
    justify-content: center;
    gap: 100px;

    padding: 50px 8%;
    margin-top: 50px;

    border-top: 1px solid rgba(212,160,23,0.2);

    width: 100%;
    box-sizing: border-box;
}

.info-box{
    text-align: center;
    color: #ccc;
}

.info-box i{
    font-size: 24px;
    color: #d4a017;
    margin-bottom: 10px;
    display: block;
}


@media (max-width: 992px){

    .hero{
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text{
        width: 100%;
    }

    .comparison-container{
        width: 100%;
        height: 450px;
    }

    .services-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    nav{
        padding: 15px 5%;
    }
}

@media (max-width: 768px){

   nav{
        padding: 12px 5%;
    }

    .menu-toggle{
        display: block;
    }

    .nav-links{
        position: absolute;
        top: 70px;
        right: 0;

        width: 100%;
        background: rgba(0,0,0);

        flex-direction: column;
        text-align: center;

        gap: 20px;

        padding: 20px 0;

        display: none;
    }

    .nav-links.active{
        display: flex;
    }

    .hero-text h1{
        font-size: 40px;
    }

    .hero-text p{
        font-size: 16px;
    }

    .comparison-container{
        height: 350px;
    }

    .services-grid{
        grid-template-columns: 1fr;
    }

    .footer-container{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .socials{
        justify-content: center;
    }

    /* services page */

    .service-row{
    opacity: 0;
    flex-direction: column; /* KEY FIX */
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.service-row.show{
    opacity: 1;
    transform: translateY(0);
}

.service-row:active{
        transform: scale(0.98);
        transition: 0.2s;
    }

    .service-img,
    .service-info{
        width: 100%;
    }

    .service-img{
        height: 220px;
    }

    .service-info{
        padding: 20px;
    }

    /*here starts the about us page*/

     .about-row,
    .about-row.reverse{
        flex-direction: column;
    }

    .about-text,
    .about-image{
        width: 100%;
    }

    .about-image{
        height: 250px;
    }

    /* here starts the contact us page */

     .contact-section{
        flex-direction: column;
        gap: 30px;
    }

    .contact-form,
    .contact-map{
        width: 100%;
    }

    .contact-map iframe{
        min-height: 320px;
    }

    .contact-info-bottom{
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
        padding: 30px 5%;
    }
}

@media (max-width: 480px){

    .hero{
        padding: 100px 5%;
    }

    .hero-text h1{
        font-size: 32px;
    }

    .hero-btn{
        width: 100%;
        text-align: center;
    }

    .comparison-container{
        height: 280px;
    }

    .services-preview h2{
        font-size: 28px;
    }

    /* CONTACT US page */

     .contact-section{
        padding: 50px 5%;
    }

    .contact-form h2,
    .contact-map h2{
        font-size: 22px;
    }

    .contact-form input,
    .contact-form textarea{
        font-size: 14px;
    }

    .contact-form button{
        font-size: 14px;
    }
}