@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Bebas+Neue&display=swap');

:root{
    --color-white: #ffffff;
    --color-white-dark: #f2f2f2;
    --color-gray: #6c757d;
    --color-gray-dark: #495057;
    --color-black: #000000;
    --color-green: #007ac8;
    --color-green-dark: #007ac8;
    --fuente-principal: 'Montserrat', sans-serif;
    --fuente-secundaria: 'Bebas Neue', cursive;
    --container-max: 1200px;
    --gap-lg: 3rem;
    --gap-sm: 1rem;
}

*{ margin:0; padding:0; box-sizing:border-box; font-family:var(--fuente-principal); }

body{
    background:
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.75)),
    url('./fotos/Logo.png') center / 60% no-repeat fixed;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    color:var(--color-black);
}

.header{
    background: var(--color-white);
    border-bottom: 3px solid var(--color-green);
    position: sticky;
    top:0;
    z-index:1100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.navbar{
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
}

.logo-container{ display:flex; align-items:center; gap:0.8rem; }
.logo{
    width:58px;
    height:58px;
    border-radius:50%;
    overflow:hidden;
    border:3px solid var(--color-green);
    display:flex;
    align-items:center;
    justify-content:center;
    transition: transform .45s ease;
}
.logo img{ width:100%; height:100%; object-fit:cover; display:block; }


.logo:hover{ 
    transform: rotate(360deg) scale(1.1); }

.club-name{
    font-family:var(--fuente-secundaria);
    font-size:1.6rem;
    color:var(--color-green-dark);
    letter-spacing:1px;
}

.nav-links{
    display:flex;
    gap:0.6rem;
    align-items:center;
}
.nav-links a{
    text-decoration:none;
    color:var(--color-gray-dark);
    padding:0.5rem 0.9rem;
    border-radius:18px;
    font-weight:600;
    text-transform:uppercase;
    transition: all .18s ease;
    display:inline-block;
}
.nav-links a:hover{
    transform: translateY(-3px);
    background:var(--color-green);
    color:var(--color-white);
    box-shadow: 0 6px 18px rgba(20,107,48,0.12);
}
.nav-links a.active{
    background:var(--color-green);
    color:var(--color-white);
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.04);
}

.contact-container{
    max-width: var(--container-max);
    margin: 2.5rem auto;
    padding: 0 1.25rem;
}

.page-title{
    font-family:var(--fuente-secundaria);
    font-size:2.8rem;
    color:var(--color-green-dark);
    text-align:center;
    margin-bottom:0.25rem;
}
.page-subtitle{
    text-align:center;
    color:var(--color-gray-dark);
    margin-bottom:0.6rem;
}
.divider{
    width:100px;
    height:4px;
    background:var(--color-green);
    margin:0.6rem auto 1.6rem;
}

.contact-content{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    align-items:start;
}

