/* Styles spécifiques pour la page des commerces et restaurants */

/* Section des commerces */
.commerces {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.commerces h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #77332F;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.commerces h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #77332F;
}

/* Grille des commerces */
.commerce-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.commerce-item {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(119, 51, 47, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(119, 51, 47, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.commerce-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #77332F, #5a2622, #77332F);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.commerce-item:hover::before {
    transform: scaleX(1);
}

.commerce-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(119, 51, 47, 0.15);
    border-color: rgba(119, 51, 47, 0.2);
}

/* Images des commerces */
.commerce-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
    position: relative;
}

.commerce-item:hover .commerce-image {
    transform: scale(1.08);
}

.commerce-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

/* Contenu des commerces */
.commerce-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.commerce-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #77332F;
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
}

.commerce-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #77332F;
}

.commerce-item p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
    flex: 1;
}

.commerce-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    padding: 20px;
    border-radius: 0;
    margin: 20px 0;
    border-left: 4px solid #77332F;
    position: relative;
    box-shadow: 0 2px 8px rgba(119, 51, 47, 0.05);
}

.commerce-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #77332F, transparent);
}

.commerce-info p {
    margin: 8px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
}

.commerce-info p strong {
    color: #77332F;
    font-weight: 600;
}

/* Liens vers les sites web */
.commerce-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.commerce-link {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    background-color: #77332F;
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: 2px solid #77332F;
}

.commerce-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.commerce-link:hover::before {
    left: 100%;
}

.commerce-link:hover {
    background-color: #5a2622;
    border-color: #5a2622;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(119, 51, 47, 0.4);
}

.commerce-link::after {
    content: '🌐';
    margin-left: 8px;
    font-size: 1.1rem;
    z-index: 1;
    position: relative;
}

.commerce-link.phone::after {
    content: '📞';
}

.commerce-link.location::after {
    content: '📍';
}

/* Section des restaurants */
.restaurants {
    padding: 60px 20px;
    background: #f8f8f8;
    margin-top: 40px;
}

.restaurants h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #77332F;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.restaurants h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #77332F;
}

/* Grille des restaurants */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.restaurant-item {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(119, 51, 47, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(119, 51, 47, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.restaurant-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #77332F, #5a2622, #77332F);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.restaurant-item:hover::before {
    transform: scaleX(1);
}

.restaurant-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(119, 51, 47, 0.15);
    border-color: rgba(119, 51, 47, 0.2);
}

/* Images des restaurants */
.restaurant-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
    position: relative;
}

.restaurant-item:hover .restaurant-image {
    transform: scale(1.08);
}

.restaurant-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

/* Contenu des restaurants */
.restaurant-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.restaurant-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #77332F;
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
}

.restaurant-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #77332F;
}

.restaurant-item p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
    flex: 1;
}

.restaurant-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    padding: 20px;
    border-radius: 0;
    margin: 20px 0;
    border-left: 4px solid #77332F;
    position: relative;
    box-shadow: 0 2px 8px rgba(119, 51, 47, 0.05);
}

.restaurant-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #77332F, transparent);
}

.restaurant-info p {
    margin: 8px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
}

.restaurant-info p strong {
    color: #77332F;
    font-weight: 600;
}

/* Liens des restaurants */
.restaurant-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.restaurant-link {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    background-color: #77332F;
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: 2px solid #77332F;
}

.restaurant-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.restaurant-link:hover::before {
    left: 100%;
}

.restaurant-link:hover {
    background-color: #5a2622;
    border-color: #5a2622;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(119, 51, 47, 0.4);
}

.restaurant-link::after {
    content: '🌐';
    margin-left: 8px;
    font-size: 1.1rem;
    z-index: 1;
    position: relative;
}

.restaurant-link.phone::after {
    content: '📞';
}

.restaurant-link.location::after {
    content: '📍';
}

.restaurant-link.reservation::after {
    content: '🍽️';
}

/* Badges spéciaux */
.special-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #77332F 0%, #5a2622 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(119, 51, 47, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.special-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(119, 51, 47, 0.4);
}

.restaurant-badge {
    background: linear-gradient(135deg, #77332F 0%, #5a2622 100%);
}

/* Responsive design */
@media (min-width: 1200px) {
    .commerce-grid,
    .restaurant-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1200px;
        margin: 0 auto;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .commerce-grid,
    .restaurant-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .commerce-item,
    .restaurant-item {
        margin: 0 10px;
    }
    
    .commerce-links,
    .restaurant-links {
        flex-direction: column;
    }
    
    .commerce-link,
    .restaurant-link {
        justify-content: center;
        text-align: center;
    }
    
    .commerces h2,
    .restaurants h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .commerce-content,
    .restaurant-content {
        padding: 20px;
    }
    
    .commerce-image,
    .restaurant-image {
        height: 200px;
    }
}
