/* Variables */
:root {
    --color-primary: #2D3047;
    --color-secondary: #6BBF59;
    --color-dino: #6BBF59;
    --color-background: #F9F7F2;
    --color-accent: #E76F51;
    --color-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Dinosaurios decorativos */
.dino-decoration {
    position: fixed;
    pointer-events: none;
    opacity: 0.06;
    z-index: 0;
    color: var(--color-secondary);
}

.dino-1 {
    width: 120px;
    top: 20%;
    left: 3%;
    transform: rotate(-15deg);
}

.dino-2 {
    width: 100px;
    top: 60%;
    right: 2%;
    transform: rotate(10deg) scaleX(-1);
}

.dino-3 {
    width: 80px;
    bottom: 15%;
    left: 5%;
    transform: rotate(5deg);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.logo-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    position: relative;
    background: linear-gradient(135deg, var(--color-background) 0%, #fff 100%);
}

.hero-content {
    text-align: center;
    max-width: 700px;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 15px;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-decoration {
    position: absolute;
    right: 5%;
    bottom: 10%;
    opacity: 0.15;
}

.hero-dino {
    width: 200px;
    color: var(--color-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #c9563d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Sobre Mí */
.sobre-mi {
    padding: 100px 0;
    background: var(--color-white);
    position: relative;
    z-index: 1;
}

.sobre-mi-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-mi h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.sobre-mi .lead {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.sobre-mi p {
    margin-bottom: 15px;
}

.credenciales {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.credencial {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-accent);
    font-weight: 500;
}

.credencial svg {
    width: 24px;
    height: 24px;
}

.sobre-mi-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 350px;
    height: 400px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.image-placeholder svg {
    width: 150px;
    color: var(--color-white);
}

.image-placeholder span {
    margin-top: 20px;
    font-weight: 600;
}

/* Clases */
.clases {
    padding: 100px 0;
    background: var(--color-background);
    position: relative;
    z-index: 1;
}

.clases h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

.clases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.clase-card {
    background: var(--color-white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.clase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

.clase-card.featured {
    border: 2px solid var(--color-secondary);
}

.clase-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.clase-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-white);
}

.clase-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.clase-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.clase-tipo {
    display: inline-block;
    background: var(--color-background);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    margin-top: 60px;
    text-align: center;
    padding: 50px;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.cta-dino {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-dino img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    padding-top: 20px;
}

.cta-highlight {
    font-family: var(--font-heading);
    font-size: 1.8rem !important;
    color: var(--color-accent);
    margin-bottom: 25px !important;
}

/* Contacto */
.contacto {
    padding: 100px 0;
    background: var(--color-white);
    position: relative;
    z-index: 1;
}

.contacto h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.contacto-card {
    background: var(--color-background);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--color-primary);
    transition: all 0.3s;
}

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

.contacto-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contacto-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
}

.contacto-icon.whatsapp {
    background: #25D366;
}

.contacto-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.contacto-icon.maps {
    background: #EA4335;
}

.contacto-card h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contacto-card p {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 50px 0 30px;
    position: relative;
    z-index: 1;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.footer-dino {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 22px;
    height: 22px;
    color: var(--color-white);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

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

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
}

/* Responsive */
@media (max-width: 900px) {
    .sobre-mi-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .sobre-mi-image {
        order: -1;
    }
    
    .image-placeholder {
        width: 280px;
        height: 320px;
    }
    
    .credenciales {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-decoration {
        opacity: 0.08;
    }
    
    .dino-decoration {
        display: none;
    }
    
    .clases-grid {
        grid-template-columns: 1fr;
    }
    
    .contacto-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
}

/* Foto de Agustina */
.agustina-foto {
    width: 350px;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Galería Carrusel */
.galeria {
    padding: 80px 0;
    background: var(--color-white);
    position: relative;
    z-index: 1;
}

.galeria h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: 15px;
    flex: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 15px;
}

.carousel-slide {
    min-width: calc(33.333% - 10px);
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.carousel-btn {
    background: var(--color-secondary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: #5aaf4a;
    transform: scale(1.1);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    color: white;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--color-secondary);
    transform: scale(1.2);
}

@media (max-width: 900px) {
    .agustina-foto {
        width: 280px;
        height: 360px;
    }
    
    .carousel-slide {
        min-width: calc(50% - 8px);
    }
    
    .carousel-slide img {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        min-width: 100%;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-slide img {
        height: 250px;
    }
}


/* Opiniones / Reviews */
.opiniones {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f6f1 0%, #fff 100%);
    position: relative;
    z-index: 1;
}

.opiniones h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.reviews-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 100%;
    margin: 0 auto;
}

.reviews-track-container {
    overflow-x: hidden;
    overflow-y: visible;
    flex: 1;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.review-card {
    min-width: 280px;
    max-width: 300px;
    flex-shrink: 0;
    background: var(--color-white);
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
}

.review-stars {
    color: #FFD700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.9rem;
    overflow: visible;
    display: block;
    word-wrap: break-word;
    white-space: normal;
    text-overflow: unset;
    height: auto;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.author-name {
    font-weight: 600;
    color: var(--color-primary);
}

.review-source {
    font-size: 0.8rem;
    color: #999;
}

.review-btn {
    background: var(--color-secondary);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    flex-shrink: 0;
}

.review-btn:hover {
    background: #5aaf4a;
    transform: scale(1.1);
}

.review-btn svg {
    width: 20px;
    height: 20px;
    color: white;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.review-dot.active {
    background: var(--color-secondary);
    transform: scale(1.2);
}

@media (max-width: 900px) {
    .review-card {
        min-width: 260px;
        max-width: 280px;
    }
}

@media (max-width: 600px) {
    .review-card {
        min-width: 85vw;
        max-width: 90vw;
        padding: 20px 15px;
    }
    
    .review-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .review-btn {
        width: 38px;
        height: 38px;
    }
}
