/* ========================================
   CSS Reset & Base Styles
   ======================================== */

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

:root {
    --color-light: #ffffff;
    --color-dark: rgba(0, 0, 0, 0.7);
    --color-accent: rgba(255, 255, 255, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 12px 40px 0 rgba(0, 0, 0, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-light);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Background Slideshow
   ======================================== */

.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: -1;
}

/* ========================================
   Main Container
   ======================================== */

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   Header & Logo
   ======================================== */

.header {
    width: 100%;
    padding: 1rem 0;
    animation: fadeInDown 1s ease-out;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    max-width: fit-content;
    margin: 0 auto;
}

.logo-container:hover {
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.logo {
    max-width: 260px;
    height: auto;
    filter:
        drop-shadow(0 0 400px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 800px rgba(255, 255, 255, 0.972)) drop-shadow(0 0 120px rgba(255, 255, 255, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    filter:
        drop-shadow(0 0 500px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 1000px rgba(255, 255, 255, 0.972)) drop-shadow(0 0 150px rgba(255, 255, 255, 0.5)) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.hero-content {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-content:hover {
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.subtitle {
    font-size: clamp(1rem, 3.5vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    opacity: 0.95;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    text-transform: lowercase;
}

/* ========================================
   Content Sections
   ======================================== */

.content-sections {
    width: 100%;
    max-width: 900px;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeInUp 1.3s ease-out 0.5s both;
}

.content-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.2rem 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.content-card:hover {
    background: rgba(0, 0, 0, 0.45);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0;
    letter-spacing: 0.05em;
    text-align: center;
    color: var(--color-light);
}

/* Accordion Styles */
.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    padding: 0.8rem 0.5rem;
    transition: var(--transition);
}

.accordion-trigger:hover {
    color: rgba(255, 255, 255, 0.8);
}

.accordion-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-trigger.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content.open {
    max-height: 1000px;
    padding-top: 1rem;
}

.content-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.9rem;
    opacity: 0.9;
    text-align: justify;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    width: 100%;
    max-width: 500px;
    margin-bottom: 2rem;
    animation: fadeInUp 1.4s ease-out 0.6s both;
}

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.contact-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

/* ========================================
   Contact Item
   ======================================== */

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
    flex-wrap: wrap;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-link {
    color: var(--color-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.contact-link:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.contact-name {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: var(--color-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-wrap: wrap;
    justify-content: center;
}

.whatsapp-link:hover {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.whatsapp-link .icon {
    width: 24px;
    height: 24px;
}

/* ========================================
   Social Links
   ======================================== */

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--color-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: transparent;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    width: 100%;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    opacity: 0.7;
    animation: fadeIn 1.6s ease-out 0.9s both;
}

.footer p {
    letter-spacing: 0.05em;
}

/* ========================================
   Animations
   ======================================== */

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

/* Tablet */
@media (min-width: 768px) {
    .container {
        padding: 2rem 3rem;
    }

    .logo {
        max-width: 300px;
    }

    .contact-card {
        padding: 2.5rem 2rem;
    }

    .contact-item {
        flex-wrap: nowrap;
    }

    /* Larger boxes on tablet */
    .content-card {
        padding: 2rem 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Show content by default on larger screens */
    .accordion-content {
        max-height: none !important;
        overflow: visible;
        padding-top: 1rem;
    }

    /* Hide accordion icon on larger screens */
    .accordion-icon {
        display: none;
    }

    .accordion-trigger {
        cursor: default;
        padding: 0;
        margin-bottom: 1.2rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .container {
        padding: 3rem 4rem;
    }

    .logo {
        max-width: 340px;
    }

    .hero {
        padding: 3rem 2rem;
    }

    .contact {
        max-width: 600px;
    }

    .contact-card {
        padding: 3rem 2.5rem;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .logo {
        max-width: 380px;
    }
}