/**
 * Domain - Main Stylesheet
 * Contains all styling for the website
 */

/* ======= Color Variables ======= */
:root {
  --electric-tangerine: #FF5A36;
  --nordic-ice: #C6E2FF;
  --noir-plum: #32161F;
  --jade-whisper: #DEFDE0;
  --lemon-cream: #FFF2B2;
  
  --primary: var(--electric-tangerine);
  --secondary: var(--nordic-ice);
  --dark: var(--noir-plum);
  --light-accent: var(--jade-whisper);
  --highlight: var(--lemon-cream);
  
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #777777;
  --border-color: #eeeeee;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  
  --transition-default: all 0.3s ease;
}

/* ======= Reset & Base Styles ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #ffffff;
  overflow-x: hidden;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-default);
}

a:hover {
  color: #e04b2d;
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
}

button, .btn {
  cursor: pointer;
}

/* ======= Layout & Container ======= */
.container {
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
  overflow-x: hidden;
}

section {
  padding: 4rem 0;
}

/* Progressive enhancement for larger screens */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* ======= Typography ======= */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

h2:after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
}

/* ======= Buttons ======= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition-default);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: #e04b2d;
  color: var(--text-light);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-default);
}

.cta-button:hover {
  background: #e04b2d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white; 
}

/* ======= Header & Navigation ======= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 0.5rem 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  background: linear-gradient(135deg, var(--primary), #FF8B6A);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--dark);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.menu-icon span:nth-child(1) {
  top: 0px;
}

.menu-icon span:nth-child(2) {
  top: 10px;
}

.menu-icon span:nth-child(3) {
  top: 20px;
}

.main-nav ul {
  display: flex;
}

.main-nav ul li {
  margin-left: 2rem;
}

.main-nav ul li a {
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition-default);
  position: relative;
}

.main-nav ul li a:hover {
  color: var(--primary);
}

.main-nav ul li a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition-default);
}

.main-nav ul li a:hover:before {
  width: 100%;
}

.nav-cta {
  background-color: var(--primary);
  color: var(--text-light) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: var(--transition-default);
}

.nav-cta:hover {
  background-color: #e04b2d;
  transform: translateY(-2px);
}

.nav-cta:before {
  display: none !important;
}

/* Mobile menu */
@media (max-width: 991px) {
  .menu-icon {
    display: block;
    z-index: 1001;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    padding-top: 80px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 0 2rem;
  }
  
  .main-nav ul li {
    margin: 1rem 0;
  }
  
  .main-nav ul li a {
    display: block;
    font-size: 1.25rem;
  }
  
  /* Pure CSS mobile menu toggle */
  .menu-toggle:checked ~ .main-nav {
    transform: translateX(0);
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
  }
}

/* ======= Hero Section ======= */
.hero {
  padding-top: 8rem;
  padding-bottom: 6rem;
  background: linear-gradient(135deg, var(--secondary) 0%, #E8F5FF 100%);
  text-align: center;
}

.animated-headline {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 0.5s;
}

.hero-intro {
  opacity: 0;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 1s ease-out forwards 0.8s;
}

/* ======= About Section ======= */
.about-section {
  background-color: #fff;
}

.badges-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.badge {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  flex: 1;
  min-width: 200px;
  opacity: 0;
  transform: translateY(20px);
}

.badge.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.badge:nth-child(2) {
  animation-delay: 0.2s;
}

.badge:nth-child(3) {
  animation-delay: 0.4s;
}

.counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ======= Benefits Section ======= */
.benefits-section {
  background-color: var(--light-accent);
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-default);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.benefit-image {
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 auto 1.5rem;
}

.benefit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.benefit-card:hover .benefit-image img {
  transform: scale(1.1);
}

/* ======= Services Section ======= */
.services-section {
  background-color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: white;
  border-radius: 8px;
  padding: 0;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition-default);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-card h3 {
  margin: 1.5rem 1rem 1rem;
  color: var(--primary);
  padding: 0 1rem;
}

.service-card > p {
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.service-card .details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-top: auto;
  padding: 0 1.5rem;
}

.service-card:hover .details {
  max-height: 200px;
}

.service-card ul {
  text-align: left;
  padding-left: 1.5rem;
  list-style-type: disc;
  margin: 1rem 0;
}

.service-card ul li {
  margin-bottom: 0.5rem;
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

/* ======= Pricing Section ======= */
.pricing-section {
  background-color: var(--secondary);
}

.pricing-tabs {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-tabs input[type="radio"] {
  display: none;
}

.tab-labels {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.tab-labels label {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-default);
}

.tab-labels label:first-child {
  border-radius: 4px 0 0 4px;
}

.tab-labels label:last-child {
  border-radius: 0 4px 4px 0;
}

.tab-labels label:hover {
  background: rgba(255, 255, 255, 0.8);
}

#tab-small:checked ~ .tab-labels label[for="tab-small"],
#tab-medium:checked ~ .tab-labels label[for="tab-medium"],
#tab-large:checked ~ .tab-labels label[for="tab-large"] {
  background: white;
  color: var(--primary);
}

.pricing-content {
  position: relative;
  overflow: hidden;
}

.pricing-panel {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#tab-small:checked ~ .pricing-content #small-business,
#tab-medium:checked ~ .pricing-content #medium-business,
#tab-large:checked ~ .pricing-content #large-business {
  opacity: 1;
  position: relative;
  pointer-events: all;
}

.price-card {
  background: white;
  border-radius: 8px;
  padding: 0 0 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow: hidden;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
}

.features {
  margin: 2rem 0;
  padding-left: 1.5rem;
  list-style-type: disc;
  text-align: center;
  list-style-position: inside;
}

.features li {
  margin-bottom: 1rem;
}

.price-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--primary);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition-default);
}

