/* =================================================
   PALAZZO CORALLO — STYLE SHEET
   ================================================= */

/* =================================================
   1. VARIABLES
   ================================================= */

:root {
    --teal: #0f4c4f;
    --teal-dark: #0a3536;

    --coral: #e2694f;
    --coral-light: #f0947e;

    --cream: #fbf1e6;
    --ivory: #fffaf3;

    --white: #ffffff;
    --text: #333333;

    --font-main: Arial, Helvetica, sans-serif;
}

body.lang-en,
body.lang-vi {
    --font-main: "Times New Roman", Times, serif;
}

body.lang-zh {
    --font-main: "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
}

body.lang-ko {
    --font-main: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}


/* =================================================
   2. RESET & BASE
   ================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--ivory);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

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

section {
    padding: 80px 60px;
    scroll-margin-top: 110px;
}

section h2 {
    text-align: center;
    color: var(--teal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 45px;
}

h1, h2, h3 {
    text-rendering: optimizeLegibility;
}

button {
    background: var(--coral);
    border: none;
    padding: 15px 42px;
    border-radius: 30px;
    color: white;
    font-size: 17px;
    cursor: pointer;
    transition: .3s ease;
}

button:hover {
    background: var(--teal);
    transform: translateY(-3px);
}


/* =================================================
   3. HEADER + NAV
   ================================================= */

.top-bar {
    background: var(--teal-dark);
    color: var(--cream);
    font-size: 13px;
    padding: 8px 60px;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.top-bar a {
    color: var(--cream);
    transition: .3s;
}

.top-bar a:hover {
    color: var(--coral-light);
}

.lang-switcher {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(251, 241, 230, .4);
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 12px;
    cursor: pointer;
}

.lang-switcher:hover {
    border-color: var(--coral-light);
}

.lang-switcher option {
    color: var(--text);
}

header {
    height: 90px;
    padding: 0 60px;

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

    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 250, 243, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 2px solid rgba(226, 105, 79, .5);
}

.logo {
    width: 130px;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

nav a {
    height: 42px;
    padding: 0 16px;

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

    color: var(--teal);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;

    border-left: 1px solid rgba(15, 76, 79, .2);
    transition: .3s ease;
}

nav a:last-child {
    border-right: 1px solid rgba(15, 76, 79, .2);
}

nav a.book-link {
    background: var(--coral);
    color: white;
    border-left: none;
}

nav a:hover,
nav a.active {
    background: var(--coral-light);
    color: white;
}

nav a.book-link:hover {
    background: var(--teal);
}


/* =================================================
   4. HERO + BOOKING WIDGET
   ================================================= */

.hero {
    height: 90vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    /* IMAGE NEEDED: hero-index.jpg — 1920x1080px, JPG, landscape */
    background: linear-gradient(rgba(10, 53, 54, .35), rgba(10, 53, 54, .55)),
                url("images/hero/hero-index.jpg");
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 68px;
    font-weight: 400;
    letter-spacing: 6px;
    margin: 0 0 15px;
}

.hero p {
    font-family: Georgia, serif;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 35px;
}

.booking-widget {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    background: rgba(255, 255, 255, .95);
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .25);
}

.booking-widget .field {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.booking-widget label {
    font-size: 12px;
    color: var(--teal);
    font-weight: bold;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

.booking-widget input,
.booking-widget select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.booking-widget button {
    align-self: flex-end;
}


/* =================================================
   5. INTRO / ISLAND SECTION
   ================================================= */

.intro {
    padding: 90px 10%;
    background: #fffdf8;
}

.intro .container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--coral);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 15px;
}

.intro h2 {
    font-family: Georgia, serif;
    font-size: 40px;
    color: var(--teal);
    margin-bottom: 28px;
}

.intro p {
    font-size: 18px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 22px;
}


/* =================================================
   6. ABOUT / HIGHLIGHTS
   ================================================= */

.about-palazzo {
    padding: 100px 10%;
    background: var(--cream);
}

.about-container {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.about-container h2 {
    font-family: Georgia, serif;
    font-size: 42px;
    color: var(--teal);
    margin: 20px 0;
}

.about-container p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.stat-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 45px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 34px;
    color: var(--coral);
}

.stat span {
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--teal);
    text-transform: uppercase;
}

.ground-floor-callout {
    margin-top: 55px;
    padding: 35px;
    background: white;
    border-radius: 18px;
    border: 2px solid var(--coral-light);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.ground-floor-callout h3 {
    font-family: Georgia, serif;
    color: var(--teal);
    font-size: 26px;
    margin-bottom: 12px;
}


/* =================================================
   7. ROOMS (zigzag layout)
   ================================================= */

#rooms, .rooms-page {
    background: var(--ivory);
}

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

.room-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 110px;
    transition: .5s ease;
}

.room-item.reverse {
    flex-direction: row-reverse;
}

.room-item img {
    width: 50%;
    height: 420px;
    object-fit: cover;
    border: 5px solid var(--coral-light);
    padding: 8px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
}

.room-text {
    width: 50%;
    font-family: Georgia, serif;
}

.room-text .category {
    color: var(--coral);
    letter-spacing: 4px;
    font-size: 13px;
    text-transform: uppercase;
}

.room-text h3 {
    color: var(--teal);
    font-size: 40px;
    font-weight: 400;
    margin: 18px 0;
}

.divider-line {
    width: 60px;
    height: 3px;
    background: var(--coral);
    margin: 18px 0;
}

.room-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

