@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary: #002147;
    --accent: #D4AF37;
    --white: #ffffff;
    --grey: #f4f4f4;
    --dark: #1a1a1a;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Poppins', sans-serif; color: var(--dark); line-height: 1.6; }

h1, h2, .logo { font-family: 'Playfair Display', serif; }

/*                  ----------header start----------                      */

/* HEADER */
.header{
  background:#002147;
  color:#fff;
  padding:14px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:18px;
  font-weight:600;
  position:sticky;
  top:0;
  z-index:1000;
}

/* LOGO */
.logo{
  display:flex;
  align-items:center;
  gap:8px;
}

/* NAV MENU */
.nav-menu{
  display:flex;
  gap:22px;
}

.nav-menu a{
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
}

.nav-menu a:hover{
  text-decoration:underline;
}

/* MOBILE MENU */
.menu-toggle{
  display:none;
  font-size:22px;
  cursor:pointer;
}

@media(max-width:768px){

  .menu-toggle{
    display:block;
  }

  .nav-menu{
    position:absolute;
    top:60px;
    left:0;
    width:100%;
    background:#002147;
    flex-direction:column;
    display:none;
  }

  .nav-menu a{
    padding:12px;
    border-top:1px solid rgba(255,255,255,0.2);
    text-align:center;
  }

  .nav-menu.active{
    display:flex;
  }

}
/*                  ----------Header End----------                      */



.img img{
    margin-top: 22px;
    padding-bottom: 10px;
    width: 100%;
}
.box{
    display: flex;
    padding: 0px 20px;
}
.box1 img{
    width: 35px;
}
.box2{
    width: 90%;
}
.box2 a{
    text-decoration: none;
    color: black;
    padding: 0px 4px;
}

.box3 img{
    width: 40px;
}
.box4 a{
    text-decoration: none;
    color: black;
    padding: 0px 4px;
}
.box2 a:hover{
    color: #e74c3c;
    font-size: 17px;
    padding: 0px 4px;
}
.box4 a:hover{
    color: #e74c3c;
    font-size: 17px;
    padding: 0px 4px;
}
.description h1{
    padding: 0px 26px;
    margin-top: 6%;
    font-size: 4vh;
    font-family: PT Sans Arial Narrow;
}
.description h3{
    font-size: 3vh;
    color: #e74c3c;
    margin-top: 0%;
    padding: 0px 28px;
    font-family: Academy Engraved LET;
}

.description ul{
    list-style: none;
    margin-left: 38px;
}
.description li{
    padding: 12px 0px;
    font-size: 3vh;
    margin-left: -12px;
}
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,33,71,0.7), rgba(0,33,71,0.7)), url('https://images.unsplash.com/photo-1516962215378-7fa2e137ae93?auto=format&fit=crop&q=80&w=2000');
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--white);
}

.hero h1 { font-size: 4rem; margin-bottom: 1rem; animation: fadeInDown 1s ease; }

.btn-premium {
    padding: 1rem 2.5rem; background: var(--accent); color: var(--primary); text-decoration: none;
    font-weight: 600; border-radius: 50px; transition: 0.4s; box-shadow: 0 8px 15px rgba(212, 175, 55, 0.3);
}

.section-title { font-size: 2.5rem; color: var(--primary); text-align: center; margin-bottom: 3rem; }

.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--accent); margin: 10px auto; }

.product-page-container { display: flex; gap: 3rem; padding: 0 8%; }

.sidebar { width: 250px; background: var(--grey); padding: 2rem; border-radius: 20px; height: fit-content; }

.product-grid { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }

.card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: 0.4s; position: relative; }

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

.card-img-wrapper { height: 200px; overflow: hidden; }

.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }

.card:hover .card-img-wrapper img { transform: scale(1.1); }

.badge-brand { position: absolute; top: 15px; left: 15px; background: var(--primary); color: white; padding: 5px 12px; border-radius: 20px; font-size: 0.7rem; }

