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

:root {
    --header-footer-bg: rgba(0, 0, 0, 0.7);
    --hero-bg: rgba(0, 0, 0, 0.6);
    --max-width: 1100px;
}


/* Ensure footer stays at bottom */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1; /* main content pushes footer down */
}




/* — Professional Disclaimer Section — */
.site-disclaimer {
  background: #f9f9f9; /* subtle light background */
  border-top: 1px solid #e3e3e3; /* gentle border to separate from content */
  padding: 50px 20px;
  font-family: Arial, sans-serif;
}

.site-disclaimer .disclaimer-content {
  max-width: 900px;
  margin: auto;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.65;
}

.site-disclaimer .disclaimer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #333;
}

.site-disclaimer a {
  color: #0073e6; /* link with soft accent color */
  text-decoration: underline;
  font-weight: 500;
}

.site-disclaimer a:hover {
  opacity: 0.85;
}




/* Footer styling */
.site-footer {
  background-color: #111;
  color: #fff;
  padding: 2rem 1rem;
  font-family: sans-serif;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

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

.footer-column img.footer-logo {
  max-width: 150px;
  margin-bottom: 0.5rem;
}

.footer-column p {
  margin: 0.3rem 0;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #333;
  padding-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-column {
    min-width: unset;
  }
}


body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    margin: 0;
    color: #ffffff;
}

/* Fixed background layer */
#bg-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
    opacity: 1;
}


/* Slideshow container */
#bg-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out; /* smooth fade */
    opacity: 1;
}

/* Remove body::before background for slideshow */
body::before {
    content: none; /* disable it completely */
}


/* Header */

.site-header {
    background: rgba(255, 255, 255, 0.85); /* white with transparency */
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    
}


.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}


.site-logo {
    max-width: 160px;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    body::before {
        background-position: center top;
    }
}


/* Tablet */
@media (min-width: 768px) {
    .site-logo {
        max-width: 200px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .site-logo {
        max-width: 240px;
    }
}





.site-footer {
    background: #000000;
    color: #ffffff;
    width: 100%;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    max-width: 100px;
    height: auto;
}

.site-footer p,
.site-footer address {
    font-style: normal;
    line-height: 1.6;
    font-size: 0.95rem;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}


@media (min-width: 768px) {
    .footer-contact {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
    }
}


header h2 {
    font-size: 1.2rem;
}

footer p {
    font-size: 0.9rem;
}

/* Main / Hero */
main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.hero {
    background: rgba(255, 255, 255, 0.85) !important;
    color: #111;
    padding: 1.5rem;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.hero h1 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #d52b1e;
}

.hero h2 {
    margin-bottom: 1rem;
    font-size: 1.0rem;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero p {
    line-height: 1.6;
}

/* Tablet */
@media (min-width: 768px) {
    header h2 {
        font-size: 1.5rem;
    }

    .hero {
        max-width: 700px;
        padding: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Laptop / Desktop */
@media (min-width: 1024px) {
    .hero {
        max-width: var(--max-width);
    }
}



.hero-buy-now {
  position: absolute;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.qty-row,
.total-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#qty {
  width: 70px;
  padding: 8px;
}

.total-row {
  font-size: 16px;
}


#buyNowBtn {
  background-color: #2ecc71;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

#buyNowBtn:hover {
  background-color: #27ae60;
}


@media (max-width: 768px) {
  .buy-now-wrapper {
    position: static;
    margin-top: 30px;
    justify-content: center;
  }
}


.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}

.modal-box {
  background: #fff;
  max-width: 520px;
  margin: 6% auto;
  padding: 30px;
  border-radius: 10px;
}

.modal-box label {
  display: block;
  margin-bottom: 10px;
}

.modal-box input {
  width: 100%;
  padding: 10px;
}

.modal-box button[type="submit"] {
  background: #2ecc71;
  color: #fff;
  border: none;
  padding: 14px;
  width: 100%;
  font-size: 16px;
  border-radius: 6px;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.order-summary {
  background: #f8f8f8;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.summary-row.total {
  border-top: 1px solid #ddd;
  padding-top: 8px;
}



/* BACKDROP */
/* Modal Overlay */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* On top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Semi-transparent black overlay */
}

/* Modal Box */
.modal-box {
    background-color: #fff; /* White background */
    margin: 5% auto; /* Center vertically and horizontally */
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    position: relative;
    font-family: Arial, sans-serif;
}

/* Close Button */
.modal-box .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Form Fields */
.modal-box form label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.modal-box form input[type="text"],
.modal-box form input[type="email"],
.modal-box form input[type="tel"],
.modal-box form input[type="number"],
.modal-box form select {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Checkboxes */
.modal-box form input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Buttons */
.modal-box form button {
    background-color: #2ecc71;
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.modal-box form button:hover {
    background-color: #27ae60;
}

/* Order Summary */
.order-summary {
    margin-bottom: 1.5rem;
}

.order-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.order-summary .summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 1px solid #ccc;
    padding-top: 0.5rem;
}



/* ================= MODAL OVERRIDE ================= */

/* Backdrop overlay */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7) !important;
    z-index: 20000 !important;
    overflow-y: auto;
    padding-top: 40px;
    text-align: center;
}

/* Center the modal content */
.modal-box {
    display: block !important;
    background: #ffffff !important;
    color: #222222 !important;
    margin: auto !important;
    padding: 24px !important;
    border-radius: 10px !important;
    width: 90% !important;
    max-width: 600px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important;
    position: relative;
    text-align: left;
}

/* Make sure text inside modal is readable */
.modal-box * {
    color: #222222 !important;
}

/* Style form fields */
.modal-box input,
.modal-box select,
.modal-box textarea {
    width: 100% !important;
    padding: 8px !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    font-size: 14px !important;
}

/* Style labels */
.modal-box label {
    display: block !important;
    margin-bottom: 6px !important;
    font-weight: 500 !important;
}

/* Style submit button */
.modal-box button[type="submit"] {
    background-color: #0056b3 !important;
    color: #fff !important;
    padding: 12px !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    cursor: pointer !important;
}

.modal-box button[type="submit"]:hover {
    background-color: #004494 !important;
}

/* Style the X close button */
.modal-box .close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    font-size: 24px !important;
    color: #444 !important;
    cursor: pointer !important;
}


.modal-box .item-name {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #d52b1e; /* matches hero heading color */
}


/* MAKE CONFIRM PURCHASE BUTTON GREEN LIKE BUY NOW */
#checkoutModal .modal-box form button[type="submit"] {
    background-color: #2ecc71 !important;
    color: #fff !important;
    border: none !important;
}

#checkoutModal .modal-box form button[type="submit"]:hover {
    background-color: #27ae60 !important;
}



.item-name {
    background-color: #f4f4f4;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.order-summary {
    background: #fff;
    padding: 15px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.order-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 15px;
}

.order-summary .summary-row.total {
    font-weight: 700;
    font-size: 16px;
    border-top: 1px solid #ddd;
    padding-top: 8px;
}