/* 
 * Main Stylesheet for domain.com
 * Color palette:
 * - Background: #FDF5E6 (ivory)
 * - Accent 1: #3B9C9C (teal)
 * - Accent 2: #FC6471 (coral)
 * - Accent 3: #F9B572 (peach)
 * - Text: #2F2F2F (graphite)
*/

/* ---------- Reset & Base Styles ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Add padding for anchor scrolling */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2F2F2F;
  background-color: #FDF5E6;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Target all section IDs to add anchor offset */
section[id] {
  scroll-margin-top: 100px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #3B9C9C;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FC6471;
}

ul, ol {
  list-style: none;
}

/* ---------- Containers & Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: #2F2F2F;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #3B9C9C, #FC6471);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Alternate section backgrounds */
section:nth-child(odd) {
  background-color: #FDF5E6;
}

section:nth-child(even) {
  background: linear-gradient(135deg, rgba(59, 156, 156, 0.05) 0%, rgba(249, 181, 114, 0.05) 100%);
  position: relative;
}

section:nth-child(even)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(252, 100, 113, 0.05) 0%, transparent 20%),
                    radial-gradient(circle at 80% 70%, rgba(59, 156, 156, 0.05) 0%, transparent 20%);
  z-index: -1;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 0.5em;
  font-weight: 700;
}

p {
  margin-bottom: 1em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: #3B9C9C;
  color: #FFF;
  box-shadow: 0 4px 12px rgba(59, 156, 156, 0.25);
}

.btn-primary:hover {
  background-color: #357b7b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 156, 156, 0.3);
  color: #FFF;
}

.btn-secondary {
  background-color: #FC6471;
  color: #FFF;
  box-shadow: 0 4px 12px rgba(252, 100, 113, 0.25);
}

.btn-secondary:hover {
  background-color: #fb4958;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(252, 100, 113, 0.3);
  color: #FFF;
}

.btn-full {
  width: 100%;
}

