/* =======================================================
   GLOBAL BASE STYLES
======================================================= */

/* Body background image */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: white;
    background-color: #000;
    background-image: url('../static/images/background.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 1200px auto;
}


/* =======================================================
   TOP BANNER — SLIDING MESSAGE BAR
======================================================= */

/* Full-width top banner */
.top-banner-full {
    width: 100%;
    background: linear-gradient(135deg, #f5d98a 0%, #c00000 100%);
    color: #2b0000;
    text-align: center;
    padding: 4px 0;
    font-family: "Segoe UI Semibold", "Trebuchet MS", sans-serif;
    font-size: 14px;
    letter-spacing: 0.8px;
    font-weight: 600;
    text-transform: uppercase;

    /* Required for slider */
    position: relative;
    overflow: hidden;
}

/* Wrapper holds all slides side by side */
.banner-wrapper {
    display: flex;
    transition: transform 0.6s ease;
}

/* Each slide */
.banner-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.banner-slide.active {
    opacity: 1;
}

/* Arrow container covers full width */
.banner-arrows {
    position: absolute;
    top: 20%; /* ↑ lift arrows higher (was 50%) */
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Individual arrow buttons (thicker + cleaner) */
.banner-arrows .arrow-left,
.banner-arrows .arrow-right {
    pointer-events: auto;
    position: absolute;
    font-family: "Arial Black", "Segoe UI Black", sans-serif; /* bold, thick arrows */
    font-size: 18px;   /* slightly bigger but still fits banner */
    font-weight: 900;  /* very thick */
    color: #2b0000;
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
    transition: 0.2s;
    line-height: 1;
}

/* Left arrow */
.banner-arrows .arrow-left {
    left: 8px;
}

/* Right arrow */
.banner-arrows .arrow-right {
    right: 8px;
}

.banner-arrows .arrow-left:hover,
.banner-arrows .arrow-right:hover {
    opacity: 0.5;
}


/* =======================================================
   GENERAL LAYOUT
======================================================= */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header container */
.header-container {
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Logo */
.site-logo {
    height: 120px;
    width: auto;
}

/* Navigation buttons */
.nav-button {
    display: inline-block;
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    margin: 5px;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s;
    line-height: 1.5;
}

.nav-button:hover {
    color: #ddd;
    border-bottom: 2px solid #ddd;
}

.nav-button.active {
    color: #fff;
    border-bottom: 2px solid white;
}

/* Main content */
main {
    padding: 5px;
}

/* Footer */
footer {
    font-size: 12px;
    text-align: center;
    margin-top: 50px;
}

/* Social icons */
.social-button img {
    background-color: white;
    border-radius: 50%;
    padding: 5px;
    width: 26px;
    height: 26px;
    box-sizing: content-box;
    transition: transform 0.3s;
}

.social-button:hover img {
    transform: scale(1.2);
}


/* =======================================================
   SCROLL FADE-IN
======================================================= */

.fade-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.fade-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =======================================================
   CLICK-TO-REVEAL IMAGE SYSTEM
======================================================= */

/* Outer area controlling centering + spacing */
.image-area {
    width: 100%;
    text-align: center;
    margin: 80px auto;
}



.image-frame {
    position: relative;
    display: inline-block;
    width: auto;
    height: 920; /* exact height of card.png */
}

/* Inner wrapper controls the reveal */
.image-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* First image (defines size, natural shape) */
.image-wrapper .image1 {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Second image (overlay + centered) */
.image-wrapper .image2 {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    object-fit: contain;

    transform: scale(1.42); /* still bigger */
    transform-origin: center center;

    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.6s ease-in-out;
}


/* Reveal animation */
.image2.revealed {
    clip-path: circle(150% at 50% 50%);
}

.tap-text {
    font-size: 36px;
    font-weight: bold;
    color: white;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.tap-arrows {
    font-size: 60px;
    text-align: center;
    animation: arrowBounce 1.1s infinite ease-in-out;
    margin-bottom: 10px;
    line-height: 1;
}

/* Arrow bounce animation */
@keyframes arrowBounce {
    0%   { transform: translateY(0);     opacity: 1; }
    50%  { transform: translateY(12px);  opacity: 0.6; }
    100% { transform: translateY(0);     opacity: 1; }
}

/* ============================================
   Option B — Info Box (Glass Card Style)
=============================================== */

.info-box {
    background: rgba(255, 255, 255, 0.06);    /* soft white opacity */
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 30px 35px;
    border-radius: 12px;
    max-width: 850px;
    margin: 5px auto 0px auto;
    text-align: center;
    backdrop-filter: blur(4px);               /* glass effect */
}

.info-box h2 {
    margin: 0 0 12px 0;
    font-size: 32px;
}

.info-box p {
    font-size: 18px;
    line-height: 1.45;
    color: white;
    margin: 0;
}


.image-scale-box {
    display: inline-block;
    transform: scale(0.8);
    transform-origin: top center;
    height: 1;               /* 🔥 removes invisible height */
    overflow: visible;       /* keeps image showing */
}

.image-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    /* REMOVE transform from here */
}




.buy-button {
    display: inline-block;
    margin-top: 1px;
    padding: 12px 28px;
    font-size: 20px;
    font-weight: bold;
    background: #ffcc00;
    color: #2b0000;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: 0.2s ease-in-out;
}

.buy-button:hover {
    background: #ffe680;
    transform: scale(1.05);
}





/* Bubble for text only */
.contact-bubble {
  background: #ffffff;
  padding: 40px 50px;
  max-width: 700px;
  margin: 50px auto 25px auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  text-align: center;
}

.contact-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-subtitle {
    margin-bottom: 40px !important;   /* increase this number if needed */
}

/* Spacer that ensures separation */
.bubble-separator {
  height: 30px;
}

/* FORM — forced separate block */
.contact-form-box {
  max-width: 700px;
  margin: 0 auto 50px auto;
  background: none !important;     /* ensures no bubble */
  padding: 0 !important;           /* prevents bubble styling */
  box-shadow: none !important;     /* prevents shadow */
  border-radius: 0 !important;     /* prevents bubble rounding */
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  background: #f2f2f2;
  border: none;
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  outline: none;
}

.contact-btn {
  width: 200px;
  padding: 14px;
  background: #111;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
  margin-top: 10px;
}

.contact-btn:hover {
  background: #333;
}

/* Space between bubbles */
.contact-bubble-dark {
    margin-top: 40px !important;
}

/* Make inputs and textarea look identical */
.contact-form-box input,
.contact-form-box textarea {
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    padding: 14px 18px !important;
    border-radius: 6px;
    background: #333 !important;   /* black-bubble version */
    color: #fff !important;
    border: none;
}

/* Fix internal spacing for textarea */
.contact-form-box textarea {
    resize: vertical; /* keeps same style but allows height change */
}


/* Bubble box style */
.info-box {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 20px;
  padding: 25px;
  margin: 40px auto;
  max-width: 900px;
  border: 1px solid rgba(255, 203, 5, 0.5);
  backdrop-filter: blur(6px);
  color: white;
  text-align: center;
}

/* Section title */
.info-box h2 {
  margin-top: 0;
  color: #ffcb05;
  font-weight: bold;
}

/* 3 images layout */
.why-choose-images {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.why-choose-images img {
  width: 30%;
  min-width: 180px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Bullet list */
.why-choose-list {
  text-align: left;
  max-width: 750px;
  margin: 0 auto;
  padding-left: 20px;
  font-size: 1rem;
}

.why-choose-list li {
  margin-bottom: 10px;
}

/* Container for 3 bubbles */
.why-choose-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    margin-top: 25px;
    flex-wrap: nowrap;       /* <-- Forces 3 in one row on desktop */
}

/* Each bubble */
.why-bubble {
    flex: 1;
    max-width: 320px;
    background: #000000;  /* PURE BLACK */
    border: 1px solid rgba(255, 203, 5, 0.4);
    border-radius: 14px;
    padding: 18px 20px;
    text-align: center;
}

/* Title ABOVE image */
.why-bubble h3 {
    color: #ffcb05;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: bold;
}

/* Bubble image */
.why-bubble .why-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 12px;
}

/* Text inside bubble */
.why-bubble p {
    margin: 6px 0;
    font-size: 1rem;
}

/* RESPONSIVE - Mobile layout */
@media (max-width: 900px) {
    .why-choose-container {
        flex-wrap: wrap;  /* allow wrapping on smaller screens */
    }
    .why-bubble {
        max-width: 45%;
    }
}

@media (max-width: 600px) {
    .why-bubble {
        max-width: 100%;
    }
}

.review-bubble {
    overflow: visible !important;
    backdrop-filter: none !important;
    position: relative !important;
}

/* Also force the widget container to display */
.review-bubble .commonninja_component {
    display: block !important;
    opacity: 1 !important;
    min-height: 300px !important; /* gives it room to render */
    width: 100% !important;
}



/* =======================================================
   MOBILE RESPONSIVE IMPROVEMENTS
   (Desktop stays exactly the same)
======================================================= */

@media (max-width: 768px) {

    /* Bigger top banner on mobile */
    .top-banner-full {
        padding: 10px 0;
        font-size: 18px;     /* was 14px */
    }

    /* Bigger arrows + higher placement */
    .banner-arrows {
        top: 30%;
    }

    .banner-arrows .arrow-left,
    .banner-arrows .arrow-right {
        font-size: 26px;     /* bigger arrows */
    }

    /* Bigger nav buttons */
    .nav-button {
        font-size: 20px;
        padding: 12px 18px;
        margin: 3px 0;
    }

    /* Logo slightly smaller so it fits */
    .site-logo {
        height: 90px;
    }

    /* Increase main text sizes */
    body, p, li {
        font-size: 18px !important;
        line-height: 1.55;
    }

    /* Increase heading sizes */
    h2 {
        font-size: 30px !important;
    }

    h3 {
        font-size: 24px !important;
    }

    /* Info box spacing better on mobile */
    .info-box {
        padding: 25px 20px;
    }

    /* “Tap card below” text bigger */
    .tap-text {
        font-size: 30px;
    }

    .tap-arrows {
        font-size: 50px;
    }

    /* Bubble text bigger */
    .why-bubble p {
        font-size: 1.15rem;
    }

    /* 3 bubbles become 1 per row */
    .why-choose-container {
        flex-wrap: wrap;
    }

    .why-bubble {
        max-width: 100% !important;
        margin-bottom: 20px;
    }
}

/* ============================================
   ANDROID-FIX FULLSCREEN LIGHTBOX
============================================= */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;

    /* IMPORTANT for Android */
    width: 100vw;
    height: 100vh;

    display: none;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;

    overflow: hidden;
}

.lightbox-img {
    max-width: 100vw;
    max-height: 100vh;

    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 45px;
    font-weight: bold;
    color: white;
    z-index: 100000;
}

/* =============================================
   FIX — Prevent contact bubbles from overflowing
   on mobile or thin screens
============================================= */

@media (max-width: 900px) {

    /* Force bubbles to stay inside screen */
    .info-box,
    .contact-bubble-dark,
    .review-bubble {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Fix text inside bubbles */
    .info-box p,
    .why-bubble p,
    .contact-title,
    .contact-subtitle {
        word-wrap: break-word;
        overflow-wrap: break-word;
        font-size: 18px !important;
    }

    /* Fix inputs overflowing */
    .contact-form-box input,
    .contact-form-box textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 18px !important;
    }

    /* Fix CommonNinja review widget */
    .review-bubble .commonninja_component {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Prevent content from forcing bubble bigger */
    .info-box * {
        max-width: 100% !important;
    }
}
