/* CSS Variables for Green and Blue Color Palette */
:root {
    --deep-teal: #0d5c63;
    --teal: #1a8a8a;
    --seafoam: #44b89d;
    --light-green: #98d4bb;
    --pale-mint: #d4f0e7;
    --ocean-blue: #1e5f8a;
    --soft-blue: #5a9bc9;
    --sky-blue: #a3d5e8;
    --light-cyan: #d4f1f9;
    --dark-slate: #1a3a3a;
    --white: #ffffff;
    --off-white: #f5fafa;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--dark-slate);
    background-color: var(--off-white);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: normal;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2.2rem;
    color: var(--deep-teal);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--seafoam), var(--soft-blue));
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--ocean-blue);
    margin-bottom: 0.8rem;
}

h4 {
    font-size: 1.3rem;
    color: var(--deep-teal);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--pale-mint);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--deep-teal) 0%, var(--ocean-blue) 50%, var(--teal) 100%);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="70" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="10" cy="60" r="1.5" fill="rgba(255,255,255,0.08)"/></svg>');
    background-size: 200px 200px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.subtitle {
    font-size: 1.4rem;
    color: var(--pale-mint);
    margin-top: 1rem;
    font-style: italic;
}

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

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* Story Section */
.story-section {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.story-card {
    background: linear-gradient(145deg, var(--light-cyan), var(--pale-mint));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 92, 99, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.story-card p {
    color: var(--dark-slate);
    font-size: 1rem;
}

/* Menu Section */
.menu-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--light-cyan) 100%);
}

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

.menu-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--seafoam);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease;
}

.menu-item:hover {
    border-left-color: var(--ocean-blue);
}

.course {
    display: inline-block;
    background: linear-gradient(90deg, var(--seafoam), var(--soft-blue));
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.menu-item h4 {
    margin-bottom: 0.5rem;
}

.menu-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Memories Section */
.memories-section {
    padding: 5rem 0;
    background: var(--white);
}

.quote-box {
    background: linear-gradient(135deg, var(--deep-teal), var(--ocean-blue));
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
}

.quote-box blockquote {
    color: var(--white);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
}

.quote-box cite {
    display: block;
    color: var(--pale-mint);
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--seafoam), var(--soft-blue));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 73px;
    top: 5px;
    width: 17px;
    height: 17px;
    background: var(--white);
    border: 3px solid var(--teal);
    border-radius: 50%;
    z-index: 1;
}

.time {
    min-width: 70px;
    font-weight: bold;
    color: var(--deep-teal);
    font-size: 0.9rem;
}

.event {
    margin-left: 40px;
    padding: 1rem 1.5rem;
    background: var(--pale-mint);
    border-radius: 8px;
    flex: 1;
}

/* Closing Section */
.closing-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--light-cyan) 0%, var(--pale-mint) 100%);
    text-align: center;
}

.closing-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--dark-slate);
}

.cta-box {
    display: inline-block;
    background: linear-gradient(135deg, var(--teal), var(--ocean-blue));
    padding: 1.5rem 3rem;
    border-radius: 50px;
    margin-top: 1rem;
}

.cta-box p {
    color: var(--white);
    margin: 0;
    font-style: italic;
}

/* Footer */
footer {
    background: var(--dark-slate);
    color: var(--pale-mint);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
}

.tagline {
    font-style: italic;
    color: var(--sky-blue);
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-image img {
        max-width: 300px;
    }

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

    .story-card:last-child {
        max-width: none;
    }

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

    .quote-box {
        padding: 2rem 1.5rem;
    }

    .quote-box blockquote {
        font-size: 1.1rem;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-item::before {
        left: 8px;
        top: 0;
    }

    .time {
        margin-bottom: 0.5rem;
        margin-left: 35px;
    }

    .event {
        margin-left: 35px;
    }

    .cta-box {
        padding: 1.2rem 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .story-card,
    .menu-item {
        padding: 1.5rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
