/* ================================================
   Visit Possotomè — style.css
   Un seul fichier CSS pour tout le site.
   Auteur : Djahou Oke, 2026
   Cours : Verkkosivujen toteutus ja julkaisu
   Lapin AMK
   ================================================ */

/* ------------------------------------------------
   1. POLICES GOOGLE
   Playfair Display = titres (classique, élégant)
   Lato = corps de texte (lisible, moderne)
   ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lato:wght@300;400;700&display=swap');

/* ------------------------------------------------
   2. VARIABLES — couleurs inspirées du lac Ahémé
   ------------------------------------------------ */
:root {
  --bleu-tres-clair : #EAF4FB;
  --bleu-clair      : #CAE4F5;
  --bleu-moyen      : #7BBFE0;
  --bleu-principal  : #185FA5;
  --bleu-profond    : #0C447C;
  --gris-clair      : #D6D9DC;
  --gris-texte      : #444441;
  --blanc           : #FFFFFF;
  --police-titre : 'Playfair Display', Georgia, serif;
  --police-corps : 'Lato', Arial, sans-serif;
}

/* ------------------------------------------------
   3. BASE GÉNÉRALE
   ------------------------------------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--police-corps);
  font-size: 16px;
  color: var(--gris-texte);
  background-color: var(--bleu-tres-clair);
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-family: var(--police-titre);
  color: var(--bleu-profond);
  line-height: 1.3;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }

p {
  margin-bottom: 1rem;
  color: var(--gris-texte);
}

a {
  color: var(--bleu-principal);
  text-decoration: none;
}

a:hover {
  color: var(--bleu-profond);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------------
   4. NAVBAR
   ------------------------------------------------ */
/* LOGO IMAGE */
.logo-img{
    height:42px;
    width:auto;
    margin-right:12px;
    transition:0.3s ease;
}

/* HOVER EFFECT */
.logo-img:hover{
    transform:scale(1.05);
}

/* LOGO TEXT */
.logo-text{
    font-family:'Cormorant Garamond', serif;
    font-size:2rem;
    font-weight:600;
    color:#F4F1EA;
    line-height:1;
}

/* POSSOTOMÈ */
.logo-text span{
    font-weight:700;
}
.navbar-brand{
    text-decoration:none;
}   
.navbar {
  background-color: var(--bleu-principal) !important;
  padding: 0.9rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  font-family: var(--police-titre);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blanc) !important;
  letter-spacing: 0.03em;
}

.navbar-brand span {
  color: var(--bleu-clair);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: var(--police-corps);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1rem !important;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--blanc) !important;
  text-decoration: none;
}

.navbar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.22);
  color: var(--blanc) !important;
  font-weight: 700;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ------------------------------------------------
   5. FOOTER
   ------------------------------------------------ */
footer {
  background-color: var(--bleu-profond);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

footer h5 {
  font-family: var(--police-titre);
  color: var(--blanc);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.65);
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--bleu-clair);
  text-decoration: none;
}

.vp-footer-brand {
  font-family: var(--police-titre);
  font-size: 1.3rem;
  color: var(--blanc);
  margin-bottom: 0.6rem;
}

.vp-footer-brand span {
  color: var(--bleu-clair);
}

.vp-footer-personal {
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.vp-footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.vp-footer-divider {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 2rem 0 1.2rem;
}

.vp-footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
}

/* ------------------------------------------------
   6. BOUTONS
   ------------------------------------------------ */
.vp-btn {
  display: inline-block;
  background-color: var(--bleu-principal);
  color: var(--blanc);
  font-family: var(--police-corps);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.8rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}

.vp-btn:hover {
  background-color: var(--bleu-profond);
  color: var(--blanc);
  text-decoration: none;
  transform: translateY(-2px);
}

.vp-btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--bleu-principal);
  font-family: var(--police-corps);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.72rem 1.8rem;
  border-radius: 4px;
  border: 2px solid var(--bleu-principal);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.vp-btn-outline:hover {
  background-color: var(--bleu-principal);
  color: var(--blanc);
  text-decoration: none;
}

/* ------------------------------------------------
   7. TAGS
   ------------------------------------------------ */
.vp-tag {
  display: inline-block;
  background-color: var(--bleu-clair);
  color: var(--bleu-profond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

/* ------------------------------------------------
   8. SECTIONS
   ------------------------------------------------ */
.vp-section {
  padding: 4.5rem 0;
}

.vp-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.vp-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bleu-moyen);
  margin-bottom: 0.6rem;
}

/* ------------------------------------------------
   9. CARTES
   ------------------------------------------------ */
.vp-card {
  background-color: var(--blanc);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(12, 68, 124, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.vp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(12, 68, 124, 0.15);
}

.vp-card-body {
  padding: 1.4rem;
}

.vp-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--bleu-profond);
}

.vp-card-body p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.7;
}

/* ------------------------------------------------
   10. PAGE HOME
   ------------------------------------------------ */
/* ---- Hero Slideshow ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Chaque slide est une couche absolue */
.vp-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: vp-fade 30s infinite;
}

