/*
Theme Name: Love More Ice Cream
Theme URI: https://golovemoreicecream.com
Description: A playful, modern retro chic WordPress theme for Love More Ice Cream - Livermore's first real fruit ice cream shop. Features a single-page design with diagonal stripes, wavy dividers, checkered patterns, and smooth scrolling navigation.
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, food-and-drink, retro

Love More Ice Cream WordPress Theme, Copyright 2025
*/

:root {
    --color-coral: #F36A6D;
    --color-blush: #FFEAEA;
    --color-pink: #FFC5D1;
    --color-mint: #AFD3D6;
    --color-pale-mint: #E7F2F3;
    --color-white: #FFFFFF;
    --color-dark: #333333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    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;
}

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

/* 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,
.nav-icon {
    height: 50px;
    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 {
    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;
}

/* RETRO PATTERN: Diagonal stripes */
.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;
}

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

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

.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-tagline {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 2rem;
}

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

/* Wavy squiggle divider */
.about-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--color-blush);
    clip-path: polygon(
        0 50%,
        5% 40%,
        10% 30%,
        15% 25%,
        20% 30%,
        25% 40%,
        30% 50%,
        35% 55%,
        40% 50%,
        45% 40%,
        50% 30%,
        55% 25%,
        60% 30%,
        65% 40%,
        70% 50%,
        75% 55%,
        80% 50%,
        85% 40%,
        90% 30%,
        95% 25%,
        100% 30%,
        100% 100%,
        0 100%
    );
}

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

.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);
    position: relative;
    overflow: hidden;
}

/* RETRO PATTERN: Checkered background (subtle) */
.flavors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255, 198, 209, 0.15) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 198, 209, 0.15) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 198, 209, 0.15) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 198, 209, 0.15) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0;
    pointer-events: none;
    opacity: 0.4;
}

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

.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;
    position: relative;
}

.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: 100px;
    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;
}

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

/* RETRO PATTERN: Dots pattern */
.instagram-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, var(--color-mint) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

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

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

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

.btn-instagram {
    display: inline-block;
    background: var(--color-coral);
    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(243, 106, 109, 0.3);
}

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

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

/* RETRO PATTERN: Footer stripes */
.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.05) 50px,
            rgba(255,255,255,0.05) 100px
        );
    pointer-events: none;
}

/* Wavy top edge for footer */
.site-footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--color-coral);
    clip-path: polygon(
        0 50%,
        5% 60%,
        10% 70%,
        15% 75%,
        20% 70%,
        25% 60%,
        30% 50%,
        35% 45%,
        40% 50%,
        45% 60%,
        50% 70%,
        55% 75%,
        60% 70%,
        65% 60%,
        70% 50%,
        75% 45%,
        80% 50%,
        85% 60%,
        90% 70%,
        95% 75%,
        100% 70%,
        100% 0,
        0 0
    );
}

.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;
}

/* 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);
}

/* Responsive Design */
@media (max-width: 968px) {
    .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;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-logo-svg,
    .hero-logo .custom-logo,
    .hero-logo-img {
        width: 300px;
    }
    
    .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) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .about-section,
    .flavors-section,
    .instagram-section {
        padding: 3rem 0;
    }
    
    .flavors-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-logo-svg,
    .hero-logo .custom-logo,
    .hero-logo-img {
        width: 250px;
    }
    
    .custom-logo,
    .nav-icon {
        height: 40px;
    }
}

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