/* Box sizing global */
*, *::before, *::after {
    box-sizing: border-box;
}

/* PARALLAX EFFECT: Fixed Background */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #ffffff;
    background-color: #0a0a0b;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), 
        url('./img/slider.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    line-height: 1.6;
    margin: 0;
}

/* HEADER */
header {
    background: rgba(18, 18, 19, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.gradient-text {
    background: linear-gradient(120deg, #d4af37, #f9e076, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 3s infinite linear;
    font-weight: 800;
    font-size: 1.6rem;
    margin: 0;
}

@keyframes shine { to { background-position: 200% center; } }

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

nav ul li a:hover { color: #d4af37; }

/* HERO */
.hero {
    padding: 7rem 2rem;
    text-align: center;
}

.hero-image img {
    width: 220px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    margin-bottom: 2rem;
}

.text-borde {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.btnStyle {
    background: #d4af37;
    color: #000;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 10px;
    cursor: pointer;
    border: none;
}

.btnStyle.secondary {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.btnStyle:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

/* 4 BOXES IN A ROW */
.content {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns in a row */
    gap: 20px;
    padding: 2rem 5% 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.4s ease;
}

.box:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    background: rgba(255, 255, 255, 0.1);
}

.box h3 { color: #d4af37; font-size: 1.2rem; margin-bottom: 15px; }
.box p { color: #ccc; font-size: 0.9rem; margin: 0; }

/* MODAL - CENTERED CONTENT */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    z-index: 2000;
    transition: 0.4s;
}

.modal:target { opacity: 1; visibility: visible; }

.modal-content {
    background: #141415;
    padding: 40px;
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center; /* Centering children */
}

.card {
    width: 100%;
    text-align: center;
    margin: 15px 0;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.card-img {
    width: 70px; height: 70px;
    border: 2px solid #d4af37;
    border-radius: 50%;
    object-fit: cover;
}

.justified-text { text-align: justify; font-size: 0.9rem; color: #ddd; }

/* FOOTER */
footer {
    padding: 4rem;
    background: #050505;
    text-align: center;
    border-top: 1px solid #111;
    color: #444;
    font-size: 0.85rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
    .content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    header { flex-direction: column; gap: 1rem; }
    .text-borde { font-size: 1.6rem; }
    .content { grid-template-columns: 1fr; }
    .hero { padding: 4rem 1rem; }
}

