/* ===== LANGUAGE TOGGLE ===== */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 30px;
    padding: 4px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    gap: 0;
}

.lang-btn {
    position: relative;
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 26px;
    transition: all 0.3s var(--transition-smooth);
    z-index: 2;
    font-family: 'Poppins', sans-serif;
    min-width: 50px;
}

.lang-btn:hover {
    color: var(--text-dark);
}

.lang-btn.active {
    color: var(--white);
}

.toggle-slider {
    position: absolute;
    width: 50%;
    height: calc(100% - 8px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 26px;
    transition: transform 0.3s var(--transition-smooth);
    left: 4px;
    z-index: 1;
}

.lang-btn[data-lang="en"].active ~ .toggle-slider,
.toggle-slider.en {
    transform: translateX(100%);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c41e3a;
    --secondary-color: #2c5f4d;
    --accent-color: #f4e5d3;
    --text-dark: #2d2d2d;
    --text-light: #666;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #fdfbf7 0%, #f8f4ed 100%);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== BACKGROUND DECORATIONS ===== */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ===== MAIN CONTAINER ===== */
.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ===== LOGO SECTION ===== */
.logo-container {
    margin-bottom: 40px;
    perspective: 1000px;
}

.logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
    transition: transform 0.6s var(--transition-smooth);
    animation: logoFloat 3s ease-in-out infinite;
}

.logo:hover {
    transform: scale(1.05) rotateY(5deg);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== TITLE SECTION ===== */
.title-section {
    text-align: center;
    margin-bottom: 30px;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin-bottom: 15px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
    border-radius: 2px;
    animation: underlineGrow 2s ease-in-out infinite;
}

@keyframes underlineGrow {
    0%, 100% {
        width: 80px;
        opacity: 1;
    }
    50% {
        width: 120px;
        opacity: 0.6;
    }
}

/* ===== DESCRIPTION ===== */
.description {
    text-align: center;
    margin-bottom: 50px;
}

.description p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-light);
    font-weight: 300;
}

/* ===== MENU BUTTONS ===== */
.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    max-width: 500px;
    margin-bottom: 60px;
}

.menu-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 35px;
    background: var(--white);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--transition-smooth);
    overflow: hidden;
    cursor: pointer;
}

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

.menu-button:hover::before {
    left: 100%;
}

.menu-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.menu-button:active {
    transform: translateY(-2px) scale(0.98);
}

.menu-button.spanish {
    border-left: 5px solid var(--primary-color);
}

.menu-button.english {
    border-left: 5px solid var(--secondary-color);
}

.button-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--transition-smooth);
    flex-shrink: 0;
}

.spanish .button-icon {
    background: linear-gradient(135deg, var(--primary-color), #a01728);
    color: var(--white);
}

.english .button-icon {
    background: linear-gradient(135deg, var(--secondary-color), #1f4a3c);
    color: var(--white);
}

.button-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.4s var(--transition-smooth);
}

.menu-button:hover .button-icon {
    transform: scale(1.1) rotate(5deg);
}

.menu-button:hover .button-icon svg {
    transform: translateY(2px);
}

.button-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.button-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}

.button-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-light);
    transition: color 0.3s;
}

.button-arrow {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
    transition: all 0.4s var(--transition-smooth);
    opacity: 0.6;
}

.menu-button:hover .button-arrow {
    transform: translateX(5px);
    opacity: 1;
}

.menu-button:hover .button-title {
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    margin-top: auto;
    padding-top: 40px;
    position: relative;
    width: 100%;
}

.checkered-pattern {
    width: 100%;
    height: 20px;
    background-image: 
        linear-gradient(45deg, var(--primary-color) 25%, transparent 25%),
        linear-gradient(-45deg, var(--primary-color) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--primary-color) 75%),
        linear-gradient(-45deg, transparent 75%, var(--primary-color) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.15;
    margin-bottom: 30px;
    border-radius: 4px;
}

.footer-locations {
    margin-bottom: 30px;
}

.locations-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.locations-list {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 400;
}

.footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 50%;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.icon-link svg {
    width: 26px;
    height: 26px;
    position: relative;
    z-index: 2;
    transition: all 0.3s var(--transition-smooth);
}

.icon-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s var(--transition-smooth);
    z-index: 1;
}

.icon-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.icon-link:active {
    transform: translateY(-2px) scale(1);
}

