/* 
    LA CASA DE LAS FLORES - PREMIUM STYLES
    Theme: Glamour, Nightlife, Floral Neon
*/

:root {
    --primary: #ff007f; /* Vibrant Magenta */
    --secondary: #ffb700; /* Neon Gold */
    --accent: #7000ff; /* Electric Purple */
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.flower-loader {
    position: relative;
    width: 60px;
    height: 60px;
}

.petal {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50% 50% 0 50%;
    animation: bloom 1.5s infinite ease-in-out;
}

.petal:nth-child(2) { transform: rotate(90deg); animation-delay: 0.3s; background: var(--secondary); }
.petal:nth-child(3) { transform: rotate(180deg); animation-delay: 0.6s; background: var(--accent); }
.petal:nth-child(4) { transform: rotate(270deg); animation-delay: 0.9s; }

@keyframes bloom {
    0%, 100% { transform: scale(0) rotate(0); opacity: 0; }
    50% { transform: scale(1.2) rotate(45deg); opacity: 1; }
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

#main-header.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 2px;
}

.logo .casa { font-size: 1.2rem; color: var(--text-light); }
.logo .de-las { font-size: 0.7rem; font-style: italic; color: var(--secondary); margin-left: 2px; }
.logo .flores { font-size: 1.5rem; color: var(--primary); text-shadow: 0 0 10px rgba(255, 0, 127, 0.5); }

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
}

.hero-swiper {
    height: 100%;
    width: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

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

.hero-content h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--secondary);
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem);
    margin-bottom: 20px;
    color: #fff;
    line-height: 1;
    opacity: 0;
    transform: translateY(40px);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(50px);
}

.hero-content .btn {
    opacity: 0;
    transform: translateY(60px);
}

.swiper-slide-active .hero-content * {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.swiper-slide-active .hero-content h2 { transition-delay: 0.2s; }
.swiper-slide-active .hero-content h1 { transition-delay: 0.4s; }
.swiper-slide-active .hero-content p { transition-delay: 0.6s; }
.swiper-slide-active .hero-content .btn { transition-delay: 0.8s; }

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

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 0, 127, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 0, 127, 0.5);
    background: #ff3399;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-whatsapp-header {
    background: #25d366;
    color: white;
    padding: 10px 20px;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-header:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
}

.section-title.centered { text-align: center; }

.section-title span {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    gap: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.event-card:hover {
    background: #1a1a1a;
    transform: scale(1.02);
    border-color: var(--primary);
}

.event-card:hover::before { height: 100%; }

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 900;
    color: var(--primary);
    font-size: 1.5rem;
}

.event-date span {
    font-size: 2.5rem;
    line-height: 1;
    color: var(--text-light);
}

.event-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.event-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

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

.btn-reserve-card {
    padding: 8px 15px;
    font-size: 0.75rem;
    background: var(--glass);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-reserve-card:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.time {
    display: inline-block;
    padding: 5px 15px;
    background: var(--glass);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--secondary);
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-layout.reverse { direction: rtl; }
.split-layout.reverse .split-content { direction: ltr; }

.split-image {
    position: relative;
}

.split-image img {
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
    opacity: 0.5;
}

.split-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.split-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.feature-item i { color: var(--primary); }

/* Instagram Grid */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.ig-item {
    aspect-ratio: 1;
    background-color: var(--bg-card);
    background-image: url('assets/img/hero.png'); /* Placeholder/Fallback */
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.ig-item:hover {
    transform: scale(0.95);
    opacity: 0.8;
}

/* Footer */
.main-footer {
    padding: 100px 0 50px;
    background: #050505;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin: 20px 0;
    color: var(--text-muted);
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--glass);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.footer-info h3, .footer-newsletter h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--secondary);
}

.footer-info ul li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    color: var(--text-muted);
}

.footer-info i { color: var(--primary); margin-top: 5px; }

.newsletter-form {
    display: flex;
    background: var(--glass);
    padding: 5px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.newsletter-form input {
    background: transparent;
    border: none;
    padding: 10px 20px;
    color: white;
    width: 100%;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    width: 50px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

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

/* Responsive */
@media (max-width: 991px) {
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
    .split-layout.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .section-title h2 { font-size: 2.5rem; }
    .split-content h2 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}
