/* ====================================
   Saussines Notre Village - Styles
   ==================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --cream: #FAFAFF;
  --deep-teal: #00687A;
  --yellow: #FFDE59;
  --olive: #93A96F;
  --dark-text: #1a1a1a;
  --light-gray: #f5f5f5;
  --border-color: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ====================================
   Typography
   ==================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--cream);
  color: var(--dark-text);
  line-height: 1.6;
}

/* ====================================
   Header & Navigation
   ==================================== */

header {
  background: linear-gradient(to right, var(--deep-teal), var(--olive));
  color: var(--cream);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-right: 60px;
}

.logo:hover {
  opacity: 0.8;
}

.logo-img {
  height: 80px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.hero-logo {
  height: 300px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 20px;
}

nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

nav a {
  font-size: 12px;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  position: relative;
  padding: 0 12px;
  text-align: center;
}

nav a:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cream);
}

nav a:hover {
  color: var(--yellow);
}

nav a:hover::after {
  color: var(--yellow);
}

nav a.active {
  color: var(--yellow);
  font-weight: 900;
}

nav a.facebook-link {
  color: #1877F2;
  font-size: 20px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 10px;
}

nav a.facebook-link:hover {
  color: #0a66c2;
  transform: scale(1.1);
}

nav a.facebook-button {
  background-color: white;
  color: #1877F2;
  padding: 10px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-left: 15px;
  white-space: nowrap;
}

nav a.facebook-button:hover {
  background-color: #f0f2f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

nav a.facebook-button i {
  font-size: 20px;
}

.burger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--cream);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ====================================
   Main Container & Layout
   ==================================== */

main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.hero {
  background: linear-gradient(135deg, var(--deep-teal) 0%, rgba(0, 104, 122, 0.9) 100%);
  color: var(--cream);
  padding: 60px 40px;
  border-radius: 10px;
  margin-bottom: 60px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--yellow);
  font-family: 'Playfair Display', serif;
  font-weight: 900;
}

.hero p {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.8;
}

.hero .subtitle {
  font-size: 16px;
  color: var(--cream);
  margin-top: 20px;
  font-style: italic;
}

/* ====================================
   Table of Contents / Summary
   ==================================== */

.toc-section {
  background-color: #fff;
  border: 2px solid var(--deep-teal);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 60px;
}

.toc-section h2 {
  color: var(--deep-teal);
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--yellow);
  font-family: 'Playfair Display', serif;
  font-weight: 800;
}

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

.toc-item {
  background: linear-gradient(135deg, var(--cream) 0%, #fafbff 100%);
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid var(--yellow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.toc-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 104, 122, 0.15);
}

.toc-item a {
  text-decoration: none;
  color: var(--dark-text);
  display: block;
}

.toc-item h3 {
  color: var(--deep-teal);
  font-size: 20px;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.toc-item p {
  color: #666;
  font-size: 14px;
}

/* ====================================
   Content Sections
   ==================================== */

.content-section {
  background-color: #fff;
  padding: 40px;
  margin-bottom: 40px;
  border-radius: 8px;
  border-left: 5px solid var(--yellow);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
  color: var(--deep-teal);
  font-size: 36px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--yellow);
  font-family: 'Playfair Display', serif;
  font-weight: 800;
}

.content-section h3 {
  color: var(--deep-teal);
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.content-section h4 {
  color: #00687A;
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.content-section p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #333;
}

.content-section ul,
.content-section ol {
  margin-left: 30px;
  margin-bottom: 20px;
}

.content-section li {
  margin-bottom: 10px;
  line-height: 1.8;
}

/* ====================================
   Highlight Boxes
   ==================================== */

.highlight-box {
  background-color: rgba(255, 222, 89, 0.1);
  border-left: 4px solid var(--yellow);
  padding: 20px;
  margin: 20px 0;
  border-radius: 4px;
}

.highlight-box strong {
  color: var(--deep-teal);
}

.quote {
  background-color: var(--cream);
  border-left: 4px solid var(--deep-teal);
  padding: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #555;
  border-radius: 4px;
}

.quote-content::before {
  content: "« ";
  font-size: 24px;
  color: var(--deep-teal);
  margin-right: 5px;
}

.quote-content::after {
  content: " »";
  font-size: 24px;
  color: var(--deep-teal);
  margin-left: 5px;
}

/* ====================================
   Budget Tables
   ==================================== */

.budget-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.budget-table thead {
  background-color: var(--deep-teal);
  color: var(--cream);
}

.budget-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

.budget-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
}

.budget-table tbody tr:hover {
  background-color: rgba(255, 222, 89, 0.05);
}

.budget-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.amount {
  color: var(--deep-teal);
  font-weight: 600;
}

/* ====================================
   Team Members
   ==================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 104, 122, 0.2);
}

.team-member-image {
  width: 340px;
  height: 403px;
  background: linear-gradient(135deg, var(--deep-teal) 0%, rgba(0, 104, 122, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--yellow);
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-content {
  padding: 25px;
}

.team-member-content h3 {
  color: var(--deep-teal);
  font-size: 20px;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.team-member-role {
  color: var(--yellow);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.team-member-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ====================================
   Navigation Buttons
   ==================================== */

.nav-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--deep-teal);
  color: var(--cream);
}

