/* ==========================================================================
   Grand Horizon Hotel & Spa — Global Stylesheet
   ========================================================================== */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colours */
  --bg-primary:    #0c0c14;
  --bg-alt:        #10101a;
  --bg-card:       #141420;
  --bg-footer:     #08080e;
  --bg-nav:        rgba(12, 12, 20, 0.98);

  --text:          #d4cfc8;
  --text-heading:  #f0ece4;
  --text-muted:    rgba(212, 207, 200, 0.55);

  --accent:        #b09060;
  --accent-hover:  #c8a878;
  --accent-faint:  rgba(176, 144, 96, 0.1);
  --accent-glow:   rgba(176, 144, 96, 0.25);

  --border-card:   rgba(176, 144, 96, 0.1);
  --border-subtle: rgba(176, 144, 96, 0.06);

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body:    'Montserrat', 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Spacing */
  --section-py:  100px;
  --container-w: 1240px;
  --nav-h:       80px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

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

ul, ol {
  list-style: none;
}

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

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted);
}

/* ---------- Section ---------- */
.section {
  padding: var(--section-py) 0;
}

.section--alt {
  background-color: var(--bg-alt);
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__subtitle {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  margin-bottom: 16px;
}

.section__desc {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section__divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 20px auto 0;
  border: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--bg-primary);
  box-shadow: 0 4px 24px var(--accent-glow);
  transform: translateY(-1px);
}

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

.btn--outline:hover {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn--ghost {
  color: var(--accent);
  padding: 10px 0;
  letter-spacing: 0.06em;
}

.btn--ghost::after {
  content: '\2192';
  transition: transform 0.3s var(--ease);
}

.btn--ghost:hover::after {
  transform: translateX(5px);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 18px 48px;
  font-size: 0.9rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  border-color: var(--accent-glow);
}

.card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card__body {
  padding: 28px;
}

.card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card__price {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  color: var(--accent);
}

.card__price span {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card__footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}

.nav--scrolled {
  background: var(--bg-nav);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
  height: 68px;
}

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

.nav__logo {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
  flex-shrink: 0;
}

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

.nav__logo span {
  color: var(--accent);
}

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

.nav__link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.3s var(--ease);
  padding: 6px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}

