/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* Variabel */
:root {
    --bg: #8E1B17;
    --text: #F7E7CE;
    --accent: #FFD66B;
    --container-w: 1300px;
    --header-h: 80px;
    --cream: #FFF4E4;
    --dark: #2a2a2a;
    --red: #b83b2f;
    --white: #ffffff;
}

/* Header */
.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    height: var(--header-h);
    display: flex;
    align-items: center;
}

/* Layout container */
.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-family: "Playfair Display", serif;
    color: var(--text);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: default;
}

/* Navigation */
.nav {
    display: flex;
    gap: 50px;
}

.nav a {
    font-family: "Plus Jakarta Sans", sans-serif;
    position: relative;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 0;
    transition: 0.25s ease;
}

/* Underline hover */
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
    transition: width 250ms cubic-bezier(.25,.8,.25,1);
}

/* Hover effect */
.nav a:hover {
    color: var(--accent);
}

.nav a:hover::after {
    width: 100%;
}

/* Search button */
.search-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--text);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
}

.search-btn:hover {
    background: var(--text);
    background-color: var(--text);
}

.search-btn svg {
    width: 18px;
    height: 18px;
}

.search-icon-stroke {
    stroke: var(--text);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
}

.search-btn:hover .search-icon-stroke {
    stroke: var(--bg);
}

/* Hero Section */
.hero {
    width: 100%;
    background: var(--cream);
    padding: 80px 0 120px 0;
}

.hero-container {
    width: var(--container-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    gap: 80px;
}

/* Image Left */
.hero-image {
    position: relative;
    margin-left: 20px;
    flex-shrink: 0;
    z-index: 5;
}

.hero-image img {
    width: 520px;
    height: 330px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    animation: floatImage 4s ease-in-out infinite;
}
@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Right Content */
.hero-content {
    flex: 1;
    color: white;
    transform: translateY(20px);
    z-index: 5;
    position: relative;
}

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: 70px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 25px;
    cursor: default;
}

.hero-desc {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 19px;
    color: #444;
    max-width: 550px;
    margin-bottom: 40px;
    cursor: default;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 70px;
}

.btn-primary {
    font-family: "Plus Jakarta Sans", sans-serif;
    background: var(--bg);
    color: var(--cream);
    padding: 18px 40px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background: var(--red);
    color: var(--white);
}

.btn-outline {
    font-family: "Plus Jakarta Sans", sans-serif;
    background: transparent;
    border: 3px solid var(--dark);
    color: var(--bg);
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
}

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

.btn-primary,
.btn-outline {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.btn-primary:hover,
.btn-outline:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Stats & Review */
.hero-stats {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    cursor: default;
}

.stat-box h2 {
    font-size: 55px;
    font-weight: 900;
    color: var(--red);
}

.stat-box p {
    font-size: 18px;
    margin-top: 5px;
    color: #333;
}

.review-box {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    padding: 25px 35px;
    border-radius: 20px;
    width: 350px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

.stars {
    font-size: 20px;
    color: #ffc107;
    margin-bottom: 12px;
}

.review-text {
    font-size: 17px;
    font-style: italic;
    margin-bottom: 8px;
    color: #333;
}

.review-author {
    color: #666;
    font-size: 15px;
    opacity: 0.9;
}

/* About Section */
.about-section {
    width: 100%;
    padding: 120px 0;
    background: linear-gradient(to right, #fcf7ef 0%, #faefe3 100%);
}

.about-container {
    max-width: var(--container-w);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 0 20px;
}

/* About - Left Side */
.about-left {
    flex: 1.1;
}

.about-label {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    color: #d13737;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: default;
}

.about-title {
    font-family: "Playfair Display", serif;
    font-size: 62px;
    line-height: 1.1;
    font-weight: 800;
    margin: 20px 0 25px 0;
    color: black;
    cursor: default;
}

.about-desc {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
    line-height: 1.65;
    color: black;
    max-width: 640px;
    cursor: default;
}

/* Button */
.about-btn {
    margin-top: 40px;
    background: var(--bg);
    color: white;
    border: none;
    padding: 16px 34px;
    font-size: 18px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0px 6px 0px #741512;
}

.about-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0px 10px 0px #741512;
}

/* Right Image */
.about-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.about-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Filter Menu Section */
.menu-section {
    width: 100%;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    cursor: default;
}

.menu-filter {
    display: flex;
    gap: 20px;
}

/* Filter Button */
.filter-btn {
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 22px;
    border: none;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0px 3px 12px rgba(0,0,0,0.06);
    
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
    position: relative;
}

/* Underline indicator */
.filter-btn::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #ff4c4c;
    border-radius: 10px;

    transition: width 0.3s ease;
}

/* Hover animasi */
.filter-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0px 5px 15px rgba(0,0,0,0.12);
}