.btn-primary:hover {
  background-color: #004a5f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 104, 122, 0.3);
}

.btn-secondary {
  background-color: var(--yellow);
  color: var(--dark-text);
}

.btn-secondary:hover {
  background-color: #e5c500;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 222, 89, 0.3);
}

.btn-home {
  background-color: var(--deep-teal);
  color: var(--cream);
}

.btn-home:hover {
  background-color: #004a5f;
}

/* ====================================
   Footer
   ==================================== */

footer {
  background-color: var(--deep-teal);
  color: var(--cream);
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

footer p {
  margin-bottom: 10px;
}

footer a {
  color: var(--yellow);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-contact {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--cream);
  border-bottom: 1px dotted var(--yellow);
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--yellow);
  border-bottom: 1px solid var(--yellow);
}

/* ====================================
   Responsive Design
   ==================================== */

@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .header-container {
    flex-wrap: wrap;
  }

  nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    width: 100%;
    background-color: rgba(0, 104, 122, 0.95);
    padding: 20px 0;
    margin-top: 10px;
    border-top: 2px solid var(--yellow);
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 10px 20px;
    display: block;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .content-section {
    padding: 20px;
  }

  .content-section h2 {
    font-size: 28px;
  }

  .toc-grid {
    grid-template-columns: 1fr;
  }

  .toc-item {
    padding: 15px;
  }

  .toc-item h3 {
    font-size: 18px;
  }

  .nav-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  table {
    font-size: 14px;
  }

  .budget-table th,
  .budget-table td {
    padding: 10px;
  }
}

/* ====================================
   Floating Button
   ==================================== */

.floating-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 15px 25px;
  background: linear-gradient(to right, var(--deep-teal), var(--olive));
  color: var(--cream);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 104, 122, 0.3);
  transition: all 0.3s ease;
  z-index: 99;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.floating-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 104, 122, 0.4);
}

.floating-button:active {
  transform: translateY(-2px);
}

/* ====================================
   Procuration Modal
   ==================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: var(--cream);
  margin: 5% auto;
  padding: 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  color: var(--dark-text);
  float: right;
  font-size: 28px;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--deep-teal);
}

.modal-content h2 {
  color: var(--deep-teal);
  margin-bottom: 20px;
  font-size: 28px;
  clear: both;
}

.modal-intro {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.8;
  font-weight: 500;
  color: var(--dark-text);
}

.modal-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--dark-text);
}

.email-link {
  color: var(--deep-teal);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--yellow);
  transition: color 0.3s ease;
}

.email-link:hover {
  color: var(--yellow);
}

.modal-section {
  margin: 25px 0;
  padding: 15px;
  background-color: rgba(0, 104, 122, 0.05);
  border-left: 4px solid var(--deep-teal);
  border-radius: 5px;
}

.modal-section h3 {
  color: var(--deep-teal);
  margin-bottom: 12px;
  font-size: 18px;
}

.modal-section ul {
  list-style-type: none;
  padding-left: 0;
}

.modal-section li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--dark-text);
  line-height: 1.6;
}

.modal-section li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--deep-teal);
  font-weight: bold;
}

@media (max-width: 768px) {
  .floating-button {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 13px;
  }

  .modal-content {
    margin: 20% auto;
    padding: 25px;
    width: 95%;
  }

  .modal-content h2 {
    font-size: 24px;
  }

  .modal-section h3 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 30px 15px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .content-section {
    padding: 15px;
  }

  .content-section h2 {
    font-size: 22px;
  }

  .content-section h3 {
    font-size: 18px;
  }

  nav a {
    font-size: 14px;
  }
}
