/*
Theme Name: Love More Ice Cream
Theme URI: https://golovemoreicecream.com
Description: A playful, youthful custom WordPress theme for Love More Ice Cream - Livermore's first real fruit ice cream shop. Features a single-page design with smooth scrolling, brand colors, and easy content editing.
Version: 1.0.0
Author: Neil Mahalanobis
Author URI: https://golovemoreicecream.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: love-more-ice-cream
Tags: one-column, custom-colors, custom-menu, featured-images, sticky-post, theme-options, food-and-drink

Love More Ice Cream WordPress Theme, Copyright 2025
Love More Ice Cream Theme is distributed under the terms of the GNU GPL
*/

/* 
   Love More Ice Cream - WordPress Theme Styles
   Colors from Brand Style Guide:
   - Primary Coral: #F36A6D
   - Soft Blush: #FFEAEA  
   - Light Pink: #FFC5D1
   - Mint: #AFD3D6
   - Pale Mint: #E7F2F3
*/

:root {
    --color-coral: #F36A6D;
    --color-blush: #FFEAEA;
    --color-pink: #FFC5D1;
    --color-mint: #AFD3D6;
    --color-pale-mint: #E7F2F3;
    --color-white: #FFFFFF;
    --color-dark: #333333;
    
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-coral);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-dark);
    opacity: 0.8;
    margin-bottom: 3rem;
}

/* WordPress Editor Styles */
.wp-block-group,
.entry-content {
    max-width: 100%;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100%;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 234, 234, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 234, 234, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.site-logo {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

.custom-logo {
    height: 60px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-title a {
    color: var(--color-coral);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--color-coral);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--color-coral);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-coral) 0%, #FF8B8E 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(255,255,255,0.05) 50px, rgba(255,255,255,0.05) 100px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-title {
    color: var(--color-white);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-logo {
    margin-bottom: 1rem;
}

.hero-logo-svg,
.hero-logo .custom-logo,
.hero-logo-img {
    width: 400px;
    height: auto;
    max-width: 90vw;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.2));
}

.hero-title-main {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: lowercase;
    line-height: 0.9;
}

.hero-title-sub {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: lowercase;
    line-height: 0.9;
}

.hero-tagline {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1rem;
}

.hero-decorative {
    margin-top: 3rem;
    animation: float 3s ease-in-out infinite;
}

.ice-cream-icon {
    width: 100px;
    height: 150px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

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

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.lead-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-coral);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-dark);
    opacity: 0.9;
}

.mission-text {
    font-weight: 600;
    color: var(--color-coral);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
}

.image-placeholder {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(243, 106, 109, 0.2);
}

.about-img,
.wp-post-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Flavors Section */
.flavors-section {
    padding: 6rem 0;
    background: var(--color-blush);
}

.flavors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.flavor-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
}

.flavor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(243, 106, 109, 0.2);
    border-color: var(--color-coral);
}

.flavor-icon {
    width: 100px;
    height: 150px;
    margin: 0 auto 1.5rem;
}

.flavor-icon svg,
.flavor-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flavor-name {
    font-size: 1.5rem;
    color: var(--color-coral);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.flavor-description {
    color: var(--color-dark);
    opacity: 0.8;
    font-size: 1rem;
}

/* Private Events / Booking Section */
.events-section {
    padding: 6rem 0;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, var(--color-pink) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    opacity: 0.25;
    pointer-events: none;
}

.events-section .container {
    position: relative;
    z-index: 2;
}

.form-notice {
    max-width: 700px;
    margin: 0 auto 2rem;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
}

.form-notice-success {
    background: var(--color-pale-mint);
    color: var(--color-dark);
    border: 2px solid var(--color-mint);
}

.form-notice-error {
    background: var(--color-blush);
    color: var(--color-coral);
    border: 2px solid var(--color-coral);
}

.events-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-blush);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(243, 106, 109, 0.12);
}

.events-form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.events-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.events-form-field {
    display: flex;
    flex-direction: column;
}

.events-form-field-full {
    grid-column: 1 / -1;
}

.events-form-field label {
    font-weight: 600;
    color: var(--color-coral);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.events-form-field input,
.events-form-field select,
.events-form-field textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-pink);
    border-radius: 12px;
    background: var(--color-white);
    color: var(--color-dark);
    transition: border-color 0.3s ease;
}

.events-form-field input:focus,
.events-form-field select:focus,
.events-form-field textarea:focus {
    outline: none;
    border-color: var(--color-coral);
}

.events-form-field textarea {
    resize: vertical;
}

.events-form-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-events-submit {
    display: inline-block;
    background: var(--color-coral);
    color: var(--color-white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(243, 106, 109, 0.3);
}

.btn-events-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(243, 106, 109, 0.4);
}

/* Instagram Section */
.instagram-section {
    padding: 6rem 0;
    background: var(--color-pale-mint);
}