/* Underline muncul saat hover */
.filter-btn:hover::after {
    width: 50%;
}

/* Filter aktif (yang sedang dipilih) */
.filter-btn.active {
    background-color: #ffecec;
}

.filter-btn.active::after {
    width: 50%;
}

.menu-section {
    padding: 120px 0;
    background: var(--cream);
}

.menu-container {
    width: var(--container-w);
    margin: 0 auto;
}

.menu-title {
    font-size: 55px;
    color: var(--dark);
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
}

/* Filters */
.menu-filters {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 70px;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 12px 26px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: var(--dark);
    border-radius: 30px;
    transition: 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--bg);
    color: var(--cream);
    transform: translateY(-4px);
}

/* Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 400px);
    gap: 40px;
    justify-content: center;
}

/* Card */
.menu-card {
    width: 400px;
    background: white;
    border-radius: 20px;
    padding: 20px;
    transition: 0.35s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.menu-card:hover {
    transform: translateY(-10px) scale(1.03);
}

/* Image */
.menu-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
}

/* Name */
.menu-name {
    margin-top: 18px;
    font-size: 26px;
    font-weight: 900;
    color: var(--dark);
    cursor: default;
}

.menu-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.menu-rating .stars {
    color: #ffc107;
    font-size: 16px;
}

.menu-rating .score {
    font-size: 15px;
    font-weight: 700;
    color: #444;
    cursor: default;
}

.star-icon {
    width: 18px;
    height: 18px;
    fill: #FFD66B;
    opacity: 0.9;
}
.score {
    font-size: 15px;
    font-weight: 600;
    color: #555;
}

/* Options */
.menu-options {
    margin-top: 12px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: default;
}

.menu-options p {
    background: #fdf8ee;
    padding: 10px 15px;
    border-radius: 8px;
    
    font-size: 15px;
    font-weight: 600;
    color: #333;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.menu-options span {
    color: var(--bg);
    font-weight: 800;
}

/* Order Button */
.order-btn {
    width: 100%;
    background: var(--bg);
    border: none;
    padding: 15px 0;
    color: var(--cream);
    font-size: 17px;
    font-weight: 700;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.35s ease;
}

.order-btn:hover {
    background: var(--red);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Subs Section */
.newsletter-section {
    background: #c62828;
    padding: 120px 0;
    text-align: center;
    color: white;
}

.newsletter-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    cursor: default;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 50px;
    cursor: default;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.newsletter-input {
    width: 380px;
    padding: 18px 25px;
    font-size: 1rem;
    color: white;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    outline: none;
    transition: 0.3s;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.8);
}

.newsletter-input:focus {
    border-color: #fff;
}

.newsletter-btn {
    padding: 18px 45px;
    font-size: 1rem;
    background: white;
    color: #c62828;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Footer */

.footer {
    background: #1f1f1f; 
    color: white;
    padding: 80px 0 40px;
    font-family: sans-serif;
}

.footer-container {
    width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Footer Left */
.footer-logo {
    font-family: "Playfair Display", serif;
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    cursor: default;
}

.footer-desc {
    font-family: "Plus Jakarta Sans", sans-serif;
    width: 330px;
    opacity: 0.85;
    line-height: 1.5;
    cursor: default;
}

/* Footer Center */
.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
    cursor: default;
}

.footer-col a {
    font-family: "Plus Jakarta Sans", sans-serif;
    display: block;
    color: white;
    opacity: 0.7;
    margin-bottom: 10px;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

/* Hover animation */
.footer-col a:hover {
    opacity: 1;
    transform: translateX(5px);
}

/* Social Media */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.social-icon:hover {
    background: white;
    color: #8e1b17;
    transform: translateY(-4px);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    font-family: "Plus Jakarta Sans", sans-serif;
    opacity: 0.7;
    font-size: 0.9rem;
    cursor: default;
}