/* Base styles */
:root {
  --color-sky-50: #f0f9ff;
  --color-sky-100: #e0f2fe;
  --color-sky-200: #bae6fd;
  --color-sky-500: #0ea5e9;
  --color-sky-600: #0284c7;
  --color-sky-700: #0369a1;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  --color-amber-200: #fde68a;
  --color-amber-300: #fcd34d;
  --color-amber-400: #fbbf24;
  --color-amber-500: #f59e0b;
  --color-indigo-500: #6366f1;
  --color-emerald-500: #10b981;
  --color-purple-500: #a855f7;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-white: #ffffff;
  --color-black: #000000;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --border-radius-sm: 0.125rem;
  --border-radius-md: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 0.75rem;
  --border-radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  color: var(--color-gray-800);
  background-color: var(--color-white);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Page container */
.page-container {
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--color-sky-100), var(--color-white));
  position: relative;
  overflow: hidden;
}

/* Weather elements */
.weather-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  display: none;
}

@media (min-width: 640px) {
  .weather-elements {
    display: block;
  }
}

.cloud {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
}

.cloud-1 {
  top: 10%;
  left: 5%;
  width: 4rem;
  height: 4rem;
  animation: float-slow 8s ease-in-out infinite;
}

.cloud-2 {
  top: 15%;
  left: 25%;
  width: 5rem;
  height: 5rem;
  animation: float 6s ease-in-out infinite;
}

.cloud-3 {
  top: 8%;
  right: 15%;
  width: 3.5rem;
  height: 3.5rem;
  animation: float-slow 8s ease-in-out infinite;
}

.cloud-4 {
  top: 20%;
  right: 30%;
  width: 4.5rem;
  height: 4.5rem;
  animation: float-reverse 7s ease-in-out infinite;
}

.sun {
  position: absolute;
  top: 5%;
  right: 10%;
  width: 6rem;
  height: 6rem;
  color: rgba(253, 230, 138, 0.3);
  animation: pulse-slow 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes pulse-slow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

@media (min-width: 640px) {
  .header .container {
    height: 4rem;
  }
}

.logo-link {
  text-decoration: none;
  display: flex;
  color: inherit;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

@media (min-width: 640px) {
  .logo {
    gap: 0.5rem;
  }
}

.logo-icon {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.5rem;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Remove the old icon styles */
.sun-icon,
.cloud-icon {
  display: none;
}

@media (min-width: 640px) {
  .logo-icon {
    width: 3rem;
    height: 3rem;
  }
}

@media (min-width: 768px) {
  .logo-icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(to right, var(--color-sky-600), var(--color-blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 640px) {
  .logo-text {
    font-size: 1.75rem;
  }
}

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    gap: 1.5rem;
  }
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--color-sky-600);
}

.nav-link svg {
  width: 1rem;
  height: 1rem;
}

.menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-md);
  background-color: transparent;
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-button {
    display: none;
  }
}

.menu-button svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-gray-700);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 20rem;
  background-color: var(--color-white);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-container {
  padding: 1.5rem 1rem;
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.mobile-nav {
  display: grid;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.mobile-nav .nav-link {
  font-size: 1.125rem;
}

.mobile-nav .nav-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Main content */
.main {
  position: relative;
  z-index: 10;
  padding: 1.5rem 1rem;
}

@media (min-width: 768px) {
  .main {
    padding: 2rem 1rem;
  }
}

/* Hero section */
.hero {
  position: relative;
  margin-bottom: 2rem;
  border-radius: var(--border-radius-xl);
  background: linear-gradient(to right, var(--color-sky-600), var(--color-blue-700));
  color: var(--color-white);
  overflow: hidden;
  padding: 1rem;
}

@media (min-width: 640px) {
  .hero {
    padding: 1.5rem;
    margin-bottom: 3rem;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 2rem;
  }
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='weather' x='0' y='0' width='50' height='50' patternUnits='userSpaceOnUse'%3E%3Cpath d='M10,20 Q15,15 20,20 Q25,15 30,20 Q35,15 40,20 L40,25 Q35,30 30,25 Q25,30 20,25 Q15,30 10,25 Z' fill='white' fill-opacity='0.2'/%3E%3Ccircle cx='35' cy='10' r='5' fill='white' fill-opacity='0.2'/%3E%3Cline x1='35' y1='2' x2='35' y2='5' stroke='white' stroke-opacity='0.2' stroke-width='1'/%3E%3Cline x1='35' y1='15' x2='35' y2='18' stroke='white' stroke-opacity='0.2' stroke-width='1'/%3E%3Cline x1='27' y1='10' x2='30' y2='10' stroke='white' stroke-opacity='0.2' stroke-width='1'/%3E%3Cline x1='40' y1='10' x2='43' y2='10' stroke='white' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M15,35 Q15,40 12,40 Q9,40 9,35 Q9,32 12,30 Q15,32 15,35 Z' fill='white' fill-opacity='0.2'/%3E%3Cpath d='M25,30 Q25,35 22,35 Q19,35 19,30 Q19,27 22,25 Q25,27 25,30 Z' fill='white' fill-opacity='0.2'/%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' width='100' height='100' fill='url(%23weather)'/%3E%3C/svg%3E");
  opacity: 0.1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.hero-text {
  flex: 1;
}

.hero h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
}

.hero p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-sky-100);
}

