/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */

/* Extra Large Screens */
@media screen and (min-width: 1400px) {
  .container { max-width: 1400px; }
  .hero-title { font-size: 5rem; }
  .hero-subtitle { font-size: 1.8rem; }
  .section-title { font-size: 3.2rem; }
  .restaurant-grid, .menu-list { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); }
}

/* Large Screens */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .restaurant-grid, .menu-list { grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); }
}

/* Medium-Large Screens */
@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .hero-title { font-size: 3.8rem; }
  .section-title { font-size: 2.5rem; }
  .restaurant-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .menu-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

/* Tablet Landscape */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .hero-title { font-size: 3.2rem; }
  .restaurant-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
  .menu-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .motivational-card { flex: 0 0 calc(50% - 15px); }
  .restaurant-card { height: auto; min-height: 90px; padding: 8px 0; }
  .restaurant-image { width: 80px; height: 80px; }
}

/* Tablet Portrait and Mobile Landscape */
@media screen and (max-width: 767px) {
  .hero-title { font-size: 3rem; }
  .section-title { font-size: 2.2rem; }
  .navbar .container { padding: 1rem; }
  .nav-links {
    position: fixed; right: -100%; height: 100vh; top: 0; background-color: #0a0a0a;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    width: 70%; transition: right 0.5s ease; box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1000; border-left: 2px solid #d4af37;
  }
  .nav-links li { margin: 1.5rem 0; }
  .burger { display: block; z-index: 1001; }
  .nav-active { right: 0; }
  .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
  .toggle .line2 { opacity: 0; }
  .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

  .motivational-card, .restaurant-grid, .menu-list { flex: 0 0 100%; grid-template-columns: 1fr; }
  .about-content, .restaurant-detail, .search-container { flex-direction: column; }
  .restaurant-card { height: auto; min-height: 100px; padding: 10px 0; }
  .restaurant-image { width: 80px; height: 80px; }
  .hero-credits { font-size: 0.7rem; max-width: 250px; }
  .restaurant-title-overlay h1 { font-size: 2.5rem; }
  .map-container { padding-bottom: 75%; }
}

/* Mobile Portrait */
@media screen and (max-width: 576px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 1.8rem; }
  .contact-container, .footer-content { flex-direction: column; }
  .modal-content { width: 95%; margin: 5% auto; padding: 15px; }
  .restaurant-image { width: 70px; height: 70px; }
  .contact-info, .contact-form { padding: 1.5rem; }
}

/* Small Mobile */
@media screen and (max-width: 375px) {
  .hero-title { font-size: 2rem; }
  .menu-section h3 { font-size: 1.8rem; }
  .hero-credits { font-size: 0.55rem; }
  .restaurant-image { width: 60px; height: 60px; }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .restaurant-card:hover { transform: none; }
  .btn-primary:hover { transform: none; }
}

/* Print styles */
@media print {
  .navbar, .burger, .back-to-restaurants, .social-media { display: none; }
  body { background: white; color: black; }
  .section-title { color: black; }
}

/* =========================================
   ESTILOS CONTACTO Y SUGERENCIAS SEPARADOS
   ========================================= */

/* Espaciado general de secciones */
.contact-section, .suggestion-section {
    padding: 4rem 0;
    text-align: center;
}

/* Color de fondo diferente para distinguirlos (Opcional) */
.contact-section {
    background-color: #0a0a0a; /* Fondo oscuro */
}

.suggestion-section {
    background-color: #141414; /* Fondo ligeramente más claro para contraste */
    border-top: 1px solid #333;
}

/* --- ESTILOS TARJETAS DE CONTACTO --- */
.contact-info-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #d4af37; /* Borde dorado */
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.contact-card i {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-family: "Tempus Sans ITC", serif;
}

.contact-card p {
    color: #ccc;
    font-size: 0.95rem;
}

/* =========================================
   ESTILOS LADO A LADO (CONTACTO Y BUZÓN)
   ========================================= */

.contact-dual-section {
    padding: 5rem 0;
    background-color: #0a0a0a;
    border-top: 1px solid #222;
}

/* Contenedor Flex para ponerlos lado a lado */
.split-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 50px; /* Espacio en el medio */
    flex-wrap: wrap; /* Permite caer en celulares */
}

/* Estilo general de las columnas */
.split-column {
    flex: 1; /* Ambas ocupan el mismo ancho */
    min-width: 300px; /* Ancho mínimo para no aplastarse */
    background: #141414;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.column-title {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 20px;
    font-family: "Tempus Sans ITC", serif;
    text-align: center;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

/* --- COLUMNA IZQUIERDA: TARJETAS --- */
.contact-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #0a0a0a;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.info-card:hover {
    border-color: #d4af37;
    transform: translateX(10px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000;
    flex-shrink: 0;
}

.text-box h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 2px;
}

.text-box p {
    color: #bbb;
    font-size: 0.9rem;
}

/* --- COLUMNA DERECHA: FORMULARIO --- */
.form-subtitle {
    text-align: center;
    color: #ccc;
    margin-bottom: 20px;
}

.suggestion-form-compact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    gap: 15px;
}

.input-group input {
    width: 50%;
}

.suggestion-form-compact input, 
.suggestion-form-compact textarea {
    padding: 12px;
    background: #0a0a0a;
    border: 1px solid #444;
    color: #fff;
    border-radius: 5px;
    outline: none;
    width: 100%;
}

.suggestion-form-compact input:focus, 
.suggestion-form-compact textarea:focus {
    border-color: #d4af37;
}

.btn-gold-submit {
    background-color: #d4af37;
    color: #000;
    font-weight: bold;
    border: none;
    padding: 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1rem;
    margin-top: 10px;
}

.btn-gold-submit:hover {
    background-color: #f4d03f;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 768px) {
    .split-wrapper {
        flex-direction: column; /* Uno abajo del otro en celular */
    }
    .input-group {
        flex-direction: column; /* Inputs nombre/email apilados en celular */
    }
    .input-group input {
        width: 100%;
    }
}
