/* =========================================
   MARISA CAFE - STYLE.CSS
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}


/* =========================================
   NAVIGATION
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 30px;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    transition: 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #ff6b35;
    font-family: Georgia, serif;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-menu a {
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #ff6b35;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 1.7rem;
    cursor: pointer;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.72)
        ),
        url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1950&q=80");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;

    padding: 120px 20px 60px;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: #ff6b35;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 650px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-block;
    padding: 13px 28px;

    background: #ff6b35;
    color: white;

    border: 2px solid #ff6b35;
    border-radius: 30px;

    font-weight: bold;
    cursor: pointer;

    transition: 0.3s ease;
}

.btn:hover {
    background: #e65320;
    border-color: #e65320;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: #333;
}


/* =========================================
   SECTIONS
========================================= */

.section {
    padding: 90px 25px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;

    font-family: Georgia, serif;
    font-size: 2.7rem;

    color: #222;

    margin-bottom: 15px;
}

.section-title::after {
    content: "";

    display: block;

    width: 65px;
    height: 4px;

    background: #ff6b35;

    margin: 12px auto 35px;

    border-radius: 5px;
}

.section-intro {
    text-align: center;
    color: #666;
    max-width: 650px;
    margin: 0 auto 40px;
}


/* =========================================
   ABOUT
========================================= */

.about-section {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-label {
    color: #ff6b35;
    font-weight: bold;
    letter-spacing: 2px;
}

.about-text h3 {
    font-family: Georgia, serif;
    font-size: 2.4rem;
    margin: 12px 0 20px;
}

.about-text p {
    color: #666;
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);
}


/* =========================================
   ABOUT FEATURES
========================================= */

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    gap: 15px;
}

.about-feature i {
    color: #ff6b35;
    font-size: 1.5rem;
}

.about-feature h4 {
    margin-bottom: 3px;
}

.about-feature p {
    font-size: 0.9rem;
    margin: 0;
}


/* =========================================
   MENU
========================================= */

.menu-section {
    background: #f7f7f7;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.menu-category {
    background: white;
    padding: 25px;

    border-radius: 15px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);

    transition: 0.3s ease;
}

.menu-category:hover {
    transform: translateY(-7px);
}

.category-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #fff1eb;
    color: #ff6b35;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.5rem;
}

.menu-category h3 {
    text-align: center;

    color: #ff6b35;

    font-family: Georgia, serif;

    font-size: 1.6rem;

    margin-bottom: 15px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px dashed #ddd;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item h4 {
    color: #333;
    margin-bottom: 3px;
}

.menu-item p {
    font-size: 0.85rem;
    color: #777;
}

.menu-item span {
    color: #ff6b35;
    font-weight: bold;
    white-space: nowrap;
}


/* =========================================
   SPECIALS
========================================= */

.specials-section {
    background: white;
}

.specials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.special-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.10);

    transition: 0.3s ease;
}

.special-card:hover {
    transform: translateY(-8px);
}

.special-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.special-content {
    padding: 22px;
}

.special-label {
    color: #ff6b35;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.special-content h3 {
    margin: 8px 0;
    font-size: 1.4rem;
}

.special-content p {
    color: #666;
    margin-bottom: 12px;
}

.price {
    color: #ff6b35;
    font-size: 1.3rem;
    font-weight: bold;
}


/* =========================================
   GALLERY
========================================= */

