/* * {
    color: white;
    background-color: gray;
} */

/* ============================================================
   MAVBUILDS — Mobile-first stylesheet
   Breakpoints: base = mobile, 640px = tablet, 1024px = desktop
   ============================================================ */

/* --- Reset & Variables ------------------------------------ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --orange:      #E8571A;
    --orange-dim:  #b8431200;
    --green:       rgb(0, 139, 0);
    --bg:          #1a1a1a;
    --bg-card:     #242424;
    --bg-light:    #f5f0eb;
    --text:        #ffffff;
    --text-muted:  #aaaaaa;
    --border:      #333333;
    --button-bg:   black;
    --radius:      6px;
    --max-w:       1100px;

    --space-xs:    0.5rem;
    --space-sm:    1rem;
    --space-md:    1.75rem;
    --space-lg:    3rem;
    --space-xl:    5rem;
}

/* --- Base ------------------------------------------------- */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Reset colour cascade from old * rule */
* {
    color: inherit;
    background-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* --- Typography ------------------------------------------- */
h1 {
    font-family: 'Georgia', serif;
    font-size: clamp(2rem, 8vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

h4 {
    font-size: 1.25rem;
    font-weight: 700;
}

p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.orange { color: var(--orange); }

/* --- Utility ---------------------------------------------- */
.orange-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: var(--space-xs);
}

.hero-tag {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--orange);
    color: #fff;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: var(--space-sm);
}

.divider {
    width: 40px;
    height: 3px;
    background-color: var(--orange);
    margin: var(--space-md) 0 var(--space-lg);
}

button {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    border: none;
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
    transition: opacity 0.2s, transform 0.15s;
}

button:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* --- Layout shell ----------------------------------------- */
header, main, footer {
    width: 100%;
}

.pricing-container, .cards-section {
    padding: 5% !important;
}

/* inner wrapper used in each section */
.inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================================
   NAV
   ============================================================ */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

#Title {
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Mobile: hide nav links, show only title + button */
nav ul {
    display: none;
}

nav > button {
    background-color: var(--button-bg);
    border: 2px solid var(--border);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

@media (min-width: 640px) {
    nav ul {
        display: flex;
        gap: var(--space-md);
    }

    nav ul a {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.85rem;
        color: var(--text-muted);
        transition: color 0.2s;
    }

    nav ul a:hover { color: var(--text); }
}

#nav-button {
    padding: 10px 50px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--orange);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: opacity 0.2s, transform 0.15s;
}

.btn-primary:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: var(--space-xl) var(--space-md);
    max-width: var(--max-w);
    margin: 0 auto;
}

.hero p {
    margin-top: var(--space-md);
    max-width: 520px;
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.hero-buttons .btn-primary {
    background-color: var(--orange);
    color: #fff;
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

/* ============================================================
   CARDS SECTION — "What you get"
   ============================================================ */
.cards-section {
    background-color: var(--bg-card);
    padding: var(--space-xl) var(--space-md);
}

.cards-section > .inner > h2 {
    margin-bottom: 0;
}

.card-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.card {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
}

.card p { margin-top: var(--space-xs); }

.card-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.ph {
    font-size: 1.2rem;
    color: var(--orange); 
}

/* Simple text icons as placeholder (swap for real SVG later) */
.icon-phone::before  { content: '📱'; font-style: normal; }
.icon-search::before { content: '🔍'; font-style: normal; }
.icon-pound::before  { content: '£'; font-weight: 700; color: var(--text); }

@media (min-width: 640px) {
    .card-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   PREVIEW SECTION
   ============================================================ */
.preview-container {
    padding: var(--space-xl) var(--space-md);
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.preview {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
}

.preview h4 { margin: var(--space-xs) 0; }
.preview p  { margin-bottom: var(--space-md); }

.preview button {
    background-color: var(--button-bg);
    border: 2px solid var(--border);
    color: #fff;
}

.preview-text h2 { margin-bottom: var(--space-sm); }
.preview-text p  { margin-bottom: 0; }

@media (min-width: 1024px) {
    .preview-container {
        flex-direction: row;
        align-items: center;
    }

    .preview       { flex: 0 0 340px; }
    .preview-text  { flex: 1; }
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-container {
    background-color: var(--bg-card);
    padding: var(--space-xl) var(--space-md);
}

.pricing-container > .inner > h2 {
    margin-bottom: 0;
}

.price-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.price1,
.price2 {
    border-radius: var(--radius);
    padding: var(--space-md);
}

.price1 {
    background-color: var(--bg);
    border: 2px solid var(--orange);
}

.price2 {
    background-color: var(--bg);
    border: 1px solid var(--border);
}

.price1 h4,
.price2 h4 {
    margin: var(--space-sm) 0 var(--space-xs);
    font-family: Arial, Helvetica, sans-serif;
}

.price1 > p,
.price2 > p {
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
    color: var(--text-muted);
}

.price1 > p span,
.price2 > p span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
    font-family: 'Georgia', serif;
    margin-right: 6px;
}

.ticks p {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: var(--space-xs) 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
}

.ticks p::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

.price-cta {
    display: block;
    width: 100%;
    margin-top: var(--space-md);
    background-color: var(--orange);
    color: #fff;
    text-align: center;
    padding: 0.85rem;
}

.price2 .price-cta {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

@media (min-width: 640px) {
    .price-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
}

footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   BURGER / MOBILE MENU
   ============================================================ */

/* The three-line icon */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
}

/* Animate into an X when open */
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* The dropdown panel */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: var(--space-sm);
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: var(--space-md);
    position: sticky;
    top: 57px; /* height of your nav bar */
    z-index: 99;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-of-type {
    border-bottom: none;
}

.mobile-menu button {
    background-color: var(--orange);
    color: #fff;
    width: 100%;
    margin-top: var(--space-xs);
}

/* On desktop: hide burger + mobile menu, show nav links */
@media (min-width: 640px) {
    .burger       { display: none; }
    .mobile-menu  { display: none !important; }
    .nav-links    { display: flex; gap: var(--space-xl); }
    .desktop-only { display: inline-flex; }
}


/*  ====================================================
    Desktop view css
    ====================================================*/
    
@media (min-width: 640px) {
    .preview-container {
        display: flex;
    }
    .preview {
        flex: 1;
    }
    .preview-description {
        flex: 1;
    }

    .price-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
}