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

body {
    font-family: "Poppins", Arial, sans-serif;
    background: radial-gradient(circle at top left, #0a1f44, #000);
    color: #fff;
}

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

img{
    display: flex;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

section {
    padding: 90px 10%;
    min-height: 100vh;
}

h3 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: clamp(1.4rem, 4vw, 2rem);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.logo {
    height: 80px;
}

.navbar nav a {
    margin-left: 30px;
    background: linear-gradient(currentColor, currentColor) bottom center / 0 2px no-repeat;
    padding-bottom: 0.4em;
    transition: background-size 0.5s ease;
}

.navbar nav a:hover {
    color: #d4af37;
    background-size: 110% 3px;
}

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

.hero {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-top: 10px;
}

.hero h2 {
    color: #d4af37;
    margin: 10px;
    font-size: clamp(1.2rem, 3.5vw, 2rem);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: #d4af37;
    color: #000;
    padding: 12px 25px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.btn-outline {
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 12px 25px;
}

/* ===== SERVICES SECTION ===== */
.services-tiles {
    padding: 140px 60px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-tile {
    position: relative;
    height: 240px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.service-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-tile:hover {
    transform: scale(1.1);
}

.service-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    transition: opacity 0.6s ease;
    z-index: 1;
}

.service-tile:hover::before {
    opacity: 0.5;
}

.service-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 2;
    transition: opacity 0.6s ease;
}

.service-tile:hover .service-title {
    opacity: 0;
}

.service-quote {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.service-tile:hover .service-quote {
    opacity: 1;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding-top: 100px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.grid img {
    width: 100%;
    border-radius: 14px;
}

.pic2, .pic0 {
    grid-column: 1 / 5;
}

.pic11, .pic19, .pic25 {
    grid-column: 2 / 4;
}
.grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}
.grid2 img {
    max-width: 100%;
}

.pic12, .pic13, .pic20, .pic23 {
    border-radius: 0;
    border: 3px solid #fff;
    border-bottom: 30px solid #fff;
}

/* ===== VIDEO SECTION ===== */
.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.videogrid {
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.videogrid video {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 10px;
}

/* ===== CONTACT SECTION ===== */
.contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.contact-title h2 {
    font-weight: 600;
    color: #d4af37;
    font-size: 40px;
    margin-bottom: 5px;
}

.contact-title hr {
    border: none;
    width: 120px;
    height: 5px;
    background-color: #d4af37;
    border-radius: 10px;
    margin-bottom: 10px;
}

.contact-inputs {
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: #616161;
    border-radius: 50px;
}

.contact-form textarea {
    height: 100px;
    padding-top: 15px;
    border-radius: 20px;
}

.contact-inputs:focus {
    border: 2px solid #d4af37;
}

/* ===== FOOTER ===== */
footer {
    background: #000;
    text-align: center;
    padding: 20px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: max(20px, env(safe-area-inset-bottom));
    right: max(20px, env(safe-area-inset-right));
    background: #25D366;
    color: white;
    padding: 15px;
    border-radius: 50%;
    z-index: 999;
}

/* ===== ANIMATIONS ===== */
.fade-up {
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
    section {
        margin-top: 70px;
    }
    .services-tiles {
        grid-template-columns: 1fr;
        padding: 100px 20px 40px;
        gap: 20px;
    }

    .service-tile {
        transform: none;
    }

    .grid, .grid2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .pic2, .pic11, .pic0, .pic19, .pic5, .pic25, .pic27 {
        grid-column: 1 / 3;
    }

    .navbar {
        flex-direction: column;
        padding: 15px;
    }

    .navbar nav {
        display: flex;
        margin-top: 15px;
    }

    .navbar nav a {
        margin: 0 12px;
        font-size: 0.95rem;
    }

    .hero {
        margin-top: 10px;
        height: auto;
        padding: 10px 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .contacts {
        margin-top: -10px;
    }
    .contact-inputs {
        width: 100%;
    }
}