/* WAVECREST SURF SCHOOL - REFINED PREMIUM */

:root {
    --ocean-deep: #0B4F6C;
    --ocean-blue: #20A4F3;
    --wave-cyan: #00D4FF;
    --sunset: #FF6B35;
    --sand: #F4E8D0;
    --white: #FFFFFF;
    --black: #0F172A;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    --gradient-ocean: linear-gradient(135deg, var(--ocean-deep), var(--ocean-blue));
    --gradient-sunset: linear-gradient(135deg, var(--sunset), #FF8C61);
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.15);
    
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    
    --font-display: 'Righteous', cursive;
    --font-body: 'Poppins', sans-serif;
    
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ANNOUNCEMENT BANNER */
.announcement-banner {
    background: var(--gradient-ocean);
    color: var(--white);
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.announcement-banner p {
    margin: 0;
    line-height: 1.4;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: 52px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--black);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container { padding: 0 3rem; }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo img {
    height: 60px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo {
        margin: 0;
        display: flex;
        justify-content: center;
    }
    
    .logo img {
        height: 40px;
        width: auto;
        max-width: 180px;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--ocean-blue);
}

.btn-nav {
    background: var(--gradient-sunset);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-nav:hover {
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--ocean-deep);
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    
    .nav-content {
        flex-wrap: wrap;
        position: relative;
    }
    
    .logo {
        order: 1;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .logo img {
        height: 40px;
        width: auto;
        max-width: 180px;
    }
    
    .mobile-menu-toggle {
        order: 2;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-links {
        order: 3;
        position: fixed;
        top: 122px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s var(--ease);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: #25D366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: all 0.3s var(--ease);
    opacity: 0;
    pointer-events: none;
}

.whatsapp-float.visible {
    opacity: 1;
    pointer-events: all;
}

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.2s var(--ease);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-ocean);
    color: white;
    box-shadow: 0 4px 16px rgba(32,164,243,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32,164,243,0.4);
}

.btn-secondary {
    background: white;
    color: var(--ocean-deep);
    border: 2px solid var(--ocean-blue);
}

.btn-secondary:hover {
    background: var(--ocean-blue);
    color: white;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
}

/* BADGE */
.badge {
    display: inline-block;
    background: var(--gradient-ocean);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 4rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 4rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg picture,
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,79,108,0.75), rgba(32,164,243,0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
    animation: fadeUp 1s var(--ease);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    color: white;
    margin: 1rem 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.highlight {
    background: linear-gradient(135deg, #FFD166, var(--sunset));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 100px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* SECTIONS */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin: 1rem 0;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--gray-700);
}

/* ABOUT */
.about {
    background: linear-gradient(180deg, white 0%, var(--gray-50) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 968px) {
    .about-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1.5rem;
}

.image-caption h4,
.image-caption p {
    color: white;
    margin: 0;
}

/* TRUST GRID */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
    text-align: left;
    width: 100%;
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-ocean);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trust-card strong {
    display: block;
    color: var(--ocean-deep);
    margin-bottom: 0.25rem;
}

.trust-card span {
    color: var(--ocean-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

/* LESSONS */
.lessons {
    background: var(--gray-50);
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.lesson-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
    position: relative;
    border: 2px solid transparent;
}

.lesson-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.lesson-card.featured {
    background: linear-gradient(135deg, rgba(32,164,243,0.1), rgba(0,212,255,0.05));
    border-color: var(--ocean-blue);
}

.lesson-card.highlighted {
    border-color: var(--sunset);
}

.card-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: var(--gradient-sunset);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lesson-card h3 {
    margin-bottom: 0.5rem;
}

.card-description {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.lesson-card ul {
    margin: 1.5rem 0;
}

.lesson-card li {
    padding: 0.5rem 0;
    color: var(--gray-700);
}

.card-meta {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    margin: 1rem 0;
}

.lesson-card .btn {
    width: 100%;
    justify-content: center;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
    width: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h4 {
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.service-card span {
    color: var(--ocean-blue);
    font-weight: 700;
}

/* CONDITIONS SECTION */
.conditions-section {
    background: white;
}

.surf-widget {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    min-height: 450px;
}

.surf-widget iframe {
    display: block;
    border-radius: var(--radius-lg);
    min-height: 450px;
}

.conditions-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.info-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease);
}

.info-item:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

.info-item strong {
    display: block;
    color: var(--ocean-deep);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.info-item span {
    color: var(--gray-700);
    font-size: 0.9rem;
}

/* SOCIAL */
.social {
    background: var(--gray-50);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.social-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    color: white;
    transition: all 0.3s var(--ease);
    display: block;
}

.social-card.instagram {
    background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-card.tiktok {
    background: linear-gradient(135deg, #000000 0%, #69C9D0 100%);
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.social-card svg {
    margin: 0 auto 1rem;
}

.social-card h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.social-card p {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.social-card .cta {
    opacity: 0.9;
    font-weight: 400;
}

/* TESTIMONIALS */
.testimonials {
    background: var(--gradient-ocean);
    color: white;
}

.testimonials .section-header * {
    color: white;
}

.tripadvisor {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin-top: 1rem;
    transition: all 0.3s;
}

.tripadvisor:hover {
    background: rgba(255,255,255,0.2);
}

.stars {
    color: #FFD166;
    font-size: 1.25rem;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    min-height: 200px;
}

.testimonial {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.author span {
    color: #FFD166;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.slider-nav button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.slider-nav button:hover {
    background: rgba(255,255,255,0.3);
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-card > div:first-child {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--ocean-blue);
    font-weight: 600;
}

.map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* FINAL CTA */
.cta-final {
    background: var(--gradient-sunset);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-final h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* FOOTER */
.footer {
    background: var(--gray-900);
    color: var(--gray-200);
    padding: 3rem 0 1rem;
}

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

.footer img {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.footer h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: var(--ocean-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    padding: 2rem;
    animation: slideUp 0.3s var(--ease);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--gray-200);
    transform: rotate(90deg);
}

#modalBody h2 {
    margin-bottom: 1.5rem;
}

#modalBody h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

#modalBody p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

#modalBody ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

#modalBody li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

#modalBody .btn {
    margin-top: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 5rem 0 3rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .modal-content {
        max-height: 90vh;
        padding: 1.5rem;
    }
    
    .surf-widget iframe {
        height: 400px;
    }
    
    .conditions-info {
        grid-template-columns: 1fr 1fr;
    }
}

/* PERFORMANCE */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
