/* Main Styles for ronquivalepi.eu */

:root {
  --bg-color: #0f2027;
  --accent-color: #ff8c42;
  --text-color: #ffffff;
  --button-color: #222222;
  --gradient-start: #2c5364;
  --gradient-end: #203a43;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

section[id] {
  scroll-margin-top: 40px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-color);
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background: var(--text-color);
  color: var(--bg-color);
  text-decoration: none;
}

/* Header Styles */
header {
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-color);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

/* Navigation Styles */
.hamburger {
  display: none;
}

.navbar ul {
  display: flex;
  list-style: none;
}

.navbar li {
  margin-left: 1.5rem;
}

.navbar a {
  color: var(--text-color);
  font-weight: 600;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  background-image: url("./img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 32, 39, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Sections Common Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-color);
}

/* About Us Section */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}

.about-text {
  padding: 1rem;
}

/* Benefits Section */
.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  background: linear-gradient(
    to bottom,
    var(--gradient-start),
    var(--gradient-end)
  );
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
}

.benefit-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(
    to bottom,
    var(--gradient-start),
    var(--gradient-end)
  );
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

/* Why Us Section */
.why-us-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.why-us-item {
  background: rgba(44, 83, 100, 0.2);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

/* Testimonials Section */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(44, 83, 100, 0.2);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.1);
}

.testimonial-author {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
}

.author-info {
  margin-left: 1rem;
}

.author-name {
  font-weight: bold;
}

.author-position {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Form Section */
.form-section {
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  padding: 5rem 0;
}

.form-container {
  background: rgba(15, 32, 39, 0.8);
  border-radius: 10px;
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(32, 58, 67, 0.4);
  border-radius: 4px;
  color: var(--text-color);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  font-size: 0.9rem;
}

.form-btn {
  background: var(--accent-color);
  border: none;
  color: var(--text-color);
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.form-btn:hover {
  background: var(--text-color);
  color: var(--bg-color);
}

/* Select field styling */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' 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;
}

select.form-control option {
  background-color: var(--gradient-end);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  padding: 1.2rem;
  position: relative;
  cursor: pointer;
}

.faq-checkbox {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-label {
  display: block;
  font-weight: bold;
  cursor: pointer;
  padding-right: 30px;
  position: relative;
}

.faq-label::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-checkbox:checked + .faq-label::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(44, 83, 100, 0.2);
  transition: max-height 0.5s ease;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-content {
  padding: 1.2rem;
}

/* Footer Styles */
footer {
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
}

.footer-section p {
  margin-bottom: 0.8rem;
}

.contact-info {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

.contact-info img {
  width: 20px;
  margin-right: 10px;
  margin-top: 5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(15, 32, 39, 0.95);
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1010;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-text {
  flex: 1;
  margin-right: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--accent-color);
  color: var(--text-color);
}

.cookie-accept:hover {
  background: var(--text-color);
  color: var(--bg-color);
}
div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.form-section .container {
  width: 100%;
}
/* Thank You Page */
.thank-you {
  text-align: center;
  margin: 8rem auto;
  max-width: 600px;
  border-radius: 2rem;
  padding: 1rem;
  background: var(--gradient-start);
}

.thank-you h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Policy Pages */
.policy-container {
  background: rgba(44, 83, 100, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2.5rem;
  margin: 3rem auto;
  max-width: 900px;
}

.policy-title {
  margin-bottom: 2rem;
  text-align: center;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h3 {
  margin-bottom: 1rem;
}

/* Mobile Menu (Hamburger) */
.hamburger-label {
  display: none;
  cursor: pointer;
}

.hamburger-checkbox {
  display: none;
}

/* Media Queries */
@media (max-width: 992px) {
  .container {
    width: 95%;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hamburger-label {
    display: block;
    font-size: 1.8rem;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(
      to bottom,
      var(--gradient-start),
      var(--gradient-end)
    );
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    z-index: 1000;
  }

  .hamburger-checkbox:checked ~ .navbar {
    max-height: 350px;
  }

  .navbar ul {
    flex-direction: column;
    padding: 1rem 0;
  }

  .navbar li {
    margin: 0;
    text-align: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar li:last-child {
    border-bottom: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cookie-popup {
    flex-direction: column;
  }

  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 3rem 0;
  }

  .benefit-item,
  .service-card,
  .why-us-item,
  .testimonial-card {
    margin-bottom: 1.5rem;
  }

  .form-container {
    padding: 1.5rem;
  }
}
