/* ========================================
   Gr8odds Website - Design System & Styles
   Based on gr8odds-redesign-spec.md
   ======================================== */

/* ===== CSS CUSTOM PROPERTIES (Design Tokens) ===== */
:root {
    /* Brand Colours */
    --colour-primary: #EA5F00;
    --colour-black: #0A0B0D;
    --colour-bg-light: #F8F7F5;
    --colour-card-bg: #FBFAF8;
    --colour-border-light: #E8E6E2;
    --colour-border-dark: #2A2A2A;
    --colour-text-heading: #000000;
    --colour-text-body: #5A5A5A;
    --colour-text-white: #FFFFFF;
    --colour-text-white-muted: #B9B9B9;
    
    /* Button hover state */
    --colour-primary-hover: #CF5400;
    
    /* Footer icon background */
    --colour-icon-bg-dark: #1C1C1C;
    
    /* Typography */
    --font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing Scale (4px base unit) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    
    /* Layout */
    --container-max-width: 1400px;
    --container-gutter: 24px;
    --container-gutter-mobile: 16px;
    
    /* Component Heights */
    --utility-bar-height: 56px;
    --header-height: 80px;
    
    /* Section Padding */
    --section-padding: 80px;
    --section-padding-mobile: 48px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--colour-text-body);
    background-color: var(--colour-bg-light);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-gutter);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: var(--font-family);
    color: var(--colour-text-heading);
    margin: 0;
}

/* H1 (Hero) */
.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--colour-text-white);
}

/* H2 (Section heading) */
.section-heading {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

/* H3 (Card/shop title) */
.service-title,
.shop-title,
.feature-title,
.footer-block-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

/* Eyebrow label */
.eyebrow {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--colour-primary);
    margin-bottom: var(--space-4);
}

/* Body text */
.about-paragraph,
.service-description,
.feature-description,
.footer-block-text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--colour-text-body);
}

/* Hero subtitle */
.hero-subtitle {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--colour-text-white-muted);
    max-width: 420px;
}

/* Nav links */
.nav-link {
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: var(--colour-text-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--colour-primary);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) 28px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Primary button */
.btn-primary {
    background-color: var(--colour-primary);
    color: var(--colour-text-white);
}

.btn-primary:hover {
    background-color: var(--colour-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 95, 0, 0.3);
}

/* Secondary button */
.btn-secondary {
    background-color: transparent;
    color: var(--colour-text-white);
    border: 1px solid var(--colour-text-white);
}

.btn-secondary:hover {
    background-color: var(--colour-text-white);
    color: var(--colour-text-heading);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Small button variant (header) */
.btn-small {
    padding: var(--space-3) var(--space-6);
}

/* Shop map button with icon */
.shop-map-btn {
    gap: var(--space-2);
}

.shop-map-btn i {
    width: 16px;
    height: 16px;
}

/* ===== UTILITY BAR ===== */
.utility-bar {
    background-color: var(--colour-black);
    height: var(--utility-bar-height);
    font-size: 13px;
    color: var(--colour-text-white-muted);
    display: flex;
    align-items: center;
}

.utility-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: var(--space-4);
    padding: var(--space-4) 0;
}

.utility-left {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.age-badge {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.age-badge i {
    width: 16px;
    height: 16px;
    color: var(--colour-primary);
}

.utility-link {
    color: var(--colour-primary);
    text-decoration: none;
}

.utility-link:hover {
    text-decoration: underline;
}

/* ===== HEADER ===== */
.header {
    background-color: var(--colour-black);
    height: var(--header-height);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--colour-text-white);
}

.logo-eight {
    color: var(--colour-primary);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

/* ===== HERO SECTION ===== */
.hero {
    background-color: var(--colour-black);
    padding: var(--section-padding) 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-text {
    padding-right: var(--space-8);
}

.hero-title {
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    margin-bottom: var(--space-8);
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.trust-line {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 13px;
    color: var(--colour-text-white-muted);
}

.trust-icon {
    width: 16px;
    height: 16px;
    color: var(--colour-primary);
}

/* Hero image */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
}

.hero-image-actual {
    width: 100%;
    height: 100%;
    max-width: 600px;
    object-fit: cover;
    object-position: center;
}

/* ===== IMAGE PLACEHOLDERS ===== */
.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ddd;
    color: #666;
    font-size: 14px;
    text-align: center;
    border-radius: 4px;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    max-width: 600px;
}

.shop-image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 8px 8px 0 0;
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--colour-bg-light);
    padding: var(--section-padding) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* Service Cards */
.service-card {
    background-color: var(--colour-card-bg);
    border: 1px solid var(--colour-border-light);
    border-radius: 8px;
    padding: var(--space-8);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    width: 24px;
    height: 24px;
    color: var(--colour-primary);
    stroke-width: 1.5;
}

/* Hugeicons service icons - bigger and orange */
.service-icon .hgi {
    font-size: 48px;
    color: var(--colour-primary);
    width: auto;
    height: auto;
}

.service-title {
    margin-bottom: var(--space-2);
}

.service-description {
    margin-bottom: var(--space-10);
}

.arrow-link {
    position: absolute;
    bottom: var(--space-8);
    left: var(--space-8);
    color: var(--colour-primary);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.arrow-link:hover {
    transform: translateX(4px);
}

.arrow-link i {
    width: 20px;
    height: 20px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--colour-bg-light);
    padding: var(--section-padding) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.about-text .section-heading {
    margin-bottom: var(--space-6);
}

.about-paragraph {
    margin-bottom: var(--space-6);
}

.about-paragraph:last-of-type {
    margin-bottom: var(--space-8);
}

/* Feature List */
.about-features {
    padding-left: var(--space-8);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6) 0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i,
.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--colour-primary) !important;
    stroke: var(--colour-primary) !important;
    fill: none !important;
    stroke-width: 1.5;
}

