/*
/*!
Theme Name: Stars Group Contrucion
Description: Elegant real estate theme for Dominican Republic properties
Version: 1.0
Author: Custom Development
*/

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* CSS Variables */
:root {
  --stonehouse-gold: #cda11b;
  --stonehouse-dark: #3f4544;
  --stonehouse-light: #f8f8f7;
  --stonehouse-gray: #99a2a6;
  --border-radius: 0.5rem;
}

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

body {
  font-family: 'Rubik', system-ui, sans-serif;
  background-color: var(--stonehouse-light);
  color: var(--stonehouse-dark);
  line-height: 1.6;
}

/* Header Styles */
.site-header {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--stonehouse-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon::after {
  content: '';
  width: 16px;
  height: 24px;
  background: white;
  border-radius: 2px;
}

.logo-text h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--stonehouse-dark);
}

.logo-text .gold {
  color: var(--stonehouse-gold);
}

.logo-text .tagline {
  font-size: 10px;
  color: var(--stonehouse-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: -4px;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

.main-navigation a {
  text-decoration: none;
  color: var(--stonehouse-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: var(--stonehouse-gold);
}

/* Contact Info */
.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--stonehouse-dark);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.whatsapp-link:hover {
  color: var(--stonehouse-gold);
}

.btn-primary {
  background: var(--stonehouse-gold);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: #b8940f;
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  margin-top: 70px;
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
}

/* Property Card */
.property-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  max-width: 400px;
  margin-left: auto;
}

.property-badge {
  background: var(--stonehouse-gold);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}

.property-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--stonehouse-dark);
}

.property-location {
  color: var(--stonehouse-gray);
  font-size: 14px;
  margin-bottom: 24px;
}

.property-details {
  margin-bottom: 24px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--stonehouse-gray);
  font-size: 14px;
}

.detail-value {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.detail-icon {
  color: var(--stonehouse-gold);
  width: 16px;
  height: 16px;
}

.property-price {
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.price-label {
  font-size: 12px;
  color: var(--stonehouse-gray);
  margin-bottom: 4px;
}

.price-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--stonehouse-gold);
}

/* Properties Grid */
.properties-section {
  padding: 80px 0;
  background: var(--stonehouse-light);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--stonehouse-gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--stonehouse-dark);
  margin-bottom: 12px;
}

.section-description {
  color: var(--stonehouse-gray);
  font-size: 18px;
}

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

.property-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.property-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.property-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.property-badge-absolute {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--stonehouse-gold);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.property-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
}

.action-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: white;
  transform: scale(1.1);
}

.property-content {
  padding: 24px;
}

.property-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--stonehouse-dark);
  transition: color 0.3s ease;
}

.property-item:hover .property-content h3 {
  color: var(--stonehouse-gold);
}

.property-content .location {
  color: var(--stonehouse-gray);
  font-size: 14px;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--stonehouse-gray);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.property-footer .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--stonehouse-gold);
}

.property-footer .price-label {
  font-size: 12px;
  color: var(--stonehouse-gray);
  display: block;
  margin-bottom: 4px;
}

.view-property {
  color: var(--stonehouse-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.view-property:hover {
  color: var(--stonehouse-dark);
}

/* Villas Section */
.villas-section {
  padding: 80px 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.villas-background {
  position: absolute;
  left: -100px;
  bottom: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(45deg, var(--stonehouse-gold), #e6b84a);
  transform: skewX(-12deg);
}

/* Blog Section */
.blog-section {
  padding: 80px 0;
  background: var(--stonehouse-light);
}

.blog-featured {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.blog-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-content h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--stonehouse-dark);
  margin-bottom: 24px;
  line-height: 1.3;
}

.blog-content p {
  color: var(--stonehouse-gray);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.blog-image {
  background-size: cover;
  background-position: center;
}

/* Footer */
.site-footer {
  background: var(--stonehouse-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.footer-logo .logo-icon {
  width: 48px;
  height: 48px;
}

.footer-logo h2 {
  font-size: 28px;
  font-weight: 700;
}

.footer-logo .gold {
  color: var(--stonehouse-gold);
}

.footer-logo .tagline {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.social-link {
  width: 48px;
  height: 48px;
  background: #555;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--stonehouse-gold);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    height: 60px;
    padding: 0 16px;
  }
  
  .main-navigation {
    display: none;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .property-card {
    margin: 0 auto;
  }
  
  .blog-featured {
    grid-template-columns: 1fr;
  }
  
  .blog-content {
    padding: 40px 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  
  .properties-grid {
    grid-template-columns: 1fr;
  }
}
