/* Main Styles for domain.com - Horoskop Service */

:root {
  /* Color palette */
  --color-bg: #B18BB3;
  --color-teal: #18A3A0;
  --color-orange: #FF5722;
  --color-text-dark: #262833;
  --color-text-light: #FDF6EC;
  --color-white: #ffffff;
  --color-light-bg: rgba(255, 255, 255, 0.9);
  --color-dark-bg: rgba(38, 40, 51, 0.9);
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--color-orange), var(--color-teal));
  transform: translateX(-50%);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--color-text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-orange);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, var(--color-orange), var(--color-teal));
  color: var(--color-text-light);
  border: none;
  border-radius: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  color: var(--color-white);
}

.text-center {
  text-align: center;
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.logo span {
  color: var(--color-teal);
}

/* Mobile menu using checkbox hack */
.menu-toggle {
  display: none;
}

.menu-toggle-label {
  display: none;
  cursor: pointer;
}

.menu-toggle-label span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-text-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu a {
  color: var(--color-text-dark);
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--color-orange);
}

/* Hero section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: url('../img/IB00MZ.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--color-text-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(38, 40, 51, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Section styles */
section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

/* About section */
.about {
  background-color: var(--color-white);
}

/* Features section */
.features {
  background-color: rgba(177, 139, 179, 0.1);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 30px;
  background-color: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-teal) 100%);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 24px;
}

/* How it works section */
.how-it-works {
  background-color: var(--color-white);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.step {
  flex: 0 0 calc(33.333% - 20px);
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-teal) 100%);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 15px;
}

/* Services section */
.services {
  background-color: rgba(177, 139, 179, 0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-content .btn {
  margin-top: 10px;
}

/* Form section */
.contact {
  background-color: var(--color-white);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--color-light-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.form-col {
  flex: 0 0 50%;
  padding: 0 10px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 2px rgba(24, 163, 160, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 4px;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

/* Testimonials section */
.testimonials {
  background-color: rgba(177, 139, 179, 0.1);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 60px;
  color: rgba(177, 139, 179, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  margin-bottom: 5px;
  font-size: 18px;
}

.testimonial-author-info p {
  color: #777;
  font-size: 14px;
  margin: 0;
}

/* FAQ section */
.faq {
  background-color: var(--color-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details {
  margin-bottom: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

summary {
  padding: 15px 20px;
  cursor: pointer;
  background-color: #f9f9f9;
  font-weight: 600;
  position: relative;
  outline: none;
}

summary:hover {
  background-color: #f3f3f3;
}

details summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--color-teal);
}

details[open] summary::after {
  content: '-';
}

details .faq-content {
  padding: 15px 20px;
}

/* Contact section */
.contact-info {
  background-color: rgba(177, 139, 179, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.contact-item {
  text-align: center;
  padding: 20px;
}

.contact-icon {
  font-size: 30px;
  color: var(--color-teal);
  margin-bottom: 10px;
}

/* Footer */
footer {
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-links h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links h3:after {
  background: var(--color-teal);
  width: 40px;
  height: 3px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-text-light);
}

.footer-links a:hover {
  color: var(--color-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  padding: 20px;
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    flex: none;
    margin-bottom: 10px;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* Pages content styles */
.page-header {
  height: 300px;
  background-image: url('../img/GUogWi.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(38, 40, 51, 0.7);
}

.page-title {
  position: relative;
  color: var(--color-text-light);
  text-align: center;
}

.page-content {
  padding: 60px 0;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h2 {
  margin-top: 40px;
}

.policy-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-content ul, .policy-content ol {
  margin-bottom: 20px;
  margin-left: 20px;
}

.policy-content li {
  margin-bottom: 10px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .step {
    flex: 0 0 calc(50% - 15px);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }
  
  .menu-toggle-label {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .nav-menu li {
    margin: 10px 0;
  }
  
  .menu-toggle:checked ~ .nav-menu {
    max-height: 300px;
    padding: 20px;
    visibility: visible;
    opacity: 1;
  }
  
  .menu-toggle:checked ~ .menu-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle:checked ~ .menu-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked ~ .menu-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .step {
    flex: 0 0 100%;
  }
  
  .form-col {
    flex: 0 0 100%;
    margin-bottom: 15px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .feature-item, .service-card, .testimonial-card {
    margin-bottom: 20px;
  }
}
