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

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

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Montserrat', sans-serif;
    background: #230f14;
    color: #ffffff;
    overflow-x: hidden;
}

/* Background Glow */

body::before{
    content: "";
    position: fixed;

    top: -200px;
    left: -200px;

    width: 600px;
    height: 600px;

    background: radial-gradient(circle, #3a0b19, transparent 70%);

    filter: blur(120px);
    opacity: 0.25;

    z-index: -1;
}

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

header{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 80px;

    position: sticky;
    top: 0;

    background: rgba(35, 15, 20, 0.8);

    backdrop-filter: blur(10px);

    z-index: 1000;
}

.logo{
    width: 150px;
}

/* =========================
   NAVIGATION
========================= */

nav{
    display: flex;
    align-items: center;
}

nav a{
    color: white;
    text-decoration: none;

    margin-left: 25px;

    position: relative;

    transition: 0.3s;
}

nav a::after{
    content: "";

    position: absolute;

    bottom: -5px;
    left: 0;

    width: 0%;
    height: 2px;

    background: #3a0b19;

    transition: 0.3s;
}

nav a:hover::after{
    width: 100%;
}

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

.menu-toggle{
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

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

.hero{
    min-height: 90vh;

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

    padding: 0 80px;

    gap: 40px;
}

.hero-left{
    flex: 1;
}

.hero h2{
    font-size: 65px;
    line-height: 1.1;

    margin-bottom: 20px;
}

.hero p{
    font-size: 18px;

    opacity: 0.9;

    margin-bottom: 30px;

    max-width: 600px;

    line-height: 1.8;
}

.hero-right{
    flex: 1;

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

.glow-box{
    width: 320px;
    height: 320px;

    background: radial-gradient(circle, #3a0b19, transparent 70%);

    border-radius: 50%;

    filter: blur(10px);
}

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

button{
    padding: 15px 35px;

    background: #3a0b19;
    color: white;

    border: none;
    border-radius: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

button:hover{
    transform: translateY(-4px);
}

/* =========================
   SECTIONS
========================= */

.section{
    padding: 120px 80px;
    text-align: center;
}

.title{
    font-size: 40px;
    margin-bottom: 40px;
}

.text{
    max-width: 700px;

    margin: 0 auto;

    line-height: 1.8;

    opacity: 0.9;
}

/* =========================
   GRID
========================= */

.grid{
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 25px;

    margin-top: 40px;
}

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

.card{
    background: rgba(255,255,255,0.03);

    padding: 40px;

    border-radius: 18px;

    border: 1px solid rgba(255,255,255,0.05);

    transition: 0.3s;
}

.card:hover{
    transform: translateY(-10px);

    background: rgba(255,255,255,0.06);
}

.card h3{
    font-size: 22px;
    margin-bottom: 15px;
}

.card p{
    line-height: 1.8;
    opacity: 0.85;
}

/* =========================
   SERVICE LINKS
========================= */

.service-link{
    text-decoration: none;
    color: white;

    display: block;

    position: relative;
    overflow: hidden;
}

.service-btn{
    display: inline-block;

    margin-top: 20px;

    padding: 10px 18px;

    background: #3a0b19;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;
}

.service-link:hover .service-btn{
    transform: translateX(5px);
}

/* =========================
   PORTFOLIO
========================= */

.portfolio-grid{
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 25px;

    margin-top: 50px;
}

.portfolio-card{
    background: rgba(255,255,255,0.03);

    border-radius: 18px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.05);

    transition: 0.4s;
}

.portfolio-card:hover{
    transform: translateY(-10px);
}

.portfolio-card img{
    width: 100%;
    height: 220px;

    object-fit: cover;

    cursor: pointer;
}

.portfolio-content{
    padding: 25px;

    text-align: left;
}

.portfolio-content h3{
    margin-bottom: 10px;
}

.portfolio-content p{
    opacity: 0.8;
    line-height: 1.7;
}

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

.contact-form{
    max-width: 600px;

    margin: 40px auto;

    display: flex;
    flex-direction: column;

    gap: 15px;
}

.contact-form input,
.contact-form textarea{
    padding: 15px;

    border-radius: 10px;

    border: 1px solid rgba(255,255,255,0.1);

    background: rgba(255,255,255,0.03);

    color: white;

    outline: none;
}

.contact-form textarea{
    min-height: 140px;
}

/* =========================
   SCROLL ANIMATIONS
========================= */

.reveal{
    opacity: 0;

    transform: translateY(40px);

    transition: all 0.8s ease;
}

.reveal.active{
    opacity: 1;

    transform: translateY(0);
}

/* =========================
   LIGHTBOX
========================= */

.lightbox{
    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.9);

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

    z-index: 9999;
}

.lightbox-img{
    max-width: 90%;
    max-height: 90%;

    border-radius: 10px;
}

.lightbox .close{
    position: absolute;

    top: 20px;
    right: 30px;

    font-size: 40px;

    color: white;

    cursor: pointer;
}

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

@media (max-width: 768px){

    header{
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle{
        display: block;
    }

    nav{
        display: none;

        flex-direction: column;

        gap: 15px;

        width: 100%;

        text-align: center;
    }

    nav.active{
        display: flex;
    }

    nav a{
        margin-left: 0;
    }

    .hero{
        flex-direction: column;

        text-align: center;

        padding: 60px 20px;
    }

    .hero h2{
        font-size: 38px;
    }

    .hero p{
        font-size: 16px;
        margin: 0 auto 30px;
    }

    .section{
        padding: 80px 20px;
    }

    .grid,
    .portfolio-grid{
        grid-template-columns: 1fr;
    }

    .glow-box{
        width: 250px;
        height: 250px;
    }
}
/* =========================
   WHATSAPP FLOAT BUTTON
========================= */

.whatsapp-float{
    position: fixed;

    bottom: 25px;
    right: 25px;

    width: 60px;
    height: 60px;

    background: #25D366;

    border-radius: 50%;

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

    box-shadow: 0 10px 25px rgba(0,0,0,0.3);

    z-index: 9999;

    transition: 0.3s;
}

.whatsapp-float img{
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover{
    transform: scale(1.1);
}
/* =========================
   FOOTER
========================= */

.footer{
    background: rgba(0,0,0,0.3);
    margin-top: 80px;
    padding: 60px 80px 20px 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-box h2,
.footer-box h3{
    margin-bottom: 15px;
}

.footer-box p{
    opacity: 0.8;
    line-height: 1.7;
}

.footer-box a{
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-box a:hover{
    opacity: 1;
    color: #3a0b19;
}

.footer-bottom{
    margin-top: 40px;
    text-align: center;
    opacity: 0.6;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px){
    .footer{
        padding: 50px 20px 20px 20px;
        text-align: center;
    }
}
/* =========================
   TESTIMONIALS
========================= */

#testimonials .card{
    text-align: left;
    position: relative;
}

#testimonials .card p{
    font-style: italic;
    opacity: 0.9;
    line-height: 1.8;
}

#testimonials .card h3{
    margin-top: 15px;
    color: #ffffff;
    font-weight: 600;
}
/* =========================
   SCROLL REVEAL ANIMATION
========================= */

.reveal{
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
    will-change: transform, opacity;
}

.reveal.active{
    opacity: 1;
    transform: translateY(0);
}

/* stagger effect for grid items */
.grid .card{
    transition: transform 0.4s ease, opacity 0.6s ease;
}

/* hover animation upgrade */
.card:hover{
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* smoother buttons */
button{
    transition: all 0.3s ease;
}

button:hover{
    transform: translateY(-5px) scale(1.03);
}

/* nav hover smoothness */
nav a{
    transition: 0.3s ease;
}
body{
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
/* =========================
   LIGHTBOX (FULLSCREEN IMAGE VIEW)
========================= */

.lightbox{
    display: none;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.92);

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

    z-index: 9999;
}

.lightbox-img{
    max-width: 90%;
    max-height: 90%;

    border-radius: 12px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.lightbox .close{
    position: absolute;
    top: 20px;
    right: 30px;

    font-size: 45px;
    color: white;

    cursor: pointer;
}
/* =========================
   PRELOADER
========================= */

#preloader{
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: #230f14;

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

    z-index: 99999;
}

.loader-content{
    text-align: center;
}

.loader-logo{
    width: 120px;
    margin-bottom: 20px;
}

.loader-content p{
    margin-bottom: 20px;
    opacity: 0.8;
}

/* SPINNER */
.spinner{
    width: 45px;
    height: 45px;

    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid #3a0b19;

    border-radius: 50%;

    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}
/* =========================
   HERO UPGRADE
========================= */

.hero{
    min-height: 90vh;

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

    padding: 80px;

    gap: 50px;
}

.hero-title{
    font-size: 55px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtext{
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.7;
}

/* BUTTONS */
.hero-buttons{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.secondary-btn{
    background: transparent;
    border: 1px solid #3a0b19;
}

/* RIGHT SIDE CARDS */
.hero-right{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card{
    background: rgba(255,255,255,0.04);
    padding: 20px;
    border-radius: 12px;

    border: 1px solid rgba(255,255,255,0.05);

    transition: 0.3s;
}

.hero-card:hover{
    transform: translateX(10px);
    background: rgba(255,255,255,0.06);
}

/* RESPONSIVE */
@media (max-width: 768px){

    .hero{
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .hero-buttons{
        justify-content: center;
    }

    .hero-title{
        font-size: 32px;
    }
}
/* =========================
   ABOUT UPGRADE
========================= */

.about-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;

    margin-top: 50px;
}

.about-card{
    background: rgba(255,255,255,0.03);
    padding: 30px;
    border-radius: 16px;

    border: 1px solid rgba(255,255,255,0.05);

    transition: 0.3s;
}

.about-card:hover{
    transform: translateY(-10px);
    background: rgba(255,255,255,0.06);
}

.about-card h3{
    margin-bottom: 15px;
    color: #ffffff;
}

.about-card p{
    opacity: 0.85;
    line-height: 1.7;
}
/* =========================
   CONTACT UPGRADE
========================= */

.contact-wrapper{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;

    margin-top: 50px;
}

/* FORM */
.contact-form{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea{
    padding: 15px;
    border-radius: 10px;

    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);

    color: white;
    outline: none;
}

.contact-form textarea{
    min-height: 150px;
}

/* INFO BOX */
.contact-info{
    background: rgba(255,255,255,0.03);
    padding: 30px;
    border-radius: 16px;

    border: 1px solid rgba(255,255,255,0.05);
}

.contact-info h3{
    margin-bottom: 15px;
}

.contact-info p{
    opacity: 0.85;
    line-height: 1.7;
}
/* =========================
   ADMIN DASHBOARD
========================= */

#messages .card{
    text-align: left;
}
/* =========================
   PRICING SECTION
========================= */

.pricing-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;

    margin-top: 50px;
}

.pricing-card{
    background: rgba(255,255,255,0.03);

    padding: 40px 30px;

    border-radius: 18px;

    border: 1px solid rgba(255,255,255,0.05);

    transition: 0.3s;
}

.pricing-card:hover{
    transform: translateY(-10px);
    background: rgba(255,255,255,0.06);
}

.pricing-card h3{
    margin-bottom: 20px;
    font-size: 26px;
}

.price{
    font-size: 38px;
    font-weight: 700;

    margin-bottom: 25px;

    color: white;
}

.pricing-card ul{
    list-style: none;
    margin-bottom: 30px;
}

.pricing-card ul li{
    margin-bottom: 12px;
    opacity: 0.85;
}

.featured{
    border: 1px solid #3a0b19;
    transform: scale(1.03);
}
/* =========================
   FOOTER
========================= */

.footer{
    padding: 40px 20px;
    text-align: center;

    background: rgba(255,255,255,0.02);

    margin-top: 60px;
}

.footer-logo{
    width: 120px;
    margin-bottom: 15px;
}

/* =========================
   WHATSAPP BUTTON
========================= */

.whatsapp-btn{
    position: fixed;

    bottom: 20px;
    right: 20px;

    width: 60px;
    height: 60px;

    background: #25D366;
    color: white;

    border-radius: 50%;

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

    font-size: 28px;

    text-decoration: none;

    box-shadow: 0 10px 25px rgba(0,0,0,0.3);

    z-index: 999;
}
.contact-form select{
    padding: 15px;

    border-radius: 10px;

    border: 1px solid rgba(255,255,255,0.1);

    background: rgba(255,255,255,0.03);

    color: white;

    outline: none;
}
/* =========================
   FIX DROPDOWN VISIBILITY
========================= */

.contact-form select{
    width: 100%;
    padding: 15px;

    border-radius: 10px;

    border: 1px solid rgba(255,255,255,0.15);

    background: rgba(35, 15, 20, 0.8); /* dark background */

    color: #ffffff; /* text visible */

    outline: none;

    font-family: 'Montserrat', sans-serif;
    font-size: 14px;

    cursor: pointer;
}

/* dropdown options */
.contact-form select option{
    background: #1a0a0f;
    color: #ffffff;
}
/* =========================
   PREMIUM NAVBAR
========================= */

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 80px;

    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(35, 15, 20, 0.6);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar .logo{
    width: 140px;
}

/* NAV LINKS */
.navbar nav{
    display: flex;
    gap: 30px;
}

.navbar nav a{
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;

    position: relative;
}

/* underline animation */
.navbar nav a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background: #3a0b19;

    transition: 0.3s;
}

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

/* MOBILE MENU BUTTON */
.menu-toggle{
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* MOBILE */
@media (max-width: 768px){

    .menu-toggle{
        display: block;
    }

    .navbar{
        padding: 15px 20px;
    }

    .navbar nav{
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;

        flex-direction: column;

        background: rgba(35, 15, 20, 0.95);

        padding: 20px;
        border-radius: 12px;
    }

    .navbar nav.active{
        display: flex;
    }
}