/* ==========================================
   RECLAIMING WITH NANU - COMPLETE STYLE.CSS
   ========================================== */

html {
    scroll-behavior: smooth;
}

/* COLORS & VARIABLES */
:root {
    --cream: #F8F5F2;
    --light-cream: #FFFDF9;
    --primary: #A67C63;
    --primary-dark: #4A382F;
    --soft: #E8DDD5;
    --text: #4A382F;
    --shadow: 0 12px 30px rgba(0,0,0,.06);
}

/* CSS RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ==========================================
   DESKTOP NAVBAR & NAVIGATION
   ========================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 8%;
    background: rgba(248, 245, 242, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 15px rgba(0,0,0,.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* LOGO */
.logo img {
    width: 150px;
    height: auto;
    transition: transform .4s ease;
    display: block;
}

.logo img:hover {
    transform: scale(1.05);
}

/* DESKTOP MENU LIST */
.navbar ul.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

.navbar ul.nav-links li {
    position: relative;
}

.navbar ul.nav-links li a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px;
    color: var(--primary-dark);
    display: block;
    transition: color .3s ease;
}

.navbar ul.nav-links li a:hover {
    color: var(--primary);
}

/* DESKTOP CALCULATOR DROPDOWN MENU */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 260px;
    background: white;
    padding: 18px;
    border-radius: 25px;
    border: 1px solid var(--primary-dark);
    box-shadow: 0 12px 25px rgba(0,0,0,.08);
    z-index: 1000;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
}

.dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 12px;
    border-radius: 15px;
    text-align: center;
    color: var(--primary-dark);
    font-weight: 500;
    text-decoration: none;
    transition: background .3s ease;
}

.dropdown-menu li a:hover {
    background: var(--soft);
}

/* ACTION NAVIGATION ICONS */
.nav-icons {
    display: flex;
    align-items: center;
}

.nav-icons img {
    width: 35px;
    height: auto;
    transition: transform .3s ease;
    cursor: pointer;
    display: block;
}

.nav-icons img:hover {
    transform: scale(1.1);
}

#cartCount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: white;
    font-size: .8rem;
    border-radius: 50%;
    margin-left: 5px;
    font-weight: 600;
}

/* INTERACTION HAMBURGER INPUT TOGGLE */
#nav-toggle {
    display: none;
}

.nav-hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-dark);
    user-select: none;
}

/* GLOBAL BUTTON COMPONENT */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
    transition: background .4s ease, transform .4s ease;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ==========================================
   HERO / MAIN INTRO COMPONENT
   ========================================== */
.hero {
    padding: 120px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    min-height: 90vh;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.1rem;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 35px;
    border: 1px solid var(--primary-dark);
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
    transition: transform .5s ease;
}

.hero-image img:hover {
    transform: translateY(-8px);
}

/* ==========================================
   CORE LAYOUT SECTIONS (DESKTOP)
   ========================================== */
section {
    padding: 100px 8%;
    margin: 50px 8%;
    background: var(--light-cream);
    border: 1px solid var(--primary-dark);
    border-radius: 35px;
    box-shadow: 0 8px 20px rgba(0,0,0,.04);
}

section h2 {
    font-size: 2.6rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 25px;
}

/* JOURNEY STORY BLOCK */
.journey-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.journey-image {
    flex: 1;
    min-width: 300px;
}

.journey-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 35px;
    border: 1px solid var(--primary-dark);
}

.story-box {
    flex: 1;
    padding: 35px;
    background: white;
    border-radius: 35px;
    min-width: 300px;
}

#more {
    display: none;
}

/* WHAT I BELIEVE SECTION */
.belief-section {
    text-align: center;
}

.section-intro {
    max-width: 750px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.belief-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.belief-card {
    background: white;
    padding: 40px 30px;
    border-radius: 35px;
    border: 1px solid var(--primary-dark);
    box-shadow: var(--shadow);
    transition: transform .4s ease;
}

.belief-card:hover {
    transform: translateY(-8px);
}

.belief-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.belief-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover .belief-card {
    transform: translateY(-8px);
}

/* ==========================================
   WORKOUTS CONTEXT GRAPHIC
   ========================================== */
.workout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.workout-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform .4s ease;
}

