/* ===== GLOBAL ===== */

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: #111;
  padding: 15px;
  text-align: center;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin: 0 20px;
  font-weight: bold;
  transition: 0.3s;
}

.navbar a:hover {
  color: #4CAF50;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background-image: url("./images/hero-bg.jpg/"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

/* Dark overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUp 2.8s ease forwards;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 22px;
  margin-bottom: 25px;
}

/* Button */
.hero button {
  padding: 15px 35px;
  font-size: 18px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background-color: #2e7d32;
  color: white;
  transition: 0.3s ease;
}

.hero button:hover {
  background-color: #1b5e20;
  transform: scale(1.08);
}

/* ===== CATEGORIES ===== */
.categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.categories button {
  padding: 20px 40px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #4CAF50;
  color: white;
  transition: 0.3s;
}

.categories button:hover {
  background: #388e3c;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero {
  background: rgb(245, 4, 8);
}
/* ===== HERO BANNER IMAGE ===== */
.hero {
  text-align: center;
  padding-bottom: 40px;
}

.hero-banner {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.hero-content {
  margin-top: 30px;
}
/* Space below hero section */
.hero {
  margin-bottom: 60px;
}

/* Extra spacing above catalog section */
.catalog {
  margin-top: 40px;
}
/* ===== CONTACT PAGE ===== */
.contact-section {
  max-width: 600px;
  margin: 60px auto;
  padding: 20px;
  text-align: center;
}

.contact-section h1 {
  margin-bottom: 10px;
}

.contact-section form {
  margin-top: 20px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row input {
  flex: 1;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-section button {
  background-color: #2e7d32;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-section button:hover {
  background-color: #1b5e20;
}
/* ===== ABOUT PAGE ===== */
.about-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
  line-height: 1.8;
  font-size: 17px;
}

.about-section h1 {
  text-align: left;
  margin-bottom: 30px;
}
.warranty-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
  line-height: 1.8;
}
/* ===== POLICY PAGES ===== */
.policy-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
  line-height: 1.8;
}

.policy-section h1 {
  text-align: center;
  margin-bottom: 30px;
}

.policy-section h2 {
  margin-top: 30px;
}
.footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: white;
}

.footer a {
  color: #4CAF50;
  text-decoration: none;
  margin: 0 10px;
}
.contact-note {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}
#product-options {
  display: none;
}
.product-page{
display:flex;
gap:40px;
max-width:1200px;
margin:auto;
padding:40px;
}

.product-images{
flex:1;
}

.main-image{
width:100%;
border-radius:10px;
}

.thumbnail-row{
display:flex;
gap:10px;
margin-top:10px;
}

.thumbnail-row img{
width:70px;
cursor:pointer;
border:1px solid #ddd;
border-radius:5px;
}

.product-info{
flex:1.2;
}

.product-price{
font-size:28px;
color:#c40000;
font-weight:bold;
}

.spec-table{
width:100%;
border-collapse:collapse;
margin-top:10px;
}

.spec-table td{
border-bottom:1px solid #ddd;
padding:6px;
}

.buy-box{
flex:0.8;
border:1px solid #ddd;
padding:20px;
border-radius:10px;
height:fit-content;
}

.cart-btn{
width:100%;
background:#ffd814;
border:none;
padding:12px;
margin-top:10px;
cursor:pointer;
}

.buy-btn{
width:100%;
background:#ff9900;
border:none;
padding:12px;
margin-top:10px;
cursor:pointer;
color:white;
}

.stock{
color:green;
margin-top:10px;
}
.specs-table{
width:100%;
border-collapse:collapse;
margin-top:20px;
font-size:14px;
}

.specs-table td{
border:1px solid #ddd;
padding:8px;
}

.specs-table tr:nth-child(even){
background:#f5f5f5;
}

.specs-table td:first-child{
font-weight:bold;
width:40%;
}
.cart-icon{
font-weight:bold;
font-size:18px;
float: right;
}

.cart-icon span{
background:red;
color:white;
padding:2px 6px;
border-radius:50%;
font-size:14px;
margin-left:5px;
}
.shipping-banner{
background:#111;
color:white;
text-align:center;
padding:10px;
font-size:14px;
letter-spacing:0.5px;
}
.free-ship-msg{
color:green;
font-weight:600;
margin-top:8px;
}
#product-options div{
margin-bottom:15px;
}
#product-options label{
display:block;
margin-bottom:5px;
font-weight:bold;
}
.review-section{
margin-top:40px;
border-top:1px solid #ccc;
padding-top:20px;
}

#review-text{
width:100%;
max-width:400px;
padding:10px;
margin-bottom:10px;
}

.review-item{
background:#f7f7f7;
padding:10px;
margin-top:10px;
border-radius:5px;
}
.view-btn{
display:inline-block;
padding:10px 16px;
background:rgb(62, 234, 32);
color:white;
text-decoration:none;
border-radius:5px;
margin-top:8px;
}

.view-btn:hover{
background:#c60808;
}
#product-measurements{
margin-top:15px;
line-height:1.6;
font-size:15px;
}
#product-note{
margin-top:10px;
font-size:14px;
color:#777;
font-style:italic;
}

.review-image{
margin-top:30px;
text-align:left;
}

.review-image img{
border-radius:8px;
max-width:100%;
}



















/* ===== PRODUCT PAGE ===== */
.product-page {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* ---- PRODUCT IMAGES ---- */
.product-images {
  flex: 1;
  min-width: 280px;
}

.main-image {
  width: 100%;
  border-radius: 10px;
}

.thumbnail-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.thumbnail-row img {
  width: 70px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* ---- PRODUCT INFO ---- */
.product-info {
  flex: 1.2;
  min-width: 300px;
}

/* Price */
.product-price {
  font-size: 28px;
  color: #c40000;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Stock info */
.stock {
  color: green;
  margin-top: 10px;
}

/* ---- PRODUCT OPTIONS (Size / Color) ---- */
#product-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

#size-container,
#color-container {
  flex: 1;
  min-width: 140px;
}

#size-container label,
#color-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

#size-container button,
#color-container button {
  margin: 5px 5px 0 0;
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  background-color: #f7f7f7;
  transition: 0.2s;
}

#size-container button:hover,
#color-container button:hover {
  background-color: #4CAF50;
  color: white;
}

/* ---- SIZE CHART ---- */

/* ---- BUY BOX ---- */
.buy-box {
  flex: 0.8;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  height: fit-content;
}

.cart-btn,
.buy-btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

.cart-btn {
  background: #ffd814;
}

.buy-btn {
  background: #ff9900;
  color: white;
}

/* ---- SPECIFICATIONS TABLE ---- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

.specs-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.specs-table tr:nth-child(even) {
  background: #f5f5f5;
}

.specs-table td:first-child {
  font-weight: bold;
  width: 40%;
}
















.size-chart {
  flex-basis: 100%;
  margin-top: 20px;
}

.size-chart img {
  max-width: 100%;
  display: block;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#description ul {
  padding-left: 20px;
}

#description li {
  margin-bottom: 6px;
}