/**
 * ESTILOS DE TRINITY RESTAURANT
 * 
 * Este archivo contiene todos los estilos específicos para la página del restaurante Trinity,
 * incluyendo secciones de título, menú gastronómico, galería de platos y diseño general.
 * Usa un diseño sofisticado y elegante acorde con la experiencia culinaria.
 */

/* ==========================================
   TRINITY RESTAURANT - ESTILOS INDEPENDIENTES
   ========================================== */

/* Estilos base de la página del restaurante Trinity */
.trinity-page {
    background-color: #ffffff;
    color: #2c2c2c;
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navegación usa estilos de main.css */

/* Trinity Title Section */
.trinity-title-section {
    background: #f5f5f5;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Account for fixed navbar */
}

.trinity-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="trinity-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23trinity-pattern)"/></svg>');
    opacity: 0.3;
}

.trinity-title-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.trinity-restaurant-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

/* Trinity Main Content */
.trinity-main-content {
    padding: 6rem 0;
    background: #ffffff;
    min-height: 70vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.trinity-left {
    flex: 1;
    max-width: 600px;
    padding-right: 4rem;
    margin-right: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trinity-headline {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.trinity-right {
    flex: 1;
    max-width: 600px;
    padding-left: 2rem;
}

.trinity-description {
    max-width: 100%;
}

.trinity-description p {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    font-weight: 400;
    text-align: left;
}

.trinity-description p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Trinity */
@media (max-width: 1200px) {
    .trinity-main-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
        padding: 4rem 2rem;
    }
    
    .trinity-left,
    .trinity-right {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .trinity-headline {
        font-size: 2.8rem;
    }
    
    .trinity-restaurant-title {
        font-size: 3rem;
    }
}

@media (max-width: 968px) {
    .trinity-headline {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .trinity-description p {
        text-align: center;
        font-size: 1rem;
    }
    
    /* Estilos de navegación móvil en main.css */
}

@media (max-width: 768px) {
    .trinity-title-section {
        padding: 3rem 0 2rem;
    }
    
    .trinity-main-content {
        padding: 3rem 1rem;
        gap: 2.5rem;
    }
    
    .trinity-headline {
        font-size: 2.2rem;
    }
    
    .trinity-restaurant-title {
        font-size: 2.5rem;
    }
    
    .trinity-description p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .trinity-title-section .container {
        padding: 0 1rem;
    }
    
    .trinity-main-content {
        padding: 2rem 1rem;
        gap: 2rem;
    }
    
    .trinity-headline {
        font-size: 1.8rem;
    }
    
    .trinity-restaurant-title {
        font-size: 2rem;
    }
    
    .trinity-description p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Animation and Transitions */
.trinity-page * {
    transition: all 0.3s ease;
}

.trinity-title-section {
    animation: fadeInUp 0.8s ease-out;
}

.trinity-left,
.trinity-right {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.trinity-right {
    animation-delay: 0.2s;
}

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

/* Hover Effects - Removed */

/* Focus States en main.css */

/* ========================================
   TRINITY RESTAURANT IMAGES - LUXURY RESTAURANT GALLERY
   ======================================== */

/* Restaurant Images Gallery */
.restaurant-images-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
    padding: 0 2rem 4rem 2rem;
    max-width: 1400px;
    margin: -8rem auto 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

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

/* Ajustar imagen central para que sea más grande */
.gallery-item-3 {
    padding: 0 1rem;
}

.gallery-item-3 .gallery-image {
    height: 100%;
    object-fit: cover;
}

/* Grid Layout Pattern - 5 Images */
.gallery-item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.gallery-item-2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.gallery-item-3 {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.gallery-item-4 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.gallery-item-5 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* Responsive Design for Restaurant Images */
@media (max-width: 1200px) {
    .restaurant-images-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
        gap: 1.5rem;
        padding: 3rem 1.5rem;
    }
    
    .gallery-item-1 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    
    .gallery-item-2 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    
    .gallery-item-3 {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }
    
    .gallery-item-4 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    
    .gallery-item-5 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }
}

@media (max-width: 768px) {
    .restaurant-images-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 250px);
        gap: 1rem;
        padding: 2rem 1rem;
    }
    
    .gallery-item-1,
    .gallery-item-2,
    .gallery-item-3,
    .gallery-item-4,
    .gallery-item-5 {
        grid-column: 1 / 2;
    }
    
    .gallery-item-1 {
        grid-row: 1 / 2;
    }
    
    .gallery-item-2 {
        grid-row: 2 / 3;
    }
    
    .gallery-item-3 {
        grid-row: 3 / 4;
    }
    
    .gallery-item-4 {
        grid-row: 4 / 5;
    }
    
    .gallery-item-5 {
        grid-row: 5 / 6;
    }
}

/* Print Styles */
@media print {
    .trinity-title-section::before {
        display: none;
    }
    
    .trinity-page {
        background: white;
        color: black;
    }
    
    .trinity-headline,
    .trinity-restaurant-title {
        color: black;
    }
    
    .restaurant-images-gallery {
        display: none;
    }
}