.instagram-feed {
    margin: 3rem 0;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.instagram-item:hover {
    transform: scale(1.05);
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-instagram {
    display: inline-block;
    background: linear-gradient(135deg, #E1306C, #FD1D1D, #F77737);
    color: var(--color-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(225, 48, 108, 0.4);
}

/* Footer */
.site-footer {
    position: relative;
    background: var(--color-coral);
    color: var(--color-white);
    padding: 4rem 0 2rem;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(255,255,255,0.03) 50px, rgba(255,255,255,0.03) 100px);
    pointer-events: none;
}

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

.footer-logo {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-logo svg,
.footer-logo img,
.footer-logo-img {
    height: 80px;
    width: auto;
    max-width: 200px;
}

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

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col p {
    line-height: 1.8;
    opacity: 0.95;
}

.footer-link {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--color-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* WordPress Content Styling */
.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.entry-content h2,
.entry-content h3 {
    color: var(--color-coral);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Blog: Homepage Teaser, Archive/Listing Page, and Single Post
   ========================================================================== */

/* From the Blog (homepage teaser) */
.blog-teaser-section {
    padding: 6rem 0;
    background: var(--color-blush);
    position: relative;
    overflow: hidden;
}

.blog-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.blog-teaser-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Blog card — shared by homepage teaser, blog archive page, and generic fallback */
.blog-teaser-card {
    display: block;
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(243, 106, 109, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-teaser-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(243, 106, 109, 0.2);
}

.blog-teaser-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-pale-mint);
}

.blog-teaser-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-teaser-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-coral) 100%);
}

.blog-teaser-content {
    padding: 1.5rem;
}

.blog-teaser-date {
    display: block;
    font-size: 0.85rem;
    color: var(--color-coral);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.blog-teaser-title {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.blog-teaser-excerpt {
    color: var(--color-dark);
    opacity: 0.75;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.blog-teaser-readmore {
    color: var(--color-coral);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Generic page hero (used by Blog listing page, archives, search, 404) */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-coral) 0%, #FF8B8E 100%);
    padding: 160px 0 4rem;
    text-align: center;
    overflow: hidden;
}

.page-hero-title {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 0;
}

.page-hero-title span {
    font-style: italic;
}

.page-hero-subtitle {
    color: var(--color-white);
    opacity: 0.9;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.page-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(255,255,255,0.08) 50px, rgba(255,255,255,0.08) 100px);
    pointer-events: none;
}

/* Blog archive / listing page */
.blog-archive-section {
    padding: 5rem 0;
    background: var(--color-white);
}

.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-pagination {
    margin-top: 3rem;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: 0.6rem 1.1rem;
    margin: 0 0.25rem;
    border-radius: 50px;
    background: var(--color-blush);
    color: var(--color-coral);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--color-coral);
    color: var(--color-white);
}

.blog-empty-state {
    background: var(--color-blush);
    border: 3px dashed var(--color-coral);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
}

.blog-empty-state p {
    margin-bottom: 0.75rem;
}

.blog-empty-state a {
    color: var(--color-coral);
    font-weight: 600;
}

/* Single blog post */
.single-post-hero {
    position: relative;
    background: var(--color-blush);
    padding-top: 100px;
}

.single-post-featured-image {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
}

.single-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-post-breadcrumb {
    margin-top: 2rem;
}

.single-post-breadcrumb a {
    color: var(--color-coral);
    text-decoration: none;
    font-weight: 600;
}

.single-post-breadcrumb a:hover {
    text-decoration: underline;
}

.single-post-title {
    font-size: 2.75rem;
    color: var(--color-dark);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.single-post-meta {
    color: var(--color-coral);
    font-weight: 600;
    opacity: 0.85;
    padding-bottom: 2rem;
}

.single-post-content {
    max-width: 780px;
    margin: 3rem auto;
    font-size: 1.15rem;
}

.single-post-footer {
    max-width: 780px;
    margin: 0 auto 4rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title-main {
        font-size: 3.5rem;
    }
    
    .hero-title-sub {
        font-size: 3rem;
    }
    
    .hero-logo-svg,
    .hero-logo .custom-logo,
    .hero-logo-img {
        width: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .flavors-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .blog-teaser-grid,
    .blog-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .page-hero-title {
        font-size: 2.25rem;
    }
    
    .single-post-title {
        font-size: 2.1rem;
    }
    
    .events-form {
        padding: 2rem 1.5rem;
    }
    
    .events-form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-blush);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
}

@media (max-width: 640px) {
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 2rem;
    }
    
    .hero-logo-svg,
    .hero-logo .custom-logo,
    .hero-logo-img {
        width: 250px;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .about-section,
    .flavors-section,
    .instagram-section,
    .blog-teaser-section,
    .blog-archive-section {
        padding: 3rem 0;
    }
    
    .flavors-grid {
        grid-template-columns: 1fr;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-teaser-grid,
    .blog-archive-grid {
        grid-template-columns: 1fr;
    }
    
    .page-hero {
        padding: 140px 0 3rem;
    }
    
    .page-hero-title {
        font-size: 1.8rem;
    }
    
    .single-post-title {
        font-size: 1.7rem;
    }
    
    .single-post-content {
        font-size: 1.05rem;
    }
    
    .custom-logo {
        height: 50px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-decorative,
    .instagram-cta,
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
