/* ============================================
   IMPORTS & ROOT VARIABLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  --font-display: "Merriweather", serif;
  --font-sans: "Plus Jakarta Sans", sans-serif;

  /* Colors */
  --background: hsl(0, 0%, 6%);
  --foreground: hsl(40, 20%, 95%);
  --card: hsl(0, 0%, 9%);
  --card-foreground: hsl(40, 20%, 95%);
  --primary: hsl(32, 60%, 50%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(0, 0%, 15%);
  --secondary-foreground: hsl(40, 20%, 95%);
  --muted: hsl(0, 0%, 15%);
  --muted-foreground: hsl(40, 10%, 65%);
  --accent: hsl(32, 60%, 50%);
  --border: hsl(0, 0%, 18%);
  --destructive: hsl(0, 84%, 60%);
  --radius: 0.75rem;

  /* Wood colors */
  --wood-from: #A66D3B;
  --wood-to: #754621;
  --wood-text-from: #D99A6C;
  --wood-text-to: #A66D3B;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.wood-gradient {
  background-image: linear-gradient(to bottom right, var(--wood-from), var(--wood-to));
}

.wood-text-gradient {
  background-image: linear-gradient(to bottom right, var(--wood-text-from), var(--wood-text-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass-panel {
  background-color: hsl(0, 0%, 6%, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

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

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
}

.btn-primary {
  background-image: linear-gradient(to bottom right, var(--wood-from), var(--wood-to));
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(166,109,59,0.25);
}

.btn-primary:hover {
  box-shadow: 0 15px 30px -5px rgba(166,109,59,0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--foreground);
}

.btn-ghost:hover {
  background-color: rgba(255,255,255,0.1);
}

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

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

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */

.section-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--foreground);
}

.section-desc {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ============================================
   HEADER
   ============================================ */

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

.site-header.scrolled {
  background-color: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-image: linear-gradient(to bottom right, var(--wood-from), var(--wood-to));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(166,109,59,0.2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.logo-link:hover .logo-icon {
  transform: scale(1.05);
}

.logo-icon--sm {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.025em;
  color: var(--foreground);
}

/* Nav */
.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
  text-decoration: none;
}

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

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9375rem;
}

/* Burger */
.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 2rem;
  padding: 0.25rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
}

.burger-btn span {
  display: block;
  height: 2px;
  background-color: var(--foreground);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.burger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.5rem;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav-link {
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--foreground);
}

.mobile-cta {
  margin-top: 0.75rem;
  text-align: center;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0.4) 60%, rgba(15,15,15,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.badge-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 36rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.badge-check {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
  padding: 6rem 0;
  background-color: var(--background);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(166,109,59,0.3);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(166,109,59,0.05);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(166,109,59,0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background-color: rgba(166,109,59,0.2);
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
  color: var(--primary);
}

.feature-desc {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
  padding: 6rem 0;
  background-color: var(--card);
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.pricing-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.pricing-card--highlight {
  background-image: linear-gradient(to bottom, rgba(166,109,59,0.08), rgba(117,70,33,0.04));
  border-color: rgba(166,109,59,0.3);
  transform: scale(1.02);
}

.pricing-card--highlight:hover {
  transform: scale(1.02) translateY(-4px);
}

@media (min-width: 1024px) {
  .pricing-card--highlight {
    transform: scale(1.04);
  }
  .pricing-card--highlight:hover {
    transform: scale(1.04) translateY(-4px);
  }
}

.pricing-tag {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background-color: rgba(166,109,59,0.15);
  color: var(--primary);
  width: fit-content;
}

.pricing-tag--hot {
  background-image: linear-gradient(to right, var(--wood-from), var(--wood-to));
  color: #fff;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
}

.pricing-size {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
}

.pricing-card--highlight .pricing-price {
  background-image: linear-gradient(to right, var(--wood-text-from), var(--wood-text-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.pricing-features li svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-section {
  padding: 6rem 0;
  background-color: var(--background);
}

.gallery-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .gallery-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.gallery-header .section-title {
  max-width: 36rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 0;
}

.gallery-cta {
  flex-shrink: 0;
}

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

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 260px);
  }
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  min-height: 220px;
}

.gallery-item--large {
  min-height: 280px;
}

@media (min-width: 768px) {
  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: auto;
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

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

.gallery-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  padding: 6rem 0;
  background-color: var(--card);
}

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

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Contact info */
.contact-info {}

.contact-info .section-title {
  margin-bottom: 1.25rem;
}

.contact-desc {
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 30rem;
}

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

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

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(166,109,59,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-item-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.contact-item-value {
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  transition: color 0.2s ease;
}

a.contact-item-value:hover {
  color: var(--primary);
}

.contact-item-note {
  font-size: 0.875rem;
  color: rgba(166,140,110,0.6);
  margin-top: 0.25rem;
}

/* Contact form */
.contact-form-wrap {
  background-color: var(--background);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .contact-form-wrap {
    padding: 3rem;
  }
}

.contact-form-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background-color: rgba(166,109,59,0.1);
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--foreground);
  position: relative;
  z-index: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.form-optional {
  opacity: 0.6;
  font-weight: 400;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background-color: var(--secondary);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(166,140,110,0.5);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(166,109,59,0.5);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--destructive);
}

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

.form-error {
  color: var(--destructive);
  font-size: 0.875rem;
  min-height: 1rem;
}

.form-privacy {
  font-size: 0.8125rem;
  color: rgba(166,140,110,0.5);
  text-align: center;
  margin-top: 0.5rem;
}

/* Success message */
.form-success {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.form-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-image: linear-gradient(to bottom right, var(--wood-from), var(--wood-to));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff;
}

.form-success-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--muted-foreground);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-phone:hover {
  color: var(--primary);
}

.footer-phone-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.5s;
}

.delay-3 {
  animation-delay: 0.8s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered reveal delay */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.1s; }
.reveal:nth-child(5) { transition-delay: 0.2s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

/* Submit button loading state */
.btn-loading {
  opacity: 0.7;
  pointer-events: none;
}
