/* ========================================
   Kisbusz bérlés Pécs - Styles
   ======================================== */

:root {
  --color-navy: #1a3352;
  --color-navy-dark: #142840;
  --color-blue: #2b7fd4;
  --color-blue-hover: #1e6bb8;
  --color-blue-light: #5eb3ff;
  --color-white: #ffffff;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-600: #64748b;
  --color-gray-800: #1e293b;
  --color-text: #1a3352;
  --shadow-sm: 0 1px 3px rgba(26, 51, 82, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 51, 82, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 51, 82, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --header-height: 72px;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-blue-hover);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn--primary {
  background: var(--color-blue);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-blue-hover);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
}

/* Section titles */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 48px;
}

.section-title--light {
  color: var(--color-white);
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-navy);
  height: var(--header-height);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.header__logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
  flex-shrink: 0;
}

.header__logo:hover {
  color: var(--color-blue-light);
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.header__link:hover,
.header__link--active {
  color: var(--color-white);
}

.header__link--active {
  border-bottom: 2px solid var(--color-blue-light);
  border-radius: 0;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--color-blue-light);
}

.lang-switch {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lang-switch__btn {
  padding: 6px 12px;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lang-switch__btn--active {
  background: var(--color-blue);
  color: var(--color-white);
}

.lang-switch__btn:hover:not(.lang-switch__btn--active) {
  color: var(--color-white);
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 520px;
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 51, 82, 0.72) 0%,
    rgba(26, 51, 82, 0.45) 38%,
    rgba(26, 51, 82, 0.12) 58%,
    rgba(26, 51, 82, 0.02) 75%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 24px 120px;
  max-width: 580px;
  text-align: left;
}

@media (min-width: 901px) {
  .hero__content.container {
    margin-left: max(24px, calc(50% - 600px));
    margin-right: auto;
    width: calc(100% - 48px);
    max-width: 560px;
    padding-left: 0;
    padding-right: 0;
  }
}

.hero__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-white);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero__subtitle {
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.hero__cta {
  font-size: 13px;
}

/* ========================================
   Specs card
   ======================================== */
.specs {
  position: relative;
  z-index: 10;
  margin-top: -80px;
  padding-bottom: 64px;
}

.specs__card {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr 0.9fr;
  gap: 32px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 36px 40px;
}

.specs__heading {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.specs__subheading {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.specs__vehicle-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.specs__vehicle-img {
  flex-shrink: 0;
  width: 100px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.specs__vehicle-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.specs__list {
  list-style: none;
  font-size: 0.8125rem;
  line-height: 1.8;
}

.specs__list li span:first-child {
  font-weight: 600;
}

.specs__desc {
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.specs__icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.specs__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.specs__icon {
  width: 48px;
  height: 48px;
  color: var(--color-blue);
}

.specs__icon-item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-navy);
}

.specs__prices,
.specs__info {
  list-style: none;
  font-size: 0.875rem;
  line-height: 2;
}

.specs__prices strong {
  color: var(--color-navy);
}

/* ========================================
   Audience
   ======================================== */
.audience {
  padding: 80px 0;
  background: var(--color-gray-50);
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.audience__card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.audience__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.audience__img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.audience__label {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy);
}

/* ========================================
   Reviews
   ======================================== */
.reviews {
  padding: 80px 0;
  background: var(--color-white);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.review-card {
  background: var(--color-gray-50);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--color-blue);
}

.review-card__text {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--color-gray-800);
  margin-bottom: 16px;
  line-height: 1.7;
}

.review-card__author {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-navy);
}

/* ========================================
   FAQ
   ======================================== */
.faq {
  padding: 80px 0;
  background: var(--color-gray-50);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq__question {
  padding: 20px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-blue);
  transition: transform var(--transition);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 24px 20px;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ========================================
   Contact
   ======================================== */
.contact {
  padding: 80px 0;
  background: var(--color-navy);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact__lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact__details {
  list-style: none;
}

.contact__details li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.contact__details-item--emails {
  align-items: flex-start;
}

.contact__emails {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.contact__details svg {
  flex-shrink: 0;
  color: var(--color-blue-light);
}

.contact__details a {
  color: var(--color-white);
  font-size: 1.0625rem;
  font-weight: 600;
}

.contact__details a:hover {
  color: var(--color-blue-light);
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success p {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label,
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.9375rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  background: var(--color-gray-50);
  transition: border-color var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  background: var(--color-white);
}

.form-row--dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.form-radio,
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-gray-800);
  cursor: pointer;
}

.form-radio input,
.form-checkbox input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-blue);
}

.form-checkbox a {
  text-decoration: underline;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-navy-dark);
  padding: 24px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__links a:hover {
  color: var(--color-white);
}

/* ========================================
   Legal placeholder pages
   ======================================== */
.legal-page {
  padding: calc(var(--header-height) + 48px) 24px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 1.75rem;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.legal-page p {
  color: var(--color-gray-600);
  margin-bottom: 16px;
}

.legal-page a {
  display: inline-block;
  margin-top: 24px;
}

/* ========================================
   Responsive - Tablet
   ======================================== */
@media (max-width: 1024px) {
  .specs__card {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 28px;
  }

  .specs__col--vehicle {
    grid-column: 1 / -1;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    box-shadow: var(--shadow-md);
  }

  .header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header__link {
    padding: 12px 16px;
    border-bottom: none;
  }

  .header__link--active {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-radius: var(--radius-sm);
  }

  .header__toggle {
    display: flex;
  }

  .audience__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .header__logo {
    font-size: 0.875rem;
  }

  .header__actions {
    gap: 8px;
  }

  .header__phone {
    font-size: 0;
  }

  .header__phone-text {
    display: none;
  }

  .header__phone svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    min-height: 420px;
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 51, 82, 0.6) 0%,
      rgba(26, 51, 82, 0.35) 60%,
      rgba(26, 51, 82, 0.15) 100%
    );
  }

  .hero__content {
    padding: 48px 24px 80px;
    max-width: 100%;
    text-align: center;
  }

  .hero__cta {
    width: 100%;
  }

  .specs {
    margin-top: -40px;
    padding-bottom: 48px;
  }

  .specs__card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }

  .specs__vehicle-row {
    flex-direction: column;
  }

  .specs__vehicle-img {
    width: 100%;
    height: 120px;
  }

  .form-row--dates {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .audience,
  .reviews,
  .faq,
  .contact {
    padding: 56px 0;
  }
}
