/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #c41e3a;
  --primary-hover: #a01828;
  --accent-color: #ff4757;
  --text-dark: #1a1a1a;
  --text-gray: #666;
  --text-light: #999;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  line-height: 1.2;
}

.icon {
  width: 20px;
  height: 20px;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-narrow {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.top-bar {
  border-bottom: 1px solid var(--border-color);
}

.top-bar-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  padding: 0.625rem 0;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 300;
  transition: color 0.3s;
}

.phone-link:hover {
  color: var(--primary-color);
}

.phone-link .icon {
  width: 14px;
  height: 14px;
}

.social-link {
  color: var(--text-light);
  transition: color 0.3s;
}

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

.social-link .icon {
  width: 16px;
  height: 16px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.8;
}

.logo-name {
  font-family: "Playfair Display", serif;
  font-size: 2.625rem;
  color: var(--primary-color);
  font-style: italic;
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.625rem;
  color: var(--text-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  font-weight: 300;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-dark);
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 1px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.search-btn {
  margin-left: 0.5rem;
  padding: 0.5rem;
  color: var(--text-dark);
  transition: color 0.3s;
}

.search-btn:hover {
  color: var(--primary-color);
}

.search-btn .icon {
  width: 18px;
  height: 18px;
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  color: var(--text-dark);
  transition: color 0.3s;
}

.mobile-menu-btn:hover {
  color: var(--primary-color);
}

.mobile-menu-btn .icon {
  width: 24px;
  height: 24px;
}

.mobile-menu-btn .close-icon {
  display: none;
}

.mobile-menu-btn.active .menu-icon {
  display: none;
}

.mobile-menu-btn.active .close-icon {
  display: block;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--border-color);
}

.nav-mobile.active {
  display: flex;
}

.nav-link-mobile {
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-dark);
  transition: all 0.3s;
  border-radius: 0.375rem;
}

.nav-link-mobile:hover {
  color: var(--primary-color);
  background-color: var(--bg-light);
}

.search-btn-mobile {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem;
  margin-top: 0.5rem;
  color: var(--text-dark);
  transition: all 0.3s;
  border-radius: 0.375rem;
}

.search-btn-mobile:hover {
  color: var(--primary-color);
  background-color: var(--bg-light);
}

.search-btn-mobile .icon {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
  padding: 0.75rem;
  border-radius: 0.375rem;
  transition: background-color 0.3s;
  z-index: 10;
}

.slider-btn:hover {
  background-color: rgba(255, 255, 255, 1);
}

.slider-btn.prev {
  left: 1rem;
}

.slider-btn.next {
  right: 1rem;
}

.slider-btn .icon {
  width: 24px;
  height: 24px;
}

.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s;
}

.dot.active {
  background-color: rgba(255, 255, 255, 1);
}

/* Quote Banner */
.quote-banner {
  background-color: var(--accent-color);
  padding: 2rem 1rem;
}

.quote-text {
  color: white;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

/* Intro Section */
.intro-section {
  padding: 3rem 1rem;
  background-color: var(--bg-white);
}

.intro-header {
  text-align: center;
  margin-bottom: 2rem;
}

.intro-subtitle {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.intro-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.divider {
  width: 64px;
  height: 1px;
  background-color: var(--border-color);
  margin: 0 auto;
}

.intro-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Tours Section */
.tours-section {
  padding: 3rem 1rem;
  background-color: rgba(248, 249, 250, 0.5);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.section-subtitle-large {
  font-size: 1.25rem;
  color: var(--text-gray);
  font-weight: 300;
}

.tours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.tour-card {
  background-color: var(--bg-white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.3s;  
}

.tour-card h3
{
  text-shadow: 0px 0px 10px black !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);  
  width: fit-content;
  padding: 0.5rem;
  border-radius: 5px;
}

.tour-card:hover {
  box-shadow: var(--shadow-xl);
}

.tour-image {
  position: relative;
  height: 256px;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.tour-card:hover .tour-image img {
  transform: scale(1.05);
}

.tour-overlay {
  position: absolute;
  inset: 0;
}

.tour-title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: white;
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
  font-style: italic;
}

.tour-description {
  padding: 1.5rem;
}

.tour-description p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* Itinerari Section */
.itinerari-section {
  padding: 4rem 1rem;
  background-color: var(--bg-white);
}

.itinerari-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.itinerari-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.5rem;
  display: block;
}

.itinerari-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.itinerari-card:hover img {
  transform: scale(1.1);
}

.itinerari-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.itinerari-title {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: white;
  font-size: 1.875rem;
  font-family: "Playfair Display", serif;
}

/* Puzzle Section */
.puzzle-section {
  padding: 4rem 1rem;
  background-color: rgba(248, 249, 250, 0.5);
}

.puzzle-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 768px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
}

.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.puzzle-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
}

