/* --------------------------------------------------
   presentation.css
   --------------------------------------------------
   Cartes de présentation (Château, Gîte, Salle)
*/

/* Section : Styles pour la section présentation */
/* =============================== */
/* Styles pour la section présentation */
/* =============================== */
.presentation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.presentation-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.presentation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.presentation-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.presentation-content {
    padding: 20px;
    text-align: center;
}

.presentation-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}


/* Section : Popup présentation détaillée */
/* =============================== */
/* Popup présentation détaillée */
/* =============================== */
.presentation-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
}
  
.presentation-modal-content {
    background: var(--white);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
  
.presentation-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--dark);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}
.presentation-close:hover { color: var(--primary); }
  
.presentation-modal-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}
  
.presentation-modal-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}
  
.presentation-modal-desc {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.6;
}
  
.presentation-modal-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}
