/* ==========================================================================
   VILLA PIERA - PREMIUM STYLE SHEET
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

/* --- Design Variables --- */
:root {
  /* Color Palette */
  --bg-primary: #0a0a0b;
  --bg-secondary: #121214;
  --bg-card: #19191d;
  --bg-overlay: rgba(10, 10, 11, 0.75);
  --bg-nav: rgba(10, 10, 11, 0.85);

  --color-gold: #c5a880;
  --color-gold-light: #e0caaa;
  --color-gold-dark: #a3855e;
  --color-gold-rgb: 197, 168, 128;

  --text-primary: #f4f4f6;
  --text-secondary: #a1a1a8;
  --text-muted: #6e6e73;
  --text-dark: #0a0a0b;
  --border-color: rgba(255, 255, 255, 0.08);

  --color-booked: #e06c75;

  /* Fonts */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout & Spacing */
  --max-width: 1280px;
  --header-height: 90px;
  --header-height-shrunk: 70px;

  /* Transitions & FX */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.5);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.3);
  --glow-gold: 0 0 15px rgba(197, 168, 128, 0.2);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body,
#app,
.app-wrapper {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  font-weight: 300;
}

#app,
.app-wrapper {
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border: 2px solid var(--bg-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: keep-all;
  hyphens: none;
}

p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: keep-all;
  hyphens: none;
}

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

ul {
  list-style: none;
}

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

input,
textarea,
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
  overflow-x: hidden;
}

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

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background-color: var(--color-gold);
  margin: 1.5rem auto 0;
}

/* Luxury buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn-primary:hover {
  color: var(--text-dark);
  box-shadow: var(--glow-gold);
  letter-spacing: 0.22em;
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn-outline:hover {
  color: var(--text-dark);
  border-color: var(--text-primary);
}

.btn-outline:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-gold-outline {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}

.btn-gold-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

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

.btn-gold-outline:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  z-index: 1000;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  height: calc(var(--header-height-shrunk) + env(safe-area-inset-top, 0px));
  background-color: var(--bg-nav);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 4.5vw, 1.8rem);
  letter-spacing: 0.1em;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.logo-gold {
  color: var(--color-gold);
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.navbar-cta {
  display: block;
}

/* Mobile Hamburger Menu */
.burger-menu {
  display: none;
  cursor: pointer;
  z-index: 1001;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
}

.burger-line {
  width: 24px;
  height: 1px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  height: 100vh;
  height: 100dvh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: url('../images/hero_villa.png') no-repeat center center/cover;
  transform: scale(1.05);
  animation: zoomBg 20s infinite alternate ease-in-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(10, 10, 11, 0.4) 0%, rgba(10, 10, 11, 0.85) 100%), var(--bg-overlay);
  z-index: -1;
}

.hero-content {
  max-width: 850px;
  padding: 0 2rem;
}

.hero-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  display: inline-block;
  font-weight: 500;
  animation: fadeInUp 1s ease forwards;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  line-height: 1.15;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-text {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 3.5rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.7;
  animation: fadeInUp 1.4s ease forwards;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  animation: fadeInUp 1.6s ease forwards;
}

/* Animations */
@keyframes zoomBg {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.15);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
#about {
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  font-weight: 350;
}

.about-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

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

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

