/* ========================================
   Vienna Tours — Stylesheet
   ======================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --gold-dark: #a07e2e;
  --dark: #1a1a2e;
  --dark-light: #2d2d44;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--dark);
}

/* ---- Section Defaults ---- */
.section {
  padding: 100px 0;
}

.section:nth-child(even) {
  background: var(--off-white);
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--dark);
}

.section__subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 60px;
}

/* ---- Header / Nav ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition);
}

.header--scrolled {
  background: rgba(26, 26, 46, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
}

.nav__logo:hover {
  color: var(--gold-light);
}

.nav__logo-icon {
  color: var(--gold);
  font-size: 1.5rem;
}

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

.nav__link {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav__link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav__link--cta {
  background: var(--gold);
  color: var(--dark);
  font-weight: 600;
}

.nav__link--cta:hover {
  background: var(--gold-light);
  color: var(--dark);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, #1a1a2e 0%, #2d2d44 30%, #4a3728 60%, #1a1a2e 100%);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(201,168,76,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(201,168,76,0.1) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 120px 20px 80px;
}

.hero__subtitle {
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero__text {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.hero__cta {
  font-size: 1.1rem;
  padding: 16px 40px;
}

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.about__photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about__name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.about__tagline {
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 20px;
}

.about__bio {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__stats {
  display: flex;
  gap: 40px;
  margin: 30px 0 20px;
}

.about__stat {
  text-align: center;
}

.about__stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.about__stat-label {
  font-size: 0.85rem;
  color: var(--gray);
}

.about__languages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.about__language {
  background: var(--off-white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--dark);
}

/* ---- Tours ---- */
.tours__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tour-card__image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.tour-card__content {
  padding: 24px;
}

.tour-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.tour-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.tour-card__duration {
  color: var(--gray);
  font-size: 0.9rem;
}

.tour-card__price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.tour-card__desc {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tour-card__btn {
  width: 100%;
  display: block;
}

/* ---- Gallery ---- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery__item {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition);
}

.gallery__item:hover {
  transform: scale(1.03);
}

.gallery__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
}

.gallery__placeholder--1 { background: linear-gradient(135deg, #8b6f47, #1a1a2e, #c9a84c); }
.gallery__placeholder--2 { background: linear-gradient(135deg, #4a7c59, #c9a84c, #2d5a27); }
.gallery__placeholder--3 { background: linear-gradient(135deg, #6b4226, #d4a76a, #3e2723); }
.gallery__placeholder--4 { background: linear-gradient(135deg, #2d2d44, #c9a84c, #1a1a2e); }
.gallery__placeholder--5 { background: linear-gradient(135deg, #558b2f, #aed581, #33691e); }
.gallery__placeholder--6 { background: linear-gradient(135deg, #8b2252, #e8d48b, #4a1942); }
.gallery__placeholder--7 { background: linear-gradient(135deg, #90caf9, #e3f2fd, #42a5f5); }
.gallery__placeholder--8 { background: linear-gradient(135deg, #ff8a65, #ffccbc, #d84315); }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox--open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__content {
  text-align: center;
  max-width: 800px;
  width: 90%;
}

.lightbox__image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.lightbox__caption {
  color: var(--white);
  font-size: 1.1rem;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 12px;
  transition: color var(--transition);
  z-index: 2001;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  color: var(--gold);
}

.lightbox__close {
  top: 20px;
  right: 30px;
  font-size: 3rem;
}

.lightbox__prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--dark) !important;
  color: var(--white);
}

.testimonials .section__title {
  color: var(--white);
}

.testimonials .section__subtitle {
  color: rgba(255,255,255,0.6);
}

.testimonials__carousel {
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial__stars {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.testimonial__text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial__avatar--1 { background: linear-gradient(135deg, #c9a84c, #8b6f47); }
.testimonial__avatar--2 { background: linear-gradient(135deg, #4a7c59, #87ceeb); }
.testimonial__avatar--3 { background: linear-gradient(135deg, #8b2252, #e8d48b); }
.testimonial__avatar--4 { background: linear-gradient(135deg, #42a5f5, #90caf9); }

.testimonial__name {
  font-weight: 600;
  font-size: 1rem;
}

.testimonial__origin {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.testimonials__btn {
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials__btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.testimonials__dot--active {
  background: var(--gold);
  transform: scale(1.2);
}

/* ---- Pricing ---- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.pricing__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
}

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

.pricing__card--featured {
  border-color: var(--gold);
  transform: scale(1.05);
}

.pricing__card--featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 20px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing__tier {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing__desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing__price {
  margin-bottom: 30px;
}

.pricing__amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark);
}

.pricing__unit {
  display: block;
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 4px;
}

.pricing__features {
  text-align: left;
  margin-bottom: 30px;
}

.pricing__features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
  color: var(--gray);
  font-size: 0.95rem;
}

.pricing__features li::before {
  content: '✓ ';
  color: var(--gold-dark);
  font-weight: 700;
}

.pricing__btn {
  width: 100%;
}

/* ---- Contact ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form__input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--white);
}

.form__input:focus {
  outline: none;
  border-color: var(--gold);
}

.form__input--error {
  border-color: #e53e3e;
}

.form__error {
  color: #e53e3e;
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

.form__success {
  margin-top: 20px;
  padding: 16px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  color: #166534;
  font-weight: 600;
  display: none;
}

.form__success--visible {
  display: block;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 10px;
}

.contact__detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__icon {
  font-size: 1.5rem;
  color: var(--gold-dark);
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.contact__detail h4 {
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.contact__detail a,
.contact__detail p {
  color: var(--gray);
  font-size: 0.95rem;
}

.contact__detail a:hover {
  color: var(--gold-dark);
}

.contact__social {
  margin-top: 10px;
}

.contact__social h4 {
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.contact__social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-link {
  color: var(--gray);
  font-size: 0.95rem;
}

.social-link:hover {
  color: var(--gold-dark);
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand .nav__logo-text {
  color: var(--white);
}

.footer__tagline {
  margin-top: 8px;
  font-size: 0.9rem;
}

.footer__links h4,
.footer__social h4 {
  color: var(--white);
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.footer__links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  display: block;
  padding: 4px 0;
}

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

.footer__social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__social-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer__social-links a:hover {
  color: var(--gold-light);
}

.footer__bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ---- Scroll Animations ---- */
.animate-target {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing__card--featured {
    transform: none;
  }

  .pricing__card--featured:hover {
    transform: translateY(-6px);
  }

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

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .section__title {
    font-size: 2rem;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__text {
    font-size: 1rem;
  }

  /* Mobile nav */
  .nav__hamburger {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .nav__menu--open {
    transform: translateY(0);
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__photo {
    max-width: 300px;
    margin: 0 auto;
  }

  .about__stats {
    justify-content: center;
  }

  .about__languages {
    justify-content: center;
  }

  /* Tours */
  .tours__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .about__stats {
    gap: 24px;
  }

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