/* ========================================
   Union on the Hill - Custom Styles
   Brand Colors:
   - Primary: #79230a (Burgundy)
   - Secondary: #000000 (Black)
   - Accent: #C14523 (Burnt Orange)
   - Background: #fefbea (Light Beige)
   - Dark Gray: #353638
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #353638;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: #000000;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #C14523;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

a {
    color: #79230a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #C14523;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: #79230a;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #5a1a08;
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: #79230a;
    border: 2px solid #79230a;
}

.btn-secondary:hover {
    background-color: #79230a;
    color: #ffffff;
}

/* Header & Navigation */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #353638;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: #79230a;
}

.nav-phone {
    background-color: #79230a;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-phone:hover {
    background-color: #5a1a08;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #353638;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 120px 20px;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Featured Dishes */
.featured-dishes {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.dish-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(121, 35, 10, 0.2);
}

.dish-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.dish-card h3 {
    color: #79230a;
    padding: 1.5rem 1rem 0.5rem;
}

.dish-card p {
    padding: 0 1rem 1.5rem;
    color: #666;
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: #fefbea;
}

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

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: #353638;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature h4 {
    color: #79230a;
    margin-bottom: 0.5rem;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Services */
.services {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    padding: 2rem;
    background-color: #fefbea;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #79230a;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 20px;
    background-color: #353638;
    color: #ffffff;
    text-align: center;
}

.testimonials h2 {
    color: #ffffff;
}

.testimonials h2::after {
    background-color: #C14523;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #C14523;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-card cite {
    color: #C14523;
    font-style: normal;
    font-weight: 600;
}

/* Events Section */
.events {
    padding: 80px 20px;
    background: linear-gradient(rgba(121, 35, 10, 0.9), rgba(121, 35, 10, 0.9)),
                url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.events-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.events-content h2 {
    color: #ffffff;
}

.events-content h2::after {
    background-color: #C14523;
    left: 50%;
    transform: translateX(-50%);
}

.events-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.events-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    display: inline-block;
}

.events-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.events-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #C14523;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: #fefbea;
}

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

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    color: #79230a;
    margin-bottom: 1rem;
}

.info-block p {
    margin-bottom: 0.5rem;
}

.parking-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.contact-form-wrapper h3 {
    color: #79230a;
    margin-bottom: 1.5rem;
}

.contact-form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #353638;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #79230a;
}

/* Footer */
.footer {
    background-color: #353638;
    color: #ffffff;
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-logo .logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-info,
.footer-hours {
    text-align: center;
}

.footer-info a,
.footer-hours a {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .dishes-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
