/* Design System for Osborne Rentals */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --color-bg: #FAF9F6;
  --color-primary: #1E382F;      /* Deep Forest Green */
  --color-primary-light: #2C4E42;
  --color-primary-dark: #12241E;
  --color-accent: #C5A880;       /* Luxurious Warm Gold */
  --color-accent-hover: #B0946B;
  --color-text: #2B3531;         /* Warm Dark Charcoal */
  --color-text-muted: #64736E;   /* Muted Green-Gray */
  --color-white: #FFFFFF;
  --color-border: #E8ECEB;
  --color-shadow: rgba(30, 56, 47, 0.06);
  --color-shadow-hover: rgba(30, 56, 47, 0.12);

  /* Fonts */
  --font-title: 'Lora', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;

  /* Layout Constants */
  --header-height: 80px;
  --max-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.25;
}

p {
  font-weight: 300;
  font-size: 1.05rem;
}

ul, ol {
  list-style: none;
}

/* Typography Helpers */
.text-center { text-align: center; }
.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

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

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

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

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

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.header.scrolled {
  box-shadow: 0 4px 20px var(--color-shadow);
  height: 70px;
}

.nav-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo-emblem {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
  background-color: var(--color-primary);
  flex-shrink: 0;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(30, 56, 47, 0.08);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.1;
  white-space: nowrap;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 2px;
  white-space: nowrap;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 550px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  padding: 0 2rem;
  margin-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  max-width: 800px;
  text-align: center;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0.9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 6.5rem 2rem;
}

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

.section-header {
  max-width: 650px;
  margin: 0 auto 4.5rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
}

/* Property Grid & Cards */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.property-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px var(--color-shadow);
  transition: var(--transition-smooth);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--color-shadow-hover);
}

.property-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.property-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.property-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.property-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.property-meta {
  display: flex;
  gap: 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.property-description {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-price {
  font-size: 1rem;
  color: var(--color-primary-dark);
}

.property-price span {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 600;
}

/* Feature/Grid Details Layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  margin-top: 2rem;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 760px;
  width: 100%;
}

.detail-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-box {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px var(--color-shadow);
  border: 1px solid var(--color-border);
}

.sidebar-box h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.rates-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rate-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--color-border);
}

.rate-label {
  font-weight: 500;
  color: var(--color-text);
}

.rate-val {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--color-primary);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: var(--color-text);
}

.features-list li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: bold;
}

/* Reviews List */
.reviews-section {
  background-color: #F1EFEA;
}

.review-card {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 1.5rem;
}

.review-quote {
  font-family: var(--font-title);
  font-size: 1.45rem;
  color: var(--color-primary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.review-author {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}

/* Interactive Galleries */
.gallery-section h2 {
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px var(--color-shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 56, 47, 0.4);
  opacity: 0;
  transition: var(--transition-fast);
  z-index: 1;
}

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

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

.gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: 1.8rem;
  opacity: 0;
  z-index: 2;
  transition: var(--transition-fast);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(18, 36, 30, 0.98);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--color-white);
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--color-accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-white);
  font-size: 3rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  transition: var(--transition-fast);
  z-index: 2001;
}

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

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input, select, textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--color-white);
  color: var(--color-text);
  transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* Contact Info Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
}

