@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&display=swap');

:root {
  --primary: #c5a059;
  --primary-dark: #a68445;
  --primary-light: #e0cea3;
  --secondary: #1e293b;
  --secondary-light: #4b6b8a;
  /* Világosabb Slate Blue */
  /* Navy Dark */
  --accent: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;

  /* Modern Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;

  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  background-color: #f1f5f9;
  /* Slate 100 for better "box" contrast */
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-serif {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Sections */

section {
  padding: 8rem 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title span {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.section-title h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--secondary);
}

/* Modern Card / Box Solution */

.card-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 0.75rem;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

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

/* Navbar */

.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: var(--max-width);
  z-index: 1000;
  padding: 1.2rem 2.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.navbar.scrolled {
  top: 0.75rem;
  padding: 0.8rem 2.5rem;
  background: rgba(255, 255, 255, 0.95);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}

.logo span {
  color: var(--primary);
}

.logo-image-wrap {
  height: 56px;
  padding: 0.15rem 0;
}

.logo-image {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo {
  height: 84px;
}

@media (max-width: 768px) {
  .logo-image-wrap {
    height: 48px;
  }

  .footer-logo {
    height: 72px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--primary-dark);
}

.mobile-toggle {
  display: none;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

/* Mobile Menu */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem;
}

.mobile-nav-link {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}

/* Hero - Modern Floating Design */

.hero {
  min-height: 90vh;
  margin: 1rem;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--secondary);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 82% 25%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 15% 75%, rgba(14, 116, 144, 0.24) 0%, rgba(14, 116, 144, 0) 50%),
    linear-gradient(125deg, rgba(18, 34, 68, 0.86) 0%, rgba(32, 86, 150, 0.74) 48%, rgba(15, 23, 42, 0.88) 100%);
  z-index: 1;
}

/* Lighter header specifically for the homepage hero */

.home-page .hero {
  background-color: var(--secondary-light);
}

.home-page .hero-overlay {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 16% 78%, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0) 52%),
    linear-gradient(122deg, rgba(15, 31, 60, 0.84) 0%, rgba(22, 78, 144, 0.68) 46%, rgba(15, 23, 42, 0.88) 100%);
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.78);
  transform: scale(1.03);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
}

.hero-title {
  font-size: clamp(3.5rem, 8.5vw, 6.5rem);
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
}

.hero-title span {
  display: block;
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  color: #cbd5e1;
  margin-bottom: 3.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Feature Boxes */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.feature-box {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid #f1f5f9;
}

.feature-box i,
.feature-box svg {
  margin-bottom: 2rem;
  color: var(--primary);
}

.feature-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--secondary);
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Hotel Grid - Modern Visuals */

.accommodations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem;
}

@media (max-width: 500px) {
  .accommodations-grid {
    grid-template-columns: 1fr;
  }
}

.hotel-item {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.hotel-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.hotel-image-container {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.hotel-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.hotel-item:hover .hotel-image-container img {
  transform: scale(1.1);
}

.hotel-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.hotel-details {
  padding: 2.5rem;
}

.hotel-details h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.hotel-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.hotel-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hotel-link-more {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Booking - Boxed Solution */

.booking-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 480px;
  box-shadow: var(--shadow-xl);
}

@media (max-width: 1100px) {
  .booking-wrapper {
    grid-template-columns: 1fr;
  }
}

.booking-main {
  padding: 5rem;
}

.booking-sidebar {
  background: var(--secondary);
  color: var(--white);
  padding: 5rem;
}

.checkout-page-container {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

@media (max-width: 768px) {

  .booking-main,
  .booking-sidebar {
    padding: 2rem;
  }

  .checkout-page-container {
    padding-top: 9rem;
    padding-bottom: 4rem;
  }
}

.input-field {
  width: 100%;
  padding: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.input-field:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

/* Footer */

.footer {
  background-color: var(--secondary);
  color: var(--white);
  padding: 8rem 0 4rem;
  margin-top: 5rem;
}

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

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer h4 {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  color: var(--primary);
}

.footer-link-list li {
  margin-bottom: 1rem;
  opacity: 0.7;
}

.footer-link-list li:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-bottom {
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* Utility */

.text-center {
  text-align: center;
}

.mt-5 {
  margin-top: 3rem;
}

.w-full {
  width: 100%;
}

.grid-cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 600px) {
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

/* Package Detail Responsive Classes */

.package-detail-page .package-hero {
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.package-detail-page .package-hero-content {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: white;
  width: 100%;
  padding: 0 2rem;
}

.package-detail-page .package-price-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .package-detail-page .package-hero {
    height: 65vh;
  }

  .package-detail-page .package-hero-content {
    bottom: 2rem;
    padding: 0 1.25rem;
  }

  .package-detail-page .package-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.package-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}

.package-surcharges-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 400px;
}

@media (max-width: 900px) {

  .package-grid-layout,
  .package-surcharges-grid {
    grid-template-columns: 1fr;
  }

  .package-surcharges-grid {
    min-height: auto;
  }
}

.package-content {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .package-content {
    padding: 4rem 0;
  }
}

/* Argarancia Stamp */

.price-guarantee-stamp {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 120px;
  height: 120px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: rotate(15deg);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
  border: 4px double rgba(255, 255, 255, 0.3);
  z-index: 20;
  text-align: center;
  line-height: 1.2;
}

.price-guarantee-stamp span {
  font-size: 0.6rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .price-guarantee-stamp {
    width: 90px;
    height: 90px;
    font-size: 0.7rem;
    top: 50%;
    right: 5%;
    transform: translateY(-50%) rotate(10deg);
  }
}

/* Hotel Tags Styling */

.hotel-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(197, 160, 89, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.hotel-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(197, 160, 89, 0.4);
}

.hotel-tag-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.hotel-tag-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
}

@media (max-width: 768px) {
  .hotel-tag {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
  }

  .hotel-tag-large {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
}
