/* style/cookies-policy.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #1a1a2e;
  --border-color: #e0e0e0;
}

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

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

.page-cookies-policy-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 40px;
}

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

.page-cookies-policy-hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-cookies-policy-hero-image {
  width: 100%;
  max-width: 600px; /* Adjust as needed */
}

.page-cookies-policy-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-cookies-policy-btn {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.page-cookies-policy-btn:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy-btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-cookies-policy-btn-secondary:hover {
  background-color: #000066;
  color: var(--primary-color);
  border-color: #e6c200;
}

.page-cookies-policy-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-cookies-policy-section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-cookies-policy-section h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.page-cookies-policy-section h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  border-radius: 2px;
}

.page-cookies-policy-section h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-cookies-policy-section p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-cookies-policy-introduction p {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cookies-policy-what-are-cookies .page-cookies-policy-image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-cookies-policy-what-are-cookies .page-cookies-policy-image-text-layout img {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cookies-policy-what-are-cookies .page-cookies-policy-image-text-layout > div {
  flex: 1;
}

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

.page-cookies-policy-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cookies-policy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-cookies-policy-card img {
  width: 150px; /* Increased size for content image */
  height: 150px; /* Increased size for content image */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-cookies-policy-card h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-cookies-policy-card p {
  font-size: 1em;
  color: var(--text-dark);
}

.page-cookies-policy-management ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-cookies-policy-management ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-cookies-policy-faq .faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-cookies-policy-faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-cookies-policy-faq .faq-question:hover {
  background: #f5f5f5;
}

.page-cookies-policy-faq .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--secondary-color);
  flex-grow: 1;
  text-align: left;
}

.page-cookies-policy-faq .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

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

.page-cookies-policy-faq .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-cookies-policy-hero {
    flex-direction: column;
    padding: 60px 15px;
  }

  .page-cookies-policy-hero-content h1 {
    font-size: 2.5em;
  }

  .page-cookies-policy-hero-content p {
    font-size: 1.1em;
  }

  .page-cookies-policy-what-are-cookies .page-cookies-policy-image-text-layout {
    flex-direction: column;
    text-align: center;
  }

  .page-cookies-policy-what-are-cookies .page-cookies-policy-image-text-layout img {
    max-width: 80%;
  }

  .page-cookies-policy-section h2 {
    font-size: 2em;
  }

  .page-cookies-policy-section h3 {
    font-size: 1.6em;
  }

  .page-cookies-policy-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-cookies-policy-hero {
    padding: 40px 15px;
  }

  .page-cookies-policy-hero-content h1 {
    font-size: 2em;
  }

  .page-cookies-policy-hero-content p {
    font-size: 1em;
  }

  .page-cookies-policy-btn {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  .page-cookies-policy-section {
    padding: 40px 0;
  }

  .page-cookies-policy-section h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-cookies-policy-section h3 {
    font-size: 1.4em;
    margin-top: 30px;
  }

  .page-cookies-policy-card img {
    width: 120px;
    height: 120px;
  }

  .page-cookies-policy-faq .faq-question {
    padding: 15px 20px;
  }

  .page-cookies-policy-faq .faq-question h3 {
    font-size: 1.1em;
  }

  .page-cookies-policy-faq .faq-toggle {
    font-size: 20px;
  }

  .page-cookies-policy-faq .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}