/* style/terms-conditions.css */

:root {
  --primary-color: #CC0000; /* Deep Red */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #222222;
  --border-color: #e0e0e0;
}

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

.page-terms-conditions a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-terms-conditions a:hover {
  text-decoration: underline;
}

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

.page-terms-conditions .section-spacing {
  padding: 60px 0;
}

/* Hero Section */
.page-terms-conditions .terms-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, #a30000 100%);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  overflow: hidden;
}

.page-terms-conditions .terms-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Dark overlay for text readability */
  z-index: 1;
}

.page-terms-conditions .terms-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-terms-conditions .terms-hero h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-terms-conditions .terms-hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* CTA Button */
.page-terms-conditions .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.page-terms-conditions .cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* Terms Introduction */
.page-terms-conditions .terms-intro {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding-top: 40px; /* Adjust padding to match content-image */
}

.page-terms-conditions .terms-intro p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-terms-conditions .content-image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  object-fit: cover;
}

/* Terms Content */
.page-terms-conditions .terms-content {
  background-color: #ffffff;
  padding-top: 40px;
}

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

.page-terms-conditions .terms-content h3 {
  font-size: 1.8em;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions .terms-content p {
  margin-bottom: 15px;
}

.page-terms-conditions .terms-content ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-terms-conditions .terms-content li {
  margin-bottom: 10px;
}

/* Call to Action at Bottom */
.page-terms-conditions .call-to-action-bottom {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 50px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
}

.page-terms-conditions .call-to-action-bottom h3 {
  color: var(--secondary-color);
  font-size: 2.2em;
  margin-bottom: 20px;
}

.page-terms-conditions .call-to-action-bottom p {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-terms-conditions .call-to-action-bottom .cta-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-terms-conditions .call-to-action-bottom .cta-button:hover {
  background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions .terms-hero h1 {
    font-size: 3em;
  }
  .page-terms-conditions .terms-content h2 {
    font-size: 2em;
  }
  .page-terms-conditions .terms-content h3 {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .terms-hero {
    padding: 60px 15px;
    min-height: 250px;
  }
  .page-terms-conditions .terms-hero h1 {
    font-size: 2.5em;
  }
  .page-terms-conditions .terms-hero p {
    font-size: 1em;
  }
  .page-terms-conditions .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-terms-conditions .section-spacing {
    padding: 40px 0;
  }
  .page-terms-conditions .terms-content h2 {
    font-size: 1.8em;
  }
  .page-terms-conditions .terms-content h3 {
    font-size: 1.4em;
  }
  .page-terms-conditions .call-to-action-bottom {
    padding: 40px 20px;
  }
  .page-terms-conditions .call-to-action-bottom h3 {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions .terms-hero h1 {
    font-size: 2em;
  }
  .page-terms-conditions .terms-hero p {
    font-size: 0.9em;
  }
  .page-terms-conditions .terms-content h2 {
    font-size: 1.5em;
  }
  .page-terms-conditions .terms-content h3 {
    font-size: 1.2em;
  }
  .page-terms-conditions .call-to-action-bottom h3 {
    font-size: 1.5em;
  }
}