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

:root {
  --primary-light: #ADD8E6;
  --accent-sky: #87CEFA;
  --accent-slate: #B0C4DE;
  --accent-purple: #6A5ACD;
  --white: #ffffff;
  --dark: #1a1a1a;
  --light-gray: #f5f5f5;
  --border-light: #e0e0e0;
}

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

html, body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-purple);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-purple);
}

header {
  background-color: var(--white);
  border-bottom: 2px solid var(--primary-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  padding: 1rem 0;
}

header .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-purple);
  text-decoration: none;
}

header .navbar-brand:hover {
  color: var(--accent-sky);
}

.navbar {
  padding: 0 2rem;
}

header .nav-link {
  color: var(--dark) !important;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

header .nav-link:hover,
header .nav-link.active {
  color: var(--accent-purple) !important;
}

main {
  margin-top: 80px;
  width: 100%;
}

.section {
  padding: 60px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

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

.section-title h2 {
  font-size: 2rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.col-md-6 {
  flex: 1;
  min-width: 250px;
}

.col-md-12 {
  flex: 1 0 100%;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(106, 90, 205, 0.15);
}

.card {
  background: var(--white);
  border: 2px solid var(--primary-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(106, 90, 205, 0.2);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-purple);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-sky);
  color: var(--dark);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--dark);
}

.btn-secondary:hover {
  background-color: var(--accent-slate);
}

.btn-link {
  background-color: transparent;
  color: var(--accent-purple);
  text-decoration: underline;
}

.btn-link:hover {
  color: var(--accent-sky);
}

.section:nth-child(even) {
  background-color: var(--light-gray);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal.show {
  display: block;
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 1rem;
}

.modal-title {
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  color: var(--accent-purple);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--accent-purple);
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--accent-slate);
  padding: 1.5rem 2rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  color: var(--dark);
  font-size: 0.95rem;
  flex: 1;
  min-width: 250px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
}

.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
  border-top: 3px solid var(--accent-purple);
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-sky);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p, .footer-section a {
  color: #ddd;
  margin: 0.5rem 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-sky);
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-policies a {
  color: #ddd;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.footer-policies a:hover {
  border-bottom-color: var(--accent-sky);
}

.footer-disclaimer {
  background-color: rgba(106, 90, 205, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-purple);
}

.footer-disclaimer p {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  color: #aaa;
  font-size: 0.9rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

input, textarea {
  padding: 0.8rem;
  border: 2px solid var(--primary-light);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-disclaimer {
  background-color: var(--light-gray);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-purple);
  font-size: 0.9rem;
  color: var(--dark);
}

.success-message {
  display: none;
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

.success-message.show {
  display: block;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--white);
}

table thead {
  background-color: var(--primary-light);
}

table th, table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

table tr:hover {
  background-color: var(--light-gray);
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

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

.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-slate) 100%);
  padding: 80px 20px;
  text-align: center;
  color: var(--dark);
  margin-top: 80px;
}

.hero h1 {
  color: var(--dark);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.disclaimer-box {
  background-color: rgba(106, 90, 205, 0.08);
  border: 2px solid var(--accent-purple);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.disclaimer-box h4 {
  color: var(--accent-purple);
  margin-bottom: 1rem;
}

.disclaimer-box p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .section {
    padding: 40px 15px;
  }

  .row {
    flex-direction: column;
  }

  .col-md-6 {
    width: 100%;
  }

  .navbar {
    padding: 0 1rem;
  }

  header .nav-link {
    margin: 0 0.5rem;
  }

  .hero {
    margin-top: 60px;
    padding: 50px 15px;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-buttons .btn {
    flex: 1;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  .section {
    padding: 30px 10px;
  }

  .hero {
    padding: 40px 10px;
  }

  header .navbar-brand {
    font-size: 1.3rem;
  }

  header .nav-link {
    font-size: 0.9rem;
    margin: 0 0.3rem;
  }
}
