/* ============================
   Sections: Header, Hero, About, Products, Contact, Footer
============================= */

/*Header: Tagline, Logo, Nav, Icons*/
/* Top Tagline */
.top-tagline {
  background-color: #111;
  color: #bbb;
  font-size: 0.9rem;
  text-align: center;
  padding: 10px 0;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Header Main */
.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px 40px;
  background: linear-gradient(to right, #1a1a1a, #2c2c2c);
}

/* Logo */
.logo a {
  text-decoration: none;
}

.logo-text {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1.2px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo-text:hover {
  transform: scale(1.05);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Navigation */
.main-nav .nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
  justify-content: center;
}

.main-nav .nav-list a {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.main-nav .nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #00c6ff;
  transition: width 0.3s ease;
}

.main-nav .nav-list a:hover {
  color: #00c6ff;
}

.main-nav .nav-list a:hover::after {
  width: 100%;
}

/* Icons */
.header-icons {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.header-icons a {
  color: #fff;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.header-icons a:hover {
  color: #00c6ff;
}

.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-content {
  margin-bottom: 50px;
  padding: 0 20px;
  animation: fadeInUp 1.5s ease-out;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(90deg, #ff6a00, #ee0979, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

.hero-tagline {
  font-size: 1.8rem;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(90deg, #00c6ff, #007acc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
}

.banner-inputs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 800px;
  margin: 30px auto 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.banner-inputs input {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.banner-inputs input:focus {
  outline: none;
  box-shadow: 0 0 0 3px #00c6ff55;
}

.products h2,
.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
}

.curved-section {
  position: relative;
  background: linear-gradient(to right, #ffffff, #f0f0f0);
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.curve-top,
.curve-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
}

.curve-top {
  top: 0;
  transform: rotate(180deg);
}

.curve-bottom {
  bottom: 0;
}

.products.curved-section {
  background: linear-gradient(to right, #f5f5f5, #ffffff);
}

.products-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
  border: 1px solid #ccc;
  transition: transform 0.3s ease;
}

.product-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.product-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* Info Icon */
.info-icon {
  display: inline-block;
  margin-top: 10px;
  color: #007acc;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.info-icon:hover {
  transform: scale(1.2);
}

.thumbnail-carousel {
  margin-top: 1rem;
}

.thumbnail-image {
  width: 100px;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.thumbnail-image:hover {
  transform: scale(1.05);
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.modal-content img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.modal-content p {
  font-size: 1rem;
  color: #555;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* Splide Arrows */
.splide__arrow {
  background: #007acc;
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

.splide__arrow:hover {
  background: #005fa3;
}

.splide__arrow--prev {
  left: -40px;
}

.splide__arrow--next {
  right: -40px;
}

/*about-section*/
.about h2,

.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.about-us h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.about-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.timeline-section {
  margin-top: 4rem;
  text-align: center;
}

.timeline-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.timeline-card h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #007acc;
}


.contact.curved-section {
  background: linear-gradient(to right, #ffffff, #e8f0ff);
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.contact-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-content input,
.contact-content textarea {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
}

.contact-content button {
  background-color: #007acc;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-content button:hover {
  background-color: #005fa3;
}

footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
}

footer a {
  color: #00c6ff;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

/* ============================
   Scoped Styles: Product Card
============================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}
.best-sellers h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #333;
}

.best-sellers .subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.product-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.4rem;
  font-family: 'Poppins', sans-serif;
}

.product-info p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.75rem;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.product-card:hover .card-overlay {
  opacity: 1;
}

.overlay-icon {
  background: #007acc;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, background 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-icon:hover,
.overlay-icon:focus {
  transform: scale(1.15);
  background: #005fa3;
}

.overlay-icon.like.liked {
  background: #e91e63;
}
