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

:root {
    --primary-color: #009697;
    --primary-highlight: #007d7d;
    --text-dark: #333;
    --text-light: #f8f8f8;
    --light-contrast: #fff;
    --transition: all 0.3s ease;
    --logo: url('/assets/images/logos/som_de_mar_logo_light.png');
}

html {
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
    scroll-behavior: smooth;
}

/* Base styles */
body {
    overflow-x: hidden;
    font-family: 'Playfair Display', sans-serif;
    line-height: 1.2;
    color: var(--text-dark);
    min-height: 100%;
    background-color: var(--text-light);
    margin:0;
    padding:0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

main {
    position: relative;
    width: 100%;
    background-color: var(--text-light);
}

section {
    background-color: var(--text-light);
    position: relative;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

h1 {
    font-family: 'Anton', serif;
    color: var(--text-light);}

h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    color: var(--text-dark);
}

p {
    line-height: 1.4;
    color: var(--text-dark);
    font-size: 1rem;
}

a {
    font-family: 'Poppins', sans-serif;
}

.section-title {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.spacer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 10rem;
    width: 100%;
    background-color: var(--text-light);
}

.spacer-small {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 5rem;
    width: 100%;
    background-color: var(--text-light);
}

/* ===== BUTTON STYLES ===== */
.cta-button {
    position: relative;
    display: inline-block;
    color: var(--text-light) !important;
    border: 2px solid var(--primary-color) !important;
    background-color: transparent !important;
    padding: 1rem 2rem;
    font-size: 1rem;
    text-decoration: none;
    /* margin-top: 3rem; */
    z-index: 2;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
    background-color: var(--primary-color) !important;
}

.standard-button {
    display: inline-block;
    width: 55%;
    max-width: 55%;
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    background-color: transparent;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.3rem;
    margin: 2rem 0rem;
}

.standard-button:hover,
.standard-button:focus {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.message-button {
    width: 100%;
    max-width: 100%;
    margin: 1rem auto;
}

/* ===== Navigation ===== */
.navbar {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 1.5rem 3rem;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.logo-image {
    width: 60px;
    height: 60px;
    background-image: var(--logo);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
}

/* Language Selector */
.language-selector {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-link {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}

.language-link:hover {
    color: var(--primary-color);
}

.language-link.active {
    color: var(--text-light);
    font-weight: 600;
    border: 1px solid var(--primary-color);
}

.language-divider {
    color: var(--text-light);
    font-weight: 800;
}

/* FAB Menu */
.fab-container {
    position: fixed;
    z-index: 3;
    top: 2rem;
    right: 3rem;
}

.fab-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: all 0.3s ease;
}

.fab-button:hover {
    background: var(--primary-highlight);
    transform: scale(1.05);
}

.fab-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.fab-button.active .fab-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.fab-button.active .fab-icon:nth-child(2) {
    opacity: 0;
}

.fab-button.active .fab-icon:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.fab-dropdown {
    position: absolute;
    top: 70px;
    right: 10px;
    background: var(--light-contrast);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1rem 0;
    min-width: 480px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.fab-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-dropdown a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    line-height: 1.6;
}

.fab-dropdown a:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* === Navigation Responsive Styles === */
/* Tablet Styles */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 2rem;
  }
  
  .fab-container {
    top: 1.5rem;
    right: 2rem;
  }
  
  .logo-image {
    width: 55px;
    height: 55px;
  }
}

/* Small tablet/large mobile */
@media (max-width: 600px) {
  .fab-dropdown {
    min-width: calc(100vw - 6rem);
    max-width: 400px;
    right: 0;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  .navbar {
    padding: 1rem 1rem;
  }
  
  .fab-container {
    top: 1rem;
    right: 1rem;
  }
  
  .fab-button {
    width: 45px;
    height: 45px;
  }
  
  .fab-dropdown {
    min-width: calc(100vw - 4rem);
    max-width: 320px;
    right: 0;
  }
  
  .logo-image {
    width: 50px;
    height: 50px;
  }
  
  .language-selector {
    font-size: 0.9rem;
  }
  
  .language-link {
    font-size: 1rem;
    padding: 0.2rem 0.4rem;
  }
}

/* === noches modal ===== */
.side-tab {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 5px 15px;
    cursor: pointer;
    z-index: 1000;
    letter-spacing: 0.15rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.side-tab:hover {
    background-color: var(--primary-highlight);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    visibility: hidden;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transform: translateX(-100%);
    overflow: hidden;
    background-color: rgba(50, 50, 50, 0.8);
}
  
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.modal-overlay video {
    width: 100%;
    height: 95%;
    object-fit: contain;
    display: block;
}

.modal-close {
    position: absolute;
    top: 40px;
    right: 50px;
    color: var(--text-light);
    font-size: 40px;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Mobile-specific styles */
/* === Hero Section === */
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.hero-carousel {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
}

.carousel-item.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.9);
    padding: 2rem;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1rem;
    font-family: 'Anton', sans-serif;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.hero h1 span {
    display: block;
    font-size: 8rem;
    letter-spacing: 2px;
    position: relative;
    color: var(--text-light);
    /* margin-top: -0.5rem; */
}

.hero .de {
    font-size: 6rem;
}

.hero .nuestros {
    font-size: 5rem;
}

.hero .platos {
    font-size: 5rem;
}

.hero p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
    width: 75%;
    margin: 4rem auto;
}

.hero .hero-firma {
    font-family: 'Playwrite AU QLD', cursive;
    font-size: 1.4rem;
    font-weight: 200;           
    color: var(--text-light);                   
    margin-top: 1rem;
    transform: rotate(-4deg);      
    transform-origin: left center; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    width:100%;
}

.video-hero-content {
    padding: 10rem 2rem 2rem 2rem;
}

/* === Hero Section Responsive Styles === */
/* Hero responsive styles */
@media (max-width: 768px) {
    .hero-image {
        position: static;
    }

    .hero .hero-firma {
        font-size: 1.4rem;
    }

    .hero .som {
        font-size: 7rem;
    }
    
    .hero .de {
        font-size: 5rem;
    }
    
    .hero .mar {
        font-size: 7rem;
    }
    
    .secondary-hero .hero-content h1 {
      margin-bottom: 6rem !important;
    }
    
    .secondary-hero .hero-content p {
      margin-bottom: 3rem !important;
    }
  }
  
  @media (max-width: 480px) {
    .hero-image {
        position: static;
    }

    .hero .hero-firma {
        font-size: 1.2rem;
    }
    
    .hero .som {
        font-size: 6rem;
    }
    
    .hero .de {
        font-size: 4rem;
    }
    
    .hero .mar {
        font-size: 6rem;
    }

    .secondary-hero .hero-content h1 {
      margin-bottom: 3rem;
    }
    
    .hero .nuestros {
        font-size: 4rem;
    }
    
    .hero .platos {
        font-size: 4rem;
    }
    
    .hero p {
        width: 90%;
        margin: 3rem auto;
    }
  }

/* === Sub Hero Section === */
.sub-hero {
    height: 60vh;
}

.sub-hero h1 span {
    font-size: 4rem !important;
    padding-bottom: 0.5rem !important;
}

.sub-hero .hero-carousel {
    display: none;
}

.sub-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.sub-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.sub-hero p {
    margin: 0 auto;
}

/* Responsive adjustments for sub-hero */
@media (max-width: 768px) {
    .sub-hero {
        height: 50vh !important;
    }
    
    .sub-hero h1 span {
        font-size: 3rem !important;
    }
}

@media (max-width: 480px) {
    .sub-hero {
        height: 45vh !important;
    }
    
    .sub-hero h1 span {
        font-size: 2.5rem !important;
    }
}

/* ===== FOOTER ===== */
.footer {
    background-color: #28282B;
    color: var(--text-light);
    padding: 5rem 0 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    padding: 0 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

/* Navigation Links */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

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

/* Logo */
.footer-logo {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    margin: 0 auto;
}

.footer-logo h1 {
    font-family: 'Anton', sans-serif;
    font-size: 4.5rem;
    color: white;
    text-align: center;
    line-height: 1;
    margin: 0;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.footer-logo h1 span {
    display: block;
    line-height: 1;
}

.footer-logo .som,
.footer-logo .mar {
    font-size: 6rem;
    letter-spacing: 2px;
}

.footer-logo .de {
    font-size: 3.5rem;
    color: white;
    letter-spacing: 2px;
    margin: -0.5rem 0;
}

/* Contact Info */
.footer-contact {
    text-align: right;
    position: relative;
    justify-self: end;
}

.footer-contact-info {
    margin-bottom: 1rem;
}

.social-footer {
    padding-top: 1rem;
    text-align: center;
    color: #ff0000;
    font-size: 2rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-footer:hover {
    color: #cc0000;
    transform: scale(1.3);
}

.social-footer.whatsapp {
    color: #25D366;
}

.social-footer.whatsapp:hover {
    color: #1e965d;
    transform: scale(1.3);
}

.footer-contact p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-hours::before {
    content: "";
    display: block;
    width: 100px;
    border-top: 1px solid var(--primary-color);
    margin: 0 0 1rem auto;
}

.contact-hours::after {
    content: "";
    display: block;
    width: 100px;
    border-top: 1px solid var(--primary-color);
    margin: 0 0 1rem auto;
}

@media (max-width: 880px) {
    .contact-hours::before {
        margin: 0 auto 1rem;
    }
    
    .contact-hours::after {
        margin: 0 auto 1rem;
    }
}

/* Footer Bottom */
.footer-bottom-1 {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 15%;
    justify-items: center;
    padding-bottom: 1rem;
}


.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 2px solid var(--primary-color);
    width: 100%;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    justify-self: end;
}

.developer-credit a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    justify-self: start;
}

.developer-credit a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Footer Legal Link */
.footer-legal {
    text-align: center;
    justify-self: center;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 0 1rem;
    display: inline-block;
}

.legal-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-logo h1 {
        font-size: 3.5rem;
    }
    
    .footer-logo .de {
        font-size: 2.5rem;
    }
}

@media (max-width: 880px) {
    .footer-main {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-nav {
        order: 1;
    }
    
    .footer-logo-container {
        order: 2;
        margin: 0 auto;
    }
    
    .footer-contact {
        order: 3;
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem 3rem;
        padding: 0;
    }
    
    .footer-nav li {
        margin: 0;
    }

    .footer-bottom-1 {
        width: 50%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-logo h1 {
        font-size: 2.8rem;
    }
    
    .footer-logo .de {
        font-size: 2rem;
    }
}

/* About Section */
.about {
    padding: 6rem 4rem 6rem;
    position: relative;
}

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

.about-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 880px) {
    .about {
        padding: 5rem 0rem;
    }
  .about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .about-image {
    width: 75%;
    height: 350px;
    margin-bottom: 1rem;
  }
  .about-text {
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }
  .about-text .section-title {
    text-align: center;
  }
}

@media (max-width: 480px) {
    .about-image {
        width: 100%;
    }
}

/* === FOOD GALLERY SECTION === */
/* Main Gallery Layout */
.food-gallery {
    padding: 8rem 4rem;
    position: relative;
}

.food-gallery .container {
    max-width: 1000px
}

.gallery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.gallery-text {
    padding: 1rem;
}

.gallery-text h2 {
    text-align: left;
}

/* Carousel Container */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === RESPONSIVE DESIGN === */
/* Tablet & Medium Screens */
@media (max-width: 990px) {
    .food-gallery {
        padding: 4rem 1rem;
    }
    
    .gallery-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    
    .gallery-text {
        order: 1;
        text-align: center;
        padding: 0.5rem 0.5rem 0 0.5rem;
    }
    
    .gallery-text h2 {
        text-align: center;
    }

    .gallery-text h2::before {
        content: "";
        display: block;
        width: 100%;
        border-top: 2px solid var(--primary-color);
        margin: 0 auto;
        padding: 1rem;
    }
    
    .gallery-grid {
        order: 2;
        grid-template-columns: repeat(2, 1fr);
        max-width: 60vw;
        margin: 0 auto;
        min-width: 0;
    }

    .standard-button.food-gallery-reserve-button {
        width: 75%;
        max-width: 75%
    }
}

/* Small Tablets */
@media (max-width: 768px) {
    .food-gallery {
        padding: 4rem 0.5rem;
    }
    
    .gallery-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        max-width: 65vw;
        margin: 0 auto;
    }
    
    .gallery-text {
        padding: 0.5rem;
        text-align: center;
    }
    
    .gallery-text h2 {
        font-size: 1.8rem;
        text-align: center;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .food-gallery {
        padding: 3rem 0.25rem;
    }

    .gallery-content {
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.25rem;
        max-width: 99vw;
    }
    
    .gallery-text h2 {
        font-size: 1.4rem;
    }
}

/* === CAROUSEL STYLING === */
/* Carousel Container */
.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1; 
    overflow: hidden;
    background: #f5f5f5;
}

/* Carousel Images */
.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quote Banner */ 
.quote-banner {
    position: relative;
    background: transparent;
    width: 100%;
    height: 390px;
    text-align: center;
    overflow: hidden;
}
  
.quote-overlay {
    gap: 3rem;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}
  
.quote-text {
    position: relative;
    z-index: 1;
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: var(--text-light);
    text-shadow: 3px 3px 3px rgba(0,0,0,0.9);
    margin: 0;
}

.quote-logo {
    width: clamp(100px, 18vw, 160px);
    height: auto;
    filter: drop-shadow(3px 3px 3px rgba(0,0,0,0.9));
    display: block;
}

/* Responsive quote banner background */
@media (max-width: 768px) {
    .quote-banner {
        background-image: url('/assets/images/index/quote-banner-mobile.webp');
        background-position: center center;
        background-size: cover;
    }
}

/* Video gallery section */
.video-gallery {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    height: 90vh;
    width: 90%;
    max-width: 1000px;
    position: relative;
    background-color: var(--text-light);
}

.video-gallery-row {
    display: flex;
    gap: 3px;
    overflow: hidden;
}

.video-row {
    margin: 0 auto;
    width: 100%;
    max-width: 1300px;
    flex: 0 0 50%;
    position: relative;
}

.video-gallery-row.three {
    flex: 0 0 25%;
}

.video-gallery-row.two {
    flex: 0 0 25%;
}

.video-gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-gallery-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-gallery-row.three > div {
    flex: 1 1 33.333%;
}

.video-gallery-row.two > div {
    flex: 1 1 50%;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.video-content {
    position: relative;
    z-index: 3;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 2rem;
    text-align: center;
}

.video-gallery-row h2 {
    margin-bottom: 1rem;
    font-family: 'Anton', sans-serif;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.video-gallery-row span {
    display: block;
    font-size: 6rem;
    letter-spacing: 2px;
    position: relative;
    color: var(--text-light);
    margin-top: -0.5rem;
}

.video-gallery-row .de {
    font-size: 4rem;
}

.video-gallery-row p {
    font-family: 'Playwrite AU QLD', cursive;
    font-size: 1.3rem;
    color: var(--text-light);
}

/* Responsive logic below 800px */
@media (max-width: 800px) {

    .video-gallery {
        height:80vh;
        width: 95vw;
    }
    
    .video-gallery-row.three .img-2 {
      display: none;
    }

    .video-gallery-row.three .img-1,
    .video-gallery-row.three .img-3 {
      flex: 1 1 50%;
    }
}
 
/* Location Section */
.location {
    padding: 0;
    position: relative;
}

.location-container {
    padding: 0;
}

.location-pin {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.location-row {
    display: flex;
    margin-bottom: 0;
    width: 75%;
    margin: 0 auto;
    overflow: hidden;
}

/* Images Row */
.location-row-images {
    flex-direction: row-reverse;
    height: 500px;
    margin-bottom: 10rem;
}

.location-images {
    flex: 2.5;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding-left: 1.5rem;
    height: 500px;
    min-height: 100%;
}

.location-images-top {
    display: flex;
    height: 50%;
    width: 100%;
    min-height: 0;
    gap: 5px;
}

.location-images-bottom {
    height: 50%;
    width: 100%;
    min-height: 0;
}

.location-image {
    height: 100%;
    min-height: 0;
    transition: transform 0.3s ease;
    border: none;
    margin: 0;
    display: block;
    position: relative;
    overflow: hidden;
}

/* Picture and Image elements inside location-image */
.location-image picture {
    width: 100%;
    height: 100%;
    display: block;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.location-images-top .location-image {
    width: 50%;
    min-width: 0;
}

.location-images-bottom .location-image {
    width: 100%;
    min-width: 0;
    position: relative;
}

.location-image video,
.location-image .video-drone {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Map Row */
.location-row-map {
    margin-bottom: 0;
    height: 500px;
}

.location-map {
    flex: 2.5;
    overflow: hidden;
    border: none;
    padding-right: 1.5rem;
}

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

/* Text Content */
.location-text {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

.location-row-images .location-text {
    text-align: right;
}

.location-row-map .location-text {
    text-align: left;
}

.location-row-images .location-text h2:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1rem;
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
}

.location-row-map .location-text h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1rem;
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
}

/* Tablet and Mobile Layout */
@media (max-width: 880px) {
    .location-row {
        flex-direction: column;
        margin-bottom: 0;
        padding-bottom: 0;
        gap: 5px;
    }
    
    .location-row-images {
        flex-direction: column;
        gap: 5px;
        height: 700px;
        min-height: 700px;
        max-height: 700px;
        max-width: 100%;
    }
    
    .location-row-map {
        height: 700px;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .location-images {
        flex-direction: column;
        width: 100%;
        gap: 5px;
        padding: 0;
        margin: 0;
    }
    
    .location-image {
        width: 100%;
        height: 100%;
        margin-bottom: 0.5rem;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .location-map {
        aspect-ratio: 1/1;
        order: 2;
        width: 100%;
        max-width: 100%;
        height: 700px;
        min-height: 700px;
        max-height: 700px;
        padding: 0;
        overflow: hidden;
    }
    
    .location-map iframe {
        height: 100%;
        width: 100%;
        min-height: 100%;
        max-height: 100%;
        display: block;
    }
    
    .location-text {
        padding: 2rem 1rem;
        text-align: center;
        z-index: 2;
        position: relative;
        width: 100%;
    }
    
    .location-row-map .location-text {
        order: 1;
        z-index: 2;
        position: relative;
        width: 100%;
        margin-bottom: 1rem;
        padding: 2rem 1rem;
    }
    
    .location-row-map .location-map {
        order: 2;
    }
    
    .location-row-images .location-text {
        order: 1;
        z-index: 2;
        position: relative;
        width: 100%;
        margin-bottom: 1rem;
        padding: 2rem 1rem;
    }
    
    .location-row-images .location-images,
    .location-row-images .location-image,
    .location-row-images .location-video {
        order: 2;
        width: 100%;
        margin-bottom: 0.5rem;
        z-index: 1;
        min-height: 1px;
    }
    
    .location-row-images .location-video video {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }
    
    .location {
        margin-bottom: 0;
        padding: 0;
    }
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
    .location .section-title {
        margin-bottom: 2rem;
    }
    
    .location-text {
        padding: 1.5rem;
    }
    
    .location-text h3 {
        font-size: 1.5rem;
    }
}

/* ===== Origins Page ===== */
.origins-section {
    padding: 6rem 0;
    background-color: var(--text-light);
}

.origin-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 0rem;
    padding: 0 2rem;
    gap: 3rem;
}

.origin-image {
    position: relative;
    flex: 0 0 35%;
    width: 100%;
    height: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 0;
    overflow: hidden;
}

.origin-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.origin-content {
    flex: 0 0 60%;
    padding: 1rem 0;
}

.origin-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.origin-content h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.origin-content p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.alive-card { position: relative }
.alive-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .25s ease;
}
.alive-card.playing .alive-video { opacity: 1 }

/* Responsive Styles for Origins Section */
@media (max-width: 1200px) {
    .origin-image {
        height: 450px;
    }
}

@media (max-width: 1000px) {
    .origin-item {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .origins-section {
        padding-bottom: 0;
    }

    .origin-item {
        flex-direction: column;
        margin-bottom: 5rem;
        padding: 0 1.5rem;
    }
    
    .origin-image {
        height: 500px;
        margin-bottom: 2rem;
        flex: 0 0 auto;
        width: 75%;
        order: 1;
    }

    .origin-content {
        width: 100%;
        max-width: 100%;
        order: 2;
    }
}

@media (max-width: 480px) {

    .origins-section .container {
        padding: 0 5px;
    }

    .origin-image {
        height: 500px;
        margin-bottom: 2rem;
        flex: 0 0 auto;
        width: 90%;
        order: 1;
    }

}

/* === Galleria section ===*/
.gallery-section .section-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 2rem auto 3rem;
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
}

.gallery-section .section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.gallery-section {
    margin: 0 auto;
    padding: 3rem 0;
}

/* Gallery Grid */
.album {
    padding: 2rem 0;
    background: var(--text-light);
}

.album .responsive-container-block.bg {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.album .responsive-container-block.img-cont {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 6px;
    height: 100%;
}

.album .img {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    opacity: 1;
    position: relative;
    height: 224px;
    padding-bottom: 0;
    overflow: hidden;
}

.album .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: inherit;
}

.album .img.img-big {
    height: 339px;
}

.album .img:hover {
    transform: scale(1.04);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .album .responsive-container-block.bg {
        flex-direction: column;
        gap: 15px;
        width: 85%;
    }
    
    .album .responsive-container-block.img-cont {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
        margin-bottom: 0;
    }
    
    .album .img {
        flex: 0 0 calc(50% - 5px);
        height: 200px;
    }
    
    .album .img.img-big {
        flex: 0 0 60%;
        height: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .album .responsive-container-block.bg {
        gap: 10px;
    }
    
    .album .responsive-container-block.img-cont {
        gap: 8px;
    }
    
    .album .img {
        flex: 0 0 calc(50% - 4px);
        height: 160px;
    }
    
    .album .img.img-big {
        flex: 0 0 75%;
        height: 240px;
    }
}

@media (max-width: 480px) {
    .gallery-container{
        padding: 0;
    }
    .album .responsive-container-block.img-cont {
        gap: 4px;
    }
    
    .album .img {
        flex: 0 0 90%;
        height: 180px;
        margin: 0 auto;
    }
    
    .album .img.img-big {
        flex: 0 0 100%;
        height: 240px;
    }
}

/* YouTube Channel Section */
.youtube-channel {
    text-align: center;
    margin: 0 auto;
    padding: 0;
    background-color: var(--text-light);
    position: relative;
}

.youtube-link {
    width: 50%;
    display: inline-flex;
    align-items: center;
    background-color: #ff0000;
    color: white !important;
    padding: 0.6rem 1.3rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    justify-content: center;
}

.youtube-link i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.youtube-link:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* === Nuestros Platos Page === */
/* Video Hero Section */
.video-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.dish-intro-section {
    position: relative;
}

.dish-intro {
    text-align: center;
    width: 50%;
    margin: 0 auto;
    padding-top: 4rem;
    font-family: 'Poppins', serif;
    color: var(--text-dark);
}

.dish-intro h2 {
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .dish-intro {
        width: 75%;
    }
}

@media (max-width: 480px) {
    .dish-intro {
        width: 90%;
    }
}

/* === Dish Cards Carousel Styles === */
.dish-cards-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
    padding-bottom: 0;
    position: relative;
}

.dish-cards-section .section-title {
    margin-bottom: 3rem;
    text-align: center;
}

.cards-carousel {
    position: relative;
}

.cards-container {
    position: relative;
    width: 90%;
    min-height: 600px;
    overflow: hidden;
    margin: 0 auto;
}

.cards-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.dish-card {
    flex: 0 0 350px;
    margin: 0 1rem;
    background: var(--text-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    align-self: flex-start;
}
  
/* Card Media Section */
.card-media {
    height: 300px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.media-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.media-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.media-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.media-slide.active {
    opacity: 1;
}
  
.media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
  
/* Media Dots */
.media-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.media-dot {
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
  padding: 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.3);
}

.media-dot:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.1);
}

.media-dot.active {
  opacity: 1;
  background: rgba(0, 0, 0, 0.6);
  transform: scale(1.1);
}

/* Card Content */
.card-content {
  padding: 2rem;
  background: var(--text-light);
  flex-grow: 1; 
}

.dish-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.title-line {
  width: 33%;
  height: 2px;
  background-color: var(--primary-color);
  margin-bottom: 1.2rem;
}

.dish-description {
  margin-bottom: 1.5rem;
}

.dish-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.dish-details {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #666;
}

/* Floating Navigation Arrows */
.cards-navigation {
  position: absolute;
  top: 420px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  width: 95vw;
  pointer-events: none;
  z-index: 10;
}

.nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #009697;
  font-size: 2.5rem;
  pointer-events: auto;
  border-radius: 50%;
}

.nav-arrow:hover {
  transform: scale(1.2);
  color: #007577;
  background: rgba(0, 150, 151, 0.1);
}

.nav-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.nav-arrow:disabled:hover {
  transform: none;
  background: transparent;
  color: #009697;
}

.page-header {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-family: 'Anton', Arial, sans-serif;
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Responsive styles */
@media (min-width: 769px) {
}

@media (max-width: 768px) {
  .dish-cards-section {
    padding: 0 1rem;
    margin: 2rem auto;
  }
  
  .cards-container {
    min-height: 500px;
    margin-bottom: 20px;
    padding: 0 1rem;
  }
  
  .cards-track {
    cursor: grab;
  }
  
  .cards-track:active {
    cursor: grabbing;
  }
  
  .dish-card {
    flex: 0 0 300px;
  }
  
  .card-media {
    height: 250px;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .dish-title {
    font-size: 1.3rem;
  }
  
  .dish-description {
    font-size: 0.9rem;
  }
  
  .dish-subtitle {
    font-size: 1.1rem;
  }
  
  .dish-details {
    font-size: 0.9rem;
  }
  
  .cards-navigation {
    top: 320px;
    width: 100%;
  }
  
  .nav-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cards-container {
    min-height: 400px;
    margin-bottom: 80px;
    width:100%;
  }
  
  .dish-card {
    flex: 0 0 75vw;
    margin: 0 2vw;
  }
  
  .dish-title {
    font-size: 1.3rem;
  }
  
  .page-header {
    padding: 1.5rem 0;
  }
}

/* === Menu List Section === */
.menu-list {
    margin-top: 4rem;
    position: relative;
}

.menu-header {
    width: 90%;
    margin: 0 auto;
    height: 200px;
    background: url('/assets/images/platos/menu-banner.webp') no-repeat center 60%;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.menu-header .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.menu-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-contrast);
}

.menu-header .menu-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f5f5f5;
}

.menu-content {
    padding: 2rem;
}

.menu-content .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.menu-content ul {
    list-style: none;
    padding: 0;
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.menu-list li {
    width: 48%;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.menu-list h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
}

.menu-list h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 20%;
    height: 2px;
    background-color: var(--primary-color);
}

.menu-list p {
    font-size: 1rem;
    color: var(--text-dark);
}

/* === Menu Section Responsive Styles === */
/* Tablet Styles */
@media (max-width: 768px) {
  .menu-header {
    width: 95%;
    height: 180px;
  }
  
  .menu-header h2 {
    font-size: 2rem;
  }
  
  .menu-header .menu-intro {
    font-size: 1rem;
    max-width: 600px;
  }
  
  .menu-content {
    padding: 1.5rem;
    text-align: center;
  }
  
  .menu-content .container {
    padding: 0 20px;
  }
  
  .menu-list li {
    width: 100%;
    margin-bottom: 2.5rem;
    padding: 0;
  }
  
  .menu-list h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .menu-list h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .menu-list p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  .menu-header {
    width: 100%;
    height: 150px;
  }
  
  .menu-header h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .menu-header .menu-intro {
    font-size: 0.9rem;
    max-width: 90%;
    line-height: 1.4;
  }
  
  .menu-content {
    padding: 1rem;
  }
  
  .menu-content .container {
    padding: 0 10px;
  }
  
  .menu-content ul {
    margin-top: 2rem;
  }
  
  .menu-list li {
    margin-bottom: 2rem;
  }
  
  .menu-list h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .menu-list h3:after {
    width: 30%;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .menu-list p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/*=== reservation Page ===*/
.reservation-divider {
    width: 33%;
    height: 3px;
    background: var(--primary-color);
    margin: 2.5rem auto 2.5rem auto;
    border: none;
    border-radius: 2px;
    display: block;
}

.reservation-info-section {
    text-align: center;
    margin-top: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--text-light);
}

.reservation-info-section h2 {
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-family: 'Poppins', serif;
    font-size: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.reservation-info-section p {
    text-align: center;
    font-family: 'Poppins', serif;
}

/*=== Contact Page ===*/
.contact-container {
    padding: 0rem;
}

.contact-pin {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.contact-info-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--text-light);
}

.contact-info-section p {
    font-family: 'Poppins', serif;
    text-align: center;
}

.contact-info-section h2 {
    font-family: 'Poppins', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
}

.contact-info-grid {
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* .contact-row {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
} */

.contact-row.top {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}

.contact-row.top .contact-info-item {
    flex: 1 1 30%;
    max-width: 30%;
}

/* .contact-row.middle {
    justify-content: center;
} */

.contact-row.middle {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}

.contact-row.bottom {
    justify-content: center;
}

.contact-row.bottom .contact-info-item {
    flex: 1 1 45%;
    max-width: 45%;
}

.contact-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    transition: all 0.3s ease;
}

.contact-info-item i {
    color: var(--text-dark);
    min-width: 30px;
    transition: color 0.3s ease;
}

.contact-info-item a {
    text-decoration: none;
    color: inherit;
}

.contact-info-item:hover i.fa-phone {
    color: var(--primary-color);
    transform: scale(1.5);
}

.contact-info-item:hover i.fa-envelope {
    color: var(--primary-color);
    transform: scale(1.5);
}

.contact-info-item:hover i.fa-whatsapp {
    color: #25d366;
    transform: scale(2);
}

.contact-info-item:hover i.fa-map-marker-alt {
    color: var(--primary-color);
    transform: scale(1.5);
}

.contact-info-item h3 {
    padding-top: 1rem;
    font-family: 'Poppins', serif;
    font-weight: 400;
    font-size: 1rem;
}

/* Responsive: stack on smaller screens */
@media (max-width: 768px) {
    .contact-row.top {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    
    .contact-row.middle {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    
    /* .contact-row {
        flex-direction: column;
        gap: 1.5rem;
    } */
    
    .contact-row.top .contact-info-item,
    .contact-row.bottom .contact-info-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    /* .contact-row.bottom {
        justify-content: center;
    } */
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 75%;
    margin: 4rem auto;
    padding: 2rem;
    background: var(--text-light);
}

.contact-form-container h2 {
    font-family: 'Poppins', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    max-width: 90%;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: var(--light-contrast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: 'Poppins', serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1.2px solid var(--text-dark);
    font-size: 0.9rem;
    background-color: var(--text-light);    
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.message-button {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.contact-banner {
    padding: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: center;
}

.contact-banner.success {
    font-family: 'Poppins';
    font-weight: 500;
    display: none;
    background-color: #d4edda;
    color: var(--text-dark);
    border: 1px solid var(--primary-color);
}

.contact-banner.error {
    font-family: 'Poppins';
    font-weight: 500;
    display: none;
    background-color: #f8d7da;
    color: var(--text-dark);
    border: 1px solid #ff0000;
}

@media (max-width: 768px) {
    .contact-form-container{
        max-width: 100%;
        padding: 1rem;
    }
}

/* === 404 Page === */
.container-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 45vh;
    padding: 2rem;
}

.container-404 h2 {
    font-weight: 100;
    font-family: 'Poppins';
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* === Legal Page === */
.legal-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 4rem 4rem;
}

.legal-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 500;
    font-family: 'Poppins', serif;
    color: var(--text-dark);
}

.legal-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-family: 'Poppins', serif;
    color: var(--text-dark);
}

.legal-text {
    padding-bottom: 2.5rem;
    font-family: 'Poppins', serif;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.legal-list {
    margin-left: 0;
    padding-left: 2em;
}

/* === Cookie Consent Modal === */
.cookie-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .cookie-content {
    background: var(--text-light);
    padding: 20px;
    max-width: 85%;
    text-align: center;
    border: 2px solid var(--primary-color);
  }

  .cookie-content p {
    font-family: 'Poppins', serif;
  }
  
  .cookie-content a {
    color: var(--primary-highlight);
    text-decoration: none;
  }

  .cookie-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
  }
  
  .cookie-buttons {
    margin-top: 15px;
  }
  
  .cookie-buttons button {
    margin: 1rem 1.5rem;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', serif;
  }
  
  #cookie-accept { background: #2e7d32; color: var(--text-light); }
  #cookie-reject { background: #c62828; color: var(--text-light); }

  /* === Eventos Section === */
  .events { 
    width: 100%; 
}

  .split-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  
  .split-text {
    background: #e0f2f1;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }
  
  .event-title {
    position: relative;
    margin: 0 0 1.75rem;
    font-size: 2rem;
    line-height: 1.2;
  }
  .event-title::before {
    content: "";
    content: '';
    position: absolute;
    left: 0;
    bottom: -1rem;
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
  }
  
  .split-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  @media (min-width: 880px) {
    .split-row { flex-direction: row; }
    .split-row.reverse { flex-direction: row-reverse; }
    .split-text { flex: 0 0 40%; }
    .split-image { flex: 0 0 60%; }
    .split-image img { height: 100%; }
  }
  

  