.about-feature-icon {
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.about-feature-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.about-feature-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.about-images-wrapper {
  position: relative;
  height: 500px;
}

.about-img-main {
  width: 80%;
  height: 400px;
  object-fit: cover;
  border: 1px solid rgba(197, 168, 128, 0.2);
  box-shadow: var(--shadow-premium);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transition: var(--transition-smooth);
}

.about-img-sub {
  width: 65%;
  height: 300px;
  object-fit: cover;
  border: 1px solid rgba(197, 168, 128, 0.2);
  box-shadow: var(--shadow-premium);
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
  transition: var(--transition-smooth);
}

.about-images-wrapper:hover .about-img-main {
  transform: translate(-10px, -10px) scale(1.02);
}

.about-images-wrapper:hover .about-img-sub {
  transform: translate(10px, 10px) scale(1.02);
}

.about-img-backdrop {
  position: absolute;
  width: 50%;
  height: 60%;
  border: 1px solid var(--color-gold);
  top: 15%;
  left: 25%;
  z-index: 1;
  opacity: 0.3;
}


/* ==========================================================================
   INTERACTIVE PHOTO GALLERY
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.filter-btn {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem 1rem;
  position: relative;
  transition: var(--transition-fast);
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

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

.filter-btn.active {
  color: var(--color-gold);
}

.filter-btn.active::after {
  width: 60%;
}

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

.gallery-item {
  position: relative;
  height: 380px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.gallery-item.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.9);
}

.gallery-item.visible {
  display: block;
  animation: itemFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes itemFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.9) 0%, rgba(10, 10, 11, 0.2) 60%, rgba(10, 10, 11, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-info {
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.gallery-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.gallery-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.gallery-icon-view {
  font-size: 1.2rem;
  color: var(--text-primary);
  opacity: 0.8;
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 11, 0.98);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  margin-top: 1.5rem;
  text-align: center;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.lightbox-cat {
  font-size: 0.75rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 1rem;
  z-index: 2001;
}

.lightbox-nav:hover {
  color: var(--color-gold);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

/* ==========================================================================
   PREMIUM FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
  background-color: var(--bg-primary);
}

.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.05));
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(197, 168, 128, 0.35);
  box-shadow: var(--shadow-subtle);
}

.faq-question {
  width: 100%;
  padding: 1.8rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary);
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-gold);
}

.faq-icon {
  font-size: 0.95rem;
  color: var(--color-gold);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.faq-answer-content {
  padding: 0 2.2rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.light-theme .faq-item {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.light-theme .faq-item:hover {
  border-color: rgba(197, 168, 128, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   CONTACT, LOCATION, & CALENDAR SECTION
   ========================================================================== */
.contact-section {
  background-color: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.contact-info-text .about-heading {
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.contact-icon {
  font-size: 1.3rem;
  color: var(--color-gold);
  margin-top: 0.3rem;
  width: 25px;
  text-align: center;
}

.contact-item-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.contact-item-value {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Google Map styling */
.map-container {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-subtle);
  background-color: var(--bg-card);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(18, 18, 20, 0.6) 0%, rgba(10, 10, 11, 1) 100%), url('../images/vanjski_dio_kuce_bazen.jpg') no-repeat center center/cover;
  opacity: 0.9;
  text-align: center;
  padding: 2rem;
}

.map-placeholder-icon {
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.map-placeholder-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.map-placeholder-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

/* Minimalist Form Styles with Custom Calendar */
.contact-form {
  background-color: var(--bg-card);
  padding: 4rem 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-premium);
  position: relative;
}

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

.form-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
  font-weight: 300;
  letter-spacing: 0.05em;
  background: transparent;
}

.form-input:focus {
  border-bottom-color: var(--color-gold);
}

.form-label {
  position: absolute;
  top: 0.8rem;
  left: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-fast);
  letter-spacing: 0.05em;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
  top: -1.2rem;
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
}

textarea.form-input {
  min-height: 100px;
  resize: none;
}

/* ------------------------------------------------------------------------
   CUSTOM CALENDAR WIDGET STYLES
   ------------------------------------------------------------------------ */
.calendar-group {
  margin-bottom: 2.5rem;
}

.calendar-group-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

