/* 
 * domain - Main Stylesheet
 * 
 * Color Palette:
 * - Main Background: #0a1128 (dark blue)
 * - Accent: #ffc857 (golden)
 * - Secondary Background: #f1f1f1
 * - Text: #ffffff and #1b1b1b
 * - Buttons: gradient from #ff9f1c to #ff5714
 */

/* --- RESET & BASE STYLES --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1b1b1b;
  background-color: #f1f1f1;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #ffc857;
  border-radius: 3px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* --- BUTTONS --- */
.cta-button, 
.submit-button {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #ff9f1c, #ff5714);
  color: #ffffff;
  font-weight: 600;
  border-radius: 50px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 159, 28, 0.4);
}

.cta-button:hover, 
.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 159, 28, 0.5);
}

.cta-button:active, 
.submit-button:active {
  transform: translateY(1px);
}

/* --- HEADER --- */
.site-header {
  background-color: #0a1128;
  color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo a {
  display: block;
}

/* --- NAVIGATION --- */
.main-nav {
  position: relative;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.menu-items {
  display: flex;
  gap: 20px;
  align-items: center;
}

.menu-items a {
  color: #ffffff;
  font-weight: 500;
  padding: 5px;
  position: relative;
}

.menu-items a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffc857;
  transition: width 0.3s ease;
}

.menu-items a:hover::after {
  width: 100%;
}

.nav-button {
  background-color: #ffc857;
  color: #0a1128;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
}

.nav-button:hover {
  background-color: #ffffff;
}

/* --- HERO SECTION --- */
.hero-section {
  background-color: #0a1128;
  color: #ffffff;
  text-align: center;
  padding: 150px 0 100px;
  background-image: linear-gradient(rgba(10, 17, 40, 0.85), rgba(10, 17, 40, 0.85)), url('./img/CXp8RD.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-out;
}

.hero-section .slogan {
  font-size: 1.5rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

.hero-section .cta-button {
  animation: fadeInUp 1s ease-out;
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

/* --- ABOUT SECTION --- */
.about-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text ul {
  margin: 20px 0;
  padding-left: 20px;
}

.about-text li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.about-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ffc857;
  font-weight: bold;
}

/* --- SERVICES SECTION --- */
.services-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 20px;
}

/* --- ADVANTAGES SECTION --- */
.advantages-section {
  padding: 80px 0;
  background-color: #0a1128;
  color: #ffffff;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.advantage-item {
  text-align: center;
  padding: 20px;
}

.advantage-icon {
  margin-bottom: 15px;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
  padding: 80px 0;
  background-color: #f1f1f1;
}

.testimonial-slider {
  overflow: hidden;
  position: relative;
  margin-top: 40px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;

}

@keyframes slide {
  0% { transform: translateX(0); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}

.testimonial-card {
  min-width: 100%;
  padding: 30px;
}

.testimonial-content {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  margin: 0 auto;
  max-width: 800px;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: #ffc857;
  opacity: 0.3;
  line-height: 1;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.testimonial-author {
  text-align: right;
}

/* --- PROCESS SECTION --- */
.process-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.process-steps {
  margin-top: 40px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: #ffc857;
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #ffc857;
  color: #0a1128;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 2;
}

.step-content {
  width: 50%;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-step:nth-child(odd) .step-content {
  margin-right: auto;
  text-align: right;
}

.process-step:nth-child(even) .step-content {
  margin-left: auto;
  order: -1;
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-image {
  border-radius: 10px;
  overflow: hidden;
  height: fit-content;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-container {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px 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;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffc857;
  box-shadow: 0 0 0 2px rgba(255, 200, 87, 0.3);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin: 0;
  font-weight: normal;
}

/* Form Error Messages */
.error-messages {
  background-color: #fff1f0;
  border-left: 4px solid #ff4d4f;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  animation: fadeIn 0.5s ease-out;
}

.error-message {
  color: #ff4d4f;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.error-message:last-child {
  margin-bottom: 0;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ff4d4f;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- MAP SECTION --- */
.map-section {
  padding: 80px 0;
  background-color: #f1f1f1;
}

.map-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.map-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  margin-bottom: 20px;
  color: #0a1128;
}

.contact-info address {
  font-style: normal;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.business-hours {
  margin-top: 30px;
}

.business-hours h4 {
  margin-bottom: 10px;
  color: #0a1128;
}

/* --- FOOTER --- */
.site-footer {
  background-color: #0a1128;
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-grid h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-grid h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #ffc857;
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-legal a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #ffc857;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #ccc;
}

/* --- COOKIE CONSENT --- */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: #0a1128;
  color: #ffffff;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  transition: bottom 0.5s ease-in-out;
}

.cookie-popup.active {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-content a {
  color: #ffc857;
  text-decoration: underline;
}

.cookie-button {
  background-color: #ffc857;
  color: #0a1128;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 20px;
  transition: background-color 0.3s ease;
}

.cookie-button:hover {
  background-color: #ffb73a;
}

/* --- ANIMATIONS --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .about-content,
  .contact-container,
  .map-container {
    grid-template-columns: 1fr;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-image {
    order: 1;
    margin-bottom: 30px;
  }
  
  .process-steps::before {
    left: 30px;
  }
  
  .process-step {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .step-number {
    margin-left: 30px;
    transform: translateX(-50%);
  }
  
  .step-content {
    width: 100%;
    text-align: left !important;
  }
  
  .process-step:nth-child(even) .step-content {
    order: 0;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  
  .menu-items {
    display: none;
    position: absolute;
    flex-direction: column;
    top: 100%;
    right: 0;
    background-color: #0a1128;
    width: 250px;
    padding: 20px;
    border-radius: 0 0 0 10px;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  
  .menu-toggle:checked ~ .menu-items {
    transform: translateX(0);
  }
  
  .menu-toggle:checked ~ .menu-icon .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle:checked ~ .menu-icon .menu-line:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked ~ .menu-icon .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-section {
    padding: 120px 0 80px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-button {
    margin: 20px 0 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .services-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
} 