.icon-link.instagram::before {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.icon-link.instagram:hover::before {
    transform: scale(1);
}

.icon-link.instagram:hover svg {
    color: var(--white);
}

.icon-link.facebook::before {
    background: #1877f2;
}

.icon-link.facebook:hover::before {
    transform: scale(1);
}

.icon-link.facebook:hover svg {
    color: var(--white);
}

.icon-link.website::before {
    background: var(--secondary-color);
}

.icon-link.website:hover::before {
    transform: scale(1);
}

.icon-link.website:hover svg {
    stroke: var(--white);
}

.icon-link.phone::before {
    background: var(--primary-color);
}

.icon-link.phone:hover::before {
    transform: scale(1);
}

.icon-link.phone:hover svg {
    stroke: var(--white);
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 300;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ===== ANIMATIONS ===== */
.animate-fade-in {
    animation: fadeIn 1s var(--transition-smooth) forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 1s var(--transition-smooth) 0.2s forwards;
    opacity: 0;
}

.animate-slide-up-delay {
    animation: slideUp 1s var(--transition-smooth) 0.4s forwards;
    opacity: 0;
}

.animate-fade-in-delay {
    animation: fadeIn 1s var(--transition-smooth) 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s var(--transition-smooth) 0.6s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ===== RESPONSIVE DESIGN (Mobile First) ===== */
@media (max-width: 768px) {
    .language-toggle {
        top: 15px;
        right: 15px;
        padding: 3px;
    }

    .lang-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        min-width: 45px;
    }

    .container {
        padding: 30px 20px;
    }

    .logo {
        width: 130px;
    }

    .logo-container {
        margin-bottom: 25px;
    }

    .title-section {
        margin-bottom: 20px;
    }

    .description {
        margin-bottom: 35px;
    }

    .description p {
        font-size: 1rem;
    }

    .buttons-container {
        gap: 18px;
        margin-bottom: 40px;
    }

    .menu-button {
        padding: 20px 22px;
        gap: 14px;
    }

    .button-icon {
        width: 40px;
        height: 40px;
    }

    .button-icon svg {
        width: 20px;
        height: 20px;
    }

    .button-title {
        font-size: 1.05rem;
    }

    .button-subtitle {
        font-size: 0.8rem;
    }

    .circle-1 {
        width: 280px;
        height: 280px;
    }

    .circle-2 {
        width: 180px;
        height: 180px;
    }

    .circle-3 {
        width: 150px;
        height: 150px;
    }

    .footer {
        padding-top: 30px;
    }

    .footer-icons {
        gap: 18px;
    }

    .icon-link {
        width: 54px;
        height: 54px;
    }

    .icon-link svg {
        width: 25px;
        height: 25px;
    }

    .locations-list {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .language-toggle {
        top: 12px;
        right: 12px;
    }

    .lang-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
        min-width: 42px;
    }

    .container {
        padding: 25px 16px;
    }

    .logo {
        width: 110px;
    }

    .logo-container {
        margin-bottom: 20px;
    }

    .main-title {
        font-size: 2.8rem;
    }

    .subtitle {
        letter-spacing: 1px;
        font-size: 1rem;
    }

    .description {
        margin-bottom: 30px;
    }

    .description p {
        font-size: 0.95rem;
    }

    .buttons-container {
        gap: 16px;
        margin-bottom: 35px;
    }

    .menu-button {
        padding: 18px 20px;
        gap: 12px;
        border-radius: 14px;
    }

    .button-icon {
        width: 36px;
        height: 36px;
    }

    .button-icon svg {
        width: 18px;
        height: 18px;
    }

    .button-title {
        font-size: 1rem;
    }

    .button-subtitle {
        font-size: 0.75rem;
    }

    .button-arrow {
        font-size: 1.3rem;
    }

    .circle-1 {
        width: 220px;
        height: 220px;
    }

    .circle-2 {
        width: 150px;
        height: 150px;
    }

    .circle-3 {
        width: 120px;
        height: 120px;
    }

    .footer {
        padding-top: 25px;
    }

    .checkered-pattern {
        margin-bottom: 25px;
    }

    .locations-title {
        font-size: 0.85rem;
    }

    .locations-list {
        font-size: 0.75rem;
        line-height: 1.7;
    }

    .footer-locations {
        margin-bottom: 25px;
    }

    .footer-icons {
        gap: 16px;
        margin-bottom: 20px;
    }

    .icon-link {
        width: 52px;
        height: 52px;
    }

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

    .footer-copyright {
        font-size: 0.75rem;
        margin-top: 15px;
        padding-top: 15px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 20px 14px;
    }

    .logo {
        width: 100px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .menu-button {
        padding: 16px 18px;
        gap: 10px;
    }

    .button-icon {
        width: 34px;
        height: 34px;
    }

    .button-title {
        font-size: 0.95rem;
    }

    .footer-icons {
        gap: 14px;
    }

    .icon-link {
        width: 48px;
        height: 48px;
    }

    .icon-link svg {
        width: 22px;
        height: 22px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .background-decoration,
    .circle {
        display: none;
    }

    body {
        background: white;
    }

    .menu-button {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