.hero h1 {
  font-size: 3rem;
}

@media (min-width: 640px) {
  .hero p {
    margin-top: 1rem;
    font-size: 1rem;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .hero-badges {
    margin-top: 1.5rem;
    gap: 0.75rem;
  }
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .badge {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
  }
}

.badge svg {
  width: 0.75rem;
  height: 0.75rem;
}

@media (min-width: 640px) {
  .badge svg {
    width: 1rem;
    height: 1rem;
  }
}

.hero-icon {
  position: relative;
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .hero-icon {
    width: 7rem;
    height: 7rem;
  }
}

@media (min-width: 768px) {
  .hero-icon {
    width: 8rem;
    height: 8rem;
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .hero-icon {
    width: 10rem;
    height: 10rem;
  }
}

.hero-sun {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--color-amber-300);
  animation: pulse-slow 4s ease-in-out infinite;
}

.hero-cloud {
  position: absolute;
  inset: 0;
  width: 75%;
  height: 75%;
  color: var(--color-white);
  margin: auto;
}

/* Remove the logo styles */
.hero-logo {
  display: none;
}

/* Section title */
.section-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Forecast cards */
.forecasts {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .forecasts {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .forecasts {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.forecast-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-sky-100);
  background: linear-gradient(to bottom, var(--color-white), var(--color-sky-50));
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.forecast-card:hover {
  box-shadow: var(--shadow-md);
}

.forecast-bg-icon {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 3rem;
  height: 3rem;
  color: rgba(186, 230, 253, 0.3);
}

@media (min-width: 640px) {
  .forecast-bg-icon {
    width: 4rem;
    height: 4rem;
  }
}

.forecast-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.forecast-icon {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 640px) {
  .forecast-icon {
    width: 2rem;
    height: 2rem;
  }
}

.sun-icon {
  color: var(--color-amber-500);
}

.calendar-icon {
  color: var(--color-indigo-500);
}

.map-icon {
  color: var(--color-emerald-500);
}

.forecast-title {
  font-size: 1rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .forecast-title {
    font-size: 1.125rem;
  }
}

.forecast-content {
  padding: 0 1rem 1rem;
  position: relative;
  z-index: 1;
}

.forecast-description {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .forecast-description {
    font-size: 0.875rem;
  }
}

.forecast-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 1rem 1rem;
  position: relative;
  z-index: 1;
}

.forecast-update {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-bottom: 1rem;
  font-family: inherit;
}

.update-date {
  font-weight: 500;
  color: var(--color-gray-700);
}

/* Audio player */
.audio-player {
  width: 100%;
}

.progress-container {
  margin-bottom: 0.75rem;
}

.progress-bar {
  position: relative;
  height: 0.5rem;
  background-color: var(--color-sky-100);
  border-radius: var(--border-radius-full);
  overflow: hidden;
  cursor: pointer;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--color-sky-500);
  width: 0;
  transition: width 0.1s;
}

.time-display {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.main-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.control-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background-color: transparent;
  color: var(--color-sky-700);
  cursor: pointer;
  border-radius: var(--border-radius-md);
  transition: background-color 0.2s, color 0.2s;
}

.control-button:hover {
  background-color: var(--color-sky-100);
  color: var(--color-sky-800);
}

.control-button svg {
  width: 1rem;
  height: 1rem;
}

.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: linear-gradient(to right, var(--color-sky-500), var(--color-blue-600));
  color: var(--color-white);
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: filter 0.2s;
}

.play-button:hover {
  filter: brightness(1.1);
}

.play-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.play-button svg.feather-play {
  margin-left: 0.125rem;
}

.additional-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .additional-controls {
    grid-template-columns: 1fr 1fr;
  }
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background-color: transparent;
  color: var(--color-sky-700);
  cursor: pointer;
  border-radius: var(--border-radius-md);
  transition: background-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.volume-button:hover {
  background-color: var(--color-sky-100);
  color: var(--color-sky-800);
}

.volume-button svg {
  width: 1rem;
  height: 1rem;
}

.volume-slider {
  width: 100%;
  height: 0.25rem;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--color-sky-100);
  border-radius: var(--border-radius-full);
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--border-radius-full);
  background-color: var(--color-sky-500);
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--border-radius-full);
  background-color: var(--color-sky-500);
  cursor: pointer;
  border: none;
}

.speed-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
}

@media (min-width: 640px) {
  .speed-control {
    justify-content: flex-end;
  }
}

.speed-label {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.speed-select {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border: 1px solid var(--color-sky-200);
  border-radius: var(--border-radius-md);
  background-color: var(--color-white);
  color: var(--color-gray-700);
  outline: none;
}

.download-button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  border: 1px solid var(--color-sky-200);
  border-radius: var(--border-radius-md);
  background-color: var(--color-white);
  color: var(--color-sky-700);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.download-button:hover {
  background-color: var(--color-sky-100);
  color: var(--color-sky-800);
}

.download-button svg {
  width: 0.75rem;
  height: 0.75rem;
}

@media (min-width: 640px) {
  .download-button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .download-button svg {
    width: 1rem;
    height: 1rem;
  }
}

.download-text {
  display: none;
}

@media (min-width: 400px) {
  .download-text {
    display: inline;
  }
}


