body {
  background: linear-gradient(
    to bottom,
    #defcf9,  /* pale aqua - top */
    #cadefc,  /* baby blue */
    #c3bef0,  /* lilac */
    #cca8e9   /* medium lavender - bottom */
  );
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
  background-attachment: fixed; 
}

h1 {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-top: 20px 0;
  color:#333333;
}

h2 {
  margin: 0 0 5px;
  font-size: 20px;
  font-weight: 400;
  color: #444444;
  margin: 10px 0;
  font-family: 'Poppins', sans-serif;

}

select {
  display: block;
  width: 100%;
  font-size: 18px;
  border-radius: 6px;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-family:'Poppins', sans-serif;
  transition: border 0.3s;
  margin-bottom: 20px;
}

select:hover {
  border-color: #999;
}

select:focus {
  border-color: #6c9ef8;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.container,
.main-container {
  max-width: 900px;
  margin: 60px auto;
  background: white;
  padding: 80px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

/* Header with theme toggle which is sensitive */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
  color: #666;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: #e8e8e8;
}

/* City cards - flex layout */
.city,
.city-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

/* Remove border for last card */
.city:last-child,
.city-card:last-child {
  border: none;
}

.date {
  opacity: 0.7;
  font-size: 14px;
  color: #666666;
}

/* Style for time */
.time {
  font-size: 20px;
  font-weight: bold;
  font-weight: 700;
  font-family: 'PT Mono', monospace; 
  color: #222;
  line-height: 1.2;
  margin: 15px 0;
  transition: opacity 0.2s ease;
}

.time small {
  font-size: 10px;
  vertical-align: middle;
  line-height: 48px;
  margin-left: 4px;
  color: #777777;
}

/* Weather container */
.weather {
  font-size: 14px;
  min-height: 20px;
  color: #555;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Weather icon size */
.weather img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* Cultural greeting styles */
.cultural-greeting {
  font-size: 12px;
  color: #666666;
  font-style: italic;
  margin-top: 12px;
  opacity: 0.8;
}

/* For selected city card */
#selected-city {
   display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
}

footer {
  text-align: center;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.8);
  margin-top: 40px;
  padding: 10px;
  font-family: 'Poppins', sans-serif;;
}

/* DARK THEME STYLES */
body.dark-theme {
  background-color: #1a1a2e;
  color: #fff;
}

body.dark-theme .main-container {
  background: #16213e;
  color: #fff;
}

body.dark-theme h1,
body.dark-theme h2 {
  color: #fff;
}

body.dark-theme .date {
  color: #bbb;
}

body.dark-theme .time {
  color: #fff;
}

body.dark-theme .time small {
  color: #ccc;
}

body.dark-theme select {
  background: #16213e;
  border: 1px solid #444;
  color: #fff;
}

body.dark-theme select option {
  background: #16213e;
  color: #fff;
}

body.dark-theme .theme-toggle {
  background: #2a2a3e;
  border: 1px solid #444;
  color: #ccc;
}

body.dark-theme .theme-toggle:hover {
  background: #353550;
}

body.dark-theme .city-card {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

body.dark-theme .weather {
  color: #ccc;
}

body.dark-theme .cultural-greeting {
  color: #bbb;
}

body.dark-theme footer {
  color: #e0e0e0;
}

body.dark-theme footer a {
  color: #4db8ff;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .time {
    font-size: 36px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  #selected-city {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  flex-direction: row !important;
  align-items: center !important;
}

}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.spotify-embed {
  width: 100%;
  height: 80px;
  border: none;
  border-radius: 12px;
  margin-top: 8px;
  box-shadow: none; 
}

.spotify-embed:hover {
  opacity: 1;
}


.flying-bird {
  position: fixed;
  width: 100px;
  height: 100px;
  pointer-events: none;
  z-index: 9999;
  transition: transform 1s ease-in-out;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Cloud container */
.clouds-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 200px;
  z-index: 1000;
  pointer-events: none;
}

/* Cloud visuals */
.floating-cloud {
  position: absolute;
  opacity: 0.6;
}

.cloud1 {
  top: 20px;
  left: -200px;
  animation: cloudDrift1 80s linear infinite;
}

.cloud2 {
  top: 60px;
  left: -300px;
  animation: cloudDrift2 120s linear infinite;
}

/* Cloud animation */
@keyframes cloudDrift1 {
  0%   { transform: translateX(0); }
  100% { transform: translateX(120vw); }
}

@keyframes cloudDrift2 {
  0%   { transform: translateX(0); }
  100% { transform: translateX(130vw); }
}


/* Meeting Planner Button Styles */
.header-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

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

.meeting-planner-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.meeting-planner-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Dark theme support */
body.dark-theme .meeting-planner-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .header-controls {
        align-items: center;
    }
    
    .control-group {
        justify-content: center;
        width: 100%;
    }
    
    .meeting-planner-btn {
        font-size: 11px;
        padding: 6px 12px;
    }
}


