/* ===========================
   Universo Mini - Ropa Infantil
   Playful & Warm Children's Design
   =========================== */

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

:root {
    /* Soft pastel palette for children's store */
    --primary-color: #F8B4C4;
    --primary-light: #FACDD8;
    --primary-dark: #E99AB0;
    --accent-mint: #9DD6C8;
    --accent-peach: #FFDAB3;
    --accent-lavender: #D4C5E2;

    /* Light, warm backgrounds */
    --bg-cream: #FFFBF7;
    --bg-light: #FFF5EE;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;

    /* Text colors */
    --text-dark: #4A4A4A;
    --text-gray: #6B6B6B;
    --text-light: #8A8A8A;
    --border-color: #F0E6E0;
    --border-light: #F5EDE8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    letter-spacing: 0.01em;
}

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

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 251, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(248, 180, 196, 0.15);
}

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

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-links {
    position: fixed;
    top: 60px;
    left: -100%;
    display: flex;
    flex-direction: column;
    list-style: none;
    background: rgba(255, 251, 247, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    padding: 40px 30px;
    gap: 25px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--border-color);
}

.nav-links.active {
    left: 0;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--primary-dark);
}

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

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-gray);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 50%, #FFF0E8 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-image.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

/* Soft gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, rgba(255,251,247,0.4) 0%, rgba(255,251,247,0.6) 50%, rgba(255,251,247,0.95) 100%);
    z-index: 2;
}

/* Decorative circles */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(157, 214, 200, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 4;
    padding: 0 20px;
    width: 100%;
    max-width: 900px;
}

.hero-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeInDown 1s ease 0.2s both;
}

.hero-description {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInDown 1s ease 0.4s both;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    animation: fadeInDown 1s ease 0.6s both;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.cta-button:hover {
    background: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.cta-button.cta-secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    box-shadow: none;
}

.cta-button.cta-secondary:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 20px rgba(233, 154, 176, 0.3);
}

@media (min-width: 480px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3s ease-in-out infinite;
    z-index: 4;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 38px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--primary-dark);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===========================
   Section Styles
   =========================== */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

/* Playful divider */
.divider {
    width: 100px;
    height: 3px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-mint), var(--primary-color));
    border-radius: 2px;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.divider::before {
    left: -16px;
}

.divider::after {
    right: -16px;
}

/* ===========================
   Hours Section
   =========================== */
.hours {
    background: var(--bg-white);
}

.hours-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

.hours-table {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(248, 180, 196, 0.1);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.hours-row:hover {
    background: rgba(248, 180, 196, 0.05);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row.closed {
    background: var(--bg-light);
}

.hours-row .day {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 15px;
}

.hours-row .time {
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 400;
}

.hours-row.closed .time {
    color: var(--text-light);
    font-style: italic;
}

.pickup-info {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    padding: 45px 35px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(248, 180, 196, 0.3);
}

.pickup-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.pickup-info p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin-bottom: 28px;
    font-weight: 400;
}

.pickup-button {
    display: inline-block;
    padding: 16px 45px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.pickup-button:hover {
    background: #20BA5A;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    transform: translateY(-3px);
}

/* ===========================
   Products/Menu Section
   =========================== */
.menu {
    background: var(--bg-cream);
}

.menu-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.menu-category {
    background: var(--bg-card);
    padding: 40px 35px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.menu-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-mint));
    transition: height 0.4s ease;
}

.menu-category:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 50px rgba(248, 180, 196, 0.15);
}

.menu-category:hover::before {
    height: 100%;
}

.menu-category h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    transition: color 0.3s ease;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.menu-item {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item h4 {
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 500;
}

.menu-item p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

/* Color-coded categories */
.menu-category:nth-child(1)::before { background: linear-gradient(180deg, var(--primary-color), var(--primary-light)); }
.menu-category:nth-child(2)::before { background: linear-gradient(180deg, var(--accent-mint), #B5E5D9); }
.menu-category:nth-child(3)::before { background: linear-gradient(180deg, var(--accent-peach), #FFE5CC); }
.menu-category:nth-child(4)::before { background: linear-gradient(180deg, var(--accent-lavender), #E5DBF0); }

/* ===========================
   Gallery Section
   =========================== */
.gallery {
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Make first item larger on mobile */
.gallery-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(248, 180, 196, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===========================
   FAQ Section
   =========================== */
.faq {
    background: var(--bg-cream);
}

.faq-grid {
    display: grid;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item[open] {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.faq-item summary {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    padding-right: 35px;
    position: relative;
    line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 15px;
    font-weight: 400;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.contact-item:hover {
    border-color: var(--primary-light);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(248, 180, 196, 0.15);
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-details p {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 400;
}

.contact-details a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-dark);
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-dark) !important;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-map::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 8px solid var(--bg-card);
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

/* ===========================
   Footer
   =========================== */
footer {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    padding: 60px 0 35px;
    text-align: center;
    position: relative;
}

footer .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

footer .content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-size: 14px;
}

footer .bottom-bar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

footer .copyright {
    font-weight: 400;
}

footer .version {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
}

footer small,
.pensanta-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 18px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
    white-space: nowrap;
}

footer small:hover,
.pensanta-credit:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.25);
}

footer small svg,
.pensanta-credit svg {
    flex-shrink: 0;
    opacity: 0.8;
}

footer small a,
.pensanta-credit a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

footer small a:hover,
.pensanta-credit a:hover {
    text-decoration: underline;
}

/* ===========================
   Floating WhatsApp Button
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-ring 2s ease-out infinite;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    animation: pulse-border 2s ease-out infinite;
}

@keyframes pulse-border {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

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

.whatsapp-float:hover::before {
    animation: none;
    opacity: 0;
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
}

/* ===========================
   Responsive Design
   =========================== */

/* Small phones */
@media (max-width: 380px) {
    .hero-logo {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 0.15em;
    }

    .hero-description {
        font-size: 13px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .menu-category {
        padding: 30px 25px;
    }

    .menu-category h3 {
        font-size: 24px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Tablets and up */
@media (min-width: 769px) {
    .nav-links {
        position: static;
        flex-direction: row;
        background: transparent;
        width: auto;
        padding: 0;
        gap: 45px;
        border-top: none;
    }

    .mobile-menu-btn {
        display: none;
    }

    .logo {
        font-size: 30px;
    }

    .hero-logo {
        font-size: 90px;
    }

    .hero-subtitle {
        font-size: 22px;
        letter-spacing: 0.3em;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-header {
        margin-bottom: 70px;
    }

    .section-header h2 {
        font-size: 52px;
    }

    section {
        padding: 120px 0;
    }

    .hours-content {
        grid-template-columns: 1.2fr 1fr;
        gap: 50px;
    }

    .menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
        aspect-ratio: 1;
    }

    .contact-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 50px;
    }

    footer .bottom-bar {
        flex-direction: row;
        justify-content: space-between;
    }

    .whatsapp-float {
        width: 64px;
        height: 64px;
        bottom: 35px;
        right: 35px;
    }

    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .hero-content {
        text-align: center;
        max-width: 900px;
    }
}