.feature-icon [data-lucide] {
    color: var(--colour-primary) !important;
    stroke: var(--colour-primary) !important;
}

.feature-content {
    flex: 1;
}

.feature-title {
    margin-bottom: var(--space-1);
}

.feature-divider {
    height: 1px;
    background-color: var(--colour-border-light);
    margin: 0 var(--space-4);
}

/* ===== SHOPS SECTION ===== */
.shops {
    background-color: var(--colour-bg-light);
    padding: var(--section-padding) 0;
}

.shops .section-heading {
    text-align: center;
    margin-bottom: var(--space-12);
}

.shops-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

/* Shop Cards */
.shop-card {
    background-color: var(--colour-card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.shop-image {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.shop-image-actual {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.shop-image:hover .shop-image-actual {
    transform: scale(1.05);
}

.shop-content {
    padding: var(--space-6);
}

.shop-title {
    margin-bottom: var(--space-2);
}

.shop-address {
    font-style: normal;
    color: var(--colour-text-body);
    margin-bottom: var(--space-6);
    line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--colour-black);
    color: var(--colour-text-white-muted);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-16);
    padding: var(--section-padding) 0;
}

.footer-block {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.footer-icon-box {
    width: 48px;
    height: 48px;
    background-color: var(--colour-icon-bg-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-icon-box i {
    width: 24px;
    height: 24px;
    color: var(--colour-text-white);
    stroke-width: 1.5;
}

.footer-block-title {
    color: var(--colour-text-white);
    margin-bottom: var(--space-1);
}

.footer-email {
    color: var(--colour-primary);
    text-decoration: none;
}

.footer-email:hover {
    text-decoration: underline;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    background-color: #050507;
    border-top: 1px solid var(--colour-border-dark);
    padding: var(--space-6) 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: var(--space-4);
}

.footer-licensing {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.age-badge-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--colour-icon-bg-dark);
    border-radius: 50%;
    color: var(--colour-text-white);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.age-badge-large i {
    display: none;
}

.licensing-text {
    font-size: 13px;
    line-height: 1.2;
}

.licensing-line {
    color: var(--colour-text-white-muted);
}

.licensing-line strong {
    color: var(--colour-text-white);
    font-weight: 700;
}

.footer-divider {
    width: 1px;
    height: 32px;
    background-color: var(--colour-border-dark);
}

.account-info {
    font-size: 13px;
    line-height: 1.2;
}

.account-line {
    color: var(--colour-text-white-muted);
}

.account-number {
    color: var(--colour-text-white);
    font-weight: 700;
}

/* Footer support section */
.footer-support {
    padding-top: var(--space-4);
    border-top: 1px solid var(--colour-border-dark);
    text-align: center;
}

.support-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--colour-text-white-muted);
}

.support-text a {
    color: var(--colour-primary);
    text-decoration: none;
}

.support-text a:hover {
    text-decoration: underline;
}

.support-phone {
    color: var(--colour-text-white);
    font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
    :root {
        --container-gutter: var(--container-gutter-mobile);
        --section-padding: var(--section-padding-mobile);
    }

    /* Hide utility bar on mobile or simplify */
    .utility-bar-content {
        flex-direction: column;
        gap: var(--space-2);
        padding: var(--space-3) 0;
    }
    
    .utility-bar {
        height: auto;
        min-height: var(--utility-bar-height);
    }

    /* Header responsive */
    .header-content {
        flex-wrap: wrap;
        gap: var(--space-4);
    }
    
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: var(--space-4);
        border-top: 1px solid var(--colour-border-dark);
    }

    /* Hero responsive */
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .hero-text {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    /* About section responsive */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .about-features {
        padding-left: 0;
    }

    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-licensing {
        flex-wrap: wrap;
        gap: var(--space-3);
    }
    
    .footer-divider {
        display: none;
    }
}

@media (max-width: 700px) {
    /* Services grid responsive */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Shops grid responsive */
    .shops-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hero buttons stack on very small screens */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
}

/* ===== ANIMATIONS & EFFECTS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-grid {
    animation: fadeInUp 0.8s ease 0.3s both;
}

.about-content {
    animation: fadeInUp 0.8s ease 0.5s both;
}

.shops-grid {
    animation: fadeInUp 0.8s ease 0.7s both;
}

/* Hero image animation */
.hero-image {
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ===== UTILITY CLASSES ===== */
.centered {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}