/* Ikigai Cafe - Unified Styles */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@700&display=swap');

/* CSS Variables - Design Tokens */
:root {
    /* Colors */
    --primary: #83d411;
    --funky-pink: #ff3b8f;
    --funky-yellow: #f9d423;
    --funky-green: #2ECC71;
    --hot-pink: #FF007F;
    --lime-green: #CCFF00;
    --background-light: #fffdf5;
    --background-dark: #1a2210;
    --warm-sand: #f5f5f0;
    --off-white: #faf9f6;
    --stone: #e8e8e4;
    --text-dark: #151811;
    
    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-extended: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --breathing-room: 8%;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.breathing-room {
    padding-left: var(--breathing-room);
    padding-right: var(--breathing-room);
}

.extended-type {
    font-family: var(--font-extended);
    letter-spacing: -0.02em;
}

.sticker-rotate-left {
    transform: rotate(-6deg);
}

.sticker-rotate-right {
    transform: rotate(8deg);
}

.thick-border {
    border: 6px solid #000000;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 253, 245, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 4px solid var(--funky-yellow);
    padding: 1rem 5%;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    color: var(--funky-green);
    font-size: 2.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    font-style: italic;
}

.nav {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding-bottom: 0.25rem;
    transition: color 0.3s, border-color 0.3s;
}

.nav-link:hover {
    color: var(--funky-pink);
}

.nav-link.active {
    color: var(--funky-pink);
    border-bottom: 4px solid var(--funky-pink);
}

.btn-primary {
    background-color: var(--funky-pink);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    cursor: pointer;
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary {
    background-color: #000;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    cursor: pointer;
    box-shadow: 4px 4px 0px 0px var(--funky-pink);
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: var(--funky-pink);
}

.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 4px solid #000;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-large .icon {
    transition: transform 0.3s;
}

.btn-large:hover .icon {
    transform: translateX(0.5rem);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Sections */
.hero-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 21/9;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 12px 12px 0px 0px var(--funky-yellow);
}

.hero-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-lg {
    padding: 6rem 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    text-align: center;
}

/* Card Styles */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-image {
    aspect-ratio: 4/5;
    border-radius: 1rem;
    overflow: hidden;
    border: 4px solid #000;
}

.card-image-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s;
}

.card:hover .card-image-inner {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: -1.5rem;
    z-index: 10;
    padding: 0.5rem 1rem;
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.card-badge.left {
    left: -1.5rem;
}

.card-badge.right {
    right: -1.5rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.staggered-item:nth-child(even) {
    margin-top: 4rem;
}

/* Circular Images */
.circle-image {
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #000;
    transition: transform 0.3s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.circle-image:hover {
    transform: scale(1.05);
}

.circle-image-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Map/Location Styles */
.map-container {
    width: 100%;
    aspect-ratio: 1;
    border: 6px solid #000;
    box-shadow: 16px 16px 0px 0px rgba(0,0,0,1);
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .map-container {
        aspect-ratio: 4/5;
    }
}

.map-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.7s;
}

.map-container:hover .map-image {
    filter: grayscale(0%);
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem;
    border-radius: 50%;
    border: 4px solid #000;
    animation: bounce 2s infinite;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, -50%);
    }
    40% {
        transform: translate(-50%, calc(-50% - 20px));
    }
    60% {
        transform: translate(-50%, calc(-50% - 10px));
    }
}

/* Split Layout for Locations */
.split-section {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .split-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Quote Section */
.quote-section {
    position: relative;
    overflow: hidden;
}

.quote-bg-icon {
    position: absolute;
    opacity: 0.1;
    font-size: 30rem;
}

.quote-text {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.3;
    text-transform: uppercase;
    font-style: italic;
}

/* Footer */
.footer {
    background-color: #000;
    color: white;
    padding: 5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-title {
    font-weight: 900;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.footer-text {
    font-size: 1.125rem;
    color: #94a3b8;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.footer-link:hover {
    color: var(--funky-pink);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.social-link:hover {
    transform: scale(1.1);
}

/* Value Tags */
.value-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.value-icon {
    padding: 0.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon .material-symbols-outlined {
    font-size: 0.875rem;
    display: block;
}

/* Background Colors */
.bg-light { background-color: var(--background-light); }
.bg-sand { background-color: var(--warm-sand); }
.bg-white { background-color: white; }
.bg-black { background-color: #000; }
.bg-pink { background-color: var(--funky-pink); }
.bg-green { background-color: var(--funky-green); }
.bg-yellow { background-color: var(--funky-yellow); }
.bg-lime { background-color: var(--lime-green); }

/* Text Colors */
.text-white { color: white; }
.text-black { color: #000; }
.text-pink { color: var(--funky-pink); }
.text-green { color: var(--funky-green); }
.text-yellow { color: var(--funky-yellow); }
.text-lime { color: var(--lime-green); }
.text-muted { color: #64748b; }

/* Shadows */
.shadow-pink { box-shadow: 15px 15px 0px 0px var(--funky-pink); }
.shadow-green { box-shadow: 15px 15px 0px 0px var(--funky-green); }
.shadow-yellow { box-shadow: 15px 15px 0px 0px var(--funky-yellow); }
.shadow-black { box-shadow: 16px 16px 0px 0px rgba(0,0,0,1); }

/* Material Icons */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}
