@font-face {
    font-family: "Algerian";
    src: url("https://db.onlinewebfonts.com/t/c144af7d488f9069913d40dee3cd1f70.eot");
    src: url("https://db.onlinewebfonts.com/t/c144af7d488f9069913d40dee3cd1f70.eot?#iefix") format("embedded-opentype"),
         url("https://db.onlinewebfonts.com/t/c144af7d488f9069913d40dee3cd1f70.woff2") format("woff2"),
         url("https://db.onlinewebfonts.com/t/c144af7d488f9069913d40dee3cd1f70.woff") format("woff"),
         url("https://db.onlinewebfonts.com/t/c144af7d488f9069913d40dee3cd1f70.ttf") format("truetype"),
         url("https://db.onlinewebfonts.com/t/c144af7d488f9069913d40dee3cd1f70.svg#Algerian") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #D32F2F; /* Crimson Red */
    --secondary-color: #1A1A1A; /* Dark */
    --text-light: #F5F5F5;
    --text-dark: #333;
    --accent: #FF5252;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0A0A0A;
    color: var(--text-light);
    overflow-x: hidden;
}

.highlight {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 3rem;
}

.font-algerian {
    font-family: 'Algerian', 'Outfit', sans-serif;
    letter-spacing: 0.03em;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: transparent;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 95px; /* Tamaño del logo ajustado (más grande) */
    width: auto;
    object-fit: contain;
    transition: max-height 0.4s ease;
}

.navbar.scrolled .site-logo {
    max-height: 70px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.9)), url('assets/karate.png') center/cover;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-content h1 span {
    color: var(--primary-color);
    font-size: 3rem;
}

.hero-content h1 span.font-algerian {
    color: var(--text-light);
    font-size: 4.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ddd;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.cta-button:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.6);
}

/* About Section */
.about {
    padding: 6rem 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
    background-color: #111;
}

.about-content {
    flex: 1;
}

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

.about-content p {
    font-size: 1.1rem;
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
}

.image-wrapper {
    height: 400px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: -15px 15px 0px var(--primary-color);
}

/* Benefits Section */
.benefits {
    padding: 6rem 5%;
    text-align: center;
    background-color: #0A0A0A;
}

.benefits h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: #1A1A1A;
    padding: 2.5rem;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 3px solid transparent;
}

.benefit-item:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.benefit-item .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.benefit-item p {
    color: #999;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Locations */
.locations {
    padding: 6rem 5%;
    text-align: center;
    background-color: #111;
}

.locations h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    align-items: stretch;
}

.location-card {
    background: #1A1A1A;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.2);
    border-color: var(--primary-color);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.card-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.address {
    color: #aaa;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.address i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Schedule Block */
.schedule-block {
    margin-bottom: 1.5rem;
}

.schedule-block h4 {
    font-size: 1.2rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-block h4 i {
    color: var(--primary-color);
}

.schedule-block .days {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.schedule-block ul {
    list-style: none;
    padding-left: 0;
}

.schedule-block li {
    font-size: 0.95rem;
    color: #ddd;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
}

.time-badge {
    background-color: #333;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 10px;
    min-width: 75px;
    text-align: center;
}

/* Pricing Block */
.pricing-block {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px dashed #444;
    display: flex;
    justify-content: space-between;
}

.price-item {
    display: flex;
    flex-direction: column;
    background: #222;
    padding: 1rem;
    border-radius: 10px;
    width: 48%;
    text-align: center;
    border: 1px solid #333;
}

.price-item span {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.price-item strong {
    font-size: 1.4rem;
    color: #4CAF50; /* Green for prices */
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem 2rem;
    background: #050505;
    color: #666;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-content h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.copyright {
    border-top: 1px solid #222;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b858;
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.6);
}

@media (max-width: 900px) {
    .about {
        flex-direction: column;
    }
    .about-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content h1 span {
        font-size: 1.8rem;
    }
    .nav-links {
        display: none; /* Simple mobile hide */
    }
}
