/* ===================================
   Flo & Lexi's London Adventures
   Main Stylesheet
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Color Palette - Warm and Whimsical */
    --primary-color: #FF6B6B;        /* Warm red from London buses */
    --secondary-color: #4ECDC4;      /* Soft teal */
    --accent-color: #FFE66D;         /* Sunny yellow */
    --text-dark: #2C3E50;            /* Dark blue-gray */
    --text-light: #5D6D7E;           /* Medium gray */
    --bg-cream: #FFF9F0;             /* Warm cream background */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --border-color: #E8E8E8;
    
    /* Accent Colors */
    --flo-red: #DC143C;              /* Flo's bandana color */
    --lexi-green: #2ECC71;           /* Lexi's backpack color */
    --heart-pink: #FF69B4;
    --london-blue: #4A90E2;
    
    /* Fonts */
    --font-primary: 'Fredoka', sans-serif;
    --font-handwritten: 'Patrick Hand', cursive;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-brand i {
    color: var(--lexi-green);
    font-size: 1.6rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--accent-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 249, 240, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--spacing-xl) 0;
}

.hero-text {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.title-image {
    max-width: 500px;
    margin: 0 auto var(--spacing-md);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #FF5252;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: #45B8AF;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    background: #FFD93D;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

/* ===== INTRODUCTION SECTION ===== */
.introduction {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.intro-image {
    position: relative;
}

.intro-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.paw-prints {
    position: absolute;
    top: -20px;
    right: -20px;
    display: flex;
    gap: 10px;
}

.paw-prints i {
    color: var(--primary-color);
    font-size: 2rem;
    animation: pawBounce 2s ease-in-out infinite;
    opacity: 0.7;
}

.paw-prints i:nth-child(2) {
    animation-delay: 0.2s;
}

.paw-prints i:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pawBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.narrator-voice {
    font-family: var(--font-handwritten);
    font-size: 1.4rem;
    color: var(--flo-red);
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.highlight-text {
    background: linear-gradient(120deg, var(--accent-color) 0%, var(--accent-color) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 85%;
    padding: 0.2rem 0;
    font-weight: 500;
}

/* ===== FEATURED ADVENTURES ===== */
.featured-adventures {
    padding: var(--spacing-xl) 0;
    background: var(--bg-cream);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.adventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.adventure-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.adventure-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.adventure-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.adventure-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.adventure-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.coming-soon {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cta-section {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ===== FRIENDSHIP SECTION ===== */
.friendship-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #FFF5F7 0%, #FFF9F0 100%);
}

.friendship-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.friendship-text h2 {
    font-size: 2.5rem;
    color: var(--heart-pink);
    margin-bottom: var(--spacing-sm);
}

.friendship-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.inspiration-text {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--lexi-green);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.friendship-image {
    position: relative;
}

.friendship-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.heart-decoration {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background: var(--heart-pink);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: heartBeat 1.5s ease-in-out infinite;
    box-shadow: var(--shadow-md);
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

.footer-section p {
    line-height: 1.8;
    color: #BDC3C7;
}

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

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.stay-tuned {
    font-weight: 600;
    color: var(--accent-color);
    margin-top: var(--spacing-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #BDC3C7;
}

.footer-bottom i {
    color: var(--heart-pink);
}

/* ===== ABOUT PAGE STYLES ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
}

.character-section {
    padding: var(--spacing-xl) 0;
}

.character-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.character-grid.reverse {
    direction: rtl;
}

.character-grid.reverse > * {
    direction: ltr;
}

.character-image {
    position: relative;
}

.character-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.character-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transform: rotate(5deg);
}

.character-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.character-text h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.character-traits {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.character-traits li {
    padding: var(--spacing-xs) 0;
    font-size: 1.1rem;
}

.character-traits i {
    margin-right: var(--spacing-xs);
    color: var(--lexi-green);
}

/* ===== BLOG PAGE STYLES ===== */
.blog-intro {
    background: var(--bg-white);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.blog-intro h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.blog-posts {
    padding: var(--spacing-xl) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.blog-post-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.blog-post-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: var(--bg-cream);
}

.blog-post-content {
    padding: var(--spacing-md);
}

.blog-post-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.blog-post-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.blog-post-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

.no-posts {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.no-posts-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.no-posts h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.no-posts p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-sm);
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .title-image {
        max-width: 100%;
    }
    
    .intro-grid,
    .friendship-grid,
    .character-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .character-grid.reverse {
        direction: ltr;
    }
    
    .intro-text h2,
    .friendship-text h2,
    .character-text h2 {
        font-size: 2rem;
    }
    
    .section-title,
    .page-header h1 {
        font-size: 2rem;
    }
    
    .adventures-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}