.price-cta:hover {
  background: #e04b2d;
  color: white;
  transform: translateY(-2px);
}

/* Service image */
.service-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  position: relative;
  margin: 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

/* Price image */
.price-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  margin-bottom: 1.5rem;
  position: relative;
}

.price-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.price-card:hover .price-image img {
  transform: scale(1.1);
}

/* ======= Testimonials Section ======= */
.testimonials-section {
  background-color: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-default);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial {
  padding: 2rem;
  text-align: center;
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
  position: relative;
  padding: 0 2rem;
}

.quote:before,
.quote:after {
  content: "\201C";
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.5;
  position: absolute;
}

.quote:before {
  left: 0;
  top: -1rem;
}

.quote:after {
  content: "\201D";
  right: 0;
  bottom: -2rem;
}

.author {
  margin-top: 1.5rem;
  font-weight: 600;
}

/* Remove slideshow animation since we're using fixed cards */

/* ======= FAQ Section ======= */
.faq-section {
  background-color: var(--highlight);
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  transition: var(--transition-default);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: var(--transition-default);
}

.faq-toggle:checked ~ .faq-question:after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

/* ======= Contact Section ======= */
.contact-section {
  background: linear-gradient(135deg, var(--nordic-ice) 0%, #E8F5FF 100%);
  padding: 5rem 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: var(--transition-default);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 90, 54, 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;
}

/* ======= Footer ======= */
.site-footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col h3 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}

.company-blurb {
  line-height: 1.8;
}

.contact-info li,
.legal-links li {
  margin-bottom: 1rem;
}

.contact-info a,
.legal-links a {
  color: var(--secondary);
  transition: var(--transition-default);
}

.contact-info a:hover,
.legal-links a:hover {
  color: var(--primary);
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ======= Thank You Page ======= */
.thank-you-section {
  padding: 8rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--secondary) 0%, #E8F5FF 100%);
}

.thank-you-content {
  text-align: center;
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

/* ======= Cookie Popup ======= */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 1050;
}

.cookie-content {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.accept-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: var(--transition-default);
}

.accept-btn:hover {
  background-color: #e04b2d;
}

/* ======= Policy Pages ======= */
.policy-container {
  max-width: 800px;
  margin: 8rem auto 4rem;
  padding: 3rem;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.policy-container h1 {
  margin-bottom: 2rem;
  text-align: center;
}

.policy-container h2 {
  text-align: left;
  margin-top: 2.5rem;
}

.policy-container h2:after {
  left: 0;
  transform: none;
}

.policy-content {
  line-height: 1.8;
}

.policy-content p,
.policy-content ul {
  margin-bottom: 1.5rem;
}

.policy-content ul {
  padding-left: 2rem;
  list-style-type: disc;
}

/* ======= Animations ======= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}