.workout-card:hover {
    transform: translateY(-8px);
}

.workout-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.workout-content {
    padding: 25px;
}

/* ==========================================
   CALCULATORS PAGES COMPONENTS (DESKTOP)
   ========================================== */
.cal-word {
    max-width: 600px;
    margin: 0 auto 50px auto;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.calculator-home { 
    background-color: var(--primary);
   
}
.cal-word2{
    color: var(--light-cream);
}

.calculator-box {
    max-width: 700px;
    margin: auto;
    padding: 50px;
    background: white;
    border: 1px solid var(--primary-dark);
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calculator-box input,
.calculator-box select {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    outline: none;
    font-size: 1rem;
    width: 100%;
}

.results {
    padding: 25px;
    border-radius: 25px;
    background: var(--cream);
    border: 1px solid var(--primary-dark);
}

.results h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.results p {
    line-height: 1.8;
    margin-bottom: 10px;
}

.calculator-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-top: 50px;
}

.calc-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform .4s ease;
    padding: 40px;
    border: 1px solid var(--primary-dark);
    text-align: center;
}

.calc-card:hover {
    transform: translateY(-8px);
}

.calc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: var(--primary-dark);
}

.calc-card p {
    margin-bottom: 25px;
    line-height: 1.8;
}

/* ==========================================
   CONTACT FORMS & GLOBAL ASSETS
   ========================================== */
.contact-form-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(140, 94, 66, .2);
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form .btn {
    align-self: center;
    margin-top: 10px;
    padding: 15px 40px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.success-message {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
}

/* ==========================================
   E-COMMERCE SHOP CONTEXT MODULES
   ========================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 35px;
    overflow: hidden;
    border: 1px solid var(--primary-dark);
    box-shadow: var(--shadow);
    transition: transform .4s ease;
    display: flex;
    flex-direction: column;
}

.product-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: unset;
    display: block;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-content h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.product-content p {
    line-height: 1.8;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    margin-top: 10px;
    font-size: 1rem;
}

.read-more-btn:hover {
    color: var(--primary-dark);
}

.product-description {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,.1);
}

.product-description.active {
    display: block;
}

.coming-soon {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    min-height: 500px;
}

.coming-soon h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* ==========================================
   CART SYSTEM VIEW
   ========================================== */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: 25px;
    border: 1px solid var(--primary-dark);
}

.cart-info h3 {
    margin-bottom: 10px;
}

.remove-btn {
    background: #c75b5b;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    cursor: pointer;
}

.remove-btn:hover {
    opacity: .9;
}

.cart-summary {
    margin-top: 40px;
    text-align: center;
}

.cart-summary h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* ==========================================
   FOOTER PATTERN
   ========================================== */
