/* Design System */
:root {
    --bg-primary: #FDF9F6;
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --accent: #D97706;
    /* Warm Orange from the "Find a Seat" button */
    --accent-hover: #B45309;
    --card-bg: #FFFFFF;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition);
}

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

/* Header */
header {
    height: 90px;
    /* Increased height for breathability */
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(253, 249, 246, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: var(--transition);
}

header .container {
    max-width: 1440px;
    /* Wider container for the header only */
    width: 100%;
    padding: 0 4rem;
    /* More horizontal padding */
}

nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    justify-self: start;
}

.logo span {
    width: 18px;
    height: 18px;
    background: var(--accent);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    /* More space between links */
    justify-content: center;
}

.nav-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    justify-self: end;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.15);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.25);
}

.cart-icon {
    font-size: 1.2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    background: url('images/my-shop.jpeg') center/cover no-repeat;
    margin-bottom: 2rem;
}

/* Hero Overlay to match the soft aesthetic */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Darker overlay for readability */
    backdrop-filter: blur(2px);
    /* Subtle blur for focus */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.badge {
    display: inline-block;
    background: #FEF3C7;
    /* Soft yellow/orange tint */
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D97706;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(217, 119, 6, 0.1);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    /* Changed to white */
}

.hero-title .italic {
    display: block;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    /* Lighter italic text */
    margin-top: 0.2rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    /* Lighter subtitle */
    max-width: 500px;
    margin: 0 auto 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-dark {
    background: #1A1A1A;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-white {
    background: white;
    color: #1A1A1A;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.btn-dark:hover,
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Brew List Section */
.brew-list {
    padding: 8rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 450px;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.view-all:hover {
    gap: 0.8rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    transition: var(--transition);
}

.product-image {
    aspect-ratio: 4/5;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #EEE;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.product-price {
    color: var(--text-secondary);
    font-weight: 500;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Sanctuary Section */
.sanctuary {
    background: #111111;
    color: white;
    padding: 8rem 0;
    margin: 4rem 0;
}

.sanctuary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6rem;
}

.sanctuary-image-wrapper {
    position: relative;
    padding-right: 2rem;
    padding-bottom: 2.5rem;
}

.sanctuary-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background: #3D2B1F;
    border-radius: 12px;
    z-index: 1;
}

.sanctuary-image-wrapper img {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    width: 100%;
}

.sanctuary-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.sanctuary-content p {
    color: #8D8D8D;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-text h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.feature-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Journal Section */
.journal {
    padding: 8rem 0;
}

.journal-header {
    text-align: center;
    margin-bottom: 5rem;
}

.journal-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.journal-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.journal-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    transition: var(--transition);
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.journal-card img {
    border-radius: 12px;
    margin-bottom: 1.5rem;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: #F3F4F6;
}

.journal-card:nth-child(3) img {
    background: #FDF2F2;
    /* Soft peach for the playlist card */
}

.category {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
}

.category.craftsmanship {
    color: #D97706;
}

.category.lifestyle {
    color: #8B5CF6;
}

.category.atmosphere {
    color: #EE9B00;
}

.journal-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-family: var(--font-sans);
    font-weight: 700;
}

.journal-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.read-story {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.read-story:hover {
    gap: 0.8rem;
}

/* Location Section */
.location {
    padding: 6rem 0 0;
}

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

.location-info h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    line-height: 1.1;
}

.info-group {
    margin-bottom: 2.5rem;
}

.info-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #8D8D8D;
    margin-bottom: 1rem;
}

.location-info p {
    font-size: 1.1rem;
    font-weight: 500;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    max-width: 300px;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-link {
    font-size: 1rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #F3F4F6;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(100%) contrast(1.1) opacity(0.8);
    transition: var(--transition);
}

.map-wrapper:hover iframe {
    filter: none;
    opacity: 1;
}

/* Menu Page Specifics */
.menu-page {
    padding-top: 4rem;
}

.menu-intro {
    text-align: center;
    margin-bottom: 6rem;
}

.menu-intro h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.menu-intro p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.menu-category {
    margin-bottom: 8rem;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

/* Footer Section */
footer {
    padding: 1rem 0 2rem;
    background: #F9F9F9;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 8rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 250px;
    margin-bottom: 2rem;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.social-icon:hover {
    background: white;
    border-color: var(--accent);
    color: var(--accent);
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.footer-nav h4,
.footer-newsletter h4 {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.footer-nav ul li {
    margin-bottom: 1rem;
}

.footer-nav ul a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-nav ul a:hover {
    color: var(--text-primary);
}

.footer-newsletter p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    background: #EEEEEE;
    border-radius: 8px;
    padding: 4px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    padding: 0.8rem 1rem;
    flex-grow: 1;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-form button {
    background: #1A1A1A;
    color: white;
    padding: 0.8rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: #333;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #8D8D8D;
}

.footer-bottom .crafted {
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .sanctuary-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .sanctuary-image-wrapper {
        padding-right: 0;
        margin: 0 auto;
    }

    .journal-header h2,
    .sanctuary-content h2,
    .location-info h2 {
        font-size: 2.8rem;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }

    .footer-nav {
        gap: 2rem;
    }
}

/* Micro-animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

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

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

.delay-3 {
    transition-delay: 0.3s;
}