.card-content { padding: 1.5rem; }

.card-type { color: var(--accent); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }

.shop-now-btn {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--primary), #003366);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid var(--accent);
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(0, 33, 71, 0.25);
}

.shop-now-btn i {
    font-size: 1.1rem;
}

.shop-now-btn:hover {
    background: linear-gradient(135deg, var(--accent), #f1d27a);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.45);
}
/* Add to Cart Button */
.add-to-cart-btn {
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.add-to-cart-btn i {
  font-size: 16px;
}

.add-to-cart-btn:hover {
  background: linear-gradient(135deg, #ff5722, #e64a19);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.add-to-cart-btn:active {
  transform: scale(0.97);
}
/*-----cart icon--------*/
.cart-icon {
  position: relative;
  font-size: 26px;
  cursor: pointer;
  color: #ffffff; /* white icon */
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;

  background: linear-gradient(135deg, #00e676, #00c853); /* bright green */
  color: #000; /* black text for contrast */

  font-size: 12px;
  font-weight: 800;

  padding: 4px 8px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
  line-height: 1;

  box-shadow:
    0 0 0 2px #111,              /* border for dark bg */
    0 6px 14px rgba(0,0,0,0.4);

  animation: pop 0.25s ease;
}

@keyframes pop {
  0% { transform: scale(0.6); }
  100% { transform: scale(1); }
}

/*-----cart icon end--------*/

.cart-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 360px;
  height: 100vh;
  background: #111;
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-panel.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #333;
}

.close-cart {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}

.cart-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  background: #1c1c1c;
  padding: 8px;
  border-radius: 8px;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.cart-info {
  flex: 1;
}

.cart-info h4 {
  font-size: 14px;
  margin: 0 0 4px;
}

.cart-info small {
  color: #aaa;
}

.cart-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.qty-btn {
  background: #00e676;
  border: none;
  color: #000;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
}

.remove-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: #ff5252;
  cursor: pointer;
  font-size: 18px;
}

.cart-footer {
  padding: 15px;
  border-top: 1px solid #333;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  background: #25D366;
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 9998;
}

.cart-overlay.show {
  display: block;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-box {
  background: #111;
  color: #fff;
  padding: 20px;
  width: 320px;
  border-radius: 10px;
}

.modal-box input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: none;
}

.modal-box button {
  width: 100%;
  padding: 12px;
  background: #25D366;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}





/* --------------------- Footer Start --------------------- */

.footer {
    background:#002147;
    color:#ffffff;
    padding:40px 20px;
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    border-top:4px solid #ffcc00;
}

.footer-column {
    flex:1;
    min-width:200px;
    margin:20px;
}

.footer-column h3 {
    color:#ffcc00;
    border-bottom:2px solid rgba(255,255,255,0.3);
    padding-bottom:8px;
    font-size:18px;
    margin-bottom:15px;
}

.footer-item {
    display:flex;
    align-items:center;
    margin:10px 0;
    transition:0.3s;
}

.footer-item:hover {
    transform:translateX(6px);
}

.footer-item a {
    color:#ffffff;
    text-decoration:none;
    font-size:14px;
}

.footer-item a:hover {
    color:#ffcc00;
}

.footer-item i {
    margin-right:12px;
    font-size:16px;
    color:#ffcc00;
}

.social-links {
    display:flex;
    align-items:center;
}

.social-links a {
    font-size:20px;
    color:#ffffff;
    margin-right:18px;
    transition:0.3s;
}

.social-links a:hover {
    color:#ffcc00;
    transform:scale(1.2);
}

@media (max-width:768px){

    .footer{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .footer-column{
        min-width:90%;
    }

    .footer-item{
        justify-content:center;
    }

}

/* --------------------- Footer End --------------------- */



@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) { .product-page-container { flex-direction: column; } .hero h1 { font-size: 2.5rem; } }

