/* ========================================
   Round Top Inn - Styles
   Colors: Espresso #2E2824, Warm Gold #C19B77, Cream #FAF7F4
   Fonts: Cormorant Garamond, Lato, Montserrat
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: #2E2824;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #C19B77;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 500;
  color: #2E2824;
  margin-bottom: 24px;
  line-height: 1.2;
}

.section-title.white {
  color: #fff;
}

.center {
  text-align: center;
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: #C19B77;
  color: #fff;
  border-color: #C19B77;
}

.btn-primary:hover {
  background: #a8845f;
  border-color: #a8845f;
}

.btn-white {
  background: #fff;
  color: #2E2824;
  border-color: #fff;
}

.btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* ---- Header ---- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(46, 40, 36, 0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #C19B77;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('/images/hero-bedroom.webp') center/cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46, 40, 36, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C19B77;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}

/* ---- About ---- */

.about {
  padding: 100px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: 2px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border: 1px solid #E0DAD4;
}

.about-text p {
  font-size: 16px;
  color: #6B6259;
  margin-bottom: 20px;
}

.about-text .btn {
  margin-top: 12px;
}

/* ---- Gallery ---- */

.gallery {
  padding: 80px 0;
  background: #FAF7F4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid #E0DAD4;
  aspect-ratio: 4/3;
}

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

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

.gallery-item {
  cursor: pointer;
}

/* ---- Lightbox ---- */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.open {
  display: flex;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 2;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 56px;
  cursor: pointer;
  padding: 8px 16px;
  opacity: 0.6;
  transition: opacity 0.2s;
  z-index: 2;
  user-select: none;
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-caption {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  margin-top: 16px;
  text-align: center;
}

.lightbox-counter {
  color: rgba(255,255,255,0.4);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ---- Testimonials ---- */

.testimonials {
  padding: 100px 0;
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.testimonial-card {
  background: #FAF7F4;
  padding: 36px 28px;
  border-radius: 2px;
  border: 1px solid #E8E3DD;
  text-align: center;
}

.stars {
  color: #C19B77;
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: #6B6259;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-source {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #C19B77;
}

/* ---- Features ---- */

.features {
  padding: 100px 0;
  background: #2E2824;
}

.features .section-label {
  color: #C19B77;
}

.features .section-title {
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.feature-card {
  text-align: center;
  padding: 32px 20px;
}

.feature-icon {
  font-size: 36px;
  color: #C19B77;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* ---- Explore Round Top ---- */

.explore {
  padding: 100px 0;
  background: #fff;
}

.explore-intro {
  text-align: center;
  font-size: 16px;
  color: #6B6259;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.explore-card {
  display: block;
  background: #FAF7F4;
  border: 1px solid #E8E3DD;
  border-radius: 2px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.explore-card:hover {
  border-color: #C19B77;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.explore-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 16px;
}

.explore-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 500;
  color: #2E2824;
  margin-bottom: 8px;
}

.explore-card p {
  font-size: 14px;
  color: #6B6259;
  line-height: 1.6;
}

.explore-cta {
  text-align: center;
  font-size: 15px;
  color: #6B6259;
  margin-top: 12px;
}

.explore-cta a {
  color: #C19B77;
  font-weight: 700;
  border-bottom: 1px solid #C19B77;
  transition: color 0.3s ease;
}

.explore-cta a:hover {
  color: #a8845f;
  border-color: #a8845f;
}

/* ---- FAQ ---- */

.faq {
  padding: 100px 0;
  background: #FAF7F4;
}

.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
}

.faq-item {
  border-bottom: 1px solid #E0DAD4;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #2E2824;
  text-align: left;
}

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: #C19B77;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 15px;
  color: #6B6259;
  line-height: 1.7;
}

.faq-answer a {
  color: #C19B77;
  font-weight: 700;
  border-bottom: 1px solid #C19B77;
  transition: color 0.3s ease;
}

.faq-answer a:hover {
  color: #a8845f;
  border-color: #a8845f;
}

.faq-group-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C19B77;
  margin-top: 32px;
  margin-bottom: 4px;
}

.faq-group-title:first-child {
  margin-top: 0;
}

/* ---- Contact ---- */

.contact {
  padding: 100px 0;
  background: #FAF7F4;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #C19B77;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
  font-size: 17px;
  color: #2E2824;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #C19B77;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2E2824;
}

.form-group input,
.form-group textarea {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #2E2824;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #C19B77;
}

.form-group textarea {
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
}

/* ---- Footer ---- */

.footer {
  background: #2E2824;
  color: #fff;
  padding: 60px 0 40px;
  text-align: center;
}

.footer-logo {
  height: 45px;
  margin: 0 auto 16px;
}

.footer-text {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #C19B77;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

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

@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #2E2824;
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }

  .nav.open {
    right: 0;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero {
    min-height: 500px;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .explore-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about, .testimonials, .features, .faq, .explore, .contact {
    padding: 64px 0;
  }

  .contact-form .btn {
    width: 100%;
    text-align: center;
  }

  .gallery {
    padding: 64px 0;
  }
}