.gallery-section {
    background: #f7f7f7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    height: 260px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}


/* =========================================
   RESERVATION
========================================= */

.reservation-section {
    background: white;
}

.reservation-form {
    max-width: 650px;
    margin: auto;

    background: #f7f7f7;

    padding: 35px;

    border-radius: 15px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px;

    border: 1px solid #ddd;

    border-radius: 7px;

    font-size: 1rem;

    font-family: inherit;

    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff6b35;
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.reservation-form .btn {
    width: 100%;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
    background: #f7f7f7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-info {
    background: white;

    padding: 30px;

    border-radius: 15px;

    text-align: center;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.07);

    transition: 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
}

.contact-info i {
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info h3 {
    margin-bottom: 10px;
}

.contact-info p {
    color: #666;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #181818;
    color: white;
    padding: 60px 25px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 40px;

    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ff6b35;
    margin-bottom: 15px;
}

.footer-section p {
    color: #ccc;
}

.footer-section > a {
    display: block;
    color: #ccc;
    margin-bottom: 8px;
}

.footer-section > a:hover {
    color: #ff6b35;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    font-size: 1.4rem;
}

.social-links a:hover {
    color: #ff6b35;
}

.newsletter {
    margin-top: 15px;
}

.newsletter input {
    width: 100%;
    padding: 12px;

    border: none;
    border-radius: 6px;

    margin-bottom: 10px;

    outline: none;
}

.newsletter .btn {
    width: 100%;
}

.footer-bottom {
    text-align: center;

    border-top: 1px solid #333;

    padding-top: 20px;

    color: #aaa;
}


/* =========================================
   IMAGE MODAL
========================================= */

.modal {
    display: none;

    position: fixed;

    z-index: 2000;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.92);

    cursor: pointer;
}

.modal img {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    max-width: 90%;
    max-height: 90%;

    object-fit: contain;
}


/* =========================================
   SCROLL TOP
========================================= */

.scroll-top {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: #ff6b35;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    opacity: 0;
    pointer-events: none;

    transition: 0.3s;

    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    background: #e65320;
    transform: translateY(-3px);
}


/* =========================================
   FORM MESSAGE
========================================= */

.form-message {
    margin-top: 15px;
    padding: 12px;

    border-radius: 6px;

    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}


/* =========================================
   RESPONSIVE - TABLET
========================================= */

@media (max-width: 992px) {

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

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

    .menu-grid,
    .specials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (max-width: 768px) {

    .navbar {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        background: rgba(0, 0, 0, 0.97);

        flex-direction: column;

        gap: 0;

        padding: 10px 0;

        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 12px 0;
    }

    .hero {
        background-attachment: scroll;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero .btn {
        width: 220px;
        text-align: center;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-image img {
        height: 350px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .menu-grid,
    .specials-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item {
        height: 200px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 480px) {

    .logo {
        font-size: 1.4rem;
    }

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

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 240px;
    }

    .reservation-form {
        padding: 20px;
    }

    .about-image img {
        height: 280px;
    }

    .menu-category {
        padding: 20px;
    }
}

/* =========================================
   NEW MENU DESIGN
========================================= */

.menu-section {
    background: #fffaf7;
}

.menu-label {
    text-align: center;
    color: #ff6b35;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.menu-intro {
    text-align: center;
    max-width: 650px;
    margin: -30px auto 50px;
    color: #666;
    font-size: 1rem;
}

.menu-group {
    margin-bottom: 60px;
}

.menu-group-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: Georgia, serif;
    font-size: 2rem;
    color: #222;
    margin-bottom: 25px;
}

.menu-group-title i {
    color: #ff6b35;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.menu-category {
    position: relative;
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.menu-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #ff6b35;
}

.menu-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #fff0e9;
    color: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
}

.menu-category h4 {
    color: #222;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.menu-category p {
    color: #777;
    font-size: 0.9rem;
    min-height: 45px;
    margin-bottom: 12px;
}

.menu-price {
    display: inline-block;
    color: #ff6b35;
    font-size: 1.15rem;
    font-weight: bold;
}

.platter-intro {
    text-align: center;
    color: #666;
    margin-top: -15px;
    margin-bottom: 25px;
}

.platter-card {
    border: 2px solid #ff6b35;
}

.platter-card .menu-icon {
    background: #ff6b35;
    color: white;
}

.drinks .menu-category .menu-icon {
    background: #fff3cd;
}

.menu-item-desc {
    font-size: 0.82rem;
    color: #777;
    margin-top: 5px;
    line-height: 1.5;
    max-width: 230px;
}