/* ================================
   Cozy Stays - Design System
   ================================ */

:root {
  /* Warm earth tones */
  --color-cream: #FBF7F0;
  --color-warm-white: #FEFCF8;
  --color-sand: #F0E6D6;
  --color-tan: #D4C4A8;
  --color-bark: #8B7355;
  --color-wood: #6B5B3E;
  --color-forest: #4A6741;
  --color-deep-green: #2D4A27;
  --color-charcoal: #2C2C2C;
  --color-dark: #1A1A1A;
  --color-gold: #C4963C;
  --color-gold-light: #E8D5A8;
  --color-rust: #B85C38;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

/* ================================
   Reset & Base
   ================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-charcoal);
  background: var(--color-warm-white);
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--color-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ================================
   Buttons
   ================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  background: var(--color-deep-green);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-forest);
  border: 1.5px solid var(--color-forest);
}

.btn-secondary:hover {
  background: var(--color-forest);
  color: white;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

.btn-nav {
  background: var(--color-forest);
  color: white;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-nav:hover {
  background: var(--color-deep-green);
}

/* ================================
   Navigation
   ================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  transition: color 0.3s ease;
}

.nav.scrolled .nav-logo {
  color: var(--color-dark);
}

.logo-icon {
  width: 28px;
  height: 28px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s ease;
}

.nav.scrolled .nav-links a {
  color: var(--color-charcoal);
}

.nav-links a:hover {
  color: white;
}

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

.nav.scrolled .btn-nav {
  background: var(--color-forest);
  color: white;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle span {
  background: var(--color-charcoal);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26,26,26,0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
}

/* ================================
   Hero
   ================================ */

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

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 750px;
  padding: var(--space-xl);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-md);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ================================
   Value Props
   ================================ */

.value-props {
  padding: var(--space-4xl) 0;
  background: var(--color-cream);
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
}

.prop {
  text-align: center;
}

.prop-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-lg);
  color: var(--color-forest);
}

.prop-icon svg {
  width: 100%;
  height: 100%;
}

.prop h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.prop p {
  font-size: 0.9rem;
  color: var(--color-bark);
  line-height: 1.6;
}

/* ================================
   Section Headers
   ================================ */

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-forest);
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--color-bark);
  max-width: 550px;
  margin: 0 auto;
}

/* ================================
   Properties
   ================================ */

.properties {
  padding: var(--space-4xl) 0;
}

.property-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  align-items: start;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.gallery-main img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-main:hover img {
  transform: scale(1.03);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.gallery-grid img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-grid img:hover {
  opacity: 0.85;
}

.property-badge {
  display: inline-block;
  background: var(--color-gold);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.property-details h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-bark);
  margin-bottom: var(--space-lg);
}

.property-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--space-lg);
}

.property-specs {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-sand);
  border-bottom: 1px solid var(--color-sand);
}

.spec {
  display: flex;
  flex-direction: column;
}

.spec-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
}

.spec-label {
  font-size: 0.8rem;
  color: var(--color-bark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.amenity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.tag {
  display: inline-block;
  background: var(--color-cream);
  color: var(--color-wood);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.property-rating {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.stars {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-gold);
  font-weight: 600;
}

.review-count {
  font-size: 0.9rem;
  color: var(--color-bark);
}

/* Coming Soon Card */
.coming-soon-card {
  text-align: center;
  padding: var(--space-3xl);
  border: 2px dashed var(--color-tan);
  border-radius: var(--radius-lg);
  background: var(--color-cream);
}

.coming-soon-icon {
  color: var(--color-tan);
  margin-bottom: var(--space-lg);
}

.coming-soon-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-sm);
}

.coming-soon-card p {
  color: var(--color-bark);
  max-width: 400px;
  margin: 0 auto var(--space-lg);
}

.badge-coming {
  display: inline-block;
  background: var(--color-sand);
  color: var(--color-wood);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 100px;
}

/* ================================
   Reviews
   ================================ */

.reviews {
  padding: var(--space-4xl) 0;
  background: var(--color-cream);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.review-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-stars {
  display: flex;
  gap: 2px;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-bark);
}

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

/* ================================
   Area Guide
   ================================ */

.area {
  padding: var(--space-4xl) 0;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.area-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  background: var(--color-cream);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.area-featured {
  grid-column: 1 / -1;
  background: var(--color-forest);
  color: white;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-2xl) var(--space-2xl);
}

.area-featured h3 {
  color: white;
}

.area-card.area-featured p {
  color: white;
}

.area-featured .area-icon {
  color: var(--color-gold-light);
}

.area-icon {
  color: var(--color-forest);
  margin-bottom: var(--space-md);
  flex-shrink: 0;
}

.area-featured .area-icon {
  margin-bottom: 0;
}

.area-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.area-card p {
  font-size: 0.9rem;
  color: var(--color-bark);
  line-height: 1.6;
}

.area-distance {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ================================
   About
   ================================ */

.about {
  padding: var(--space-4xl) 0;
  background: var(--color-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-lg);
}

.about-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.about-badges .badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-forest);
}

.about-badges .badge svg {
  color: var(--color-gold);
}

/* ================================
   CTA
   ================================ */

.cta {
  padding: var(--space-4xl) 0;
  background: var(--color-dark);
}

.cta-content {
  text-align: center;
  max-width: 550px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: white;
  margin-bottom: var(--space-md);
}

.cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-2xl);
}

/* ================================
   Footer
   ================================ */

.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-md);
  color: white;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 300px;
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-lg);
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-sm);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.coming-soon-link {
  opacity: 0.5;
  cursor: default;
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

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

/* ================================
   Responsive
   ================================ */

@media (max-width: 1024px) {
  .props-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .property-card {
    grid-template-columns: 1fr;
  }

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

  .about-image img {
    height: 350px;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-content {
    padding: var(--space-xl) var(--space-md);
  }

  .hero-stats {
    gap: var(--space-md);
  }

  .stat-number {
    font-size: 1.35rem;
  }

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

  .gallery-main img {
    height: 250px;
  }

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

  .gallery-grid img {
    height: 65px;
  }

  .property-specs {
    gap: var(--space-md);
  }

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

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

  .area-featured {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .area-featured .area-icon {
    margin-bottom: var(--space-md);
  }

  .area-distance {
    margin-top: var(--space-sm);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .property-specs {
    flex-wrap: wrap;
  }

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

  .gallery-grid img {
    height: 80px;
  }
}
