/* GLOBAL */
body {
  background: url('assets/simon-joseph-nch8BONvaCw-unsplash.jpg') center/cover no-repeat fixed;
  background-size: cover;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}


h1, h2, h3 {
  margin: 0;
  font-weight: 700;
}

section {
  padding: 80px 20px;
  text-align: center;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 40px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* LEFT BLOCK: Logo + Address */
.brand-block {
  display: flex;
  align-items: center;
  padding-left: 10px;
  gap: 28px;
}

/* LOGO */
.company-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.company-logo:hover {
  transform: scale(1.05);
}

/* ADDRESS */
.navbar-address {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  padding: 10px 14px;
  border: 2px solid #0077cc;
  border-radius: 50%;
  background: white;
  transition: 0.3s ease;
}

.nav-links a:hover {
  background: #f0f7ff;
  border-color: #dce9f9;
}

/* BURGER MENU */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.burger span {
  width: 28px;
  height: 3px;
  background: #1a1a1a;
  border-radius: 3px;
}

.burger:active {
  transform: scale(0.85);
}

/* HOURS BAR */
.hours-bar {
  background: #f0f7ff;
  border-bottom: 1px solid #dce9f9;
  padding: 20px 60px;
  position: sticky;
  top: 159px;
  z-index: 999;
}

.hours-row {
  display: flex;
  justify-content: center;
  gap: 40px;
}

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

.hours-day {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.hours-time {
  display: block;
  font-size: 15px;
  opacity: 0.85;
}

/* HERO */
.hero {
  background: url('images/ice-hero.jpg') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 40px;
}

.hero-content {
  background: rgba(255, 255, 255, 0.75);
  padding: 50px;
  border-radius: 12px;
  max-width: 650px;
  text-align: center;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #0099ff;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* FEATURES */
.features h2 {
  margin-bottom: 40px;
}

.feature-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  width: 360px;
  padding: 0 0 30px 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card img[alt="Crushed Ice"] {
  margin-top: 20px;
}

.product-img {
  width: 400px;
  max-width: none;
  display: block;
  margin: 0 auto;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
}

.menu-list li {
  margin-bottom: 8px;
}

.section-title-box {
  background: rgba(255, 255, 255, 0.75);
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto 40px auto;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.section-title-box h2 {
  font-size: 28px;
}

.dry-ice-card p,
.dry-ice-card li {
  margin-top: 30px;
}

.age-warning {
  color: #c10303;
  font-weight: 600;
}

/* CONTACT */
.contact-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contact-box {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.contact-box h2 {
  margin-bottom: 10px;
}

.contact-box p {
  margin-bottom: 30px;
  font-size: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  font-size: 18px;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.icon-item {
  font-size: 18px;
  font-weight: 600;
}

.contact-divider {
  border: none;
  border-top: 2px solid #dce9f9;
  margin: 20px 0 30px 0;
}

.glow-btn {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  background: #0099ff;
  color: white;
  border-radius: 8px;
  border: none;
  transition: box-shadow 0.3s ease;
}

.glow-btn:hover {
  box-shadow: 0 0 12px rgba(0,153,255,0.7);
}

.success-popup {
  display: none;
  margin-top: 20px;
  padding: 15px;
  background: #e0f4ff;
  border-left: 4px solid #0099ff;
  border-radius: 8px;
  font-weight: 600;
}

.map-container {
  max-width: 600px;
  margin: 0 auto 80px auto;
}

.contact-phone-link,
.contact-email-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
}

.contact-phone-link:hover,
.contact-email-link:hover {
  text-decoration: underline;
}

html, body {
  overflow-x: hidden;
}

#about {
  padding-bottom: 10px;
}

/* TEMP WIDGET */
.temp-widget {
  font-size: 16px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.45);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* FOOTER */
.footer {
  position: relative;
  background: #eaf3ff;
  padding: .15px 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}

.footer-logo {
  position: absolute;
  bottom: 5px;
  left: 20px;
  width: 90px;
  height: auto;
  filter: brightness(0) invert(1) saturate(1.4);
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}


/* ============================
   MOBILE — CLEAN REWRITE
   ============================ */
@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    position: relative;
  }

  .brand-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .company-logo {
    width: 120px;
  }

  .navbar-address {
    font-size: 14px;
    text-align: left;
  }

  /* TEMP WIDGET — centered between logo + burger */
  .temp-widget {
    position: static;
    margin: 0 auto;
    order: 2;
    font-size: 14px;
    padding: 6px 12px;
  }

  .brand-block { order: 1; }
  .burger { order: 3; }

  /* BURGER MENU */
  .burger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 10px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 180px;
    text-align: center;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  /* HOURS BAR */
  .hours-bar {
    position: static;
    padding: 15px 20px;
  }

  .hours-row {
    flex-direction: column;
    gap: 15px;
  }

  /* HERO */
  .hero {
    height: auto;
    padding: 40px 20px;
  }

  .hero-content {
    padding: 30px 20px;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  /* PRODUCT GRID */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 10px;
    justify-items: center; /* centers Dry Ice card */
  }

  .feature-card {
    width: 100%;
    padding-bottom: 20px;
  }

  .product-img {
    width: 100%;
    max-width: 180px;
    height: auto;
  }

  /* CONTACT */
  .contact-box {
    padding: 30px 20px;
  }

  .contact-icons {
    flex-direction: column;
    gap: 10px;
  }

  /* FOOTER */
  .footer {
    padding: 20px 0;
  }

  .footer-logo {
    position: static;
    margin-bottom: 10px;
    width: 70px;
  }
}

@media (max-width: 768px) {

  /* Make navbar a 3‑item flex row */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Reorder items for mobile layout */
  .burger {
    order: 1;   /* left */
    display: flex;
  }

  .temp-widget {
    order: 2;   /* center */
    position: static;
    margin: 0 auto;
    transform: none;
    font-size: 14px;
    padding: 6px 12px;
  }

  .brand-block {
    order: 3;   /* right */
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .company-logo {
    width: 120px;
  }

  .navbar-address {
    font-size: 14px;
    text-align: center;
  }

  /* Burger menu dropdown stays the same */
  .nav-links {
    position: absolute;
    top: 60px;
    right: 10px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 180px;
    text-align: center;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
}

/* GLOBAL */
body {
  background: url('assets/simon-joseph-nch8BONvaCw-unsplash.jpg') center/cover no-repeat fixed;
  background-size: cover;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}


h1, h2, h3 {
  margin: 0;
  font-weight: 700;
}

section {
  padding: 80px 20px;
  text-align: center;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 40px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* LEFT BLOCK: Logo + Address */
.brand-block {
  display: flex;
  align-items: center;
  padding-left: 10px;
  gap: 28px;
}

/* LOGO */
.company-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.company-logo:hover {
  transform: scale(1.05);
}

/* ADDRESS */
.navbar-address {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  padding: 10px 14px;
  border: 2px solid #0077cc;
  border-radius: 50%;
  background: white;
  transition: 0.3s ease;
}

.nav-links a:hover {
  background: #f0f7ff;
  border-color: #dce9f9;
}

/* BURGER MENU */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.burger span {
  width: 28px;
  height: 3px;
  background: #1a1a1a;
  border-radius: 3px;
}

.burger:active {
  transform: scale(0.85);
}

/* HOURS BAR */
.hours-bar {
  background: #f0f7ff;
  border-bottom: 1px solid #dce9f9;
  padding: 20px 60px;
  position: sticky;
  top: 159px;
  z-index: 999;
}

.hours-row {
  display: flex;
  justify-content: center;
  gap: 40px;
}

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

.hours-day {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.hours-time {
  display: block;
  font-size: 15px;
  opacity: 0.85;
}

/* HERO */
.hero {
  background: url('images/ice-hero.jpg') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 40px;
}

.hero-content {
  background: rgba(255, 255, 255, 0.75);
  padding: 50px;
  border-radius: 12px;
  max-width: 650px;
  text-align: center;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #0099ff;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* FEATURES */
.features h2 {
  margin-bottom: 40px;
}

.feature-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  width: 360px;
  padding: 0 0 30px 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card img[alt="Crushed Ice"] {
  margin-top: 20px;
}

.product-img {
  width: 400px;
  max-width: none;
  display: block;
  margin: 0 auto;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
}

.menu-list li {
  margin-bottom: 8px;
}

.section-title-box {
  background: rgba(255, 255, 255, 0.75);
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto 40px auto;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.section-title-box h2 {
  font-size: 28px;
}

.dry-ice-card p,
.dry-ice-card li {
  margin-top: 30px;
}

.age-warning {
  color: #c10303;
  font-weight: 600;
}

/* CONTACT */
.contact-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contact-box {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.contact-box h2 {
  margin-bottom: 10px;
}

.contact-box p {
  margin-bottom: 30px;
  font-size: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  font-size: 18px;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.icon-item {
  font-size: 18px;
  font-weight: 600;
}

.contact-divider {
  border: none;
  border-top: 2px solid #dce9f9;
  margin: 20px 0 30px 0;
}

.glow-btn {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  background: #0099ff;
  color: white;
  border-radius: 8px;
  border: none;
  transition: box-shadow 0.3s ease;
}

.glow-btn:hover {
  box-shadow: 0 0 12px rgba(0,153,255,0.7);
}

.success-popup {
  display: none;
  margin-top: 20px;
  padding: 15px;
  background: #e0f4ff;
  border-left: 4px solid #0099ff;
  border-radius: 8px;
  font-weight: 600;
}

.map-container {
  max-width: 600px;
  margin: 0 auto 80px auto;
}

.contact-phone-link,
.contact-email-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
}

.contact-phone-link:hover,
.contact-email-link:hover {
  text-decoration: underline;
}

html, body {
  overflow-x: hidden;
}

#about {
  padding-bottom: 10px;
}

/* TEMP WIDGET */
.temp-widget {
  font-size: 16px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.45);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* FOOTER */
.footer {
  position: relative;
  background: #eaf3ff;
  padding: .15px 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}

.footer-logo {
  position: absolute;
  bottom: 5px;
  left: 20px;
  width: 90px;
  height: auto;
  filter: brightness(0) invert(1) saturate(1.4);
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}


/* ============================
   MOBILE — FINAL CLEAN VERSION
   ============================ */
@media (max-width: 768px) {

  /* NAVBAR — burger left, temp center, logo right */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    position: relative;
  }

  .burger {
    order: 1;
    display: flex;
  }

  .temp-widget {
    order: 2;
    position: static;
    margin: 0 auto;
    transform: none;
    font-size: 14px;
    padding: 6px 12px;
  }

  .brand-block {
    order: 3;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .company-logo {
    width: 120px;
  }

  .navbar-address {
    font-size: 14px;
    text-align: center;
  }

  /* BURGER DROPDOWN */
  .nav-links {
    position: absolute;
    top: 60px;
    left: 10px;              /* ← anchor to the left */
    right: auto;             /* ← remove right-side anchoring */
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 180px;
    text-align: center;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  /* HOURS BAR */
  .hours-bar {
    position: static;
    padding: 15px 20px;
  }

  .hours-row {
    flex-direction:row ;
    gap: 15px;
  }

  /* HERO */
  .hero {
    height: auto;
    padding: 40px 20px;
  }

  .hero-content {
    padding: 30px 20px;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  /* PRODUCT GRID — Dry Ice card centered */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 10px;
    justify-items: center;
  }

  .feature-card {
    width: 100%;
    padding-bottom: 20px;
  }

  .product-img {
    width: 100%;
    max-width: 180px;
    height: auto;
  }

  /* CONTACT */
  .contact-box {
    padding: 30px 20px;
  }

  .contact-icons {
    flex-direction: column;
    gap: 10px;
  }

  /* FOOTER */
  .footer {
    padding: 20px 0;
  }

  .footer-logo {
    position: static;
    margin-bottom: 10px;
    width: 70px;
  }
}

/* CONTACT FORM — fix leaking inputs on mobile */
.contact-form input,
.contact-form textarea {
  width: 90%;          /* slightly smaller so they don’t touch edges */
  margin: 0 auto 16px; /* centers each field */
  padding: 12px;       /* reduce padding for smaller screens */
  font-size: 15px;     /* scale text down a bit */
  display: block;      /* ensures proper centering */
}

.contact-form textarea {
  height: 130px;       /* slightly smaller height */
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: 10px;
    z-index: 9999;   /* guaranteed top layer */
  }
}