.puzzle-item.tall {
  grid-row: span 2;
}

.puzzle-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s;
}

.puzzle-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.puzzle-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s;
}

.puzzle-item:hover .puzzle-overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

/* Page Hero */
.page-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.page-hero-small {
  height: 400px;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.page-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.page-hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-style: italic;
  color: white;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

/* Chi Sono Page */
.chi-sono-content {
  padding: 4rem 1rem;
}

.chi-sono-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.chi-sono-image {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.chi-sono-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
}

.chi-sono-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chi-sono-name {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  color: var(--primary-color);
  font-style: italic;
  margin-bottom: 1rem;
}

.chi-sono-role {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.chi-sono-bio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.chi-sono-qualifications {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.qualifications-title {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--primary-color);
  font-style: italic;
  margin-bottom: 1rem;
}

.qualifications-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qualifications-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-dark);
}

.qualifications-list li::before {
  content: "•";
  color: var(--primary-color);
  margin-top: 0.25rem;
}

/* Gallery Page */
.gallery-content {
  padding: 4rem 1rem;
}

.gallery-category {
  margin-bottom: 5rem;
}

.gallery-category:last-child {
  margin-bottom: 0;
}

.gallery-category-title {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  color: var(--primary-color);
  font-style: italic;
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.gallery-item:hover {
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s;
}

.gallery-item:hover .gallery-overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

/* Contact Page */
.contact-content {
  padding: 4rem 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-heading {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  color: var(--primary-color);
  font-style: italic;
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(196, 30, 58, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon .icon {
  color: var(--primary-color);
}

.contact-item-title {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-link {
  color: var(--text-gray);
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--primary-color);
}

.contact-text {
  color: var(--text-gray);
}

.contact-social {
  margin-bottom: 2.5rem;
}

.contact-social-title {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-social-links {
  display: flex;
  gap: 1rem;
}

.social-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(196, 30, 58, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s;
}

.social-circle:hover {
  background-color: var(--primary-color);
  color: white;
}

.contact-hours {
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: 0.5rem;
}

.contact-hours-title {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.contact-hours-text {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-textarea {
  resize: none;
}

.form-submit {
  width: 100%;
  height: 48px;
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.3s;
}

.form-submit:hover {
  background-color: var(--primary-hover);
}

.form-submit .icon {
  width: 16px;
  height: 16px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links,
.footer-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-contacts a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: white;
}

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contacts .icon {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (min-width: 768px) {
  .logo-name {
    font-size: 3rem;
  }

  .logo-subtitle {
    font-size: 0.75rem;
  }

  .hero-slider {
    height: 500px;
  }

  .quote-text {
    font-size: 1.5rem;
  }

  .intro-section {
    padding: 4rem 1rem;
  }

  .intro-title {
    font-size: 3rem;
  }

  .tours-section,
  .itinerari-section,
  .puzzle-section {
    padding: 4rem 1rem;
  }

  .section-title {
    font-size: 2.75rem;
  }

  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .itinerari-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .puzzle-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-hero {
    height: 500px;
  }

  .page-hero-title {
    font-size: 3.75rem;
  }

  .chi-sono-grid {
    grid-template-columns: 300px 1fr;
    gap: 3rem;
  }

  .chi-sono-name {
    font-size: 2.75rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .nav-bar {
    padding: 1.5rem 0;
  }

  .mobile-menu-btn {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .nav-mobile {
    display: none !important;
  }

  .hero-slider {
    height: 600px;
  }

  .quote-text {
    font-size: 1.875rem;
  }

  .intro-section {
    padding: 5rem 1.5rem;
  }

  .intro-title {
    font-size: 3.75rem;
  }

  .tours-section,
  .itinerari-section,
  .puzzle-section {
    padding: 5rem 1.5rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .tours-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .itinerari-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-hero-title {
    font-size: 4.5rem;
  }

  .chi-sono-content,
  .gallery-content,
  .contact-content {
    padding: 5rem 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .logo-name {
    font-size: 2.625rem;
  }
}
