/* style/cookies-policy.css */

:root {
  --primary-color: #1a202c;
  --secondary-color: #e53e3e;
  --text-light: #ffffff;
  --text-dark: #2d3748;
  --bg-light: #f7fafc;
  --bg-dark: #1a202c;
  --border-color: #e2e8f0;
  --accent-color: #f6ad55; /* A complementary accent for highlights */
}

.page-cookies-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
}

.page-cookies-policy .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-cookies-policy .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  overflow: hidden;
}

.page-cookies-policy .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-cookies-policy .hero-image-banner {
  width: 100%;
  height: 300px; /* Adjusted height for banner */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-cookies-policy .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  z-index: 2;
}

.page-cookies-policy .hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cookies-policy .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-cookies-policy .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-cookies-policy .cta-button:hover {
  background: #c53030; /* Slightly darker red */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Content Section */
.page-cookies-policy .content-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-cookies-policy .content-section h2 {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-cookies-policy .content-section h3 {
  font-size: 1.8em;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 20px;
  border-left: 5px solid var(--accent-color);
  padding-left: 15px;
}

.page-cookies-policy .content-section p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--text-dark);
}

.page-cookies-policy .content-section ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-cookies-policy .content-section ul li {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-cookies-policy .content-section a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-cookies-policy .content-section a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.page-cookies-policy .content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* FAQ Section */
.page-cookies-policy .faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--text-light);
}

.page-cookies-policy .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #f0f4f8; /* Light background for question */
  color: var(--primary-color);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

.page-cookies-policy .faq-question:hover {
  background: #e2e8f0;
  color: var(--secondary-color);
}

.page-cookies-policy .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: inherit; /* Inherit color from parent */
  border-left: none;
  padding-left: 0;
}

.page-cookies-policy .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-cookies-policy .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-cookies-policy .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: var(--text-light);
  color: var(--text-dark);
}

.page-cookies-policy .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to accommodate content */
  padding: 20px 25px;
}

.page-cookies-policy .faq-answer p {
  margin-bottom: 0;
}

/* CTA Banner at bottom */
.page-cookies-policy .cta-banner {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  padding: 40px 20px;
  border-radius: 8px;
  margin-top: 60px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy .cta-banner p {
  font-size: 1.5em;
  margin-bottom: 25px;
  font-weight: 500;
  color: var(--text-light);
}

.page-cookies-policy .cta-button-bottom {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-cookies-policy .cta-button-bottom:hover {
  background: #c53030; /* Slightly darker red */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cookies-policy .hero-content h1 {
    font-size: 2.8em;
  }
  .page-cookies-policy .hero-content p {
    font-size: 1.1em;
  }
  .page-cookies-policy .content-section h2 {
    font-size: 2em;
  }
  .page-cookies-policy .content-section h3 {
    font-size: 1.6em;
  }
  .page-cookies-policy .cta-banner p {
    font-size: 1.3em;
  }
  .page-cookies-policy .cta-button-bottom {
    padding: 15px 35px;
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-cookies-policy .hero-section {
    padding: 40px 15px;
  }
  .page-cookies-policy .hero-image-banner {
    height: 200px;
  }
  .page-cookies-policy .hero-content {
    width: 95%;
  }
  .page-cookies-policy .hero-content h1 {
    font-size: 2.2em;
  }
  .page-cookies-policy .hero-content p {
    font-size: 1em;
  }
  .page-cookies-policy .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-cookies-policy .content-section {
    padding: 40px 0;
  }
  .page-cookies-policy .content-section h2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-cookies-policy .content-section h3 {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 15px;
  }
  .page-cookies-policy .faq-question {
    padding: 15px 20px;
  }
  .page-cookies-policy .faq-question h3 {
    font-size: 1.1em;
  }
  .page-cookies-policy .faq-toggle {
    font-size: 1.5em;
  }
  .page-cookies-policy .faq-answer {
    padding: 0 20px;
  }
  .page-cookies-policy .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-cookies-policy .cta-banner {
    padding: 30px 15px;
    margin-top: 40px;
  }
  .page-cookies-policy .cta-banner p {
    font-size: 1.2em;
  }
  .page-cookies-policy .cta-button-bottom {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-cookies-policy .hero-image-banner {
    height: 150px;
  }
  .page-cookies-policy .hero-content h1 {
    font-size: 1.8em;
  }
  .page-cookies-policy .hero-content p {
    font-size: 0.9em;
  }
  .page-cookies-policy .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-cookies-policy .content-section h2 {
    font-size: 1.5em;
  }
  .page-cookies-policy .content-section h3 {
    font-size: 1.2em;
  }
  .page-cookies-policy .faq-question h3 {
    font-size: 1em;
  }
  .page-cookies-policy .faq-toggle {
    font-size: 1.3em;
  }
  .page-cookies-policy .cta-banner p {
    font-size: 1em;
  }
  .page-cookies-policy .cta-button-bottom {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}