/* 
  EAGLER GYM - Design System
  Premium Fitness Landing Page
*/

:root {
    --bg-color: #0A0A0A;
    --primary-color: #FF2B2B;
    --text-color: #FFFFFF;
    --text-muted: #A0A0A0;
    --card-bg: #141414;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-red: 0 0 20px rgba(255, 43, 43, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3 {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--glow-red);
}

.btn-primary:hover {
    background-color: #e62222;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 43, 43, 0.6);
}

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

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

/* Layout Utilities */
.container {
    max-width: 1300px; /* Increased max-width for more breathing room */
    margin: 0 auto;
    padding: 0 3rem;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 43, 43, 0.2);
}

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

.logo img {
    height: 35px; /* Slightly smaller height to compensate for the width */
    display: block;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-cta {
    display: flex;
    justify-content: flex-end;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
}

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

.btn-nav {
    padding: 0.6rem 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('IMAGENS/BACKGROUND PARA HERO.jpg') center/cover no-repeat;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(10,10,10,1));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.highlight-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Modalities Section */
.modalities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.modality-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 43, 43, 0.1);
}

.modality-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 50px rgba(255, 43, 43, 0.2);
    z-index: 2;
    opacity: 0;
    transition: var(--transition);
}

.modality-card:hover::before {
    opacity: 1;
}

.modality-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    filter: grayscale(30%);
}

.modality-card:hover .modality-img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.modality-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
    z-index: 3;
}

.modality-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 0 15px rgba(255, 43, 43, 0.6);
}

.modality-card p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 80%;
}

/* Trainers Section */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.trainer-card {
    background: var(--card-bg);
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.trainer-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
}

.trainer-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
    padding: 5px;
}

.trainer-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* App Section */
.app-section {
    background: linear-gradient(45deg, #0a0a0a, #1a0505);
    display: flex;
    align-items: center;
}

.app-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.app-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.app-image-direct {
    max-width: 580px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8)) drop-shadow(0 0 20px rgba(255, 43, 43, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* App Buttons */
.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-store {
    background: #000;
    color: white;
    border: 1px solid #333;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    min-width: 170px;
}

.btn-store:hover {
    border-color: var(--primary-color);
    background: #111;
    transform: translateY(-3px);
}

.btn-store i {
    font-size: 1.8rem;
}

.btn-store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-store-text small {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 500;
}

.btn-store-text span {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Registration Form (Premium) */
.wrapper {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(14px, 3vw, 18px);
    letter-spacing: 8px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 6px;
}

#matricula h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(42px, 10vw, 72px);
    letter-spacing: 4px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: white;
}

.divider {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 18px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 36px;
}

.card {
    background: var(--card-bg);
    border: 1px solid #222;
    border-radius: 16px;
    padding: 36px 32px 32px;
    box-shadow:
      0 0 0 1px rgba(255, 43, 43, 0.15),
      0 0 40px rgba(255, 43, 43, 0.08),
      0 24px 60px rgba(0,0,0,0.6);
    position: relative;
    text-align: left;
}

.card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 16px 16px 0 0;
}

.field {
    text-align: left;
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 8px;
    font-family: 'Barlow', sans-serif;
}

.field input, .field select {
    width: 100%;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 14px 16px;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.field input:focus, .field select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.15);
}

.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: '▾';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 14px;
}

.btn-form {
    display: block;
    width: 100%;
    margin-top: 28px;
    padding: 17px;
    background: var(--primary-color);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 3px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 20px rgba(255, 43, 43, 0.4);
}

.btn-form::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 0.2s;
}

.btn-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 43, 43, 0.55);
}

.btn-form:hover::after {
    opacity: 1;
}

.btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Opening Hours Section */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.hour-card {
    background: #141414;
    border: 1px solid #222;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hour-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.hour-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 43, 43, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hour-card:hover::before {
    opacity: 1;
}

.hour-card .day {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--primary-color);
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.hour-card .time {
    font-family: 'Inter', sans-serif;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.hour-card.closed .day {
    color: #444;
}

.hour-card.closed .time {
    color: #444;
}

.hour-card.highlight-insta {
    border-color: rgba(255, 43, 43, 0.4);
    background: linear-gradient(135deg, #141414 0%, #1a0505 100%);
}

.hour-card.highlight-insta .time {
    color: var(--text-muted);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid #1a1a1a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .hours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .about-grid, .app-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .modalities-grid {
        grid-template-columns: 1fr;
    }
    
    .hours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .hours-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

