/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #040037;
    --color-white: #ffffff;
    --color-gray: #d9d9d9;
    --color-text: #040037;
    --font-figtree: 'Figtree', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-figtree);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    width: 100%;
    height: auto;
}
.container {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 3rem 0;
}

.bg-white {
    background-color: var(--color-white);
}

/* NavBar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(24px);
    background: rgba(4, 0, 55, 0.3);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* max-width: 1512px; */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    height: 38px;
    width: 200px;
}

.logo svg {
    width: 100%;
    height: 100%;
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: white;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-figtree);
    font-weight: 600;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

/* Landing Section */
.landing {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    padding: 3rem 1.5rem;
    background-image: url('/src/assets/Header-kiabi.png');
    background-size: cover;
    background-position: center;
}

.landing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180.064deg, rgba(0, 0, 0, 0) 45.469%, rgba(0, 0, 0, 0.77) 99.896%);
}

.landing-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-content {
    position: relative;
    max-width: 1512px;
    margin: 0 auto 0 0 ;
    width: 100%;
    max-width: 600px;
}

.landing-content h1 {
    font-family: var(--font-figtree);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    color: white;
    margin-bottom: 2rem;
}

.landing-info {
    color: white;
    margin-bottom: 2rem;
}

.landing-date {
    font-family: var(--font-figtree);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.landing-hours {
    font-family: var(--font-figtree);
    font-size: 1.125rem;
}

.landing-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-family: var(--font-figtree);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    opacity: 0.9;
}

.btn-primary {
    background: white;
    color: var(--color-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

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

/* La Maison Section */
.la-maison-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
}

.la-maison-text {
    flex: 1;
    max-width: 612px;
}

.la-maison-text h2 {
    font-family: var(--font-figtree);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.text-content p {
    font-family: var(--font-figtree);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.la-maison-image {
    max-width: 490px;
    height: 306px;
    border-radius: 16px;
    overflow: hidden;
}

.la-maison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

/* Talleres Section */
.talleres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.intro-card {
    background: var(--color-primary);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    padding: 2rem 1.25rem;
    min-height: 355px;
}

.intro-card h3 {
    font-family: var(--font-figtree);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
}

.intro-card p {
    font-family: var(--font-figtree);
    font-size: 1rem;
    line-height: 1.5;
}

.workshop-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
    justify-content: space-between;
}

.card-image {
    position: relative;
    height: 138px;
    border-radius: 16px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.25rem 0.5rem;
    z-index: 10;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-content h4 {
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--color-text);
}

.card-author {
    font-family: var(--font-figtree);
    font-size: 1rem;
    color: var(--color-text);
}

.card-author a {
    text-decoration: underline;
    color: inherit;
}

.card-date {
    font-family: var(--font-figtree);
    font-size: 1rem;
    color: var(--color-text);
}

.card-date strong {
    font-weight: 600;
}

.underline {
    text-decoration: underline;
}

/* Espacios Section */
.espacios-header {
    text-align: center;
    margin-bottom: 3rem;
}

.espacios-header h2 {
    font-family: var(--font-figtree);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.espacios-header p {
    font-family: var(--font-figtree);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 740px;
    margin: 0 auto;
}

.maps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.map-item {
    text-align: center;
}

.map-item h3 {
    font-family: var(--font-figtree);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.map-placeholder {
    height: 400px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.brand-card {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-card h4 {
    font-family: var(--font-figtree);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

.brand-card p {
    font-family: var(--font-figtree);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text);
}

/* Así Fue Section */
.asi-fue-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 740px;
    margin: 0 auto 3rem;
}

.asi-fue-header h2 {
    font-family: var(--font-figtree);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.asi-fue-header p {
    font-family: var(--font-figtree);
    font-size: 1rem;
    line-height: 1.5;
}

.gallery-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
}

.gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.gallery-item {
    flex-shrink: 0;
    width: 227px;
    height: 306px;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-item.large {
    width: 490px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cómo Llegar Section */
.como-llegar-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.como-llegar-text {
    flex: 1;
    max-width: 400px;
}

.como-llegar-text h2 {
    font-family: var(--font-figtree);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.como-llegar-text p {
    font-family: var(--font-figtree);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.map-iframe {
    flex: 1;
    height: 427px;
    border-radius: 16px;
    overflow: hidden;
}

.map-iframe iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Preguntas Frecuentes Section */
.section-title {
    font-family: var(--font-figtree);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 994px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-gray);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-question span:last-child {
    flex: 1;
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--color-text);
    opacity: 0.88;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-answer p {
    padding: 0 1.5rem 2.5rem 4.5rem;
    font-family: var(--font-figtree);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text);
}

/* Footer */
.footer {
    background: var(--color-primary);
    padding: 3.5rem 0;
}

.footer-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-logo {
    width: 230px;
    height: 51px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-social h3,
.footer-contact h3 {
    font-family: var(--font-figtree);
    font-weight: 700;
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    color: white;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.social-links svg {
    width: 100%;
    height: 100%;
}

.footer-contact p {
    font-family: var(--font-figtree);
    font-size: 1rem;
    line-height: 1.5;
    color: white;
    max-width: 280px;
}

/* Responsive Styles */
@media (max-width: 1023px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .logo {
        width: 180px;
    }

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

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: calc(100vh - 70px);
        background: rgba(4, 0, 55, 0.98);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 2rem;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }

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

    .nav-link {
        width: 100%;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 18px;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .landing-content h1 {
        font-size: 2rem;
    }

    .la-maison-content {
        flex-direction: column;
    }

    .talleres-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .como-llegar-content {
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    .landing-content h1 {
        font-size: 1.75rem;
    }

    .landing-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .talleres-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 2rem 1rem;
        gap: 1rem;
    }

    .faq-question span:last-child {
        font-size: 1.25rem;
    }

    .faq-answer p {
        padding: 0 1rem 2rem 3rem;
        font-size: 0.9rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .maps-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .landing-content h1 {
        font-size: 1.5rem;
    }

    .landing-date {
        font-size: 1.125rem;
    }

    .landing-hours {
        font-size: 1rem;
    }

    .gallery-item {
        width: 180px;
        height: 250px;
    }

    .gallery-item.large {
        width: 350px;
    }
}