/* ========== RESET ========== */
html {
    color-scheme: light;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #fffaf6;
    color: #2b2b2b;

    line-height: 1.6;
}

input, textarea, select {
    background: #fff;
    color: #2b2b2b;
    color-scheme: light;
}

/* ========== NAVBAR ========== */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 250, 246, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 700;
    color: #b07a4a;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #2b2b2b;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #b07a4a;
}

/* ========== HERO ========== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.4)
    ),
    url("../images/hero.jpg") center/cover no-repeat;
    color: white;
}

.hero-content {
    max-width: 700px;
}

.subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: 52px;
    margin: 15px 0;
}

.hero p {
    font-size: 16px;
    opacity: 0.9;
}

/* ========== BUTTONS ========== */
.hero-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-primary {
    background: #b07a4a;
    color: white;
}

.btn-primary:hover {
    background: #8c5f38;
}

.btn-secondary {
    background: transparent;
    border: 1px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2b2b2b;
}

/* ========== SIGNATURE SECTION ========== */
.signature-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.section-heading span {
    color: #b07a4a;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    margin: 10px 0;
}

.section-heading p {
    color: #666;
    margin-bottom: 40px;
}

/* ========== GRID ========== */
.signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.signature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.signature-card:hover {
    transform: translateY(-5px);
}

.signature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-family: "Playfair Display", serif;
    margin-bottom: 5px;
}

/* ========== MENU MODAL ========== */
.menu-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.menu-book {
    background: #fff;
    width: 850px;
    height: 550px;
    border-radius: 12px;
    position: relative;
    perspective: 2000px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.close-menu,
.prev-page,
.next-page {
    position: absolute;
    background: #b07a4a;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;
}

.close-menu {
    top: 10px;
    right: 10px;
}

.prev-page {
    left: 10px;
    bottom: 10px;
}

.next-page {
    right: 10px;
    bottom: 10px;
}

.right-page {
    border-right: none;
    border-left: 1px solid #eee;
}

.menu-page::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    right: -10px;
    background: linear-gradient(to right, rgba(0,0,0,0.08), transparent);
    pointer-events: none;
}

.right-page::after {
    left: -10px;
    right: auto;
    background: linear-gradient(to left, rgba(0,0,0,0.08), transparent);
}


.book-pages {
    width: 100%;
    height: 100%;
    position: relative;
}


.book-spread {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    transform: rotateY(90deg);
    transform-origin: center;
    transition: transform 0.9s cubic-bezier(0.4, 0.0, 0.2, 1),
                opacity 0.5s ease;
}

@keyframes fadePage {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.book-spread.active {
    opacity: 1;
    transform: rotateY(0deg);
    z-index: 5;
}

.menu-page {
    flex: 1;
    padding: 40px;
    background: #fff8f2;
    border-right: 1px solid #eee;
    position: relative;
}

.menu-page h2 {
    font-family: "Playfair Display", serif;
    margin-bottom: 10px;
}

.menu-page p {
    margin: 5px 0;
}


/*order cake modal*/

.order-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.order-box {
    background: #fffaf6;
    width: 420px;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.order-box h2 {
    font-family: "Playfair Display", serif;
    margin-bottom: 20px;
    text-align: center;
}

.order-box input,
.order-box textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: "Poppins", sans-serif;
    outline: none;
}

.order-box input:focus,
.order-box textarea:focus {
    border-color: #b07a4a;
}

.close-order {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: #b07a4a;
    color: white;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 5px;
}


/* ========== FOOTER ========== */
.footer {
    background: #2b1d14;
    color: #fff;
    padding: 60px 20px 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-logo {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    color: #b07a4a;
}

.footer-logo p {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    margin-top: 10px;
    color: #ccc;
}

.footer-hours h3 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #fff;
}

.footer-hours p {
    color: #ccc;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-hours .note {
    margin-top: 10px;
    font-size: 13px;
    color: #b07a4a;
    font-style: italic;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: #aaa;
}

/* About Section */

/* ========== ABOUT SECTION ========== */
.page-hero {
    height: 45vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)
    ),
    url("../images/hero.jpg") center/cover no-repeat;
    color: white;
    margin-top: 80px;
    padding: 0 20px;
}

.page-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: 52px;
    letter-spacing: 1px;
}

.page-hero p {
    margin-top: 10px;
    opacity: 0.85;
    max-width: 500px;
}

/* ========== ABOUT SECTION ========== */
.about-page {
    padding: 120px 20px;
    background: #fffaf6;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

/* ========== IMAGE SIDE ========== */
.about-image {
    position: relative;
}

/* warm offset frame */
.about-image::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 25px;
    width: 100%;
    height: 100%;
    background: #b07a4a;
    border-radius: 22px;
    z-index: 0;
}

.about-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 22px;
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.18);
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* ========== TEXT SIDE ========== */
.about-content .subtitle {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b07a4a;
    font-weight: 500;
}

.about-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    margin: 15px 0;
    line-height: 1.2;
}

.about-content p {
    color: #555;
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 16px;
}

/* CTA button refinement */
.about-content .btn-primary {
    margin-top: 10px;
    padding: 12px 28px;
    border-radius: 30px;
}

/* ========== SMALL DECORATION LINE ========== */
.about-content h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #b07a4a;
    margin-top: 12px;
    border-radius: 5px;
}

/* values section */

/* ========== VALUES SECTION ========== */
.values-section {
    padding: 120px 20px;
    background: #fff;
    text-align: center;
}

.values-header span {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b07a4a;
}

.values-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    margin: 10px 0;
}

.values-header p {
    color: #666;
    margin-bottom: 50px;
}

/* GRID */
.values-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARDS */
.value-card {
    background: #fffaf6;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s ease;
}

.value-card:hover {
    transform: translateY(-8px);
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.value-card p {
    color: #555;
    line-height: 1.6;
}

/* initial hidden state */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* gallery section */
/* ========== GALLERY PAGE ========== */
.gallery-page {
    padding: 120px 20px;
    background: #fffaf6;
}

.gallery-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* IMAGE CARD */
.gallery-item {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* HOVER EFFECT */
.gallery-item:hover img {
    transform: scale(1.08);
}


/* ========== CONTACT PAGE ========== */
.contact-page {
    padding: 120px 20px;
    background: #fffaf6;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* INFO BOX */
.contact-info {
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.contact-info h2 {
    font-family: "Playfair Display", serif;
    margin-bottom: 20px;
}

.contact-info h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #b07a4a;
}

.contact-info p {
    margin-bottom: 10px;
    color: #555;
}

/* FORM */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #b07a4a;
}

/* MAP SECTION */
.map-section {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

.map-box {
    max-width: 900px;
    margin: auto;
}

.map-embed {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.map-embed iframe {
    width: 100%;
    height: 350px;
    border: 0;
}


/* burger menu*/

/* ===== BURGER ICON ===== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #2b2b2b;
    border-radius: 3px;
}

    

@media (max-width: 600px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
}


/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image img {
        height: 380px;
    }

    .about-image::before {
        top: 15px;
        left: 15px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .gallery-container {
        grid-template-columns: 1fr 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .nav-links {
        display: none;
    }

    .book-spread {
        flex-direction: column;
    }

    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fffaf6;

        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px 0;

        /* hidden state */
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;

        transition: 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }

    .burger span {
        width: 25px;
        height: 3px;
        background: #2b2b2b;
        border-radius: 3px;
    }
}
