/* 
-----------------------------------------
GLOBAL STYLES
-----------------------------------------
*/
:root {
  --dark-bg: #121212;
  --yellow-gold: #ffd166;
  --neon-mint: #06d6a0;
  --bright-pink: #ef476f;
  --text-white: #ffffff;
  --text-light: #b0bec5;
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: "Arial", sans-serif;
  color: var(--text-white);
  background-color: var(--dark-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--neon-mint);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--yellow-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-white);
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--yellow-gold), var(--bright-pink));
}

.section-header .subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Buttons */
.cta-button,
.submit-button {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(45deg, var(--yellow-gold), var(--bright-pink));
  color: var(--dark-bg);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.cta-button:hover,
.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--dark-bg);
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  color: var(--yellow-gold);
  font-weight: 600;
  border: 2px solid var(--yellow-gold);
  border-radius: 4px;
  transition: var(--transition);
}

.service-link:hover {
  background-color: var(--yellow-gold);
  color: var(--dark-bg);
}

.return-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--neon-mint);
  border-radius: 4px;
  color: var(--neon-mint);
  font-weight: 600;
  transition: var(--transition);
}

.return-button:hover {
  background-color: var(--neon-mint);
  color: var(--dark-bg);
}

/* 
-----------------------------------------
HEADER AND NAVIGATION
-----------------------------------------
*/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(18, 18, 18, 0.95);
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 1px;
  text-transform: lowercase;
}

.logo:hover {
  color: var(--yellow-gold);
}

.menu-container {
  position: relative;
}

.menu-toggle {
  display: none;
}

.menu-button {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 2;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition);
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before,
.hamburger::after {
  content: "";
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.menu-toggle:checked ~ .menu-button .hamburger {
  background-color: transparent;
}

.menu-toggle:checked ~ .menu-button .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle:checked ~ .menu-button .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.menu {
  display: flex;
  list-style: none;
}

.menu li {
  margin-left: 1.5rem;
}

.menu a {
  color: var(--text-white);
  font-weight: 600;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--neon-mint), var(--bright-pink));
  transition: var(--transition);
}

.menu a:hover::after {
  width: 100%;
}

.menu a:hover {
  color: var(--yellow-gold);
}

.contact-button {
  padding: 0.5rem 1rem;
  border: 2px solid var(--yellow-gold);
  border-radius: 4px;
}

.contact-button::after {
  display: none;
}

.contact-button:hover {
  background-color: var(--yellow-gold);
  color: var(--dark-bg);
}

/* 
-----------------------------------------
HERO SECTION
-----------------------------------------
*/
.hero {
  background-image: linear-gradient(
      rgba(18, 18, 18, 0.7),
      rgba(18, 18, 18, 0.7)
    ),
    url("./img/ru2kn.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s;
  animation-fill-mode: both;
}

.hero .cta-button {
  animation: fadeInUp 1s ease 0.6s;
  animation-fill-mode: both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 
-----------------------------------------
ABOUT SECTION
-----------------------------------------
*/
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.about-image:hover {
  transform: translateY(-10px);
}

/* 
-----------------------------------------
SERVICES SECTION
-----------------------------------------
*/
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  padding-bottom: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-card h3 {
  margin: 1.5rem 1.5rem 0.5rem;
  color: var(--yellow-gold);
}

.service-card p {
  padding: 0 1.5rem;
  color: var(--text-light);
  flex: 1;
}

.service-card .service-link {
  margin: 1rem 1.5rem 0;
}

/* 
-----------------------------------------
WHY US SECTION
-----------------------------------------
*/
.why-us-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.why-us-item {
  text-align: center;
  padding: 2rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: var(--transition);
}

.why-us-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.why-us-item .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
}

.why-us-item .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-us-item h3 {
  color: var(--neon-mint);
  margin-bottom: 1rem;
}

.why-us-item p {
  color: var(--text-light);
}

/* 
-----------------------------------------
TESTIMONIALS SECTION
-----------------------------------------
*/
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 2rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-light);
  position: relative;
  padding: 0 1rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 1.5rem;
  color: var(--yellow-gold);
  position: absolute;
}

.testimonial-content p::before {
  left: -5px;
  top: -5px;
}

.testimonial-content p::after {
  right: -5px;
  bottom: -15px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  color: var(--neon-mint);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.author-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* 
-----------------------------------------
BENEFITS SECTION
-----------------------------------------
*/
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-item {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-item h3 {
  color: var(--bright-pink);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.benefit-item p {
  color: var(--text-light);
}

/* 
-----------------------------------------
CONTACT FORM SECTION
-----------------------------------------
*/
.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--text-white);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--neon-mint);
}

.form-group select option {
  background-color: var(--dark-bg);
  color: var(--text-white);
  padding: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
}

.checkbox-wrapper input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  margin-top: 0.3rem;
}

.checkbox-wrapper label {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.form-submit {
  margin-top: 2rem;
}

.submit-button {
  width: 100%;
}

/* 
-----------------------------------------
FAQ SECTION
-----------------------------------------
*/
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--yellow-gold);
  position: relative;
  transition: var(--transition);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-toggle:checked + .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
}

/* 
-----------------------------------------
FOOTER
-----------------------------------------
*/
.site-footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 4rem 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-section h3 {
  color: var(--yellow-gold);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-section p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--neon-mint);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding: 1.5rem 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.copyright p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* 
-----------------------------------------
LEGAL PAGES
-----------------------------------------
*/
.legal-page {
  padding: 8rem 0 3rem;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.legal-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 2rem;
}

.last-updated {
  color: var(--text-light);
  font-style: italic;
  text-align: right;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.legal-box h2 {
  color: var(--yellow-gold);
  margin: 2rem 0 1rem;
}

.legal-box h3 {
  color: var(--neon-mint);
  margin: 1.5rem 0 1rem;
}

.legal-box ul,
.legal-box ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-box ul li,
.legal-box ol li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* 
-----------------------------------------
THANK YOU PAGE
-----------------------------------------
*/
.thank-you-section {
  padding: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  max-width: 600px;
  margin: 8rem auto 3rem;
  text-align: center;
}

.thank-you-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease;
}

.thank-you-box h1 {
  color: var(--neon-mint);
  margin-bottom: 1.5rem;
}

.thank-you-cta {
  margin-top: 2rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 
-----------------------------------------
COOKIE POPUP
-----------------------------------------
*/
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(18, 18, 18, 0.95);
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  transition: bottom 0.5s ease;
}

.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;
  padding-right: 2rem;
  color: var(--text-light);
}

#accept-cookies {
  background-color: var(--neon-mint);
  color: var(--dark-bg);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

#accept-cookies:hover {
  background-color: var(--yellow-gold);
}

/* 
-----------------------------------------
RESPONSIVE STYLES
-----------------------------------------
*/
@media (max-width: 992px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-content {
    flex-direction: column;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content p {
    margin-bottom: 1rem;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--dark-bg);
    padding: 5rem 2rem 2rem;
    z-index: 1;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  .menu-toggle:checked ~ .main-nav {
    right: 0;
  }

  .menu {
    flex-direction: column;
  }

  .menu li {
    margin: 0;
    padding: 0.5rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .service-card,
  .testimonial-card,
  .why-us-item,
  .benefit-item {
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button,
  .submit-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .legal-box,
  .contact-form,
  .thank-you-box {
    padding: 1.5rem;
  }
}
