/*
=========================================================
  style.css (organized)
  - Base / reset
  - Layout
  - Typography
  - Components (including mobile hamburger nav)
  - Pages
  - Responsive tweaks
=========================================================
*/

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

html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}



body {
    font-family: "Ubuntu", sans-serif;
    position: relative;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    background: #000;
}

hr {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #555;
}



/*
body {

  background: 
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.8)),
    url(bg.jpg);
    
  
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #464646;
}
*/

/* =========================================================
   Layout
   ========================================================= */
main {
    width: 100%;
    height: 100%;
    margin: auto;
}

section {
    margin: 60px auto;
    padding: 0 25px;
    text-align: center;
    min-height: auto;
}

.top {
    max-width: 1000px;
    margin: 0 auto 80px;
}


/* =========================================================
   Typography
   ========================================================= */
a,
button {
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
}

/* Link base styles */

a {
    font-family: 'Ubuntu';
    font-weight: 500;
    color: #999;
}

section :is(h1, h2, h3) {
    font-size: 42px;
    padding: 10px 0;
    font-weight: bold;
}

section h1 {
    padding: 30px 0 0;
}

section h2,
section h3 {
    padding: 30px 0 0;
    max-width: 825px;
    margin: auto;
}

section h3 {
    padding: 0;
}

section p {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    color: #999;
    font-size: 16px;
    max-width: 775px;
    margin: 10px auto;
    line-height: 1.5;
}

#product-info {
    padding:30px 0 0;
}

/* =========================================================
   Components
   ========================================================= */

/* Logo - Standalone (not sticky) */

.site-logo {
    text-align: center;
    margin: 20px auto 0;
    padding: 0;
}

.site-logo img {
    max-width: 200px;
    height: auto;
}

/* ============================================
   STICKY NAVIGATION
   Desktop: Centered menu bar
   Mobile: Hamburger + Buy button
   ============================================ */

:root {
    --nav-text: #ccc;
    --nav-text-hover: #fff;
    --nav-font-size: 14px;
    --nav-gap: 20px;
    --nav-bg: rgba(21, 21, 21, 0.95);  /* Matches grid box color #151515 */
    --nav-border: rgba(181, 37, 102, 0.2);
}

/* Sticky nav wrapper */
nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 12px 20px;
    
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    
    transition: border-bottom 0.3s ease, box-shadow 0.3s ease;
}

/* Add border and shadow when scrolled */
nav.scrolled {
    border-bottom: 1px solid var(--nav-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hamburger menu button (hidden on desktop) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--nav-text);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
    transform-origin: center;
}

/* Hamburger animation when open */
.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Navigation list (desktop) */
nav ul {
    display: flex;
    gap: var(--nav-gap);
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
    justify-content: center;
}

nav li {
    margin: 0;
}

/* Regular navigation links */
nav a {
    color: var(--nav-text);
    font-size: var(--nav-font-size);
    font-weight: 500;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease;
    display: inline-block;
    white-space: nowrap;
}

