/*
Theme Name: Hurricane Theme
Theme URI: https://deep-minds.com
Author: Hurricane
Version: 1.0
Text Domain: hurricane-theme
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #111;
  line-height: 1.6;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header,
.site-footer {
  background: #fff;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 140;
  border-bottom: 0;
  background: transparent;
  pointer-events: none;
}

.site-footer {
  border-top: 1px solid #e5e5e5;
  margin-top: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 24px));
  padding: 12px 18px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 30px rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.site-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: #111;
  color: #fff;
}

body.admin-bar .site-header {
  top: 46px;
}

.site-footer {
  padding: 20px 0;
}

.site-footer__inner p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

section {
  padding: 80px 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.eyebrow,
.section-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 12px;
}

.lead {
  font-size: 18px;
  color: #444;
  max-width: 640px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  border-radius: 6px;
  transition: 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn--ghost {
  background: transparent;
  color: #111;
}

.home-hero {
  padding-top: 96px;
  padding-bottom: 96px;
}

.home-hero__wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.home-hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.home-hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.stats-grid,
.feature-grid,
.product-grid,
.post-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid,
.post-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stat-card,
.feature-card,
.product-card,
.post-card {
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
}

.stat-card strong {
  display: block;
  font-size: 32px;
  margin-bottom: 8px;
}

.home-cta {
  text-align: center;
  background: #f7f7f7;
}

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

body.home {
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

body.home .site-home {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
}

body.home .site-home::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

body.home .site-header {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

body.home .site-header.is-hidden {
  transform: translateY(-150%);
  opacity: 0;
  pointer-events: none;
}

body.home .site-footer {
  display: none;
}

.site-home {
  position: relative;
}

.site-home .snap-section {
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(72px, 10vh, 120px) 0;
  box-sizing: border-box;
}

.text-center {
  text-align: center;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-img-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

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

.home-why .container {
  width: min(1240px, calc(100% - 32px));
}

.why-header {
  margin-bottom: 24px;
}

.why-header h2 {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.25;
}

.home-customers.snap-section,
.home-why.snap-section {
  min-height: 100vh;
  align-items: center;
}

.customers-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.customers-stat-card,
.why-reason-card {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
}

.customers-stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1;
}

.customers-stat-card span {
  display: block;
  font-size: 12px;
  color: #4a4a4a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.why-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.why-reason-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.35;
}

.why-reason-card p {
  margin: 0;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.55;
}

.home-map .container {
  width: min(1240px, calc(100% - 32px));
}

.map-section__header {
  margin-bottom: 24px;
}

.map-section__header h2 {
  margin-bottom: 14px;
  color: #111;
  line-height: 1.2;
}

.map-section__header .lead {
  max-width: 760px;
  margin-bottom: 0;
}

.map-card {
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}

.map-card iframe {
  width: 100%;
  height: min(52vh, 460px);
  min-height: 320px;
  border: 0;
  display: block;
}

.map-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}


.home-snap-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-snap-nav a {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid #111;
  background: rgba(255, 255, 255, 0.75);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-snap-nav a:hover,
.home-snap-nav a.is-active {
  background: #111;
  transform: scale(1.2);
}

body.home.admin-bar .home-snap-nav {
  top: calc(50% + 16px);
}

@media (max-width: 900px) {
  .site-header {
    top: 8px;
  }

  body.admin-bar .site-header {
    top: 54px;
  }

  .site-header__inner {
    width: min(1120px, calc(100% - 16px));
    padding: 9px 10px;
    border-radius: 14px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .site-brand {
    width: auto;
    text-align: left;
    font-size: 14px;
    margin: 0;
    flex: 0 0 auto;
  }

  .site-nav {
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  body.home {
    overflow: hidden;
  }

  body.home .site-home {
    scroll-snap-type: y proximity;
  }

  .home-snap-nav {
    right: 10px;
    gap: 10px;
  }

  .home-snap-nav a {
    width: 10px;
    height: 10px;
  }

  .home-hero__wrap,
  .stats-grid,
  .feature-grid,
  .product-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .home-why.snap-section,
  .home-products.snap-section {
    min-height: 100vh;
    align-items: center;
  }

  .home-map.snap-section {
    min-height: 100vh;
    align-items: center;
  }

  .customers-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-hero h1 {
    font-size: 34px;
  }

  .map-card iframe {
    height: 46vh;
    min-height: 280px;
  }
}

@media (max-width: 600px) {
  .product-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .customers-stats-grid,
  .why-reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .customers-stat-card,
  .why-reason-card {
    padding: 14px;
  }

  .map-section__header h2 {
    font-size: 30px;
  }

  .map-meta {
    justify-content: flex-start;
    gap: 10px;
  }

  .home-customers.snap-section,
  .home-why.snap-section,
  .home-products.snap-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}
