/* Montecuollo Real Estate Group - Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --black: #000000;
  --white: #FFFFFF;
  --burnt-orange: #CC5500;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo img {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.7);
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--burnt-orange);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--burnt-orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(204, 85, 0, 0.3);
}

.btn-secondary {
  background: var(--black);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--burnt-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

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

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

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* Parallax Sections */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -50%;
  left: 0;
  right: 0;
  bottom: -50%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.75) 50%, rgba(204,85,0,0.2) 100%);
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(204,85,0,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 1200px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 .highlight {
  color: var(--burnt-orange);
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator-box {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator-dot {
  width: 4px;
  height: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
  0%, 20% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.divider {
  width: 96px;
  height: 4px;
  background: var(--burnt-orange);
  margin: 0 auto 2rem;
}

/* Property Stats */
.property-stats {
  background: var(--black);
  color: var(--white);
  padding: 4rem;
  margin: 3rem 0;
  animation: slideInUp 0.6s ease-out;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-icon {
  width: 64px;
  height: 64px;
  background: rgba(204, 85, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
  background: rgba(204, 85, 0, 0.3);
  transform: scale(1.1);
}

.stat-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--burnt-orange);
}

.stat-number {
  font-size: 2.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

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

/* Why Choose Us - Wide Layout */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.why-choose-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem 3rem;
  border-left: 4px solid var(--burnt-orange);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.why-choose-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
  border-left-width: 6px;
}

.why-choose-icon {
  width: 80px;
  height: 80px;
  background: rgba(204, 85, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.why-choose-item:hover .why-choose-icon {
  background: rgba(204, 85, 0, 0.3);
  transform: scale(1.1) rotate(10deg);
}

.why-choose-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--burnt-orange);
}

.why-choose-content h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: white;
}

.why-choose-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin: 0;
}

/* Hide Why Choose Us on Mobile */
.why-choose-section {
  display: none;
}

@media (min-width: 769px) {
  .why-choose-section {
    display: block;
    padding: 6rem 0 !important;
  }
  
  .why-choose-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(204, 85, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: rgba(204, 85, 0, 0.2);
  transform: rotate(10deg) scale(1.1);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--burnt-orange);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.8;
}

/* Property Card */
.property-card {
  background: var(--white);
  border: 2px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.property-card:hover {
  border-color: rgba(204, 85, 0, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.property-gallery {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: var(--black);
}

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

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

.gallery-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.property-card:hover .gallery-controls {
  opacity: 1;
}

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

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

.gallery-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  background: var(--white);
  width: 32px;
  border-radius: 4px;
}

.property-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--burnt-orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.property-details {
  padding: 3rem;
}

.property-details h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.property-address {
  display: flex;
  align-items: flex-start;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.property-address svg {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.property-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.property-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.property-stat svg {
  width: 20px;
  height: 20px;
  stroke: var(--burnt-orange);
}

.property-stat-value {
  font-weight: 700;
  font-size: 1.25rem;
}

.property-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.6);
}

.property-features {
  margin: 2rem 0;
}

.property-features h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.8);
}

.feature-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--burnt-orange);
  margin-right: 0.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.property-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.property-price-amount {
  font-size: 3rem;
  font-family: var(--font-serif);
  font-weight: 700;
}

.property-price-period {
  color: rgba(0, 0, 0, 0.6);
  margin-left: 0.5rem;
}

.property-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--burnt-orange);
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  margin-right: 0.75rem;
}

.footer-title {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-bottom em {
  font-style: italic;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--burnt-orange);
}

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

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Fade In Animation */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

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

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  nav ul.active {
    display: flex;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .property-card {
    grid-column: 1 / -1;
  }
  
  .property-details {
    padding: 2rem 1.5rem;
  }
  
  .property-actions {
    flex-direction: column;
  }
  
  .property-actions .btn {
    width: 100%;
    text-align: center;
  }
  
  /* Disable parallax on mobile for performance */
  .hero-bg,
  .parallax-bg {
    background-attachment: scroll !important;
  }
}

/* Modal/Popup */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  padding: 3rem;
  max-width: 600px;
  width: 90%;
  position: relative;
  animation: slideInUp 0.4s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--burnt-orange);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row.two-col {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
  .form-row.two-col {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    padding: 2rem 1.5rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 3rem; }
.mb-4 { margin-bottom: 3rem; }
.bg-black { background: var(--black); color: var(--white); }
.bg-orange { background: var(--burnt-orange); color: var(--white); }
.bg-gradient { background: linear-gradient(180deg, var(--white) 0%, rgba(0,0,0,0.05) 100%); }

