/* You & Me Restro | Cozy Romantic CSS */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --primary: #D63384;
    /* Romantic Rose */
    --secondary: #4A3228;
    /* Warm Coffee Brown */
    --bg-light: #FFF5F7;
    /* Soft Blush */
    --white: #FFFFFF;
    --text-dark: #2D2D2D;
    --text-light: #6C757D;
    --accent-glow: rgba(214, 51, 132, 0.15);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --shadow-soft: 0 10px 30px rgba(74, 50, 40, 0.08);
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: var(--shadow-soft);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.logo span {
    color: var(--secondary);
    font-style: italic;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    background: linear-gradient(rgba(255, 245, 247, 0.8), rgba(255, 245, 247, 0.8)), url('https://picsum.photos/1920/1080?random=34099');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    animation: floatingGlow 3s ease-in-out infinite alternate;
}

@keyframes floatingGlow {
    from {
        text-shadow: 0 0 10px rgba(214, 51, 132, 0);
    }

    to {
        text-shadow: 0 0 20px var(--accent-glow);
    }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(214, 51, 132, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(214, 51, 132, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
}

/* Cards */
.menu-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(74, 50, 40, 0.05);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.menu-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(74, 50, 40, 0.12);
}

.menu-img-wrap {
    width: 100%;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.menu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.menu-card:hover .menu-img {
    transform: scale(1.1);
}

.category-tag {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.price-tag {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 700;
}

/* Cart Icon */
.cart-wrap {
    position: relative;
    cursor: pointer;
}

.cart-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Sections */
.section {
    padding: 6rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--secondary);
}

.section-title p {
    color: var(--primary);
    font-style: italic;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid #E0E0E0;
    background: var(--white);
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--bg-light);
    padding: 5rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 245, 247, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    animation: slideUp 0.4s forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Utils */










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

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}
/* --- Visibility Protocol CSS --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.reveal.js-hidden {
    opacity: 0;
    transform: translateY(40px);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* --- Global Badge UI Protocol --- */
.product-category, .category-tag {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1A1A1A !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 20px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    z-index: 10 !important;
    backdrop-filter: blur(5px) !important;
    border: none !important;
    margin: 0 !important;
    transform: none !important;
}

.product-img-wrapper {
    padding: 0 !important;
}
