@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
@import url('https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css');

:root {
  --terracotta: #C1622D;
  --terracotta-dark: #A34E22;
  --clay: #7A4B3A;
  --clay-light: #9C6B57;
  --gold: #D4A24C;
  --gold-light: #E8C384;
  --cream: #F7F1E8;
  --cream-dark: #EDE3D3;
  --charcoal: #2B2420;
  --charcoal-light: #4A3F37;
  --stone-gray: #8C8378;
  --success: #6B8E5A;
  --error: #B84C3E;
}

* {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--terracotta);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--terracotta-dark);
}

/* HEADER */
.site-header {
  background-color: #ffffff;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(43, 36, 32, 0.08);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

.site-header .logo-text {
  color: var(--terracotta);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-link {
  position: relative;
  color: var(--charcoal);
  font-weight: 500;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

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

.nav-link.active {
  color: var(--terracotta);
  font-weight: 700;
}

/* MOBILE MENU */
.mobile-menu {
  background-color: #ffffff;
  border-top: 2px solid var(--gold-light);
}

.mobile-menu a {
  color: var(--charcoal);
  border-bottom: 1px solid var(--cream-dark);
}

.mobile-menu a:hover {
  color: var(--terracotta);
  background-color: var(--cream);
}

.mobile-menu-toggle {
  color: var(--terracotta);
}

/* BUTTONS */
.btn-primary {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  color: #ffffff;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(193, 98, 45, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(193, 98, 45, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
  padding: 0.8rem 1.9rem;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--terracotta);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #C68F35);
  color: var(--charcoal);
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(212, 162, 76, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(212, 162, 76, 0.5);
}

/* CARDS */
.property-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(43, 36, 32, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid var(--cream-dark);
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(43, 36, 32, 0.18);
}

.property-card .price-tag {
  background: var(--terracotta);
  color: #ffffff;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 4px;
  display: inline-block;
}

.card-static {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--cream-dark);
  box-shadow: 0 2px 10px rgba(43, 36, 32, 0.06);
  cursor: default;
}

.icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 1.6rem;
}

/* FORMS */
.form-input, .form-textarea, .form-select {
  background-color: #ffffff;
  border: 2px solid var(--cream-dark);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--charcoal);
  width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(193, 98, 45, 0.15);
}

.form-label {
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
}

form .form-success {
  background-color: #E7F0E3;
  color: #3D5A32;
  border: 1px solid var(--success);
  border-radius: 6px;
  padding: 1rem;
}

form .form-error {
  background-color: #F5E1DD;
  color: #7A2E22;
  border: 1px solid var(--error);
  border-radius: 6px;
  padding: 1rem;
}

/* ACCORDION */
.accordion-header {
  background-color: #ffffff;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  padding: 1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.25s ease;
}

.accordion-header:hover {
  background-color: var(--cream);
}

.accordion-header.active {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.accordion-content {
  background-color: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.4rem;
  display: none;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

/* HERO */
.hero-section {
  background: linear-gradient(rgba(43,36,32,0.55), rgba(43,36,32,0.55));
  position: relative;
}

.hero-overlay-text h1,
.hero-overlay-text p {
  color: #ffffff;
}

/* SECTIONS */
.section-alt {
  background-color: var(--cream-dark);
}

.section-dark {
  background-color: var(--charcoal);
  color: #F0EAE0;
}

.section-dark h2, .section-dark h3 {
  color: #ffffff;
}

.section-dark p {
  color: #D8CFC3;
}

.divider-gold {
  height: 4px;
  width: 70px;
  background: var(--gold);
  border-radius: 2px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--charcoal);
  color: #F0EAE0;
  padding: 1.2rem 1.5rem;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}

.cookie-banner h3 {
  color: #ffffff;
}

.cookie-banner p {
  color: #D8CFC3;
}

.cookie-banner a {
  color: #E8C384;
  text-decoration: underline;
}

.cookie-banner .btn-accept {
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.cookie-banner .btn-accept:hover {
  transform: translateY(-2px);
}

.cookie-banner .btn-decline {
  background: transparent;
  color: #F0EAE0;
  border: 1px solid #F0EAE0;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
}

/* FOOTER */
.site-footer {
  background-color: var(--charcoal);
  color: #D8CFC3;
}

.site-footer h3, .site-footer h4 {
  color: #ffffff;
}

.site-footer a {
  color: #D8CFC3;
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer .footer-divider {
  border-top: 1px solid var(--charcoal-light);
}

/* LOADER */
.loader {
  border: 4px solid var(--cream-dark);
  border-top: 4px solid var(--terracotta);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* FADE IN */
.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

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

/* STAT BLOCKS */
.stat-block {
  text-align: center;
  padding: 1.5rem;
}

.stat-block .stat-number {
  color: var(--terracotta);
  font-size: 2.4rem;
  font-weight: 800;
}

.stat-block .stat-label {
  color: var(--clay);
  font-weight: 500;
}

/* BADGES */
.badge-popular {
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  display: inline-block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* TESTIMONIAL */
.testimonial-card {
  background: #ffffff;
  border-left: 4px solid var(--terracotta);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 3px 14px rgba(43,36,32,0.08);
}

.testimonial-card .stars {
  color: var(--gold);
}

/* RESPONSIVE TWEAKS */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .stat-block .stat-number {
    font-size: 1.8rem;
  }
}