footer {
    background: var(--primary-dark);
    padding: 70px 8%;
    color: white;
    margin-top: 100px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-left { flex: 1; }
.footer-center { flex: 1; text-align: center; }
.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.footer-right img {
    width: 32px;
    height: auto;
    transition: transform .3s ease;
}

.footer-right img:hover {
    transform: translateY(-5px);
}

/* ==========================================
   UNIFIED MEDIA QUERY VIEWPORTS METRICS (MAX-WIDTH: 900px)
   ========================================== */
@media (max-width: 900px) {
    /* HEADER LAYER RESET */
    header {
        padding: 15px 5%;
    }
    
    .navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 0;
    }

    /* BURGER CONTROLS VISIBILITY */
    .nav-hamburger {
        display: block;
        order: 2;
    }
    
    .logo { order: 1; }
    .nav-icons { order: 3; }

    /* CARD BLOCK OVERLAYS NAVIGATION SYSTEM */
    .navbar ul.nav-links {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 15px 0;
        border-radius: 20px;
        border: 1px solid var(--primary-dark);
        box-shadow: var(--shadow);
        flex-direction: column;
        gap: 0 !important; 
        height: auto !important;
    }

    /* TARGET SELECTOR CHECKBOX ACTION TRIGGER */
    #nav-toggle:checked ~ #mobileMenu {
        display: flex;
    }

    #mobileMenu li {
        width: 100%;
        text-align: center;
        margin: 0 !important;
        padding: 0 !important;
    }

    #mobileMenu li a {
        padding: 12px 20px !important;
        display: block;
        width: 100%;
        line-height: 1.4 !important;
        box-sizing: border-box;
    }

    /* THE CRITICAL SUB-DROPDOWN EXPANSION */
    .dropdown-menu {
        display: none;
        position: static !important; 
        transform: none !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        background: var(--cream) !important;
        padding: 5px 0 !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        box-sizing: border-box;
    }

    .dropdown.open .dropdown-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .dropdown-menu li a {
        background: transparent !important;
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
        color: var(--primary-dark) !important;
        text-align: center !important;
    }
    
    .dropdown-menu li a:hover {
        background: var(--soft) !important;
    }

    /* ==========================================
       THE ABSOLUTE COLLAPSE FIX FOR THE CALCULATOR/SECTIONS
       ========================================== */
    section, 
    .hero, 
    .calculator-home { 
        padding: 30px 15px !important; /* Shuts down layout ballooning spaces completely */
        margin: 15px 4% !important;   /* Pulls boundaries nicely grid-tight */
        min-height: 0 !important;      /* Wipes out desktop 90vh settings */
        height: auto !important;       /* Snaps brown box boundary rigidly to contents */
    }

    /* Pulls down massive top space between text/navbar and the cards */
    .calculator-cards {
        grid-template-columns: 1fr !important;
        margin-top: 15px !important;
        gap: 20px !important;
        padding: 0 !important;
    }

    .calculator-box {
        padding: 25px 15px !important; /* Tightens space inside layout forms */
        gap: 15px !important;
    }

    .calc-card {
        padding: 25px 20px !important;
        margin: 0 !important;
    }

    /* CORE ELEMENTS MOBILE BREAKDOWN STACKING */
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 { font-size: 2.5rem; }
    .journey-container { flex-direction: column; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: 1fr; gap: 20px; }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .footer-right { justify-content: center; }
}

/* SMARTPHONES METRICS ADJUSTMENTS */
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form-card { padding: 30px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card img { height: 250px; object-fit: cover; }
}

/* =================================
LEGAL PAGES
Privacy Policy
Terms & Conditions
Refund Policy
Disclaimer
================================= */

section h1{
font-size:3rem;
font-family:'Playfair Display', serif;
color:var(--primary-dark);
margin-bottom:20px;
text-align:center;
}

section h2{
font-size:1.8rem;
color:var(--primary-dark);
margin-top:40px;
margin-bottom:15px;
text-align:left;
}

section p{
line-height:1.9;
margin-bottom:18px;
}

section ul{
margin:20px 0 20px 30px;
}

section ul li{
margin-bottom:12px;
line-height:1.8;
}

/* Legal Page Container */

.legal-page{
max-width:1000px;
margin:50px auto;
padding:60px;
background:white;
border-radius:35px;
border:1px solid #4A382F;
box-shadow:var(--shadow);
}

.legal-page strong{
color:var(--primary-dark);
}

/* Footer Legal Links */

.footer-legal{
margin-top:15px;
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

.footer-legal a{
color:white;
text-decoration:none;
font-size:0.95rem;
transition:.3s;
}

.footer-legal a:hover{
opacity:.8;
text-decoration:underline;
}

/* =========================
TABLET
========================= */

@media(max-width:1024px){

.legal-page{
padding:45px;
margin:40px 5%;
}

section h1{
font-size:2.5rem;
}

}

/* =========================
MOBILE
========================= */

@media(max-width:768px){

.legal-page{
padding:30px;
margin:20px 5%;
border-radius:25px;
}

section h1{
font-size:2rem;
}

section h2{
font-size:1.4rem;
}

section ul{
margin-left:20px;
}

.footer-legal{
flex-direction:column;
gap:10px;
}

}

.contact-word{
    text-align: center;

}