/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #000000;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

section.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(212, 84, 59, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffe4d6;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}




.hero-logo {
    width: 400px;
    max-width: 90%;
    height: auto;
    margin: 0 auto 20px auto; /* top right bottom left */
    display: block;
}

.cta-button {       /*THIS IS THE SEE OUR MENU BUTTON */
    display: inline-block;
    padding: 15px 60px;
    background-color: #d4543b;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #b8442f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 84, 59, 0.4);
}

/* Opening Hours Section */
.opening-hours {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('images/latte-art.png') center/cover no-repeat;
    /* REPLACE: latte-art.png with your latte art photo for background */
    background-color: #1a1a1a; /* Fallback */
    color: white;
    position: relative;
}

.hours-content {
    display: flex;
    justify-content: left;
    align-items: left;
}

.hours-text {
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6);
    padding: 60px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.hours-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hours-time {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #d4543b;
}

.location-info {
    margin-bottom: 30px;
    line-height: 2;
}

.location-info p {
    margin-bottom: 10px;
}

.map-placeholder {
    margin-top: 30px;
}

.map-placeholder img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    /* REPLACE: Add your map screenshot as map-placeholder.png */
}

.hours-image {
    display: none; /* Hidden since latte art is now the background */
}

.hours-image img {
    display: none;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* REPLACE: Add barista or café photo as barista.png */
}

/* Menu Section */
.menu {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.menu h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.menu-status {
    font-size: 24px;
    font-weight: 400;
    color: #666;
    margin-bottom: 50px;
}

.menu-placeholder {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    background-color: #f9f9f9;
    border-radius: 10px;
    font-size: 20px;
    color: #999;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: #fef5f1;
}

.products h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    /* REPLACE: Add product images as coffee-beans.png, brewing-equipment.png, coffee-machines.png */
}

.product-card h3 {
    padding: 25px;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    color: #333;
}

/* Events Section */
.events {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.events h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: 2px;
    font-style: italic;
}

.calendar-placeholder {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 60px;
    background-color: #f9d84a;
    border-radius: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    /* Decorative wave pattern */
    background: linear-gradient(to bottom, transparent, #1a1a1a);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    width: 300px;
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    /* REPLACE: Add colorful Toyo logo as toyo-logo-footer.png */
}

.footer-logo p {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
}

.footer-social h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    /* REPLACE: Add social media icons as instagram-icon.png, facebook-icon.png */
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hours-content,
    .about-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 20px;
        font-size: 12px;
    }

    .hero-logo {
        width: 300px;
    }

    .hours-text h2,
    .about-text h2,
    .products h2,
    .events h2 {
        font-size: 32px;
    }

    .menu h2 {
        font-size: 36px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 10px 0;
    }

    .nav-container {
        padding: 0 12px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav-container::-webkit-scrollbar {
        display: none;
    }

    .nav-links {
        width: max-content;
        min-width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 18px;
        font-size: 11px;
    }

    .nav-links a {
        white-space: nowrap;
    }

    .hero-logo {
        width: 250px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .hours-text h2,
    .about-text h2 {
        font-size: 28px;
    }

    .hours-text {
        padding: 32px 22px;
    }

    .hours-time {
        font-size: 24px;
    }

    .about-text p {
        font-size: 16px;
    }

    .menu h2 {
        font-size: 32px;
    }

    .menu-status {
        font-size: 18px;
    }

    .products h2,
    .events h2 {
        font-size: 28px;
    }

    .calendar-placeholder {
        padding: 60px 30px;
        font-size: 18px;
    }

    .footer-logo img {
        width: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    section.reveal,
    section.reveal.is-visible,
    .hero-slide {
        transition: none;
    }
}
