/* ================================
   INDEX PAGE STYLES - styles.css
================================ */

/* Header & Slideshow */
header {
    position: relative;
    height: 80vh;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 16s infinite;
}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.slide:nth-child(1) { background-image: url('img/FrontDoor.jpg'); animation-delay: 0s; }
.slide:nth-child(2) { background-image: url('img/cornerbooth.webp'); animation-delay: 4s; }
.slide:nth-child(3) { background-image: url('img/bar1.jpeg'); animation-delay: 8s; }
.slide:nth-child(4) { background-image: url('img/troyBartending.jpg'); animation-delay: 12s; }

@keyframes fade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    30% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-content h1,
.header-content p,
.header-content h2,
.btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlide 1s ease forwards;
}

.header-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    animation-delay: 0.5s;
}

.header-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    animation-delay: 0.5s;
}

.header-content p {
    font-size: 1.5rem;
    animation-delay: 1s;
}

.btn {
    border-radius: 10px;
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    animation-delay: 1.5s;
}

.btn:hover {
    background: #fff;
    color: #121212;
}

/* Sections */
section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.menu-button {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #333;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.menu-button:hover {
    background: #292929;
}

.menu-button h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

/* Reviews */
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 1rem;
}

.review {
    background: #1e1e1e;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.review:hover {
    background: #292929;
    transform: translateY(-5px);
}

.quote-icon {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #8ec3e6;
    margin-bottom: 1rem;
}

.review p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #ddd;
    margin-bottom: 1rem;
}

.stars {
    color: #8ec3e6;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 926px) {
    .header-content h1 {
        font-size: 3rem;
    }

    .header-content h2 {
        font-size: 1.75rem;
    }

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

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
}