.calendar-widget {
  background-color: rgba(10, 10, 11, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 4px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.calendar-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  font-weight: 400;
}

.calendar-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.calendar-nav-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

.calendar-weekday {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 500;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calendar-day {
  font-size: 0.8rem;
  aspect-ratio: 1;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day.empty {
  cursor: default;
  pointer-events: none;
}

.calendar-day.available:hover {
  background-color: rgba(197, 168, 128, 0.2);
  color: var(--color-gold-light);
}

.calendar-day.booked {
  color: var(--text-muted);
  background-color: rgba(224, 108, 117, 0.08);
  text-decoration: line-through;
  pointer-events: none;
  cursor: not-allowed;
}

.calendar-day.booked::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 46%, rgba(224, 108, 117, 0.3) 49%, rgba(224, 108, 117, 0.3) 51%, transparent 54%);
}

.calendar-day.selected-start,
.calendar-day.selected-end {
  background-color: var(--color-gold) !important;
  color: var(--text-dark) !important;
  font-weight: 600;
  border-radius: 2px;
}

.calendar-day.in-range {
  background-color: rgba(197, 168, 128, 0.15);
  color: var(--text-primary);
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.legend-color.available {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.legend-color.booked {
  background-color: rgba(224, 108, 117, 0.15);
  border: 1px solid rgba(224, 108, 117, 0.3);
}

.legend-color.selected {
  background-color: var(--color-gold);
}

.submit-container {
  display: flex;
  flex-direction: column;
}

/* Success Overlay for Submission */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 10;
  padding: 3rem;
  text-align: center;
}

.form-success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.success-icon {
  font-size: 3.5rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  transform: scale(0.7);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-success-overlay.active .success-icon {
  transform: scale(1);
}

.success-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-message {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  letter-spacing: 0.1em;
  font-weight: 400;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-icon:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-studio {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.footer-studio-link {
  color: var(--color-gold);
  font-weight: 500;
}

.footer-studio-link:hover {
  color: var(--color-gold-light);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.reveal-up {
  transform: translateY(60px);
}

.reveal.reveal-left {
  transform: translateX(-60px);
}

.reveal.reveal-right {
  transform: translateX(60px);
}

.reveal.reveal-scale {
  transform: scale(0.95);
}

.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delays */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-500 {
  transition-delay: 500ms;
}

/* Media Queries moved to the bottom of stylesheet */

/* ==========================================================================
   THEME TOGGLE & LANGUAGE SWITCHER STYLES
   ========================================================================== */
.navbar-controls {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid rgba(197, 168, 128, 0.25);
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
  background-color: rgba(197, 168, 128, 0.05);
  transform: scale(1.05);
}

/* Default (Dark theme): show sun icon, hide moon icon */
.theme-toggle-btn .light-icon {
  display: block;
}
.theme-toggle-btn .dark-icon {
  display: none;
}

/* Light theme: show moon icon, hide sun icon */
.light-theme .theme-toggle-btn .light-icon {
  display: none;
}
.light-theme .theme-toggle-btn .dark-icon {
  display: block;
}

/* Language Dropdown */
.lang-switcher {
  position: relative;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.25rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  color: var(--color-gold);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: var(--bg-card);
  border: 1px solid rgba(197, 168, 128, 0.2);
  box-shadow: var(--shadow-premium);
  border-radius: 4px;
  padding: 0.5rem 0;
  min-width: 120px;
  display: none;
  flex-direction: column;
  z-index: 1010;
}

.lang-dropdown.active {
  display: flex;
  animation: dropdownFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lang-dropdown li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  text-align: left;
}

.lang-dropdown li a:hover {
  color: var(--color-gold);
  background-color: rgba(197, 168, 128, 0.05);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================================
   LIGHT THEME OVERRIDES
   ========================================================================== */
.light-theme {
  --bg-primary: #fbfaf7;
  --bg-secondary: #f3f0e8;
  --bg-card: #ffffff;
  --bg-overlay: rgba(251, 250, 247, 0.8);
  --bg-nav: rgba(251, 250, 247, 0.95);

  --text-primary: #1c1b1a;
  --text-secondary: #5e5c57;
  --text-muted: #8c8982;

  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.06);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.03);
  --border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .navbar.scrolled {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.light-theme .btn-outline {
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.light-theme .btn-outline:hover {
  color: var(--bg-primary);
}

.light-theme .btn-outline::before {
  background-color: var(--text-primary);
}

.light-theme .burger-line {
  background-color: var(--text-primary);
}

.light-theme .hero-overlay {
  background: radial-gradient(circle, rgba(251, 250, 247, 0.3) 0%, rgba(251, 250, 247, 0.85) 100%), var(--bg-overlay);
}

.light-theme .about-img-main,
.light-theme .about-img-sub {
  border: 1px solid rgba(197, 168, 128, 0.15);
}

.light-theme .gallery-item {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.light-theme .gallery-overlay {
  background: linear-gradient(to top, rgba(251, 250, 247, 0.95) 0%, rgba(251, 250, 247, 0.2) 60%, rgba(251, 250, 247, 0) 100%);
}

.light-theme .gallery-info .gallery-category {
  color: var(--color-gold-dark);
}

.light-theme .gallery-icon-view {
  color: var(--text-primary);
}

.light-theme .map-container {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.light-theme .map-placeholder {
  background: radial-gradient(circle, rgba(243, 240, 232, 0.7) 0%, rgba(251, 250, 247, 1) 100%), url('../images/vanjski_dio_kuce_bazen.jpg') no-repeat center center/cover;
}

.light-theme .contact-form {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.light-theme .form-input {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.light-theme .form-input:focus {
  border-bottom-color: var(--color-gold);
}

.light-theme .calendar-widget {
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.light-theme .calendar-nav-btn {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.light-theme .calendar-nav-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.light-theme .calendar-weekday {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.light-theme .calendar-day.available:hover {
  background-color: rgba(197, 168, 128, 0.15);
  color: var(--color-gold-dark);
}

.light-theme .calendar-day.booked {
  color: var(--text-muted);
  background-color: rgba(224, 108, 117, 0.05);
}

.light-theme .calendar-day.booked::after {
  background: linear-gradient(45deg, transparent 46%, rgba(224, 108, 117, 0.2) 49%, rgba(224, 108, 117, 0.2) 51%, transparent 54%);
}

.light-theme .calendar-day.selected-start,
.light-theme .calendar-day.selected-end {
  background-color: var(--color-gold) !important;
  color: #ffffff !important;
}

.light-theme .calendar-day.in-range {
  background-color: rgba(197, 168, 128, 0.1);
  color: var(--text-primary);
}

.light-theme .legend-color.available {
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.light-theme .legend-color.booked {
  background-color: rgba(224, 108, 117, 0.1);
  border: 1px solid rgba(224, 108, 117, 0.2);
}

.light-theme .footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.light-theme .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.light-theme .social-icon {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.light-theme #checkInText,
.light-theme #checkOutText {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
}

/* Gallery row limiting & filtering display classes */
.gallery-item.filtered-out,
.gallery-item.gallery-hidden {
  display: none !important;
}

/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translate(-50%, calc(100% + 2rem + env(safe-area-inset-bottom, 0px)));
  width: 90%;
  max-width: 700px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow-premium);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, visibility 0.6s;
  backdrop-filter: blur(10px);
}

.cookie-banner.active {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.cookie-banner-content {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.cookie-icon-wrapper {
  color: var(--color-gold);
  font-size: 1.8rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.cookie-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cookie-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.cookie-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .cookie-banner-actions {
    width: auto;
  }
}

.cookie-banner-actions .btn {
  flex: 1;
  padding: 0.8rem 1.5rem;
  font-size: 0.8rem;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .cookie-banner-actions .btn {
    flex: none;
  }
}

/* Cookie Modal Overlay */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}

.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-overlay);
  backdrop-filter: blur(5px);
}

.cookie-modal-content {
  position: relative;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 90%;
  max-width: 550px;
  padding: 2.2rem;
  box-shadow: var(--shadow-premium);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cookie-modal-close:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}

.cookie-modal-title {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-top: 0.5rem;
}

.cookie-modal-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cookie-options-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cookie-option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem;
  background-color: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.cookie-option-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cookie-option-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.cookie-option-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.cookie-status-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gold);
  background-color: rgba(197, 168, 128, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* Custom CSS Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
  border-radius: 24px;
  border: 1px solid var(--border-color);
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-secondary);
  transition: var(--transition-fast);
  border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
  background-color: var(--text-dark);
}

.cookie-modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.cookie-modal-actions .btn {
  flex: 1;
  padding: 0.9rem;
  font-size: 0.85rem;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Laptops / Desktops (<1200px) */
@media (max-width: 1200px) {
  .section-title {
    font-size: 2.6rem;
  }

  .about-grid {
    gap: 4rem;
  }

  .contact-grid {
    gap: 4rem;
  }
}

/* Tablets / Ipads (<992px) */
@media (max-width: 992px) {
  :root {
    --header-height: 80px;
  }

  .section {
    padding: 6rem 0;
  }

  #about {
    padding: 3rem 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .about-images-wrapper {
    height: 450px;
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
  }

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

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

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

  .footer-brand {
    grid-column: span 2;
  }

  /* Hamburger Navigation Collapse */
  .navbar-cta {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: calc(3rem + env(safe-area-inset-top, 0px)) 2rem calc(2rem + env(safe-area-inset-bottom, 0px));
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s, opacity 0.5s;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.active {
    right: 0;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.1rem;
    letter-spacing: 0.25em;
  }

  .navbar-controls {
    margin-left: auto;
    margin-right: 1.5rem;
    gap: 0.8rem;
  }

  .lang-dropdown {
    right: auto;
    left: -40px;
  }

  .theme-toggle-btn {
    display: none;
  }
}

/* Mobile Devices (<768px) */
@media (max-width: 768px) {

  .container {
    padding: 0 1.25rem;
  }

  .about-grid {
    gap: 2.5rem;
  }

  .contact-grid {
    gap: 2.5rem;
  }

  .calendar-widget {
    padding: 1rem;
  }

  .calendar-nav-btn {
    width: 38px;
    height: 38px;
  }

  .hero-text {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  .btn {
    width: 100%;
  }

  .gallery-filters {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .gallery-item {
    height: 320px;
  }

  .contact-form {
    padding: 3rem 2rem;
  }

  .booking-dates-grid {
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
  }

  .lightbox-prev {
    left: 1.25rem;
  }

  .lightbox-next {
    right: 1.25rem;
  }

  .hero-content {
    padding: 0 1.25rem;
  }
}

/* Small Mobile Devices / Landscapes (<576px) */
@media (max-width: 576px) {
  .booking-dates-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .contact-form {
    padding: 2.5rem 1.5rem;
  }
}

/* Extra Small Mobile Devices (<480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .section {
    padding: 5rem 0;
  }

  #about {
    padding: 2.5rem 0;
  }

  .about-grid {
    gap: 2rem;
  }

  .contact-grid {
    gap: 2rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-images-wrapper {
    height: 320px;
  }

  .about-img-main {
    height: 260px;
  }

  .about-img-sub {
    height: 180px;
  }

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

  .contact-form {
    padding: 2rem 1rem;
  }

  .calendar-widget {
    padding: 0.75rem;
  }

  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    font-size: 0.75rem;
  }

  .calendar-legend {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .calendar-nav-btn {
    width: 40px;
    height: 40px;
  }
}

/* Tiny Mobile Viewports (<360px) */
@media (max-width: 360px) {
  .about-images-wrapper {
    height: 280px;
  }

  .about-img-main {
    height: 220px;
  }

  .about-img-sub {
    height: 160px;
  }

  .calendar-widget {
    padding: 0.5rem;
  }

  .calendar-grid {
    gap: 2px;
  }
}




