/* SKSRiders Modern Theme */
:root {
  /* Colors */
  --primary: #059669; /* Emerald 600 */
  --primary-dark: #047857; /* Emerald 700 */
  --primary-light: #d1fae5; /* Emerald 100 */
  --accent: #10b981; /* Emerald 500 */
  
  --dark: #111827; /* Gray 900 */
  --gray-800: #1f2937;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --header-height: 70px;
  --radius-lg: 16px;
  --radius-md: 8px;
  --radius-sm: 4px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--gray-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; transition: all 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--gray-200);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.btn-nav {
  font-weight: 600;
  color: var(--gray-600);
}
.btn-nav:hover { color: var(--primary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: transform 0.1s, box-shadow 0.2s;
}

.btn:active { transform: scale(0.98); }

.btn.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(5, 150, 105, 0.39);
}
.btn.primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.23);
}

.btn.secondary {
  background: var(--white);
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
}
.btn.secondary:hover { border-color: var(--gray-400); }

.btn.outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn.outline:hover { background: var(--primary-light); }

.btn.white {
  background: var(--white);
  color: var(--primary);
}
.btn.white:hover { background: var(--gray-100); }

.btn.large { padding: 1rem 2rem; font-size: 1.125rem; }
.btn.full-width { width: 100%; }

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 0;
  background: var(--white);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.highlight {
  color: var(--primary);
  background: linear-gradient(120deg, var(--primary-light) 0%, var(--primary-light) 100%);
  background-repeat: no-repeat;
  background-size: 100% 30%;
  background-position: 0 88%;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

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

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--primary-light);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray-600);
}

/* Listings Section */
.listings {
  padding: 5rem 0;
  background: var(--white);
}

.listing-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.listing-image {
  position: relative;
  height: 100%;
  min-height: 400px;
}

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

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
}

.listing-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.listing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.listing-title { font-size: 1.75rem; }

.listing-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.listing-price .per {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 400;
}

.listing-address {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.listing-features {
  display: flex;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.listing-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Booking Form */
.booking-form {
  display: none; /* Hidden by default */
  background: var(--gray-100);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  animation: fadeIn 0.3s ease;
}

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

.booking-form h4 { margin-bottom: 1rem; font-size: 1.1rem; }

.form-group { margin-bottom: 1rem; }

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* CTA Banner */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { margin-bottom: 2rem; opacity: 0.9; font-size: 1.1rem; }

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 3rem 0;
}

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

.footer-brand .logo-text {
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  font-family: var(--font-heading);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; }
  
  .listing-card { grid-template-columns: 1fr; }
  .listing-image { min-height: 250px; }
  .listing-content { padding: 1.5rem; }
  
  .footer-inner { flex-direction: column; gap: 2rem; text-align: center; }
  .footer-links { flex-direction: column; gap: 1rem; }
}
