/* Aribellas Fabrics home page */

/* Reset default browser spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base page style */
body {
  font-family: Georgia, "Times New Roman", serif;
  background: #ffffff;
  color: #2b2b2b;
}

/* Website under construction notification */
.construction-notice {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 9999;

  width: calc(100% - 40px);
  max-width: 600px;
  padding: 16px 18px;

  display: flex;
  align-items: center;
  gap: 14px;

  color: #59420e;
  background: rgba(255, 252, 235, 0.97);
  border: 1px solid #e5b94f;
  border-left: 5px solid #d99b16;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);

  transform: translateX(-50%);
}

.construction-icon {
  flex-shrink: 0;
  color: #d99b16;
  font-size: 24px;
}

.construction-message {
  flex: 1;
}

.construction-message strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
}

.construction-message p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.notice-close {
  flex-shrink: 0;
  padding: 5px;

  color: #80601b;
  background: transparent;
  border: 0;

  font-size: 18px;
  cursor: pointer;
}

.notice-close:hover {
  color: #2f240b;
}

@media (max-width: 600px) {
  .construction-notice {
    top: 10px;
    width: calc(100% - 20px);
    padding: 13px 14px;
  }

  .construction-message strong {
    font-size: 14px;
  }

  .construction-message p {
    font-size: 12px;
  }
}

/* Hero section */
.hero-section {
  position: relative;
  width: 100%;
  height: 430px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated background image */
.hero-bg {
  position: absolute;
  inset: -40px;
  z-index: 1;

  /* home.css is inside public/css, so images are one folder above */
  background-image: url("../img/herobg.png");
  background-position: center;
  background-size: cover;

  animation: slowZoomMove 15s ease-in-out infinite alternate;
  will-change: transform;
}

/* Soft dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  background: rgba(0, 0, 0, 0.18);
}

/* Glass logo box */
.hero-content {
  position: relative;
  z-index: 3;

  width: 310px;
  min-height: 190px;
  padding: 42px 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.hero-logo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

@keyframes slowZoomMove {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }

  25% {
    transform: scale(1.11) translate3d(-18px, -8px, 0);
  }

  50% {
    transform: scale(1.14) translate3d(18px, -16px, 0);
  }

  75% {
    transform: scale(1.12) translate3d(-12px, 14px, 0);
  }

  100% {
    transform: scale(1.16) translate3d(24px, 10px, 0);
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 420px;
  }

  .hero-content {
    width: 82%;
    min-height: 150px;
    padding: 32px 28px;
    border-radius: 18px;
  }

  .hero-logo {
    width: 190px;
  }
}

/* Home introduction section */
.about-section1 {
  width: 100%;
  min-height: 170px;
  padding: 55px 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #eef0f2;
}

.intro-text-box {
  width: 100%;
  max-width: 950px;
  text-align: center;
}

.intro-text-box p {
  margin: 0;

  color: #2c2434;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.6px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .about-section1 {
    min-height: 150px;
    padding: 42px 24px;
  }

  .intro-text-box p {
    font-size: 21px;
    line-height: 1.45;
  }
}

/* Collection section */
.collection-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 55px 24px 70px;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.collection-card {
  position: relative;
  height: 280px;
  overflow: hidden;

  background: #f3f0eb;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(44, 36, 52, 0.12);
  cursor: pointer;
}

.collection-card img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.45s ease;
}

.collection-card:hover img {
  transform: scale(1.06);
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.12);
  transition: background 0.3s ease;
}

.collection-card:hover::after {
  background: rgba(0, 0, 0, 0.04);
}

.card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;

  width: 82%;
  padding: 18px 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
}

.card-content h2 {
  margin: 0;

  color: #fff8ee;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2.5px;
  line-height: 1.25;
  text-transform: uppercase;

  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.45),
    0 8px 18px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1100px) {
  .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-content h2 {
    font-size: 19px;
    letter-spacing: 2px;
  }
}

@media (max-width: 650px) {
  .collection-grid {
    grid-template-columns: 1fr;
    padding: 35px 22px 50px;
  }

  .collection-card {
    height: 280px;
  }

  .card-content h2 {
    font-size: 22px;
    letter-spacing: 2px;
  }
}

/* Fixed rewards button */
.rewards {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 200;

  padding: 16px 24px;

  display: flex;
  align-items: center;
  gap: 10px;

  color: #ffffff;
  background: #7b527c;
  border-radius: 35px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);

  font-family: Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
}

/* Footer */
.site-footer {
  width: 100%;
  padding: 34px 20px 28px;

  text-align: center;
  background: #ffffff;
  border-top: 1px solid rgba(44, 36, 52, 0.12);
}

.footer-nav {
  margin-bottom: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;

  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.footer-nav a {
  color: #1f1f1f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav span {
  color: #777777;
  font-size: 12px;
}

.footer-nav a:hover {
  color: #7b527c;
}

.footer-copy {
  margin: 0 0 6px;

  color: #9a9a9a;
  font-family: Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.footer-credit {
  margin: 0;

  color: #7d7d7d;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

@media (max-width: 650px) {
  .site-footer {
    padding: 28px 18px 24px;
  }

  .footer-nav {
    gap: 8px;
    font-size: 11px;
    line-height: 1.8;
  }

  .footer-copy {
    font-size: 12px;
    line-height: 1.5;
  }

  .footer-credit {
    font-size: 10px;
  }

  .rewards {
    right: 16px;
    bottom: 16px;
    padding: 13px 19px;
  }
}