.room-text footer {
    margin-top: 25px;
    color: var(--coral);
    letter-spacing: 3px;
    font-size: 14px;
}


/* =================================================
   8. AMENITIES ROW (Gelato / Spa / Library)
   ================================================= */

.amenities-row {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.amenity-card {
    width: 340px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    transition: .5s ease;
}

.amenity-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: .6s ease;
}

.amenity-card:hover {
    transform: translateY(-10px);
}

.amenity-card:hover img {
    transform: scale(1.08);
}

.amenity-text {
    padding: 30px 28px;
}

.amenity-text h3 {
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--teal);
    margin-bottom: 15px;
}

.amenity-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.amenity-text a {
    display: inline-block;
    margin-top: 15px;
    color: var(--coral);
    font-weight: bold;
    font-size: 14px;
    letter-spacing: .5px;
}


/* =================================================
   9. GENERIC "PAGE INTRO" TEXT BLOCK
   ================================================= */

.page-intro {
    max-width: 900px;
    margin: -20px auto 55px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 2;
    font-style: italic;
    color: #555;
}


/* =================================================
   10. GALLERY GRID (used on amenity pages)
   ================================================= */

.mini-gallery {
    max-width: 1100px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 22px;
}

.mini-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    border: 3px solid var(--coral-light);
}


/* =================================================
   11. BOOKING PAGE
   ================================================= */

.booking-page {
    background: var(--cream);
}

.booking-page h2 {
    margin-bottom: 20px;
}

.booking-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 17px;
    color: #555;
}

.booking-box {
    max-width: 850px;
    margin: auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    border: 3px solid var(--coral-light);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.form-group label {
    font-family: Georgia, serif;
    color: var(--teal);
    font-size: 17px;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.form-group textarea {
    height: 120px;
}

.booking-box button {
    width: 100%;
    margin-top: 10px;
    letter-spacing: 1.5px;
}


/* =================================================
   12. PROMOTION PAGE
   ================================================= */

.promotion-page {
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* IMAGE NEEDED: hero-promotion.jpg — 1920x1080px, JPG, landscape */
    background: linear-gradient(rgba(10, 53, 54, .4), rgba(10, 53, 54, .6)),
                url("images/hero/hero-promotion.jpg");
    background-size: cover;
    background-position: center;
}

.promotion-box {
    background: rgba(255, 250, 243, .92);
    padding: 65px 75px;
    max-width: 640px;
    border-radius: 20px;
    text-align: center;
}

.promotion-box span {
    color: var(--coral);
    letter-spacing: 4px;
    font-size: 13px;
}

.promotion-box h1 {
    font-family: Georgia, serif;
    font-size: 58px;
    font-weight: 400;
    color: var(--teal);
    margin: 15px 0;
}

.promotion-box p {
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.8;
    color: #555;
}


/* =================================================
   13. CONTACT PAGE
   ================================================= */

.contact-page {
    background: var(--ivory);
}

.contact-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-details h3 {
    font-family: Georgia, serif;
    color: var(--teal);
    font-size: 26px;
    margin-bottom: 20px;
}

.contact-details p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.contact-details a {
    color: var(--coral);
    font-weight: bold;
}

.map-frame {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    border-radius: 16px;
}


/* =================================================
   14. FOOTER
   ================================================= */

.hotel-footer {
    background: var(--teal-dark);
    color: white;
    padding: 70px 60px 25px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    width: 140px;
    margin-bottom: 15px;
}

.footer-column h3 {
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--coral-light);
    margin-bottom: 22px;
    font-size: 15px;
}

.footer-column p {
    font-size: 15px;
    line-height: 1.8;
}

.footer-column a {
    display: block;
    color: white;
    font-size: 15px;
    line-height: 1.7;
    margin: 14px 0;
    transition: .3s ease;
}

.footer-column a:hover {
    color: var(--coral-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .3);
    margin-top: 45px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

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

.social-links a {
    color: var(--coral-light);
}


/* =================================================
   15. FLOATING CONTACT
   ================================================= */

.floating-contact {
    position: fixed;
    right: 25px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
    transition: .3s ease;
}

.floating-btn:hover {
    transform: scale(1.12);
}

.floating-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.zalo {
    border: 3px solid #0068FF;
}

.whatsapp {
    border: 3px solid #25D366;
}


/* =================================================
   16. RESPONSIVE
   ================================================= */

@media (max-width: 1100px) {
    header, .top-bar { padding-left: 25px; padding-right: 25px; }
    nav a { padding: 0 10px; font-size: 13px; }
    .hero h1 { font-size: 52px; }
    .room-item { gap: 35px; }
    .room-text h3 { font-size: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .top-bar { justify-content: center; flex-wrap: wrap; gap: 15px; font-size: 12px; }
    header { height: auto; min-height: 130px; padding: 15px 20px; flex-direction: column; gap: 12px; }
    nav { flex-wrap: wrap; }
    .hero h1 { font-size: 38px; letter-spacing: 3px; }
    .hero p { font-size: 16px; }
    .booking-widget { flex-direction: column; align-items: stretch; }
    .booking-widget button { align-self: stretch; }
    section { padding: 50px 20px; }
    section h2 { font-size: 30px; }
    .room-item, .room-item.reverse { flex-direction: column; margin-bottom: 60px; }
    .room-item img { width: 100%; height: 280px; }
    .room-text { width: 100%; }
    .amenity-card { width: 100%; }
    .mini-gallery { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .stat-row { gap: 35px; }
}