/* ---------- Header & Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(253, 245, 230, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  position: relative;
  z-index: 2;
}

.logo__text {
  background: linear-gradient(135deg, #3B9C9C 0%, #FC6471 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 2;
}

.menu-toggle__bar {
  width: 100%;
  height: 2px;
  background-color: #3B9C9C;
  transition: all 0.3s ease;
}

.main-nav__list {
  display: flex;
  align-items: center;
}

.main-nav__item {
  margin-left: 30px;
}

.main-nav__link {
  color: #2F2F2F;
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 0;
  position: relative;
  transition: all 0.3s ease;
}

.main-nav__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #3B9C9C;
  transition: width 0.3s ease;
}

.main-nav__link:hover {
  color: #3B9C9C;
}

.main-nav__link:hover::after {
  width: 100%;
}

.main-nav__link--cta {
  background-color: #3B9C9C;
  color: #FFF;
  padding: 10px 20px;
  border-radius: 30px;
}

.main-nav__link--cta:hover {
  background-color: #FC6471;
  color: #FFF;
}

.main-nav__link--cta::after {
  display: none;
}

/* ---------- Hero Section ---------- */
.hero {
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero__content {
  flex: 1;
}

.hero__image {
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero__shape {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3B9C9C 0%, #FC6471 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: -30px;
  left: 30px;
  z-index: -1;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.hero__img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  object-fit: cover;
}

.hero__title {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeIn 1s ease-in-out;
}

.hero__subtitle {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 30px;
  animation: fadeIn 1s ease-in-out 0.2s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- About Section ---------- */
.about__content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about__text {
  flex: 1;
}

.about__image {
  flex: 1;
}

.about__img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ---------- Advantages Section ---------- */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.advantage-card {
  background-color: #FFF;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.advantage-card__icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.advantage-card__title {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #3B9C9C;
}

/* ---------- Services Section ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-card {
  background-color: #FFF;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card__image {
  height: 200px;
  overflow: hidden;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.05);
}

.service-card__content {
  padding: 25px;
}

.service-card__title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #3B9C9C;
}

.service-card__features {
  margin-top: 15px;
}

.service-card__features li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.service-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #FC6471;
  font-weight: bold;
}

/* ---------- Testimonials Section ---------- */
.testimonials__slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #FFF;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-card__content {
  margin-bottom: 20px;
  position: relative;
}

.testimonial-card__content::before {
  content: """;
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -10px;
  color: #F9B572;
  opacity: 0.3;
}

.testimonial-card__text {
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
}

.testimonial-card__avatar {
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card__name {
  font-weight: 600;
  margin-bottom: 0;
}

.testimonial-card__position {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}

/* ---------- FAQ Section ---------- */
.faq__accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-item__input {
  display: none;
}

.faq-item__question {
  background-color: #FFF;
  padding: 20px;
  display: block;
  border-radius: 10px;
  position: relative;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item__question::after {
  content: "+";
  position: absolute;
  right: 20px;
  transition: transform 0.3s ease;
}

.faq-item__input:checked ~ .faq-item__question {
  background-color: #3B9C9C;
  color: #FFF;
  border-radius: 10px 10px 0 0;
}

.faq-item__input:checked ~ .faq-item__question::after {
  content: "-";
}

.faq-item__answer {
  background-color: #FFF;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 0 0 10px 10px;
}

.faq-item__input:checked ~ .faq-item__answer {
  padding: 20px;
  max-height: 300px;
}

/* ---------- Contact Section ---------- */
.contact__content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.contact__info {
  flex: 1;
}

.contact__text {
  margin-bottom: 30px;
}

.contact__details {
  margin-bottom: 30px;
}

.contact__detail {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact__icon {
  margin-right: 15px;
  min-width: 24px;
  fill: #3B9C9C;
}

.contact__form-container {
  flex: 1.5;
  background-color: #FFF;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3B9C9C;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 156, 156, 0.2);
}

.form-group--checkbox {
  display: flex;
  align-items: center;
}

.form-group--checkbox input {
  width: auto;
  margin-right: 10px;
}

.form-group--checkbox label {
  margin-bottom: 0;
  font-weight: normal;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ---------- Trust Section ---------- */
.trust__content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.trust__text {
  flex: 1;
}

.trust__badges {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.trust__badge {
  background-color: #FFF;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.trust__badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.trust__badge-icon {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.trust__badge-text {
  font-weight: 600;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.footer {
  background-color: #3B9C9C;
  color: #FDF5E6;
  padding: 60px 0 30px;
}

.footer__content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__info {
  flex: 1.5;
  min-width: 300px;
}

.logo--footer .logo__text {
  background: #FDF5E6;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__description {
  margin-top: 20px;
}

.footer__links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer__column {
  flex: 1;
  min-width: 150px;
}

.footer__title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 30px;
  height: 2px;
  background-color: #F9B572;
}

.footer__menu li,
.footer__contact li {
  margin-bottom: 12px;
}

.footer__menu a,
.footer__contact a {
  color: #FDF5E6;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer__menu a:hover,
.footer__contact a:hover {
  opacity: 1;
  padding-left: 5px;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
}

.footer__contact svg {
  margin-right: 10px;
  min-width: 18px;
  margin-top: 4px;
}

.footer__bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---------- Cookie Popup ---------- */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(47, 47, 47, 0.95);
  color: #FFF;
  padding: 15px 0;
  z-index: 1001;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-popup__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-popup__text {
  margin: 0;
  flex: 1;
}

.cookie-popup__text a {
  color: #F9B572;
  text-decoration: underline;
}

.cookie-popup__btn {
  white-space: nowrap;
  background-color: #F9B572;
  color: #2F2F2F;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.cookie-popup__btn:hover {
  background-color: #FC6471;
  color: #FFF;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero__content {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .about__content {
    flex-direction: column;
  }
  
  .contact__content {
    flex-direction: column;
  }
  
  .trust__content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #FDF5E6;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
  }
  
  .main-nav--open {
    right: 0;
  }
  
  .main-nav__list {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .main-nav__item {
    margin-left: 0;
    margin-bottom: 20px;
    width: 100%;
  }
  
  .main-nav__link {
    display: block;
    padding: 10px 0;
    width: 100%;
  }
  
  .main-nav__link--cta {
    margin-top: 10px;
    text-align: center;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-popup__content {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .hero__subtitle {
    font-size: 1.1rem;
  }
  
  .advantages__grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials__slider {
    grid-template-columns: 1fr;
  }
} 