/*
Theme Name: Grandma's Grotto Farewell
Description: A memorial website for Grandma's Grotto Pizza & Bakery announcing its closure and linking to the family GoFundMe. Features a warm, nostalgic design with brand colors and typography.
Version: 1.0.0
Author: Grandma's Grotto Family
Tags: memorial, restaurant, farewell, single-page
Text Domain: grandmas-grotto-farewell
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFBEB;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
.font-serif {
    font-family: 'Merriweather', Georgia, serif;
}

.font-sans {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Brand Colors */
:root {
    --brand-red: #A83232;
    --brand-orange: #D97706;
    --brand-cream: #FFFBEB;
    --brand-dark: #1F2937;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.min-h-screen {
    min-height: 100vh;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-grow {
    flex-grow: 1;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

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

/* Header Styles */
.header {
    background-color: var(--brand-red);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Merriweather', serif;
    letter-spacing: 0.05em;
}

.header .subtitle {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
    opacity: 0.9;
}

.closed-badge {
    background-color: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero Section */
.hero {
    position: relative;
    height: 20rem;
    width: 100%;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 10;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 20;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    color: white;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Merriweather', serif;
}

.hero-divider {
    width: 6rem;
    height: 0.25rem;
    background-color: var(--brand-orange);
    margin: 0 auto 1rem auto;
    border-radius: 9999px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 32rem;
    font-weight: 300;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Farewell Letter */
.farewell-letter {
    max-width: 48rem;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.letter-card {
    position: relative;
    background-color: white;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    border-radius: 0.125rem;
    border-top: 4px solid var(--brand-red);
}

.letter-quote-icon {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-cream);
    padding: 0.75rem;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
}

.letter-content {
    font-family: 'Merriweather', serif;
    color: #374151;
    line-height: 1.8;
    font-size: 1.125rem;
}

.letter-content > * + * {
    margin-top: 1.5rem;
}

.letter-salutation {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
}

.letter-divider {
    margin: 2rem auto;
    border: none;
    border-top: 1px solid #E5E7EB;
    width: 50%;
}

.letter-closing {
    font-weight: 500;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-style: italic;
    color: #6B7280;
}

.letter-signoff {
    font-weight: 700;
    color: var(--brand-red);
    white-space: pre-line;
}

/* GoFundMe Section */
.gofundme-section {
    background-color: rgba(168, 50, 50, 0.05);
    padding: 3rem 1rem;
    margin-bottom: 3rem;
}

.gofundme-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.gofundme-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.gofundme-header {
    background-color: var(--brand-orange);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.gofundme-header span {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gofundme-content {
    padding: 2rem;
}

.gofundme-content h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 1rem;
    font-family: 'Merriweather', serif;
}

.gofundme-content p {
    color: #6B7280;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.gofundme-button {
    display: inline-block;
    background-color: #5BBF78;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.gofundme-button:hover {
    opacity: 0.9;
    text-decoration: none;
    color: white;
}

.gofundme-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6B7280;
    font-style: italic;
}

/* Decorative Elements */
.decorative-dots {
    display: flex;
    justify-content: center;
    padding-bottom: 3rem;
    opacity: 0.5;
}

.decorative-dots .dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.dot-orange {
    background-color: var(--brand-orange);
}

.dot-red {
    background-color: var(--brand-red);
}

/* Mailing List Section */
.mailing-list-section {
    padding: 3rem 1rem;
    background-color: white;
}

.mailing-list-container {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
}

.mailing-list-container h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

.mailing-list-container p {
    color: #6B7280;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mailing-list-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--brand-orange);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.mailing-list-button:hover {
    background-color: var(--brand-red);
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
}

.mailing-list-button-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    color: var(--brand-red);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mailing-list-button-header:hover {
    background-color: var(--brand-cream);
    transform: translateY(-2px);
}

.gofundme-button-header {
    display: inline-block;
    background-color: #5BBF78;
    color: white;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: opacity 0.3s ease;
}

.gofundme-button-header:hover {
    opacity: 0.9;
    text-decoration: none;
    color: white;
}

.mailing-list-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6B7280;
}

@media (min-width: 768px) {
    .mailing-list-container h3 {
        font-size: 2.25rem;
    }
}

/* Footer */
.footer {
    background-color: var(--brand-dark);
    color: #9CA3AF;
    padding: 2rem 0;
    border-top: 1px solid #374151;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer .brand-name {
    font-family: 'Merriweather', serif;
    font-size: 1.125rem;
    color: #D1D5DB;
}

.footer .thank-you {
    margin-top: 1rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .header .subtitle {
        font-size: 1rem;
    }

    .hero {
        height: 24rem;
    }

    .hero h2 {
        font-size: 3.75rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .letter-card {
        padding: 3rem;
    }

    .gofundme-content {
        padding: 3rem;
    }

    .gofundme-content h3 {
        font-size: 2.25rem;
    }

    .closed-badge {
        display: block;
    }
}

@media (max-width: 767px) {
    .closed-badge {
        display: none;
    }
}

@media (min-width: 1024px) {
    .hero {
        height: 30rem;
    }
}