/* ============================================================
   PALESTRA ELITE - MAIN STYLESHEET
   A premium design for elite personal trainers.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800&family=Oswald:wght@500;700&display=swap');

:root {
    --primary: #f2e000;    /* Neon Yellow */
    --primary-dark: #c9b800;
    --black: #000000;
    --dark-grey: #121212;
    --medium-grey: #1e1e1e;
    --light-grey: #b3b3b3;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Global Styles */
html { scroll-behavior: smooth; }
body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .btn, .nav-item {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

/* Utilities */
.text-primary { color: var(--primary); }
.bg-dark { background-color: var(--dark-grey); }
.py-100 { padding: 100px 0; }
.mb-50 { margin-bottom: 50px; }

/* Header & Nav */
.site-header {
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    border-bottom: 2px solid var(--primary);
}

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

.logo span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-menu a:hover { color: var(--primary); }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 10vw, 6rem);
    line-height: 0.9;
    margin: 0 0 20px 0;
    color: var(--primary);
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--light-grey);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 2px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary { background: var(--primary); color: var(--black); }
.btn-primary:hover { background: var(--white); transform: scale(1.05); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* Services Grid */
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-size: 3.5rem; margin: 0; }
.section-header .divider {
    width: 80px; height: 4px; background: var(--primary); margin: 20px auto;
}

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

.service-card {
    background: var(--medium-grey);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(242,224,0,0.1);
}

.service-img { height: 280px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover .service-img img { transform: scale(1.1); }

.service-info { padding: 40px; text-align: center; }
.service-info h3 { font-size: 1.8rem; color: var(--primary); margin-bottom: 15px; }
.service-info p { color: var(--light-grey); font-size: 0.95rem; }

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 { font-size: 4rem; color: var(--primary); margin: 0; }
.stat-item p { text-transform: uppercase; font-weight: 600; letter-spacing: 2px; }

/* CTA Banner */
.cta-banner {
    background: var(--primary);
    color: var(--black);
    text-align: center;
    padding: 80px 0;
}

.cta-banner h2 { font-size: 3rem; margin-bottom: 30px; }

/* Why Us / About */
.about-flex { display: flex; align-items: center; gap: 80px; }
.about-text { flex: 1.2; }
.about-text h2 { font-size: 3rem; color: var(--primary); margin-bottom: 25px; }
.about-img { flex: 1; position: relative; }
.about-img img { border-radius: 8px; box-shadow: 0 0 40px rgba(242,224,0,0.2); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { background: var(--medium-grey); padding: 50px; border-radius: 8px; border-left: 4px solid var(--primary); }
.review-card p { font-style: italic; font-size: 1.1rem; }
.author { display: block; margin-top: 25px; font-weight: 800; color: var(--primary); }

/* Footer */
.site-footer {
    padding: 100px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-col h4 { color: var(--primary); font-size: 1.4rem; margin-bottom: 30px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 15px; }
.footer-col a { color: var(--light-grey); text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #555;
    font-size: 0.9rem;
}

/* Responsive Fixes */
@media (max-width: 1024px) {
    .about-flex { flex-direction: column; text-align: center; }
    .hero-content { margin: 0 auto; text-align: center; }
}

/* Form Contatti Elite */
.elite-form {
    background: var(--dark-grey);
    padding: 40px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.elite-form input[type="text"],
.elite-form input[type="email"],
.elite-form textarea {
    background: #000;
    border: 1px solid #333;
    padding: 15px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: 0.3s;
}

.elite-form input:focus,
.elite-form textarea:focus {
    border-color: var(--primary);
}

.elite-form textarea { height: 150px; resize: none; }