.form-section{
    background:var(--color-white);
    border-radius:12px;
    padding:1.6rem;
    border:2px solid var(--color-green);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.form-section h2{
    font-family:var(--fuente-secundaria);
    font-size:1.6rem;
    color:var(--color-green-dark);
    text-align:center;
    margin-bottom:1rem;
}
.form-group{ margin-bottom:1rem; }
.form-group label{ display:block; margin-bottom:0.4rem; font-weight:600; color:var(--color-black); font-size:0.95rem; }

input, textarea{
    width:100%;
    padding:0.9rem 1rem;
    border-radius:8px;
    border:2px solid #e3e3e3;
    background:var(--color-white-dark);
    font-size:0.98rem;
    color:var(--color-black);
    transition: all .18s ease;
}
input:focus, textarea:focus{
    border-color:var(--color-green-dark);
    background:var(--color-white);
    outline:none;
    box-shadow: 0 6px 18px rgba(20,107,48,0.06);
}

.submit-btn{
    width:100%;
    padding:0.95rem;
    border-radius:10px;
    border:none;
    background: linear-gradient(135deg,var(--color-green),var(--color-green-dark));
    color:var(--color-white);
    font-weight:700;
    font-size:1.03rem;
    cursor:pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.submit-btn:hover{ transform: translateY(-3px); box-shadow: 0 10px 25px rgba(20,107,48,0.12); }

.info-section{
    background:var(--color-white);
    padding:1.25rem;
    border-radius:12px;
    border:2px solid var(--color-green);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.info-section h2{ font-family:var(--fuente-secundaria); text-align:center; color:var(--color-green-dark); margin-bottom:0.9rem; }

.contact-info{ display:flex; flex-direction:column; gap:0.9rem; }
.info-item{
    display:flex;
    gap:0.9rem;
    align-items:flex-start;
    padding:0.9rem;
    background:var(--color-white-dark);
    border-radius:10px;
    border:1px solid rgba(0,0,0,0.04);
}
.info-item .info-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    background:var(--color-green);
    color:var(--color-white);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.25rem;
    flex-shrink:0;
}
.info-item h3{ margin-bottom:0.3rem; font-size:1rem; color:var(--color-black); }
.info-item p{ margin:0; color:var(--color-gray-dark); font-size:0.93rem; line-height:1.3; }

.social-section{ margin-top:1.25rem; }
.social-links{
    display:flex;
    gap:0.8rem;
    margin-top:0.6rem;
    flex-wrap:wrap;
    justify-content:center;
}
.social-link{
    display:inline-flex;
    align-items:center;
    gap:0.55rem;
    padding:0.6rem 0.9rem;
    background:var(--color-white-dark);
    border-radius:8px;
    text-decoration:none;
    color:var(--color-black);
    border:1px solid rgba(0,0,0,0.04);
    transition: all .18s ease;
    font-weight:600;
}
.social-link:hover{
    background:var(--color-green);
    color:var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(20,107,48,0.08);
}

.confirmation-message{
    position:fixed; inset:0; display:flex; align-items:center; justify-content:center;
    background: rgba(0,0,0,0.65); visibility:hidden; opacity:0; transition: all .18s ease;
}
.confirmation-message.show{ visibility:visible; opacity:1; }
.confirmation-content{
    background:var(--color-white);
    padding:1.4rem;
    border-radius:12px;
    max-width:420px;
    width:92%;
    border:3px solid var(--color-green);
    text-align:center;
}
.close-btn{
    margin-top:0.9rem;
    padding:0.6rem 1.6rem;
    border-radius:18px;
    border:none;
    background:var(--color-green);
    color:white;
    cursor:pointer;
}

.pie{
    text-align:center;
    padding:1rem;
    background:var(--color-green);
    color:var(--color-white);
    margin-top:2.2rem;
    font-family:var(--fuente-secundaria);
}

@media (max-width:980px){
    .navbar{ padding:0.7rem 1rem; }
    .club-name{ font-size:1.35rem; }
}
@media (max-width:768px){
    .contact-content{ grid-template-columns:1fr; gap:1.5rem; padding: 0 0.6rem; }
    .nav-links{ gap:0.4rem; }
    .logo{ width:50px; height:50px; }
    .page-title{ font-size:2.2rem; }
}
@media (max-width:480px){
    .club-name{ display:none; } 
    .nav-links a{ padding:0.45rem 0.6rem; font-size:0.85rem; }
    .logo{ width:46px; height:46px; }
    .social-links{ justify-content:flex-start; padding-left:0.4rem; }
}
.wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #1B8D3F; 
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 999;
    transition: all .3s ease;
    animation: wa-pulse 2.2s infinite;
}

.wa-icon svg {
    width: 28px;
    height: 28px;
}

.wa-float:hover {
    transform: scale(1.06);
    background: #146B30;
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(27,141,63,0.6); }
    70% { box-shadow: 0 0 0 18px rgba(27,141,63,0); }
    100% { box-shadow: 0 0 0 0 rgba(27,141,63,0); }
}

@media (max-width: 500px) {
    .wa-float {
        padding: 10px 16px;
        font-size: 0.9rem;
        bottom: 20px;
        right: 20px;
    }
    .wa-icon svg {
        width: 24px;
        height: 24px;
    }
}
