:root{
    --primary-color:#A1162E;
    --primary-hover:#861225;
}
/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, sans-serif;
    color:#333;
    overflow-x:hidden;
}

/* =========================
   HEADER
========================= */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;

    padding:10px 5%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    background:rgba(255,255,255,.96);

    z-index:9999;

    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.logo img{
    height:85px;
    width:auto;
    display:block;
}

nav{
    display:flex;
    align-items:center;
}

nav a{
    margin-left:35px;
    text-decoration:none;
    color:#333;
    font-size:18px;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:var(--primary-color);
}

/* =========================
   HERO SECTION
========================= */

.hero-title-wrap{
    text-align:center;
    margin-bottom:25px;
}
.hero-brand{
    color:white;
    font-size:42px;
    font-weight:600;
    margin-bottom:15px;
    text-shadow:0 3px 15px rgba(0,0,0,.4);
}

.hero-title{
    color:white;
    font-size:30px;
    font-weight:500;
    line-height:1.3;
    margin:0;
    text-shadow:0 3px 15px rgba(0,0,0,.4);
}
.hero{
    position:relative;

    width:100%;
    height:100vh;

    background-image:url('../images/hero.jpeg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.hero-overlay{
    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;

    background:rgba(0,0,0,.35);

    padding-top:120px;   /* pushes content below header */
    padding-bottom:60px; /* keeps button away from bottom */
}

.hero-subtitle{
    color:white;

    font-size:24px;

    margin-bottom:35px;

    letter-spacing:1px;

    text-shadow:0 2px 10px rgba(0,0,0,.4);
}

.btn{

    background:var(--primary-color);

    color:white;

    margin-top:0;

    text-decoration:none;

    padding:14px 36px;

    border-radius:40px;

    font-size:18px;
    font-weight:600;

    transition:.3s;
}

.btn:hover{

    background:var(--primary-hover);

    transform:translateY(-2px);

}

.filter-btn,
.btn,
.contact-form button{

    box-shadow:
    0 6px 15px rgba(0,0,0,0.18);

    transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;

}

.filter-btn:hover,
.btn:hover,
.contact-form button:hover{

    transform:translateY(-2px);

    box-shadow:
    0 8px 18px rgba(0,0,0,0.25);

}

.service-description {
    text-align: center;
    margin-bottom: 40px;
}

.service-description h3 {
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
}

.service-description p {
    text-align: center;
}
.service-description{
    max-width:1000px;
    margin:0 auto 40px;
}

@media(max-width:768px){

    .hero-brand{
        font-size:34px;
    }

    .hero-title{
        font-size:22px;
        line-height:1.4;
    }

    .hero-subtitle{
        font-size:16px;
    }
}

/* =========================
   SECTIONS
========================= */

section{
    padding:100px 8%;
    scroll-margin-top:100px;
}

section h2{
    text-align:center;
    margin-bottom:25px;
    font-size:32px;
}

section h3{
    text-align:center;
    margin-bottom:25px;
    font-size:20px;
}

section p{
    max-width:1000px;
    margin:auto;
    text-align:center;
    line-height:1.8;
}

/* =========================
   SERVICES
========================= */

.services-grid{
    margin-top:40px;

    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;
}

.card{
    
    background:#f5f5f5;

    padding:35px;

    text-align:center;

    border-radius:12px;

    transition:.3s;
}

.card h3{
    margin-bottom:20px;
}

.card p{
    font-size:16px;
    line-height:1.8;
}
.card:hover{
    transform:translateY(-5px);

    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

/* =========================
   PORTFOLIO
========================= */

#filters{
    margin:20px 0;
    text-align:center;
}

.filter-btn{

    border:none;

    background:var(--primary-color);

    color:white;

    padding:10px 18px;

    margin:5px;

    border-radius:30px;

    cursor:pointer;

    transition:all 0.3s ease;
}.filter-btn:hover{

    background:var(--primary-hover);

    transform:translateY(-2px);

    box-shadow:
    0 8px 18px rgba(0,0,0,0.25);

}
.gallery{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:25px;
}

.project{
    height:320px;

    background-size:cover;
    background-position:center;

    border-radius:12px;

    overflow:hidden;

    position:relative;

    cursor:pointer;

    transition:.3s;
    box-shadow:
    0 4px 12px rgba(0,0,0,0.12);
}

.project:hover{
    transform:scale(1.03);
}

.project-title{
    position:absolute;

    left:0;
    right:0;
    bottom:0;

    background:rgba(0,0,0,.55);

    color:white;

    padding:18px;
}

#bottom-filters{
    margin-top:40px;
    text-align:center;
}

/* =========================
   CONTACT
========================= */

#contact{
    background:#e8e8e8;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp{
    position:fixed;

    right:20px;
    bottom:20px;

    background:#25D366;
    color:white;

    text-decoration:none;

    padding:15px 22px;

    border-radius:40px;

    font-weight:600;

    z-index:9999;
    box-shadow:
    0 6px 15px rgba(0,0,0,0.25);

}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .logo img{
        height:55px;
    }

    nav{
        display:none;
    }

    .hero{
        height:85vh;
    }

    .hero-title{
        font-size:40px;
    }

    .hero-subtitle{
        font-size:18px;
    }

    section{
        padding:80px 6%;
    }

    section h2{
        font-size:32px;
    }
}
/* FOOTER */

.footer{
    background:#222;
    color:#fff;

    text-align:center;

    padding:30px 8%;

    margin-top:50px;
}

.footer p{
    margin:10px auto;
}

.disclaimer{
    font-size:13px;
    color:#cccccc;

    max-width:1000px;

    line-height:1.7;
}
.contact-form{
    max-width:700px;
    margin:40px auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{

    width:100%;

    padding:15px;

    border:1px solid #ccc;

    border-radius:8px;

    font-size:16px;

    font-family:inherit;
}

.contact-form textarea{
    resize:vertical;
}

.contact-form button{

    background:var(--primary-color);


    color:white;

    border:none;

    padding:16px;

    border-radius:40px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.contact-form button:hover{
    background:var(--primary-hover);
}
#contact h3{
    text-align:center;
    font-size:30px;
    margin:40px 0 30px;
}
.radio-group{

    display:flex;

    gap:30px;

    margin-bottom:15px;

}

.radio-group label{

    display:flex;

    align-items:center;

    gap:8px;

    font-size:16px;

    cursor:pointer;

}

.success-message{

    display:none;

    max-width:700px;

    margin:20px auto;

    padding:15px;

    text-align:center;

    background:#d4edda;

    color:#155724;

    border-radius:8px;

    font-weight:600;

}

#otherCategory{
    display:none;
}