/* Variables */
:root {
  --primary-color: #002a32;
  --primary-light: #003a45;
  --accent-color: #c4a47c; /* Gold/Bronze accent */
  --text-main: #333333;
  --text-muted: #666666;
  --bg-light: #f5f6f8;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  
  --font-main: 'Outfit', system-ui, -apple-system, sans-serif;
  
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-radius-full: 50px;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

button {
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

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

.bg-light {
  background-color: var(--bg-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.pre-title {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--border-radius-full);
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: 1px solid var(--primary-color);
}

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

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

.btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background-color: transparent;
}

.header.scrolled {
  background-color: var(--primary-color);
  padding: 15px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.logo {
  display: flex;
  flex-direction: column;
  color: var(--bg-white);
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: var(--bg-white);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--bg-white);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger, .hamburger::before, .hamburger::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--bg-white);
  position: absolute;
  transition: var(--transition);
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 42, 50, 0.5); /* dark green overlay */
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--bg-white);
  max-width: 900px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Search Widget */
.search-widget {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-full);
  padding: 10px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.search-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  position: relative;
}

.tab-btn {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 5px 20px;
  border-bottom: 2px solid transparent;
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.search-form {
  display: flex;
  gap: 10px;
}

.input-group {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-full);
  padding: 0 20px;
}

.input-group .icon {
  color: var(--text-muted);
  margin-right: 10px;
}

.input-group input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 15px 0;
  font-size: 1rem;
  font-family: var(--font-main);
  color: var(--text-main);
  outline: none;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  background-color: var(--bg-white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Properties */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.property-filter {
  display: flex;
  gap: 10px;
  background: var(--bg-white);
  padding: 5px;
  border-radius: var(--border-radius-full);
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--border-radius-full);
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.property-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.property-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

.property-card:hover .property-img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  font-weight: 500;
}

.property-details {
  padding: 25px;
}

.property-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.property-name {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.property-location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.property-features {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.review-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: left;
}

.stars {
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-main);
}

.reviewer {
  font-weight: 600;
  color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding-top: 80px;
}

.footer-top {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.footer-cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.footer-cta p {
  max-width: 600px;
  opacity: 0.8;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-links-grid {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  opacity: 0.8;
}

.footer-col ul a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.contact-info li {
  opacity: 0.8;
}

.footer-newsletter {
  flex: 1;
  min-width: 300px;
}

.footer-newsletter h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.newsletter-form {
  display: flex;
  background: var(--bg-white);
  border-radius: var(--border-radius-full);
  padding: 5px;
  margin-bottom: 30px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 10px 15px;
  border-radius: var(--border-radius-full);
  outline: none;
  font-family: var(--font-main);
}

.newsletter-form button {
  background: var(--primary-color);
  color: var(--bg-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--accent-color);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-links .icons {
  display: flex;
  gap: 15px;
}

.social-links a {
  opacity: 0.8;
}

.social-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--primary-color);
    flex-direction: column;
    padding: 80px 30px 30px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    align-items: flex-start;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }
  
  .header-actions {
    margin-top: 20px;
    width: 100%;
  }
  
  .header-actions .btn {
    display: block;
    width: 100%;
  }
  
  .search-form {
    flex-direction: column;
  }
  
  .search-widget {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  
  .input-group {
    background: var(--bg-white);
    margin-bottom: 10px;
  }
  
  .tab-btn {
    color: var(--bg-white);
  }
  
  .tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
  }
}