.nav__link:hover,
.nav__link--active {
  color: var(--accent);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1010;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.nav__hamburger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger--active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay,
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 20, 0.6) 0%,
    rgba(12, 12, 20, 0.4) 50%,
    rgba(12, 12, 20, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero__subtitle {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  animation: hero-bounce 2s infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Grid Layouts ---------- */
.grid {
  display: grid;
  gap: 30px;
}

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

/* ---------- Feature / Icon Box ---------- */
.feature {
  text-align: center;
  padding: 36px 24px;
}

.feature__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.feature__icon svg {
  width: 100%;
  height: 100%;
}

.feature__title {
  margin-bottom: 10px;
}

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

/* ---------- Gallery Grid ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 12, 20, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.gallery__item:hover::after {
  opacity: 1;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 3px;
  color: var(--text-heading);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-faint);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-footer);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer__heading {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  color: var(--text-heading);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}

.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.footer__about-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer__stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 3px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer__link:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact-item a {
  color: var(--text-muted);
}

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

.footer__newsletter-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.footer__newsletter-form {
  display: flex;
  gap: 0;
}

.footer__newsletter-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-right: none;
  border-radius: 3px 0 0 3px;
  color: var(--text-heading);
  font-size: 0.9rem;
}

.footer__newsletter-input::placeholder {
  color: var(--text-muted);
}

.footer__newsletter-input:focus {
  border-color: var(--accent);
}

.footer__newsletter-btn {
  padding: 12px 22px;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: background 0.3s var(--ease);
  white-space: nowrap;
}

.footer__newsletter-btn:hover {
  background: var(--accent-hover);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-card);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__social:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-faint);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb__sep {
  margin: 0 8px;
  opacity: 0.4;
}

/* ---------- Page Hero (sub-pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  text-align: center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero__title {
  margin-bottom: 12px;
}

.page-hero__desc {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.mx-auto     { margin-left: auto; margin-right: auto; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.mb-4  { margin-bottom: 32px; }
.mb-5  { margin-bottom: 48px; }
.mt-3  { margin-top: 24px; }
.mt-5  { margin-top: 48px; }
.pt-0  { padding-top: 0; }
.pb-0  { padding-bottom: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Animations (Scroll Reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* Fade variants */
.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
}
.reveal--left.reveal--visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(40px);
}
.reveal--right.reveal--visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.92);
}
.reveal--scale.reveal--visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-py: 72px;
    --nav-h: 70px;
  }

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

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-py: 56px;
    --nav-h: 64px;
  }

  .container {
    padding: 0 20px;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  /* Navigation mobile */
  .nav__hamburger {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 1005;
  }

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

  .nav__link {
    font-size: 1.1rem;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 16px;
  }

  /* Hero mobile */
  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  /* Footer mobile */
  .footer {
    padding-top: 56px;
  }

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

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Cards */
  .card__img {
    height: 200px;
  }

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

  .gallery__item img {
    height: 220px;
  }

  /* Section */
  .section__header {
    margin-bottom: 40px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .btn {
    padding: 12px 28px;
    font-size: 0.8rem;
  }

  .btn--lg {
    padding: 14px 36px;
  }

  .footer__newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .footer__newsletter-input {
    border-right: 1px solid var(--border-card);
    border-radius: 3px;
  }

  .footer__newsletter-btn {
    border-radius: 3px;
    padding: 14px;
  }
}

/* ---------- Print ---------- */
@media print {
  .nav,
  .footer__socials,
  .footer__newsletter-form,
  .btn--primary {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ===== LIGHT THEME ===== */
body.light-theme {
  --bg-primary:    #f8f6f2;
  --bg-alt:        #ffffff;
  --bg-card:       #ffffff;
  --bg-footer:     #1a1a2e;
  --bg-nav:        rgba(248, 246, 242, 0.98);

  --text:          #3a3530;
  --text-heading:  #1a1510;
  --text-muted:    rgba(58, 53, 48, 0.55);

  --accent:        #8c6d3f;
  --accent-hover:  #a68450;
  --accent-faint:  rgba(140, 109, 63, 0.08);
  --accent-glow:   rgba(140, 109, 63, 0.15);

  --border-card:   rgba(140, 109, 63, 0.12);
  --border-subtle: rgba(0, 0, 0, 0.06);
}

body.light-theme .card,
body.light-theme .room-card,
body.light-theme .spa-card,
body.light-theme .amenity-card,
body.light-theme .review-card,
body.light-theme .pricing-card,
body.light-theme .gallery-item {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  border-color: #e8e3dd;
}

body.light-theme nav.scrolled {
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

body.light-theme .hero-overlay,
body.light-theme .hero__overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.45)) !important;
}

body.light-theme .page-hero-overlay,
body.light-theme .page-hero__overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.4)) !important;
}

body.light-theme input,
body.light-theme textarea,
body.light-theme select {
  background: #ffffff !important;
  color: #3a3530 !important;
  border-color: #d5cfc5 !important;
}

body.light-theme input::placeholder,
body.light-theme textarea::placeholder {
  color: rgba(58,53,48,0.4) !important;
}

body.light-theme input:focus,
body.light-theme textarea:focus,
body.light-theme select:focus {
  border-color: #8c6d3f !important;
}

body.light-theme .btn-primary {
  color: #ffffff;
}

body.light-theme footer {
  color: #d4cfc8;
}

body.light-theme footer a {
  color: rgba(212,207,200,0.7);
}

body.light-theme footer a:hover {
  color: #c8a878;
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.theme-toggle-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}

.theme-toggle-btn {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--border-card);
}

.theme-toggle-btn button {
  padding: 0.25rem 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-muted);
  background: var(--bg-card);
}

.theme-toggle-btn button.active {
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 700;
}

.theme-toggle-btn button:hover:not(.active) {
  color: var(--accent);
}

@media (max-width: 768px) {
  .theme-toggle {
    top: auto;
    bottom: 1rem;
    right: 1rem;
  }
}
