/* Global page style */
body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', Arial, sans-serif;
    background-color: #fff8f0; /* soft cream bakery color */
    color: #333;
}

/* Header */
header {
     position: static;
    background-image: url("OurMuffins.jpeg");
    background-size: cover;
    background-position: center;
    padding: 40px 20px; /* increased padding for visual impact */
    border-bottom: 2px solid #eee;
    text-align: center;
}


header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    color: #fff; /* switch to white text to pop over muffins */
    text-shadow: 0px 2px 6px rgba(0,0,0,0.5); /* smooth readability */
}

.sub-header {
    position: static;
    background: none;
    padding: 0;
    text-align: center;
    border: none;
}

/* Navigation Bar */
.navbar {
      margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;               /* add padding so image looks nice */
    background-size: cover;      /* makes it fill the navbar area */
    background-position: center; /* keeps focus in middle */
    border-radius: 10px;         /* makes it feel softer/homey */
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
}

/* Remove bullet points if using <ul><li> */
.navbar li {
    list-style: none;
}

/* Make the text bigger and add hover underline animation */
.nav-btn {
    padding: 10px 18px;
    background-color: #e8e8e8;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px; /* bigger text */
    border: 1px solid #d4d4d4;
    position: relative; /* required for underline animation */
    transition: all 0.2s ease;
}

/* Underline animation effect */
.nav-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: #333;
    transition: width 0.3s ease;
}

.nav-btn:hover::after {
    width: 80%; /* or 100% if you want full underline */
}

/* Slight lift on hover (you already had this) */
.nav-btn:hover {
    background-color: #dcdcdc;
    transform: translateY(-2px);
}


.about-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;   /* instead of stacking weirdly */
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    color: #5a3e2b;
    font-size: 32px;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #5c4a3f;
}

.about-logo img {
    width: 200px;
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.hero-img {
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
    .about-logo img {
        width: 150px;   /* fixed small size */
        max-width: none; /* prevents full-width scaling */
         margin-top: 20px;
    }

    .about-intro {
        flex-direction: column;    /* clean vertical layout */
        text-align: center;
    }
}

.product button {
    margin-top: 10px;
    padding: 8px 14px;
    background-color: #c75a4a;
    color: white;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

.product button:hover {
    background-color: #a8493c;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 50px 20px;
    background-color: #f2f2f2;
}

.hero h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    color: #555;
}

/* Main content */
.content {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.07);
}

.product {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ececec;
    margin-bottom: 20px;
    box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
}

.product h3 {
    margin-top: 0;
    color: #222;
}

.product p {
    color: #555;
}

/*Popup */
.popup {
    display: none;
    position: fixed;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease;

}

.popup.show {
    display: block;
    opacity: 1;
}

/* Calendar / Pickup Form */
form {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ececec;
    max-width: 500px;
    margin-top: 20px;
}

label {
    font-weight: 600;
}

input[type="date"],
input[type="time"] {
    padding: 10px;
    margin-top: 8px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

button {
    margin-top: 10px;
    padding: 12px 20px;
    background-color: #333;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

button:hover {
    background-color: #555;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkout-text {
    flex: 1;
}

.checkout-logo img {
    width: 160px;
    max-width: 100%;
    border-radius: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #ffffff;
    border-top: 2px solid #eee;
    color: #666;
}