/* ========================= */
/* RESET */
/* ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ========================= */
/* BODY WITH DARK BLUE + PATTERN */
/* ========================= */

body {
    font-family: Arial, sans-serif;
    color: #0d1b3d;
    background-color: #0d1b3d;

    background-image:
        linear-gradient(
            rgba(13, 27, 61, 0.85),
            rgba(13, 27, 61, 0.85)
        ),
        url("images/wavesbackground.jpg");

    background-repeat: repeat;
    background-size: 300px;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

header {
    position: fixed;
    width: 100%;
    background-color: #e6c36a;
    padding: 15px 0;
    z-index: 1000;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 60px;
}

.nav-title {
    font-size: 26px;
    font-weight: bold;
    color: #0d1b3d;
    text-align: center;
    flex: 1;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #0d1b3d;
    font-weight: bold;
}

nav a:hover {
    color: #3f51b5;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;

    padding: 140px 20px 80px;

    background-color: #0d1b3d;
    color: white;
}
img {
    max-width: 100%;
    height: auto;
}

.hero-text {
    flex: 1 1 300px;
}

.hero-text h2 {
    font-size: 36px;
    color: #f2d27a;
}

.hero-text h1 {
    font-size: 70px;
    color: #3f51b5;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;

    background-color: #e6c36a;
    color: #0d1b3d;

    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
}

.btn:hover {
    background-color: #d4af5f;
}

/* HERO IMAGE POSITION ADJUSTMENT */

.hero-image {
    flex: 1 1 300px;

    display: flex;
    justify-content: center;

    /* Move image slightly toward center */
    padding-left: 70px;
}

.hero-image img {
    width: 100%;
    max-width: 400px;

    border-radius: 50%;

    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ========================= */
/* SECTIONS */
/* ========================= */

section {
    padding: 100px 20px;
    text-align: center;
}

h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

/* ========================= */
/* ABOUT, MENU, GALLERY */
/* ========================= */

#about,
#order,
#gallery {
    background-color: #ffffff;
    border-radius: 12px;

    margin-top: 40px;

    margin-left: auto;
    margin-right: auto;

    max-width: 1100px;
}

/* ABOUT TEXT */

.about-content {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-line {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ABOUT IMAGE */

.about-image {
    margin-top: 40px;
}

.about-image img {
    width: 100%;
    max-width: 900px;

    display: block;

    margin-left: auto;
    margin-right: auto;

    border-radius: 12px;
}

/* ========================= */
/* GOOGLE MAP */
/* ========================= */

.map-section {
    margin-top: 50px;
}

.map-container {
    width: 100%;
    max-width: 900px;

    margin-left: auto;
    margin-right: auto;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* ========================= */
/* MENU */
/* ========================= */

.menu {
    margin-top: 40px;
}

#order .menu {
    max-width: 900px;

    margin-left: auto;
    margin-right: auto;
}

.menu-section {
    margin-bottom: 50px;
}

.menu-section h3 {
    color: #3f51b5;
    margin-bottom: 20px;
    font-size: 28px;
}

.menu-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    background-color: white;

    padding: 18px;

    border-radius: 10px;

    margin-bottom: 15px;

    gap: 15px;

    max-width: 700px;

    margin-left: auto;
    margin-right: auto;

    text-align: left;
}

.menu-item:hover {
    background-color: #fff5e6;
}

.menu-item h4 {
    margin-bottom: 6px;
}

.menu-item p {
    color: #555;
    font-size: 14px;
}

.menu-item span {
    color: #e6c36a;
    font-weight: bold;
    font-size: 18px;
}

/* ========================= */
/* GALLERY */
/* ========================= */

.gallery-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-card {
    background-color: #fff5e6;
    border-radius: 14px;
    overflow: hidden;

    box-shadow: 0 6px 16px rgba(0,0,0,0.12);

    width: 460px;
}

.gallery-card img {
    width: 100%;
    height: 320px;
    display: block;
    object-fit: cover;
}

.gallery-card:last-child {
    width: 940px;
}

.gallery-card:last-child img {
    height: 380px;
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer {
    background-color: #e6c36a;
    color: #0d1b3d;

    padding-top: 40px;
    padding-bottom: 40px;

    margin-top: 60px;

    text-align: center;
}

.footer-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

footer h3 {
    color: #0d1b3d;
    font-size: 24px;
    margin-bottom: 15px;
}

footer p {
    font-size: 16px;
    margin-bottom: 8px;
}

footer p:last-child {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        padding-left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .container {
        flex-direction: column;
        gap: 10px;
    }

    .menu-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-grid {
        flex-direction: column;
        align-items: center;
    }

    .gallery-card {
        width: 100%;
        max-width: 500px;
    }

}
/* ========================= */
/* IPHONE */
/* ========================= */

@media (max-width: 600px) {

    header {
        padding: 10px 0;
    }

    .container {
        flex-direction: column;
        gap: 8px;
    }

    .logo img {
        width: 50px;
    }

    .nav-title {
        font-size: 20px;
        text-align: center;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav a {
        font-size: 14px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 180px;
        padding-right: 20px;
        padding-bottom: 60px;
        padding-left: 20px;
    }

    .hero-text h2 {
        font-size: 28px;
    }

    .hero-text h1 {
        font-size: 42px;
        line-height: 1.1;
    }

    .hero-image {
        padding-left: 0;
        margin-top: 20px;
    }

    .hero-image img {
        max-width: 280px;
    }

    #about,
    #order,
    #gallery {
        width: 92%;
        padding-top: 70px;
        padding-right: 15px;
        padding-bottom: 70px;
        padding-left: 15px;
    }

    .about-line {
        font-size: 17px;
        line-height: 1.5;
    }

    .about-image img {
        max-width: 100%;
    }

    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .menu-item span {
        margin-top: 8px;
    }

    .gallery-card,
    .gallery-card:last-child {
        width: 100%;
        max-width: 100%;
    }

    .gallery-card img,
    .gallery-card:last-child img {
        height: 220px;
    }

    .map-container iframe {
        height: 250px;
    }

    footer {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    footer h3 {
        font-size: 20px;
    }

    footer p {
        font-size: 14px;
    }
}