/* 
 * INDEX PAGE SPECIFIC STYLES
 * John Chervanev LLC Website
 * 
 * Homepage-only components:
 * - Hero section with branding
 * - Navigation bar
 * - Property carousel
 * - Portfolio grid
 * - Stats and metrics
 * - Activity feed
 */

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  letter-spacing: 0.18em;
  color: var(--text);
  line-height: 1;
}

.hero-triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 30px solid var(--accent);
  margin: 0.8rem auto;
}

.hero-subtitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}

.hero-tagline {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* ===== NAVIGATION BAR ===== */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-triangle {
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 17px solid var(--accent);
}

.nav-logo-subtitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}

.nav-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 20px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-item:hover, .nav-item.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  transform: translateY(-2px);
}

.nav-item.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 500;
}

/* ===== SECTION HEADER ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.section-header--spaced {
  margin-top: 3rem;
}

.section-header-line {
  flex: 1;
  height: 0.5px;
  background: var(--border);
}

.label {
  font-size: 10px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* ===== PROPERTY CARD ===== */
.prop-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 14px;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}

.prop-card:hover { 
  border-color: var(--accent); 
  transform: translateY(-2px); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
}

.prop-img {
  width: 100%;
  height: 200px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}

.prop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.prop-img img.loaded {
  opacity: 1;
}

.prop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prop-details {
  padding: 1.5rem;
}

.prop-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.prop-location {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.prop-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.prop-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--text);
}

.stat-label {
  font-size: 10px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prop-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== PORTFOLIO SECTION ===== */
#portfolio {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#portfolio.loaded {
  opacity: 1;
}

.carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.carousel-btn {
  background: var(--bg-secondary);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
}

.carousel-btn:hover {
  background: var(--bg);
  border-color: var(--accent);
  color: var(--accent);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-indicator {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* ===== STATS SECTION ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 2rem 0;
}

.stat-card {
  background: var(--bg-secondary);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.stat-text {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== ACTION BUTTONS ===== */
.action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.5rem;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  transition: all 0.2s;
  margin-bottom: 0.75rem;
}

.action-btn:last-child { 
  margin-bottom: 0; 
}

.action-btn:hover { 
  background: var(--bg-secondary); 
  border-color: var(--border-hover); 
}

.action-icon {
  width: 28px;
  height: 28px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.action-text { 
  flex: 1; 
}

.action-arrow { 
  font-size: 10px; 
  color: var(--text-tertiary); 
}

/* ===== ACTIVITY LIST ===== */
.activity-item { 
  display: flex; 
  align-items: center; 
  gap: 14px; 
  padding: 12px 0; 
  border-bottom: 0.5px solid var(--border);
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.2s;
  cursor: pointer;
}

.activity-item:hover {
  background: var(--bg-secondary);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  border-radius: var(--radius-md);
}

.activity-item:hover .activity-text {
  color: var(--text);
}

.activity-item:hover .activity-val {
  color: var(--text);
}

.activity-item:last-child { 
  border-bottom: none; 
}

.activity-dot { 
  width: 0; 
  height: 0; 
  border-left: 4px solid transparent; 
  border-right: 4px solid transparent; 
  border-bottom: 6px solid var(--accent); 
  flex-shrink: 0; 
}

.activity-text { 
  font-size: 13px; 
  color: var(--text-secondary); 
  flex: 1; 
}

.activity-val { 
  font-size: 11px; 
  color: var(--text-tertiary); 
  white-space: nowrap; 
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-name {
    font-size: 60px;
  }
  
  .hero-subtitle {
    font-size: 28px;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .prop-stats {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 24px;
  }
  
  .stats {
    grid-template-columns: 1fr;
  }
}