nav a:hover {
    color: var(--nav-text-hover);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

/* Affiliate link special styling */
nav a.affiliate-link {
    color: #1baebc;
    font-weight: 600;
}

nav a.affiliate-link:hover {
    color: #20bcc9;
    background: rgba(27, 174, 188, 0.1);
}

/* Buy Now button styling */
nav a.buy-now-btn {
    background: linear-gradient(90deg, #b52566 0%, #1baebc 100%);
    color: #fff;
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(181, 37, 102, 0.3);
    margin-left: 10px;
}

nav a.buy-now-btn:hover {
    background: linear-gradient(90deg, #c92d73 0%, #20bcc9 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(181, 37, 102, 0.5);
}

/* Hide mobile buy button on desktop */
nav a.buy-now-btn.nav-cta-visible {
    display: none;
}

/* Mobile Navigation - Hamburger Menu */
@media (max-width: 768px) {
    /* Show hamburger and restructure nav */
    nav {
        justify-content: space-between;
        padding: 10px 20px;
        align-items: center;
        gap: 15px;
    }

    .nav-hamburger {
        display: flex;
        flex-shrink: 0;
        order: 1;
    }

    /* Desktop menu hidden, replaced with mobile menu */
    nav > ul {
        position: fixed;
        top: 57px; /* Below nav bar */
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--nav-bg);
        backdrop-filter: blur(10px);
        padding: 20px;
        gap: 0;
        
        /* Hidden by default */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
        border-bottom: 1px solid transparent;
        box-shadow: none;
        order: 3;
    }

    /* Show mobile menu when active */
    nav > ul.active {
        max-height: 400px;
        opacity: 1;
        padding: 20px;
        border-bottom: 1px solid var(--nav-border);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

    nav li {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    nav a {
        display: block;
        width: 100%;
        padding: 12px 20px;
        margin: 5px 0;
    }

    /* Hide Buy button from mobile dropdown menu */
    nav > ul .nav-cta-mobile {
        display: none;
    }

    /* Create visible Buy button on right side of mobile nav */
    nav a.buy-now-btn.nav-cta-visible {
        display: inline-block;
        margin-left: auto;
        padding: 9px 18px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
        order: 2;
        width: auto;
        max-width: fit-content;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 8px 15px;
        gap: 12px;
    }

    nav > ul {
        top: 52px; /* Adjust for smaller nav height */
    }

    nav a.buy-now-btn.nav-cta-visible {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
        order: 2;
        width: auto;
        max-width: fit-content;
        margin-left: auto;
    }
}


/* Tag row */

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin: 15px auto;
    /* centers horizontally */
    max-width: 1000px;
    /* content width limit */

    padding-left: 25px;
    /* your requested spacing */
    padding-right: 25px;

    justify-content: center;
    /* center items inside */
}

.tag {
    background: #202020;
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Payment icons */

.payment-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 5px 0;
}

.payment-icons img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    opacity: 1;
    /* no hover dimming */
    transition: none;
    /* remove hover effects */
}

/* Social media */

.social-media {
    width: 120px;
    height: 60px;
    display: block;
    margin: 20px auto;
}

.social-media img {
    width: 30px;
    height: 30px;
    margin: 15px;
    float: left;
}

/* Footer */

footer {
    width: 100%;
    padding: 16px 0 24px;
    margin: 0 auto 30px;
    text-align: center;
}

/* reset */
footer,
footer ul,
footer ul li,
footer ul li a {
    border: 0;
    list-style: none;
    line-height: 1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* link list: flex row, wraps */
footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 8px 0 12px;
}

footer ul li {
    margin: 6px 10px;
}

footer ul li a {
    color: #aaa;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

footer ul li a:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 0.094rem;
}

footer p {
    color: #777;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 480px) {
    footer ul {
        flex-direction: column;
        align-items: center;
    }

    footer ul li {
        margin: 4px 0;
    }
}

/* =========================================================
   Pages
   ========================================================= */

/* Founder section */

.founder-section {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 25px;
}

.founder-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
    gap: 40px;
    align-items: center;

    /* ✅ box look (independent) */
    background: #151515;
    border-radius: 10px;
    padding: 40px 30px;
    box-sizing: border-box;
    overflow: hidden;

    box-shadow: 0 6px 18px rgba(18, 38, 63, 0.08);
}

.founder-photo {
    display: flex;
    justify-content: center;
}

.founder-photo img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #111;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.founder-content {
    text-align: left;
    font-family: "Ubuntu", sans-serif;
}

.founder-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.3;
}

.founder-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #dddddd;
}

@media (max-width: 800px) {
    .founder-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 16px;
    }

    .founder-content {
        text-align: center;
    }

    .founder-content p {
        margin-left: auto;
        margin-right: auto;
        max-width: 480px;
    }

}

/* Law */

.law {
    width: 100%;
    max-width: 600px;
    height: 100%;
    margin: 0 auto 40px;
    display: block;
}

.law p {
    color: #999;
    font-size: 15px;
    text-align: justify;
    font-family: "Ubuntu";
    font-weight: 500;
    line-height: 24px;
    padding: 10px 20px;
}

.law a {
    /* color: ; */
    text-decoration: underline;
}

.law a:hover {
    color: #CC1FA1;
}

/* 404 */

.error p {
    font-size: 50px;
    font-weight: 700;
    padding: 50px 15px;
}

/* =========================================================
   Responsive tweaks (cleaned)
   ========================================================= */

img {
  max-width: 100%;
  height: auto;
}

/* Mobile & small tablets */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  section {
    margin: 48px auto;
    padding: 0 16px;
  }

  /* Keep hierarchy: H1 > H2 > H3 */
  section h1 {
    font-size: 30px;
    line-height: 1.25;
  }

  section h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  section h3 {
    font-size: 20px;
    line-height: 1.35;
  }

  section :is(h4, h5, h6) {
    font-size: 18px;
    line-height: 1.4;
  }

  section p {
    font-size: 15px;
  }

  /* Tag row: less side padding on phones */
  .tag-row {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  section {
    margin: 36px auto;
    padding: 0 14px;
  }

  section h1 {
    font-size: 26px;
  }

  section h2 {
    font-size: 21px;
  }

  /* Payment icons: smaller + tighter */
  .payment-icons {
    gap: 8px;
    margin: 12px 0 16px;
  }

  .payment-icons img {
    width: 32px;
    height: 32px;
  }
}
