/* ==========================================================================
   Breezify Shared Styles - Premium Glassmorphism, Typography & Resets
   ========================================================================== */

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

body,
header,
footer,
input,
button,
.socialContainer,
.hourlyweather,
.card,
.news-card,
.content,
.container,
section#faq,
.team_member {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

body {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e293b;
  margin: 0;
  overflow-x: hidden;
  background-color: #f1f5f9;
  -webkit-font-smoothing: antialiased;
}

/* Glassmorphic Header Styles */
header {
  background: rgba(113, 175, 199, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: white;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 76px;
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo-image {
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.08) rotate(5deg);
}

.appname {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 5px;
}

.appname a {
  text-decoration: none;
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Arima", 'Poppins', sans-serif;
  color: #0f172a;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #f8fafc;
}

h1 {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  padding: 4px 10px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.search-box:focus-within {
  background: rgba(255, 255, 255, 0.95);
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3), 0 6px 20px rgba(0, 0, 0, 0.08);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 260px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 2000;
  display: none;
}

.search-dropdown.show {
  display: block;
  animation: fadeInDropdown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-dropdown-item {
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s ease;
  text-align: left;
}

.search-dropdown-item:last-child {
  border-bottom: none;
}

.search-dropdown-item:hover {
  background-color: rgba(56, 189, 248, 0.15);
}

.search-item-name {
  font-weight: 600;
  font-size: 14px;
  color: #0f172a;
}

.search-item-sub {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.input-search {
  height: 32px;
  width: 220px;
  min-width: 0;
  border: none;
  padding: 0px 10px;
  font-size: 14px;
  outline: none;
  border-radius: 30px;
  background-color: transparent;
  color: #0f172a;
  font-weight: 500;
  transition: width 0.3s ease;
}

.input-search::placeholder {
  color: rgba(15, 23, 42, 0.6);
  font-size: 14px;
}

.btn-search {
  width: 32px;
  height: 32px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0f172a;
  transition: transform 0.2s ease;
}

.btn-search:hover {
  transform: scale(1.1);
  color: #0284c7;
}

.convert-buttons {
  display: flex;
  gap: 10px;
}

.convert-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.convert-circle:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.convert-circle:active {
  transform: translateY(0) scale(0.95);
}

.fa-solid {
  font-size: 18px;
}

@media (max-width: 768px) {
  header {
    padding: 10px 16px;
    height: auto;
    min-height: 64px;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .appname h1 {
    font-size: 1.2rem;
  }

  .header-right {
    gap: 8px;
    flex-shrink: 0;
  }

  .search-box {
    padding: 4px 8px;
  }

  .input-search {
    width: 130px;
  }

  .input-search:focus {
    width: 150px;
  }

  .convert-circle {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .hero-fullwidth-wrapper {
    margin-top: 64px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 8px 12px;
    min-height: 58px;
  }

  .appname h1 {
    font-size: 1rem;
  }

  .logo-image {
    height: 36px !important;
  }

  .input-search {
    width: 95px;
  }

  .input-search:focus {
    width: 110px;
  }

  .input-search::placeholder {
    font-size: 11px;
  }

  .convert-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .hero-fullwidth-wrapper {
    margin-top: 58px;
  }
}

@media (max-width: 360px) {
  .appname h1 {
    display: none;
  }

  .input-search {
    width: 80px;
  }
}

/* Footer Styles */
.footer {
  background: #0f172a;
  padding: 40px 20px;
  font-family: 'Inter', sans-serif;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .row {
  width: 100%;
  margin: 1.2% 0;
  color: #94a3b8;
  font-size: 0.9em;
  display: flex;
  justify-content: center;
  font-weight: 400;
}

.socialcard {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 20px;
  padding: 15px;
  margin: 0 auto;
  background: transparent;
}

.socialContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  padding: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  background-color: #1e293b;
  border: 1px solid #334155;
  cursor: pointer;
}

.containerOne:hover {
  background-color: #C13584;
  transform: translateY(-4px) scale(1.15);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(193, 53, 132, 0.4);
}

.containerTwo:hover {
  background-color: #000000;
  transform: translateY(-4px) scale(1.15);
  border-color: #334155;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.containerThree:hover {
  background-color: #005983;
  transform: translateY(-4px) scale(1.15);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 89, 131, 0.4);
}

.containerFour:hover {
  background-color: #25D366;
  transform: translateY(-4px) scale(1.15);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.socialContainer:active {
  transform: scale(0.92);
}

.socialSvg {
  width: 22px;
  height: 22px;
  fill: #f8fafc;
}

.footer .row a {
  text-decoration: none;
  color: #cbd5e1;
  transition: color 0.3s ease;
  margin: 0 12px;
  font-weight: 500;
}

.footer .row a:hover {
  color: #38bdf8;
}

.footer .row ul {
  width: 100%;
  list-style: none;
}

.footer .row ul li {
  display: inline-block;
  margin: 6px 16px;
}

@media (max-width: 720px) {
  .footer {
    text-align: center;
    padding: 30px 15px;
  }

  .footer .row ul li {
    display: inline-block;
    margin: 8px 8px;
  }
}

@media (max-width: 480px) {
  .footer .row ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .footer .row ul li {
    margin: 4px 6px;
  }

  .footer .row ul li a {
    font-size: 0.82rem;
  }

  .socialcard {
    gap: 12px;
    padding: 10px;
  }

  .socialContainer {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   Global Dark Mode Styles
   ========================================================================== */

body.dark-mode {
  background-color: #0f172a;
  color: #f8fafc;
}

body.dark-mode header {
  background: rgba(15, 23, 42, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .appname a h1 {
  color: #f8fafc;
}

body.dark-mode .search-box {
  background: rgba(51, 65, 85, 0.6);
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .input-search {
  color: #f8fafc;
}

body.dark-mode .input-search::placeholder {
  color: #94a3b8;
}

body.dark-mode .search-dropdown {
  background: rgba(30, 41, 59, 0.98);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

body.dark-mode .search-dropdown-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .search-dropdown-item:hover {
  background-color: rgba(56, 189, 248, 0.2);
}

body.dark-mode .search-item-name {
  color: #f8fafc;
}

body.dark-mode .search-item-sub {
  color: #94a3b8;
}

body.dark-mode .btn-search {
  color: #f8fafc;
}

body.dark-mode .convert-circle {
  background: rgba(51, 65, 85, 0.6);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f8fafc;
}

body.dark-mode .convert-circle:hover {
  background: #38bdf8;
  color: #0f172a;
}

/* Dark Mode Footer */
body.dark-mode .footer {
  background: #090d16;
  border-top: 1px solid #1e293b;
}

body.dark-mode .footer .row {
  color: #94a3b8;
}

body.dark-mode .footer .row a {
  color: #cbd5e1;
}

body.dark-mode .footer .row a:hover {
  color: #38bdf8;
}

body.dark-mode .socialContainer {
  background-color: #1e293b;
  border-color: #334155;
}

body.dark-mode .socialSvg {
  fill: #f8fafc;
}

/* Dark Mode Common Content Containers */
body.dark-mode .content,
body.dark-mode section#faq,
body.dark-mode .team_member {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border: 1px solid #334155;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .content h1,
body.dark-mode .content h2,
body.dark-mode .wrapper h1,
body.dark-mode summary {
  color: #f8fafc;
}

body.dark-mode summary {
  background-color: #0284c7;
}

body.dark-mode summary:hover,
body.dark-mode details[open] summary {
  background-color: #0369a1;
}

body.dark-mode .faq-answer {
  background-color: #0f172a;
  color: #e2e8f0;
  border-top: 1px solid #334155;
}

body.dark-mode .highlight {
  background-color: rgba(56, 189, 248, 0.1);
  border-left-color: #38bdf8;
  color: #e2e8f0;
}

body.dark-mode .last-updated {
  color: #94a3b8;
}
