/* GLOBAL STYLES */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #333333;
    text-align: center;
}

/* HEADER */
header {
    background-color: hotpink;
    padding: 15px 30px;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* LOGO */
.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

/* NAVIGATION */
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    font-size: 17px;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* LOGIN / REGISTER BUTTONS */
.top-bar {
    display: flex;
}

.top-bar button {
    background: white;
    color: hotpink;
    border: none;
    padding: 10px 20px;
    margin-left: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.top-bar button:hover {
    background: deeppink;
    color: white;
}

/* HERO / HOME SECTION */
.home {
    background: linear-gradient(135deg, rgba(216, 27, 96, 0.75), rgba(255, 64, 129, 0.75), rgba(194, 24, 91, 0.75)), 
                url('../images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.home h1 {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.home h2 {
    font-size: 32px;
    color: #ffe082;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.home p {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons button {
    background: #ffffff;
    color: #d81b60;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons button:hover {
    background: #ffe082;
    color: #c2185b;
}

/* COMMON SECTION STYLES */
.section {
    padding: 60px 30px;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

p {
    font-size: 20px;
    line-height: 1.6;
}

button {
    background: hotpink;
    color: white;
    border: none;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

button:hover {
    background: deeppink;
}

/* THEME VARIATIONS */

/* Light Pink Theme */
.theme-light-pink {
    background-color: #fff0f5;
}

.theme-light-pink h2 {
    color: #c2185b;
}

.theme-light-pink p {
    color: #4a4a4a;
}

/* White Theme */
.theme-white {
    background-color: #ffffff;
}

.theme-white h2 {
    color: #d81b60;
}

.theme-white p {
    color: #555555;
}

/* ABOUT SECTION CARD STYLE */
.about-card {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.about-card p {
    margin: 0;
    color: #4a4a4a;
    font-size: 18px;
    line-height: 1.6;
}

/* CAKE GALLERY */
.cake-gallery {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cake-gallery img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cake-gallery img:hover {
    transform: scale(1.05);
}

/* VIDEOS */
.video-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.video-container iframe {
    width: 500px;
    height: 280px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* FAQ SECTION (CARD STYLE) */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 30px auto 0 auto;
}

.faq-card {
    background-color: #fff0f5;
    padding: 20px 25px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #d81b60;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.faq-card h3 {
    color: #d81b60;
    font-size: 20px;
    margin: 0 0 8px 0;
}

.faq-card p {
    color: #555555;
    font-size: 16px;
    margin: 0;
}

/* LOCATION / MAP SECTION OVERRIDES */
#map {
    background-color: #ffffff;
}

#map h2 {
    color: #d81b60;
}

.map-container {
    margin-top: 20px;
}

.map-container iframe {
    width: 80%;
    max-width: 800px;
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* CONTACT US SECTION OVERRIDES */
#contact {
    background-color: #fff0f5;
}

#contact h2 {
    color: #c2185b;
}

.contact-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 18px;
    color: #4a4a4a;
}

.contact-inline .divider {
    color: #d81b60;
    font-weight: bold;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #d81b60, #ff4081, #c2185b);
    padding: 30px;
}

.footer-content h3 {
    font-size: 28px;
    color: white;
}

.footer-content p {
    color: #ffffff;
    font-size: 16px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

.footer-links a:hover {
    color: #ffe082;
    text-decoration: underline;
}

/* ================== POPUP MODALS STYLES ================== */
.modal {
    display: none;
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.6); 
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    position: relative;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-btn:hover {
    color: #d81b60;
}

.modal-content h2 {
    color: #d81b60;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

/* FORM STYLES INSIDE MODALS */
#orderForm, #contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#orderForm input, 
#orderForm select, 
#orderForm textarea,
#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: inherit;
}

#orderForm input:focus, 
#orderForm select:focus, 
#orderForm textarea:focus,
#contactForm input:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: #d81b60;
}

.submit-btn {
    background-color: #d81b60;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    margin: 0;
}

.submit-btn:hover {
    background-color: #c2185b;
}

/* MENU LIST IN MODAL */
.menu-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: #4a4a4a;
}

.menu-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 18px;
}

.menu-list li:last-child {
    border-bottom: none;
}

/* MOBILE RESPONSIVE */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        position: static;
        transform: none;
    }

    .nav-links a {
        display: block;
        margin: 10px;
    }

    .home h1 {
        font-size: 32px;
    }

    .home h2 {
        font-size: 24px;
    }

    .about-card {
        padding: 20px;
        margin: 0 10px;
    }

    .video-container iframe {
        width: 90%;
        height: 220px;
    }

    .cake-gallery img {
        width: 90%;
        height: auto;
    }

    .map-container iframe {
        width: 95%;
        height: 300px;
    }

    .faq-container {
        padding: 0 10px;
    }

    .contact-inline {
        flex-direction: column;
        gap: 10px;
    }

    .contact-inline .divider {
        display: none;
    }
}