* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1200px;
}

.weather-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: white;
    border-radius: 16px;
    margin-top: 20px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.weather-card {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.2s;
}

.weather-card:hover {
    transform: translateY(-5px);
}

.date {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 10px;
}

.temp {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.description {
    color: #666;
    margin-bottom: 10px;
}

.details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
}

.material-icons {
    font-size: 20px;
}

/* Header Styles */
.header-bar {
    max-width: 100%;
    height: 72px;
    background-color: white;
  }
  
  .header-content {
    font-family: 'Vazirmatn', sans-serif;
    width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 10px;
  }
  
  .logo {
    font-family: 'Vazirmatn', sans-serif;
    height: 50px; /* Adjust as needed */
    margin-left: 0;
    padding-bottom: 10px;
  }
  
  .svg-logo {
    font-family: 'Vazirmatn', sans-serif;
    padding-top: 0px;
    margin-top: 15px;
    margin-left: 20px;
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
    font-family: 'Vazirmatn', sans-serif;
    margin-left: 24px;
  }
  
  .dropbtn {
    background-color: white;
    color: var(--primary-color);
    padding: 10px;
    font-size: 16px;
    font-family: 'Vazirmatn', sans-serif;
    border: none;
    cursor: pointer;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown-content a {
    color: black;
    font-family: 'Vazirmatn', sans-serif;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: var(--light-gray);
  }
  
  /* Add this to your existing CSS */
  .hamburger {
    display: none; /* Hidden by default */
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  /* Show hamburger menu on mobile */
  @media (max-width: 768px) {
    .dropdowns {
      display: none; /* Hide dropdowns by default */
      flex-direction: column; /* Stack dropdowns vertically */
    }
  
    .dropdowns.active {
      display: flex; /* Show dropdowns when active */
    }
  
    .hamburger {
      display: block; /* Show hamburger menu */
    }
  }
  
  /* Mobile Menu Styles */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white */
    z-index: 1000; /* Ensure it covers other content */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .mobile-menu ul {
    list-style: none;
    padding: 0;
    width: 100%;
  }
  
  .mobile-menu li {
    margin: 10px 0;
  }
  
  .mobile-menu a {
    text-decoration: none;
    color: #000;
    font-size: 1.2rem;
  }
  
  /* Hide the dropdowns on mobile */
  @media (max-width: 768px) {
    .container {
      width: 90%;
    }
  
    .header-content {
      width: 90%;
    }  
    .dropdowns {
      display: none; /* Hide dropdowns by default */
    }
  
    .hamburger {
      display: block; /* Show hamburger menu */
      justify-content: flex-start;
    }
  
    .close-btn {
      display: none; /* Hide close button by default */
    }
  }
  
  /* Add this to your existing CSS */
  .menu-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the dropdowns */
    width: 100%;
  }
  
  hr {
    width: 80%; /* Adjust width of the line separator */
    border: 1px solid var(--border-color); /* Style the line */
    margin: 10px 0; /* Space around the line */
  }
  
  .close-btn {
    display: none; /* Hide close button by default */
    font-size: 24px; /* Increase font size for a bigger button */
    color: black; /* Change color to black */
    background: none; /* Ensure no background */
    border: none; /* Remove border */
    cursor: pointer; /* Change cursor to pointer */
  }

.today-weather-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.today-weather-card .date {
    font-size: 1.5em;
    color: #333;
}

.today-weather-card .temp {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
}

.today-weather-card .description {
    color: #666;
}

.today-weather-card .details {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .today-weather-card {
        flex-direction: column;
        padding: 15px;
    }

    .today-weather-card .temp {
        font-size: 2em;
    }

    .today-weather-card .date {
        font-size: 1.2em;
    }

    .today-weather-card .details {
        flex-direction: column;
        align-items: center;
    }
}

/* Add this to your existing CSS */
.header-info {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: right; /* Center align items */
    background: #f8f9fa; /* Background color similar to weather card */
    border-radius: 12px; /* Rounded corners */
    padding: 20px; /* Padding for spacing */
    margin-top: 20px; /* Space above the header info */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow for depth */
}

.header-info h1 {
    font-size: 1.8em; /* Adjust font size for h1 */
    color: #333; /* Text color */
    margin-bottom: 10px; /* Space below h1 */
    text-align: right; /* Center text */
}

.header-info p {
    font-size: 1.1em; /* Adjust font size for paragraph */
    color: #666; /* Text color */
    text-align: right; /* Center text */
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .header-info {
        padding: 15px; /* Adjust padding for mobile */
    }

    .header-info h1 {
        font-size: 1.5em; /* Smaller font size for mobile */
    }

    .header-info p {
        font-size: 1em; /* Smaller font size for mobile */
    }
}

.search-container {
    margin: 20px 0;
    text-align: center;
}

.search-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.search-form input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 500px;
    font-family: 'Vazirmatn', sans-serif;
}

.search-form button {
    padding: 9.6px 24px;
    background-color: #ff334e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1.2em;
}

.search-results {
    max-width: 500px;
    margin: 0 auto;
}

.city-result {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.city-result a {
    color: #333;
    text-decoration: none;
    display: block;
}

.city-result:hover {
    background-color: #f5f5f5;
}