/* 6 images — cycle de 30s */
.vp-hero-slide:nth-child(1) {
  background-image: url('../img/hero.jpg');
  background-position: center;
  background-size: cover;
  animation-delay: 0s;
}
.vp-hero-slide:nth-child(2) {
  background-image: url('../img/hero3.jpg');
  background-position: center 30%;
  background-size: cover;
  animation-delay: 5s;
}
.vp-hero-slide:nth-child(3) {
  background-image: url('../img/laken1.jpg');
  background-position: center 30%;
  background-size: cover;
  animation-delay: 10s;
}
.vp-hero-slide:nth-child(4) {
  background-image: url('../img/hero5.jpg');
  background-position: center 30%;
  background-size: cover;
  animation-delay: 15s;
}
.vp-hero-slide:nth-child(5) {
  background-image: url('../img/hero7.jpg');
  background-position: center 30%;
  background-size: cover;
  animation-delay: 20s;
}
.vp-hero-slide:nth-child(6) {
  background-image: url('../img/hero8.jpg');
  background-position: center 30%;
  background-size: cover;
  animation-delay: 25s;
}
@media (max-width: 768px) {

  .vp-hero-slide {
    background-position: center top;
  }

}

@media (max-width: 768px) {

  .vp-hero-slide {
    background-position: top center !important;
  }

}
/* Le fondu */
@keyframes vp-fade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Couche sombre sur toutes les slides */
.vp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 68, 124, 0.45) 0%,
    rgba(12, 68, 124, 0.72) 100%
  );
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 68, 124, 0.45) 0%,
    rgba(12, 68, 124, 0.72) 100%
  );
}

.vp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 2rem 1.5rem;
  color: var(--blanc);
}

.vp-hero-location {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--blanc);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
}

.hero h1 {
  color: var(--blanc);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  color: var(--bleu-clair);
}

.vp-hero-description {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.vp-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.vp-btn-hero-white {
  display: inline-block;
  background-color: var(--blanc);
  color: var(--bleu-principal);
  font-family: var(--police-corps);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.78rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.vp-btn-hero-white:hover {
  background-color: var(--bleu-clair);
  color: var(--bleu-profond);
  text-decoration: none;
}

.vp-btn-hero-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--blanc);
  font-family: var(--police-corps);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.8rem;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s ease;
}

.vp-btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--blanc);
  text-decoration: none;
}

/* Section intro */
.vp-section-intro {
  padding: 5rem 0;
  background-color: var(--blanc);
}

.vp-img-placeholder {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  background-color: var(--bleu-clair);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bleu-profond);
  font-size: 0.85rem;
  text-align: center;
  gap: 0.5rem;
  border: 2px dashed var(--bleu-moyen);
}

.vp-img-placeholder i {
  font-size: 2.5rem;
  color: var(--bleu-moyen);
}

/* Section cartes photo */
.vp-section-cards {
  padding: 5rem 0;
  background-color: var(--bleu-tres-clair);
}

.vp-photo-card {
  background-color: var(--blanc);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(12, 68, 124, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: block;
  color: inherit;
  height: 100%;
}

.vp-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(12, 68, 124, 0.16);
  text-decoration: none;
  color: inherit;
}

.vp-photo-card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.vp-photo-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background-color: var(--bleu-clair);
}

.vp-photo-card-body {
  padding: 1.3rem;
}

.vp-photo-card-body h3 {
  font-size: 1.05rem;
  color: var(--bleu-profond);
  margin-bottom: 0.4rem;
}

.vp-photo-card-body p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.vp-photo-card-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bleu-principal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Section citation */
.vp-section-quote {
  background-color: var(--bleu-principal);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--blanc);
}

.vp-section-quote blockquote {
  font-family: var(--police-titre);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  max-width: 680px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}

.vp-section-quote cite {
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bleu-clair);
}

/* ------------------------------------------------
   11. RESPONSIVE
   ------------------------------------------------ */
@media (max-width: 768px) {

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .vp-section {
    padding: 3rem 0;
  }

  footer .row > div {
    margin-bottom: 1.5rem;
  }

  .d-flex.align-items-center.gap-3.mb-3 {
    flex-direction: column;
    text-align: center;
  }

}

/* =========================
   GOOGLE MAP SECTION
   ========================= */

.map-container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* =========================
   CSS GRID LAYOUT
   ========================= */

.vp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* =========================
   CONTACT CARD
   ========================= */

.contact-card {
  max-width: 760px;
  margin: auto;
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.contact-icon {
  font-size: 3.5rem;
  color: var(--bleu-principal);
  margin-bottom: 1rem;
}

.contact-card h2 {
  margin-bottom: 1rem;
}

.contact-card p {
  max-width: 620px;
  margin: auto auto 2rem;
  line-height: 1.9;
  color: #666;
}
.vp-personal-message {
  border-left: 4px solid var(--bleu-moyen);
}

.image-credit {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.image-credit a {
  color: #0d4d8b;
  text-decoration: none;
  font-weight: 500;
}

.image-credit a:hover {
  text-decoration: underline;
}

/* Mobile optimisation */

@media (max-width: 768px) {

  .map-container iframe {
    height: 320px;
  }

}


