:root {
  --nr-ink: #0f1a24;
  --nr-charcoal: #223140;
  --nr-sand: #e6f4ff;
  --nr-clay: #c9d1db;
  --nr-amber: #4aa3df;
  --nr-olive: #6d8599;
  --nr-cream: #f8fbff;
  --nr-accent: #0b1620;
  --nr-shadow: 0 18px 45px rgba(15, 26, 36, 0.15);
  --nr-radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: linear-gradient(135deg, #f4fbff 0%, #e5f3ff 50%, #ffffff 100%);
  color: var(--nr-ink);
  padding-top: 70px;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.5px;
}

p {
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: inherit;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--nr-amber);
  text-decoration: none;
}

.nr-nav {
  background: rgba(248, 251, 255, 0.96);
  border: none;
  box-shadow: 0 2px 18px rgba(15, 26, 36, 0.08);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 4px;
  font-size: 20px;
}

.nr-search .form-control {
  border-radius: 999px;
  border: 1px solid rgba(15, 26, 36, 0.2);
  background: var(--nr-cream);
  box-shadow: none;
}

.nr-hero {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}

.nr-hero-carousel .nr-hero-slide {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.nr-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 26, 36, 0.65), rgba(15, 26, 36, 0.2));
}

.nr-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  text-align: left;
  color: #fff;
  padding: 30px;
  animation: rise 0.9s ease forwards;
  margin-left: auto;
  margin-right: 0%;
}

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

.nr-hero-content p:last-of-type {
  margin-bottom: 6px;
}

.nr-hero-content .btn {
  margin-top: 0;
}

.nr-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--nr-clay);
}

.nr-hero .nr-eyebrow {
  color: #fff;
  font-size: 14px;
}

.nr-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 24px;
  animation: float 2.4s ease-in-out infinite;
}

.nr-section {
  padding: 90px 0;
}

.nr-image-card {
  background: #fff;
  border-radius: var(--nr-radius);
  overflow: hidden;
  box-shadow: var(--nr-shadow);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.nr-image-card img {
  width: 100%;
  display: block;
}

.nr-image-card:hover {
  transform: translateY(-10px);
}

.nr-tall img {
  min-height: 420px;
  object-fit: cover;
}

.nr-parallax {
  position: relative;
  background-image: url("../images/How-to-Choose-the-Best-Windows-for-Your-Home-Remodel-in-the-Mountains.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: left;
}

.nr-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 36, 0.6);
}

.nr-parallax-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.nr-stats {
  background: var(--nr-cream);
}

.nr-stat {
  text-align: center;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--nr-shadow);
  animation: fade 1.2s ease;
}

.nr-stat h3 {
  font-size: 36px;
  color: var(--nr-amber);
  margin-top: 0;
}

.nr-section-head {
  text-align: center;
  margin-bottom: 50px;
}

.nr-product {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--nr-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.nr-product:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 50px rgba(15, 26, 36, 0.18);
}

.nr-related .nr-product {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.nr-related .nr-product:hover {
  transform: none;
  box-shadow: none;
}

.nr-related .nr-product-image {
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
}

.nr-product-image {
  height: 240px;
  background-size: cover;
  background-position: center;
}

.nr-product-body {
  padding: 24px;
}

.nr-price {
  display: block;
  font-weight: 600;
  color: var(--nr-amber);
  margin-bottom: 10px;
}

.nr-carousel {
  background: var(--nr-cream);
}

.nr-carousel-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--nr-shadow);
}

.nr-carousel-card img {
  width: 100%;
  display: block;
}

.nr-contact-short {
  background: var(--nr-olive);
  color: #fff;
}

.nr-subscribe .form-control {
  border-radius: 999px 0 0 999px;
  border: none;
  height: 50px;
}

.nr-subscribe .btn {
  height: 50px;
  border-radius: 0 999px 999px 0;
}

.nr-map-frame {
  position: relative;
  height: 420px;
}

.nr-map-frame iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(0.35);
  border: 0;
}

.nr-map-overlay {
  position: absolute;
  right: 8%;
  top: 20%;
  background: rgba(255, 255, 255, 0.92);
  padding: 25px;
  border-radius: 18px;
  box-shadow: var(--nr-shadow);
}

.nr-footer {
  background: #0f1a24;
  color: #eaf4ff;
  padding: 70px 0 30px;
}

.nr-footer h3,
.nr-footer h4 {
  color: #fff;
}

.nr-footer-list {
  list-style: none;
  padding: 0;
}

.nr-footer-list li {
  margin-bottom: 12px;
}

.nr-footer-form .form-control {
  margin-bottom: 12px;
  border-radius: 8px;
  border: none;
}

.nr-footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  padding-top: 20px;
}

.nr-social {
  margin-top: 20px;
}

.nr-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-right: 10px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.nr-social-icon:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--nr-amber);
  color: #0f1a24;
}

.nr-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--nr-amber);
  color: #0f1a24;
  font-size: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--nr-shadow);
  z-index: 999;
}

.btn-primary {
  background: var(--nr-amber);
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #338fcf;
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  border-radius: 999px;
  padding: 10px 26px;
  display: inline-block;
}

.nr-product-hero {
  padding-top: 120px;
}

.nr-product-carousel img {
  width: 100%;
  border-radius: 20px;
}

.nr-product-details {
  padding: 20px 10px;
}

.nr-product-meta div {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.nr-product-meta span {
  color: var(--nr-amber);
  margin-right: 10px;
}

.nr-product-actions {
  margin-top: 20px;
}

.nr-product-actions .form-control {
  margin-bottom: 12px;
  border-radius: 12px;
  height: 46px;
}

.nr-cart {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.nr-cart.is-hidden {
  display: none;
}

.nr-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.nr-cart-header h3 {
  margin: 0;
  font-size: 20px;
}

.nr-cart-body {
  margin-bottom: 12px;
}

.nr-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(15, 26, 36, 0.12);
  padding: 12px 14px;
  border-radius: 12px;
}

.nr-cart-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.nr-cart-price {
  font-weight: 600;
  font-size: 18px;
}

.nr-cart-alert {
  min-height: 18px;
  color: #6fb0de;
  margin: 8px 0 12px;
}

.nr-cart-actions {
  margin-bottom: 10px;
}

.nr-cart-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.nr-product-share {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nr-product-info {
  background: var(--nr-cream);
}

.nr-contact-hero h1 {
  margin-bottom: 20px;
}

.nr-contact-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: var(--nr-shadow);
  margin-top: 30px;
}

.nr-contact-card p {
  margin-bottom: 14px;
}

.nr-contact-card span {
  color: var(--nr-amber);
  margin-right: 10px;
}

.nr-contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--nr-shadow);
}

.nr-contact-form .form-control,
.nr-contact-form select,
.nr-contact-form textarea {
  border-radius: 12px;
}

.nr-contact-subscribe {
  background: var(--nr-cream);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .nr-hero-content h1 {
    font-size: 40px;
  }

  .nr-map-overlay {
    right: 5%;
    top: 10%;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 60px;
  }

  .nr-hero-carousel .nr-hero-slide {
    min-height: 70vh;
  }

  .nr-hero-content {
    text-align: center;
  }

  .nr-hero-content .btn {
    display: inline-block;
  }

  .nr-map-overlay {
    position: static;
    margin: 20px;
  }

  .nr-subscribe .form-control,
  .nr-subscribe .btn {
    border-radius: 999px;
  }

  .nr-contact-form {
    margin-top: 30px;
  }
}
