/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ensure hero section takes full viewport */
html, body {
    height: 100%;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #debb00;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 12px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-logo i {
    margin-right: 10px;
    color: #4a7c59;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #debb00;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #debb00;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 8px 12px;
    border: 2px solid #debb00;
    background: transparent;
    color: #debb00;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: #debb00;
    color: white;
}

.lang-btn:hover {
    background: #debb00;
    color: white;
}

/* Hero Section - Production Ready */
.hero {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #debb00 0%, #b8941f 100%);
    background: -webkit-linear-gradient(135deg, #debb00 0%, #b8941f 100%); /* Safari fallback */
    background: -moz-linear-gradient(135deg, #debb00 0%, #b8941f 100%); /* Firefox fallback */
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="flowers" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23flowers)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    flex: 1;
    z-index: 2;
    position: relative;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* Responsive font size */
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.4;
}

.cta-button {
    background: linear-gradient(45deg, #debb00, #b8941f);
    background: -webkit-linear-gradient(45deg, #debb00, #b8941f); /* Safari fallback */
    background: -moz-linear-gradient(45deg, #debb00, #b8941f); /* Firefox fallback */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(222, 187, 0, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(222, 187, 0, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
    padding: 2rem;
}

.flower-animation {
    font-size: 8rem;
    font-size: clamp(4rem, 10vw, 8rem); /* Responsive font size */
    animation: float 3s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.8);
}

/* Most Beautiful Flower Section */
.beautiful-flower-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #debb00 0%, #b8941f 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.beautiful-flower-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="sparkles" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23sparkles)"/></svg>');
    opacity: 0.3;
}

.beautiful-flower-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.beautiful-flower-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.beautiful-flower-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.beautiful-flower-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #ffd700;
}

.feature-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

.beautiful-flower-image {
    position: relative;
    animation: fadeInUp 1s ease 0.6s both;
}

.image-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(222, 187, 0, 0.8), rgba(184, 148, 31, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: inherit;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
    display: block;
}

.overlay-content span {
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Design for Beautiful Flower Section */
@media (max-width: 768px) {
    .beautiful-flower-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .beautiful-flower-title {
        font-size: 2.5rem;
    }
    
    .beautiful-flower-description {
        font-size: 1.1rem;
    }
    
    .image-container img {
        height: 300px;
    }
    
    .feature-item:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .beautiful-flower-title {
        font-size: 2rem;
    }
    
    .beautiful-flower-description {
        font-size: 1rem;
    }
    
    .image-container img {
        height: 250px;
    }
}

/* Season Sections */
.season-section {
    padding: 100px 0;
    position: relative;
}

.spring-bg {
    background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
}

.summer-bg {
    background: linear-gradient(135deg, #ffd3a5 0%, #fd9853 100%);
}

.fall-bg {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.winter-bg {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
    color: white;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.spring-bg .section-title {
    color: #2d5a27;
}

.summer-bg .section-title {
    color: #8b4513;
}

.fall-bg .section-title {
    color: #8b4513;
}

.winter-bg .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Flowers Grid */
.flowers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Image loading animation */
.flower-image img {
    opacity: 0;
    animation: fadeInImage 0.5s ease forwards;
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

/* Image placeholder while loading */
.flower-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    z-index: -1;
}

/* Fallback for missing images */
.flower-image {
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.flower-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.flower-image img:not([src]),
.flower-image img[src=""],
.flower-image img[src*="placeholder"] {
    display: none;
}

.flower-image::after {
    content: '📷\A Coloca tu imagen aquí\A Formato: JPG o PNG';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: pre-line;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.flower-image img:not([src]) + *,
.flower-image img[src=""] + *,
.flower-image:not(:has(img[src]))::after,
.flower-image img[src*="placeholder"] + * {
    display: block;
}

/* Hero image container */
.image-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.1);
}

.flower-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.winter-bg .flower-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.flower-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a7c59, #2d5a27);
}

.spring-bg .flower-card::before {
    background: linear-gradient(90deg, #a8e6cf, #4a7c59);
}

.summer-bg .flower-card::before {
    background: linear-gradient(90deg, #ffd3a5, #fd9853);
}

.fall-bg .flower-card::before {
    background: linear-gradient(90deg, #ff9a9e, #8b4513);
}

.winter-bg .flower-card::before {
    background: linear-gradient(90deg, #a8c0ff, #3f2b96);
}

.flower-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.flower-image {
    text-align: center;
    margin-bottom: 1.5rem;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.flower-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.flower-card:hover .flower-image img {
    transform: scale(1.05);
}

/* Slider automático para flores */
.flower-slider {
    position: relative;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: translateX(100%);
}

.slider-image.active {
    opacity: 1;
    transform: translateX(0);
}

.slider-image.prev {
    transform: translateX(-100%);
}

/* Indicadores del slider */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #debb00;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Placeholder para slider */
.flower-slider::before {
    content: '🔄\A Slider automático\A 3 imágenes por flor';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: pre-line;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Ocultar placeholder cuando hay imágenes */
.flower-slider:has(.slider-image[src]:not([src=""]))::before {
    display: none;
}

.spring-icon {
    font-size: 3rem;
    color: #4a7c59;
}

.summer-icon {
    font-size: 3rem;
    color: #fd9853;
}

.fall-icon {
    font-size: 3rem;
    color: #8b4513;
}

.winter-icon {
    font-size: 3rem;
    color: #a8c0ff;
}

.flower-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.flower-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.flower-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item {
    background: rgba(74, 124, 89, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

.spring-bg .detail-item {
    background: rgba(74, 124, 89, 0.1);
    color: #2d5a27;
}

.summer-bg .detail-item {
    background: rgba(253, 152, 83, 0.1);
    color: #8b4513;
}

.fall-bg .detail-item {
    background: rgba(255, 154, 158, 0.1);
    color: #8b4513;
}

.winter-bg .detail-item {
    background: rgba(168, 192, 255, 0.2);
    color: white;
}

/* Footer */
.footer {
    background: #2d5a27;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #debb00;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #debb00;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #debb00;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero responsive fixes */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 4rem 1.5rem 1rem 1.5rem;
        max-width: 100%;
        width: 100%;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1rem);
        margin-bottom: 1.5rem;
    }

    .hero-image {
        padding: 1rem;
        margin-top: 2rem;
    }

    .flower-animation {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .section-title {
        font-size: 2.5rem;
    }

    .flowers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .flower-card {
        padding: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
    
    /* Logo responsive */
    .logo-image {
        height: 35px;
        margin-right: 8px;
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 4.5rem 2rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .flower-card {
        padding: 1rem;
    }

    .flower-animation {
        font-size: 5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* SVG Image Styles */
.svg-image-container {
    display: inline-block;
    width: 100%;
    height: 100%;
    position: relative;
}

.flower-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: block;
}

.flower-svg:hover {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

/* Slider SVG styles */
.slider-image .flower-svg {
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Hero image SVG styles */
.image-container .flower-svg {
    border-radius: 25px;
}

/* Card SVG styles */
.flower-card .flower-svg {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive SVG */
@media (max-width: 768px) {
    .flower-svg {
        border-radius: 10px;
    }
    
    .image-container .flower-svg {
        border-radius: 15px;
    }
}

/* SVG Loading animation */
.svg-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.svg-image-container.loading::before {
    opacity: 1;
}

/* SVG Error state */
.svg-image-container.error::after {
    content: '❌\A Error cargando SVG\A Usando imagen original';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: pre-line;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Featured Flower Card Styles */
.featured-flower-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.featured-flower-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe, #74b9ff);
}

/* Spring Featured Flower */
.spring-featured {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border: 2px solid #28a745;
}

.spring-featured::before {
    background: linear-gradient(90deg, #28a745, #20c997, #17a2b8);
}

.spring-featured .featured-flower-title {
    background: linear-gradient(135deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.spring-featured .detail-item {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.spring-featured .detail-item i {
    color: #28a745;
}

/* Summer Featured Flower */
.summer-featured {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #fd7e14;
}

.summer-featured::before {
    background: linear-gradient(90deg, #fd7e14, #ffc107, #e83e8c);
}

.summer-featured .featured-flower-title {
    background: linear-gradient(135deg, #fd7e14, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summer-featured .detail-item {
    background: rgba(253, 126, 20, 0.1);
    color: #8b4513;
    border: 1px solid rgba(253, 126, 20, 0.2);
}

.summer-featured .detail-item i {
    color: #fd7e14;
}

/* Fall Featured Flower */
.fall-featured {
    background: linear-gradient(135deg, #f4e4bc 0%, #d2b48c 100%);
    border: 2px solid #ffc107;
}

.fall-featured::before {
    background: linear-gradient(90deg, #dc3545, #fd7e14, #ffc107);
}

.fall-featured .featured-flower-title {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fall-featured .detail-item {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.fall-featured .detail-item i {
    color: #dc3545;
}

/* Winter Featured Flower */
.winter-featured {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #17a2b8;
}

.winter-featured::before {
    background: linear-gradient(90deg, #17a2b8, #6c757d, #6c5ce7);
}

.winter-featured .featured-flower-title {
    background: linear-gradient(135deg, #17a2b8, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.winter-featured .detail-item {
    background: rgba(23, 162, 184, 0.1);
    color: #0c5460;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

.winter-featured .detail-item i {
    color: #17a2b8;
}

/* Beautiful Flower Section Winter Theme */
.beautiful-flower-section.winter-featured {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-top: 4px solid #17a2b8;
    border-bottom: 4px solid #17a2b8;
}

.beautiful-flower-section.winter-featured .beautiful-flower-title {
    background: linear-gradient(135deg, #17a2b8, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.beautiful-flower-section.winter-featured .beautiful-flower-description {
    color: #0c5460;
}

.beautiful-flower-section.winter-featured .feature-item {
    background: rgba(23, 162, 184, 0.1);
    color: #0c5460;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

.beautiful-flower-section.winter-featured .feature-item i {
    color: #17a2b8;
}

.beautiful-flower-section.winter-featured .image-container {
    border: 3px solid #17a2b8;
    box-shadow: 0 20px 40px rgba(23, 162, 184, 0.3);
}

.beautiful-flower-section.winter-featured .image-overlay {
    background: linear-gradient(45deg, rgba(23, 162, 184, 0.8), rgba(108, 92, 231, 0.8));
}

/* Hero Section Winter Theme - Matching Winter Section */
.beautiful-flower-section.winter-bg {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
    color: white;
    position: relative;
}

.beautiful-flower-section.winter-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(23, 162, 184, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(108, 92, 231, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(144, 202, 249, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.beautiful-flower-section.winter-bg .container {
    position: relative;
    z-index: 1;
}

.beautiful-flower-section.winter-bg .beautiful-flower-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.beautiful-flower-section.winter-bg .beautiful-flower-description {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.beautiful-flower-section.winter-bg .feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.beautiful-flower-section.winter-bg .feature-item i {
    color: #a8c0ff;
}

.beautiful-flower-section.winter-bg .image-container {
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    min-height: 400px;
    background: #f0f0f0;
}

.beautiful-flower-section.winter-bg .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.beautiful-flower-section.winter-bg .image-overlay {
    background: linear-gradient(45deg, rgba(168, 192, 255, 0.8), rgba(63, 43, 150, 0.8));
}

/* Beautiful Flower Section Fall Theme */
.beautiful-flower-section.fall-bg {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #8b4513;
    position: relative;
}

.beautiful-flower-section.fall-bg .beautiful-flower-title {
    color: #8b4513;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.beautiful-flower-section.fall-bg .beautiful-flower-description {
    color: #8b4513;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.beautiful-flower-section.fall-bg .feature-item {
    background: rgba(255, 154, 158, 0.1);
    border: 1px solid rgba(255, 154, 158, 0.2);
    color: #8b4513;
}

.beautiful-flower-section.fall-bg .feature-item i {
    color: #ff9a9e;
}

.beautiful-flower-section.fall-bg .image-container {
    border: 3px solid rgba(255, 154, 158, 0.3);
    box-shadow: 0 20px 40px rgba(255, 154, 158, 0.3);
    height: 400px;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    display: block;
}

.beautiful-flower-section.fall-bg .image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

/* Reset para eliminar espacios en blanco */
.beautiful-flower-section.fall-bg * {
    box-sizing: border-box;
}

.beautiful-flower-section.fall-bg .image-container,
.beautiful-flower-section.fall-bg .image-container *,
.beautiful-flower-section.fall-bg .image-overlay,
.beautiful-flower-section.fall-bg .image-overlay * {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

.beautiful-flower-section.fall-bg .beautiful-flower-image {
    margin: 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
}

.beautiful-flower-section.fall-bg .image-overlay {
    background: linear-gradient(45deg, rgba(255, 154, 158, 0.8), rgba(142, 69, 19, 0.8));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    border: none;
}

.featured-flower-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.featured-flower-image {
    position: relative;
    flex: 0 0 300px;
}

.featured-flower-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.featured-flower-img:hover {
    transform: scale(1.05);
}

.popularity-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popularity-badge i {
    color: #ff6b6b;
}

.featured-flower-info {
    flex: 1;
}

.featured-flower-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-flower-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #636e72;
    margin-bottom: 1.5rem;
}

.flower-details {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-weight: 500;
    color: #2d3436;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.detail-item i {
    color: #6c5ce7;
    font-size: 1.1rem;
}

/* Responsive Design for Featured Flower */
@media (max-width: 768px) {
    .featured-flower-content {
        flex-direction: column;
        text-align: center;
    }
    
    .featured-flower-image {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .featured-flower-title {
        font-size: 2rem;
    }
    
    .flower-details {
        justify-content: center;
    }
    
    .detail-item {
        flex: 1;
        min-width: 150px;
        justify-content: center;
    }
}

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid #6c5ce7;
    color: #6c5ce7;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: #6c5ce7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.lang-btn.active {
    background: #6c5ce7;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

/* Responsive Language Switcher */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 1rem;
        margin-top: 1rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}
