/* Main CSS for domain.com */

:root {
  --midnight-indigo: #1A1E36;
  --electric-amber: #FFB400;
  --glacier-mint: #A8FFEB;
  --crimson-alloy: #FF5A5F;
  --ivory-mist: #F9F7F3;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: sans-serif;
  background-color: var(--midnight-indigo);
  color: var(--ivory-mist);
  line-height: 1.6;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin: 0 0 1.5rem;
}

a {
  color: var(--electric-amber);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--glacier-mint);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  background-image: linear-gradient(to right, var(--crimson-alloy), var(--glacier-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--electric-amber);
  color: var(--midnight-indigo);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--glacier-mint);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--midnight-indigo);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  background-image: linear-gradient(to right, var(--electric-amber), var(--glacier-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 2rem;
}

.main-nav a {
  color: var(--ivory-mist);
  font-weight: 600;
  position: relative;
}

.main-nav a:hover {
  color: var(--electric-amber);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--electric-amber);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--electric-amber);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: var(--midnight-indigo);
  z-index: 100;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li a {
  display: block;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mobile-menu-checkbox:checked ~ .mobile-menu {
  display: block;
}

#mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

#mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

#mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--midnight-indigo);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, rgba(26, 30, 54, 0.9), rgba(26, 30, 54, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* About Section */
.about {
  background-color: rgba(255, 255, 255, 0.02);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-image {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-title {
  margin-bottom: 1rem;
}

/* Process Section */
.process {
  background-color: rgba(255, 255, 255, 0.02);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--electric-amber);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item::before {
  content: attr(data-step);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--electric-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--midnight-indigo);
  z-index: 2;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
}

.benefit-card {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  color: var(--glacier-mint);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials {
  background-color: rgba(255, 255, 255, 0.02);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 300px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
}

.testimonial-position {
  color: var(--electric-amber);
  font-size: 0.9rem;
}

.testimonial-rating {
  color: var(--electric-amber);
  margin-top: 0.5rem;
}

/* Contact Form */
.contact {
  background-color: var(--midnight-indigo);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--ivory-mist);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--electric-amber);
  box-shadow: 0 0 0 2px rgba(255, 180, 0, 0.2);
}

/* Custom Select Styling */
.custom-select {
  position: relative;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--electric-amber);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23FFB400' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.custom-select:focus {
  border-color: var(--glacier-mint);
  box-shadow: 0 0 0 3px rgba(168, 255, 235, 0.2);
}

.custom-select option {
  background-color: var(--midnight-indigo);
  color: var(--ivory-mist);
  padding: 10px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.form-submit {
  text-align: center;
}

.form-errors {
  background-color: rgba(255, 90, 95, 0.2);
  border: 1px solid var(--crimson-alloy);
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: var(--crimson-alloy);
}

/* Footer */
.site-footer {
  background-color: rgba(0, 0, 0, 0.2);
  padding-top: 3rem;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
}

.footer-company {
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 900;
  background-image: linear-gradient(to right, var(--electric-amber), var(--glacier-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.footer-contact {
  margin-top: 1.5rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 30, 54, 0.95);
  padding: 1rem 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.cookie-consent .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-consent p {
  margin-right: 1rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .cookie-consent .container {
    flex-direction: column;
  }
  
  .cookie-consent p {
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .cookie-consent .btn {
    width: 100%;
  }
}
