/* 
  Premium Light Blue & White Theme for LocSaver
  Fonts: 'Inter', sans-serif
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #0ea5e9; /* Sky 500 */
  --primary-light: #bae6fd; /* Sky 200 */
  --bg-color: #f0f9ff; /* Sky 50 */
  --white: #ffffff;
  --text-dark: #0f172a; /* Slate 900 */
  --text-muted: #64748b; /* Slate 500 */
  --card-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.1), 0 8px 10px -6px rgba(14, 165, 233, 0.1);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

/* Navbar Enhancements */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
}
.logo span {
  color: var(--text-dark);
}

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

.navbar-logo-img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 8px;
}


.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  align-items: center;
}

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

.nav-links a:hover {
  color: var(--primary-color);
}

.lang-switch {
  display: flex;
  background: var(--primary-light);
  border-radius: 20px;
  padding: 4px;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  transition: background 0.3s, color 0.3s;
}

.lang-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 6rem 5% 4rem;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--white) 100%);
  min-height: 80vh;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-light) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.6;
}

.hero-left {
  flex: 1;
  max-width: 520px;
  z-index: 1;
  text-align: left;
}

.hero-left h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #0369a1, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-left p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-green, .btn-primary {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-green:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.23);
  background: #0284c7;
}

.hero-right {
  flex: 1;
  max-width: 400px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.location-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  max-width: 350px;
  width: 100%;
}

/* Alternating Feature Sections */
.feature-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 5%;
  gap: 4rem;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-mockup {
  flex: 1;
  max-width: 320px;
  display: flex;
  justify-content: center;
}

.feature-mockup img {
  max-width: 280px;
  height: auto;
  border-radius: 30px;
  box-shadow: var(--card-shadow);
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.feature-mockup:hover img {
  transform: translateY(-10px);
}

.feature-text {
  flex: 1;
  max-width: 520px;
}

.feature-badge {
  background: var(--primary-light);
  color: #0369a1;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1rem;
}

.feature-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.feature-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-list-custom {
  list-style: none;
  padding: 0;
}

.feature-list-custom li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.feature-list-custom li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-color);
}

/* Download Section */
.get-app {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0369a1 100%);
  padding: 5rem 5%;
  border-radius: 40px;
  margin: 4rem 5%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
}

.get-app-content {
  max-width: 600px;
  width: 100%;
}

.get-app-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.get-app-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

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

.btn-download {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-download:hover {
  transform: translateY(-3px);
}

.get-app-image img {
  max-width: 300px;
}

/* Footer */
.footer {
  background: var(--white);
  padding: 4rem 5% 2rem;
  border-top: 1px solid var(--primary-light);
}

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

.footer-logo-img {
  max-width: 150px;
  margin-bottom: 1rem;
}

.footer h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 1rem;
}

.footer ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: var(--primary-color);
}

.footer ul li i {
  color: var(--primary-color);
  width: 20px;
  margin-right: 10px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-color);
  color: var(--primary-color);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--bg-color);
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  /* Hero: stack vertically, center everything */
  .hero {
    flex-direction: column;
    padding: 4rem 5% 3rem;
    min-height: auto;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-left {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-left h1 {
    font-size: 2.4rem;
  }
  .hero-right {
    max-width: 100%;
    justify-content: center;
  }
  .location-card {
    max-width: 340px;
  }

  /* Feature rows: stack vertically */
  .feature-row, .feature-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 3rem 5%;
  }
  .feature-mockup {
    max-width: 100%;
  }
  .feature-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .feature-list-custom {
    text-align: left;
    align-self: flex-start;
    width: 100%;
  }
  .feature-text h2 {
    font-size: 1.9rem;
  }

  /* Download section */
  .get-app {
    flex-direction: column;
    margin: 3rem 4%;
    padding: 3.5rem 5%;
    text-align: center;
  }
  .get-app-content h2 {
    font-size: 1.8rem;
  }

  /* Stats bar */
  .stats-bar {
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    padding: 2rem 5%;
    justify-content: center;
  }
  .stat-item {
    min-width: 100px;
  }
}

@media (max-width: 768px) {
  .navbar {
    gap: 0.65rem;
    padding: 0.8rem 1rem;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .logo-link {
    flex: 1 1 auto;
    min-width: 0;
  }

  .lang-switch {
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-links {
    display: none;
  }

  .nav-links a {
    font-size: 0.92rem;
  }
}

@media (max-width: 420px) {
  .navbar {
    padding: 0.65rem 0.75rem;
    gap: 0.5rem;
  }

  .logo {
    font-size: 1.15rem;
  }

  .navbar-logo-img {
    width: 28px;
    height: 28px;
  }

  .lang-switch {
    padding: 3px;
    border-radius: 16px;
  }

  .lang-btn {
    padding: 5px 9px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 2rem;
  }
  .feature-text h2 {
    font-size: 1.6rem;
  }
  .navbar {
    padding: 0.8rem 4%;
  }
  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }
  .logo {
    font-size: 1.4rem;
  }
  .navbar-logo-img {
    height: 28px;
    width: 28px;
  }
}

