/* =================================================================
   Modern Responsive CSS for Recoleta-BA.com
   Argentina-inspired design with mobile-first approach
   ================================================================= */

/* ===== CSS VARIABLES - Argentina Flag Colors ===== */
:root {
  /* Argentina Flag Colors */
  --argentina-light-blue: #75AADB;
  --argentina-white: #FFFFFF;
  --argentina-yellow: #FCDD09;
  --argentina-blue-dark: #4A90C2;
  
  /* Extended Palette */
  --primary-blue: var(--argentina-light-blue);
  --accent-yellow: var(--argentina-yellow);
  --text-dark: #2C3E50;
  --text-light: #6C757D;
  --white: var(--argentina-white);
  --background-light: #F8F9FA;
  --border-light: #E9ECEF;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --mobile-padding: 1.5rem;
  --section-padding: 2rem 0;
  --border-radius: 8px;
  
  /* Shadows */
  --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-strong: 0 8px 16px rgba(0,0,0,0.2);
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== LAYOUT STRUCTURE ===== */
.site-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  flex: 1;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--mobile-padding);
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--argentina-blue-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-section {
  background-image: url('images/city-park-with-green-trees-and-skyscrapers-in-background-5356673598_0a277b90d6_o.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg, 
    rgba(117, 170, 219, 0.3) 0%, 
    rgba(74, 144, 194, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: var(--section-padding);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.8), 1px 1px 2px rgba(0,0,0,0.9);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 1;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  backdrop-filter: blur(3px);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  color: #ffffff;
}

/* ===== NAVIGATION ===== */
.main-navigation {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--mobile-padding);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.site-logo:hover {
  color: var(--argentina-blue-dark);
}

/* Desktop Navigation */
.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  display: inline-block;
  margin-left: 2rem;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--primary-blue);
  border-bottom-color: var(--accent-yellow);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: var(--background-light);
  color: var(--primary-blue);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-strong);
  z-index: 9999;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.push-body {
  left: 0;
}

.mobile-menu-overlay.active {
  left: 0;
}

.mobile-menu-header {
  padding: 1.5rem;
  background: var(--primary-blue);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-menu {
  list-style: none;
  padding: 1rem 0;
}

.mobile-nav-menu li {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-nav-menu a:hover {
  background-color: var(--background-light);
  color: var(--primary-blue);
  padding-left: 2rem;
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: var(--section-padding);
}

.content-section {
  margin-bottom: 3rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  border-bottom: 3px solid var(--accent-yellow);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--argentina-blue-dark);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Links */
a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--argentina-blue-dark);
  text-decoration: underline;
}

/* Lists */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ===== CALLOUT BOXES ===== */
.callout-box {
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  position: relative;
}

.callout-box h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Info Callouts */
.callout-info {
  background: linear-gradient(135deg, #E3F2FD 0%, #F8F9FA 100%);
  border-left: 4px solid var(--primary-blue);
}

.callout-info h3 {
  color: var(--primary-blue);
}

/* Tips Callouts */
.callout-tips {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFFEF7 100%);
  border-left: 4px solid var(--accent-yellow);
}

.callout-tips h3 {
  color: #F57F17;
}

/* Warning Callouts */
.callout-warning {
  background: linear-gradient(135deg, #FFEBEE 0%, #FFF5F5 100%);
  border-left: 4px solid #E53E3E;
}

.callout-warning h3 {
  color: #E53E3E;
}

/* Historic Callouts */
.callout-historic {
  background: linear-gradient(135deg, #F3E5F5 0%, #FAF5FF 100%);
  border-left: 4px solid #9F7AEA;
}

.callout-historic h3 {
  color: #9F7AEA;
}

/* Verified/Practical Callouts */
.callout-verified {
  background: linear-gradient(135deg, #F0FDF4 0%, #F7FAFC 100%);
  border-left: 4px solid #38A169;
}

.callout-verified h3 {
  color: #38A169;
}

/* Cultural Callouts */
.callout-cultural {
  background: linear-gradient(135deg, var(--argentina-light-blue)15, var(--background-light) 100%);
  border-left: 4px solid var(--argentina-blue-dark);
}

.callout-cultural h3 {
  color: var(--argentina-blue-dark);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--argentina-blue-dark) 100%);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
  text-decoration: none;
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 2rem 0 1rem;
  margin-top: auto;
}

.footer-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--mobile-padding);
  text-align: center;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  margin: 0 1rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 1rem;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet */
@media (min-width: 768px) {
  :root {
    --mobile-padding: 2rem;
  }
  
  .hero-section {
    min-height: 70vh;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .nav-menu {
    display: flex;
  }
  
  .content-wrapper {
    padding: 0 2rem;
  }
  
  .callout-box {
    padding: 2rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  :root {
    --mobile-padding: 3rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .content-wrapper {
    padding: 0 3rem;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .content-wrapper {
    padding: 0;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states */
:focus {
  outline: 2px solid var(--accent-yellow);
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== PRINT STYLES ===== */
@media print {
  .mobile-menu-toggle,
  .mobile-menu-overlay,
  .mobile-menu-backdrop {
    display: none !important;
  }
  
  .hero-section {
    background: none !important;
    color: black !important;
  }
  
  a {
    color: black !important;
    text-decoration: underline !important;
  }
}