/* Torenza.world - Main Stylesheet */
/* Dark theme with golden accents */

/* === Import Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Playfair+Display:wght@600;700&display=swap');

/* === CSS Variables === */
:root {
  --bg-primary: #1C1C1C;
  --bg-secondary: #222;
  --bg-card: #2A2A2A;
  --gold: #C2A84A;
  --gold-hover: #D4BC6A;
  --text-primary: #F8F8F8;
  --text-secondary: #B8B8B8;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 30px rgba(194, 168, 74, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
  text-decoration: none;
  color: var(--gold);
  transition: var(--transition);
}

a:hover {
  color: var(--gold-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Container === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Header === */
header {
  background: rgba(28, 28, 28, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(194, 168, 74, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}

.nav-desktop {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav-desktop a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-desktop a:hover {
  color: var(--gold);
}

.lang-selector {
  background: var(--bg-secondary);
  border: 1px solid rgba(194, 168, 74, 0.3);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  color: var(--text-primary);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.lang-selector:hover {
  border-color: var(--gold);
}

/* === Mobile Menu === */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

/* === Bottom Navigation (Mobile) === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(28, 28, 28, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(194, 168, 74, 0.2);
  display: flex;
  justify-content: space-around;
  padding: 0.75rem 0;
  z-index: 1000;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 0.5rem;
  transition: var(--transition);
}

.bottom-nav a:hover,
.bottom-nav a.active {
  color: var(--gold);
}

.bottom-nav a .icon {
  font-size: 1.5rem;
}

/* === Hero Section === */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(28, 28, 28, 0.9), rgba(34, 34, 34, 0.9)),
              url('../img/backgrounds/hero.jpg') center/cover;
  padding: 3rem 1.5rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(194, 168, 74, 0.1), transparent);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
  text-shadow: 0 2px 20px rgba(194, 168, 74, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--gold-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: #000;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* === Sections === */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* === Cards === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(194, 168, 74, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin: 1rem 0;
}

/* === Government Table === */
.government-list {
  display: grid;
  gap: 1.5rem;
}

.government-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(194, 168, 74, 0.1);
  transition: var(--transition);
}

.government-item:hover {
  border-color: var(--gold);
}

.gov-info h3 {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.gov-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.gov-details span {
  display: block;
}

.gov-details strong {
  color: var(--text-primary);
}

/* === Properties Grid === */
.property-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(194, 168, 74, 0.1);
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.property-image {
  height: 200px;
  background: linear-gradient(135deg, #2A2A2A, #1C1C1C);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.property-content {
  padding: 1.5rem;
}

.property-content h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.property-details {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.property-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  margin: 1rem 0;
}

/* === News === */
.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(194, 168, 74, 0.1);
}

.news-card:hover {
  border-color: var(--gold);
}

.news-content {
  padding: 1.5rem;
}

.news-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.news-content h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* === Profile === */
.profile-header {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  border: 1px solid rgba(194, 168, 74, 0.2);
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #000;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* === Stats Page === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(194, 168, 74, 0.1);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* === Footer === */
footer {
  background: var(--bg-secondary);
  padding: 3rem 0 6rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(194, 168, 74, 0.2);
}

.footer-content {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 2rem;
}

/* === Form Elements === */
input, textarea, select {
  width: 100%;
  padding: 0.875rem;
  border-radius: var(--radius);
  border: 1px solid rgba(194, 168, 74, 0.3);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 168, 74, 0.1);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* === Responsive === */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .bottom-nav {
    display: none;
  }
  
  footer {
    padding: 3rem 0 2rem;
  }
  
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* === Animations === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-secondary { color: var(--text-secondary); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none; }