.contact-card {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px var(--color-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card h3 {
  color: var(--color-white);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.contact-card p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

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

.contact-method-item h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.2rem;
}

.contact-method-item a, .contact-method-item span {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-white);
}

.contact-method-item a:hover {
  color: var(--color-accent);
}

/* Footer */
.footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 5rem 2rem 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h2 {
  color: var(--color-white);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.footer-contact a {
  color: var(--color-white);
  font-weight: 500;
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .detail-sidebar {
    position: static;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .lightbox-prev {
    left: -40px;
  }
  .lightbox-next {
    right: -40px;
  }
}

@media (max-width: 1200px) {
  .logo {
    font-size: 1.3rem;
  }
  .logo span {
    font-size: 0.65rem;
  }
  .nav-links {
    gap: 0.9rem;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 1.5rem;
  }
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-bg);
    flex-direction: column;
    padding: 4rem 2rem;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    z-index: 999;
    border-top: 1px solid var(--color-border);
  }
  .nav-links.active {
    left: 0;
  }
  .nav-links a {
    font-size: 1.25rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Availability Calendar Widget */
.calendar-section {
  margin-top: 3rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2.5rem;
}

.calendar-section h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.calendar-section p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.calendar-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.calendar-month {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  box-shadow: 0 4px 15px var(--color-shadow);
}

.calendar-month-header {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.4rem;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day-cell {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: default;
  transition: var(--transition-fast);
}

.calendar-day-cell.empty {
  background: transparent;
  box-shadow: none;
}

.calendar-day-cell.available {
  background-color: #ffffff;
  color: var(--color-primary);
  font-weight: 500;
  border: 1px solid var(--color-border);
}

.calendar-day-cell.available:hover {
  border-color: var(--color-accent);
  background-color: #FAF9F6;
}

.calendar-day-cell.booked {
  background-color: #f3f4f6;
  color: #9ca3af;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.7;
}

.calendar-day-cell.today {
  border: 2px solid var(--color-accent);
}

.calendar-day-cell.booked::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 4px,
    rgba(30, 56, 47, 0.05) 4px,
    rgba(30, 56, 47, 0.05) 8px
  );
  border-radius: 4px;
}

.calendar-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

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

.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--color-border);
}

.legend-color.avail {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
}

.legend-color.bk {
  background-color: #f3f4f6;
  position: relative;
}

.legend-color.bk::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(30, 56, 47, 0.08) 2px,
    rgba(30, 56, 47, 0.08) 4px
  );
}

/* Accommodations Navigation Dropdown styling */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0;
}

.nav-dropdown-trigger .arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger .arrow {
  transform: rotate(180deg);
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-white);
  min-width: 290px;
  box-shadow: 0 10px 30px rgba(30, 56, 47, 0.12);
  border-radius: var(--radius-md);
  padding: 0.8rem 0;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  border: 1px solid var(--color-border);
  z-index: 1000;
  margin-top: 0;
}

.nav-dropdown-content::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
  opacity: 1;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  gap: 1rem;
  transition: background-color 0.2s, color 0.2s;
  color: var(--color-primary);
  text-decoration: none;
  text-align: left;
}

.nav-dropdown-item:hover {
  background-color: #FAF9F6;
  color: var(--color-accent);
}

.nav-dropdown-item img {
  width: 48px;
  height: 34px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.nav-dropdown-item span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-trigger {
    padding: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent);
    pointer-events: none;
    margin-bottom: 0.8rem;
  }
  .nav-dropdown-trigger .arrow {
    display: none;
  }
  .nav-dropdown-content {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    display: block !important;
    opacity: 1 !important;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .nav-dropdown-item {
    padding: 0.5rem 0;
    gap: 0.8rem;
  }
  .nav-dropdown-item img {
    width: 44px;
    height: 30px;
  }
  .nav-dropdown-item span {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-text);
  }
}

/* Calendar scrolling container */
.calendar-scroll-container {
  max-height: 540px; /* Fits exactly two months of calendar grids */
  overflow-y: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  background-color: var(--color-white);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.02);
  margin-bottom: 1.5rem;
}

/* Custom scrollbar styling for the calendar */
.calendar-scroll-container::-webkit-scrollbar {
  width: 6px;
}
.calendar-scroll-container::-webkit-scrollbar-track {
  background: transparent;
}
.calendar-scroll-container::-webkit-scrollbar-thumb {
  background-color: rgba(30, 56, 47, 0.15);
  border-radius: 3px;
}
.calendar-scroll-container::-webkit-scrollbar-thumb:hover {
  background-color: rgba(30, 56, 47, 0.3);
}
