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

:root {
    /* Warm Color Palette */
    --cream: #FDF8F3;
    --soft-pink: #F4E4E0;
    --dusty-rose: #E8C5C0;
    --golden-brown: #D4A574;
    --warm-brown: #8B6F47;
    --dark-brown: #5D4E37;
    --white: #FFFFFF;
    --text-dark: #3A3A3A;
    --text-light: #6B6B6B;
    
    /* Gradient for logo */
    --gradient-primary: linear-gradient(135deg, #D4A574 0%, #8B6F47 50%, #5D4E37 100%);
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 12px;
    
    /* Shadows */
    --shadow-light: 0 4px 20px rgba(139, 111, 71, 0.1);
    --shadow-medium: 0 8px 30px rgba(139, 111, 71, 0.15);
    --shadow-heavy: 0 12px 40px rgba(139, 111, 71, 0.2);
}

body {
    font-family: var(--font-sans), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo-text {
    font-family: 'Dancing Script', 'Brush Script MT', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--warm-brown); /* Fallback color */
    letter-spacing: -0.5px;
    margin-bottom: -5px;
    display: inline-block;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .logo-text {
        background: none;
        color: var(--warm-brown);
        -webkit-text-fill-color: initial;
    }
}

.nav-logo span {
    font-size: 0.9rem;
    color: var(--golden-brown);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

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

.nav-menu a:hover {
    color: var(--golden-brown);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--warm-brown);
    margin: 3px 0;
    transition: 0.3s;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    min-width: 200px;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    z-index: 1001;
}

.dropdown:hover .submenu {
    display: block;
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s ease;
}

.submenu a:hover {
    background: var(--golden-brown);
    color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--soft-pink) 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 60px;
}

.hero-title {
    font-family: var(--font-serif), Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button {
    background: var(--golden-brown);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.cta-button:hover {
    background: var(--warm-brown);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 500px;
    height: 400px;
    background: var(--dusty-rose);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--warm-brown);
    box-shadow: var(--shadow-medium);
}

/* Section Titles */
.section-title {
    font-family: var(--font-serif), Georgia, serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark-brown);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Categories Section */
.categories {
    padding: var(--section-padding);
    background: var(--white);
}

.category-section {
    margin-bottom: 80px;
}

.category-title {
    font-family: var(--font-serif), Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--warm-brown);
    text-align: center;
    margin-bottom: 40px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.image-placeholder {
    width: 100%;
    height: 280px;
    background: var(--soft-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--warm-brown);
    font-weight: 500;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 40px 25px 25px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .item-overlay {
    transform: translateY(0);
}

.item-overlay h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.item-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}/*
 About Section */
.about {
    padding: var(--section-padding);
    background: var(--soft-pink);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--golden-brown);
    margin-bottom: 5px;
}

.stat p {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.about-image .image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--dusty-rose);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--warm-brown);
    box-shadow: var(--shadow-medium);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-info h3,
.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--warm-brown);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Form */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid var(--soft-pink);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: border-color 0.3s ease;
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--golden-brown);
}

.contact-form button {
    background: var(--golden-brown);
    color: var(--white);
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.contact-form button:hover {
    background: var(--warm-brown);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Footer */
.footer {
    background: var(--dark-brown);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.footer-logo p {
    color: var(--golden-brown);
    font-size: 0.9rem;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--golden-brown);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 30px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-placeholder {
        width: 100%;
        max-width: 400px;
        height: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.2s;
}

/* Hover Effects */
.cta-button,
.contact-form button {
    position: relative;
    overflow: hidden;
}

.cta-button::before,
.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before,
.contact-form button:hover::before {
    left: 100%;
}
/*
 Additional fallbacks and optimizations for online servers */

/* Ensure images and placeholders work properly */
.image-placeholder, .hero-placeholder {
    background-color: var(--soft-pink);
    background-image: linear-gradient(45deg, var(--dusty-rose) 25%, transparent 25%), 
                      linear-gradient(-45deg, var(--dusty-rose) 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, var(--dusty-rose) 75%), 
                      linear-gradient(-45deg, transparent 75%, var(--dusty-rose) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Ensure proper font loading */
@font-face {
    font-family: 'Fallback Serif';
    src: local('Georgia'), local('Times New Roman'), local('serif');
    font-display: swap;
}

@font-face {
    font-family: 'Fallback Sans';
    src: local('Arial'), local('Helvetica'), local('sans-serif');
    font-display: swap;
}

/* Progressive enhancement for the logo gradient */
.logo-text {
    background-image: var(--gradient-primary);
    background-size: 100%;
    background-repeat: repeat;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
}

/* Ensure animations work on all devices */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Better mobile optimization */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Ensure proper loading states */
.gallery-item {
    min-height: 280px;
    background-color: var(--soft-pink);
}

/* Better contrast for accessibility */
.item-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

/* Ensure buttons work on touch devices */
.cta-button, .contact-form button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Estilos para imágenes reales */
.hero-img {
    width: 500px;
    height: 400px;
    object-fit: contain; /* Mejor para PNG con transparencia */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    background: transparent;
    max-width: 100%;
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* Responsive para imágenes */
@media (max-width: 768px) {
    .hero-img {
        width: 100%;
        max-width: 400px;
        height: 300px;
        object-fit: contain;
    }
}

/* Lazy loading y optimización */
img {
    loading: lazy;
    decoding: async;
}

/* Placeholder mientras cargan las imágenes */
img:not([src]) {
    background: var(--soft-pink);
    display: inline-block;
}

/* Efecto hover para imágenes de galería */
.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}