/* Color Palette & Variables */
:root {
    --primary-red: #FF4F4F;
    --primary-blue: #3EBCF4;
    --primary-yellow: #FFC800;
    --primary-green: #4CD964;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-pill: 50px;
    
    --shadow-soft: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-btn: 0 6px 0px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.section-padding {
    padding: 60px 20px;
}

.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary-blue); }
.text-white { color: var(--white); }
.text-white h2, .text-white p { color: var(--white); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
    text-align: center;
    box-shadow: var(--shadow-btn);
}

.btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0px rgba(0,0,0,0.15);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.2rem;
    width: 100%; /* Mobile first */
    margin-bottom: 12px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 40px;
    object-fit: contain;
}

.menu-btn {
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    background-color: rgba(62, 188, 244, 0.1);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 15px 0;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: 100px 20px 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(62,188,244,0.1) 0%, rgba(255,255,255,1) 100%);
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
}

.hero-image-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.blob-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background-color: var(--primary-yellow);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    z-index: 1;
}

/* Floating Animation */
.float-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(76, 217, 100, 0.2);
    color: #27ae60;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 2rem;
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 3px solid transparent;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card:nth-child(1):hover { border-color: var(--primary-blue); }
.feature-card:nth-child(2):hover { border-color: var(--primary-yellow); }
.feature-card:nth-child(3):hover { border-color: var(--primary-green); }

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.bg-blue { background-color: rgba(62, 188, 244, 0.2); }
.bg-yellow { background-color: rgba(255, 200, 0, 0.2); }
.bg-green { background-color: rgba(76, 217, 100, 0.2); }

.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

/* Banner CTA */
.banner-cta {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: 20px;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-cta h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.banner-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: -50px;
    left: -50px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    right: -50px;
}

/* Locations */
.search-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.postcode-input {
    padding: 16px;
    border: 2px solid #ddd;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.postcode-input:focus {
    border-color: var(--primary-blue);
}

.popular-locations p {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-tags .tag {
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid #eee;
    margin: 0;
    cursor: pointer;
}

/* Franchise */
.franchise-card {
    background: rgba(255, 200, 0, 0.1);
    border: 3px dashed var(--primary-yellow);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    text-align: center;
}

.franchise-card h2 {
    color: #e6b800;
    margin-bottom: 16px;
}

.franchise-card p {
    margin-bottom: 24px;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 20px 20px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1); /* Makes logo white */
}

.footer-brand p {
    color: #a4b0be;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a4b0be;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a4b0be;
    font-size: 0.9rem;
}

/* Simple Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Desktop Adjustments */
@media (min-width: 768px) {
    .hero {
        padding: 140px 40px 80px;
    }
    
    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .btn-large {
        width: auto;
        margin-bottom: 0;
    }
    
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .search-box {
        flex-direction: row;
        max-width: 600px;
        margin: 0 auto 30px;
    }
    
    .postcode-input {
        flex: 1;
    }
    
    .franchise-card {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto 40px;
    }
    
    .footer-brand {
        max-width: 400px;
    }
}