/*
Theme Name: CTM Palace Theme
Theme URI: https://ctmpalace.vn/
Author: CTM Palace
Author URI: https://ctmpalace.vn/
Description: Giao diện chuẩn cho Trung tâm Tổ chức Sự kiện & Tiệc cưới CTM Palace. 100% Responsive & SEO Optimized.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ctmpalace
Tags: two-columns, right-sidebar, custom-header, custom-menu, featured-images, flexible-header, full-width-template
*/

/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
   :root {
    /* Colors */
    --primary: #cba85a; /* Premium Gold */
    --primary-dark: #b59247;
    --primary-light: #e5cd91;
    --secondary: #1a1a1a;
    --dark: #222222;
    --gray-dark: #4a4a4a;
    --gray: #888888;
    --gray-light: #f5f5f5;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.bg-light { background-color: var(--gray-light); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-lg {
    padding: 15px 35px;
    font-size: 15px;
}

/* ==========================================================================
   TYPOGRAPHY SPECIFICS
   ========================================================================== */
.section-title {
    margin-bottom: 3rem;
}

.section-title .subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.divider {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.divider img {
    height: 12px;
    width: auto;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 15px;
}

.section {
    padding: 80px 0;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(11, 20, 38, 0.95) 0%, rgba(11, 20, 38, 0) 100%);
    box-shadow: none;
    transition: background 0.3s ease, background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    padding: 20px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    background: #0b1426;
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 55px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #eab838;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link::after {
    display: none;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.has-dropdown {
    position: relative;
}

.has-dropdown i {
    font-size: 12px;
    margin-left: 5px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    padding: 10px 0;
    border-top: 3px solid var(--primary);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-dark);
    font-size: 14px;
    transition: var(--transition);
}

.dropdown li a:hover {
    background-color: var(--gray-light);
    color: var(--primary);
    padding-left: 25px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    font-weight: 300;
}

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

/* ==========================================================================
   COMMON NEW STYLES (Cursive Title & Floral BG)
   ========================================================================== */
.floral-bg {
    background-color: #fdfdfd;
    background-image: url('https://ctmpalace.com/cs1/wp-content/uploads/2022/12/bg4.jpg');
    background-repeat: repeat;
    background-size: auto;
    background-position: center;
}

.cursive-title {
    font-family: 'Great Vibes', cursive !important;
    font-size: clamp(40px, 5.5vw, 65px) !important;
    font-weight: 400;
    color: #333;
    margin-bottom: 5px;
    text-transform: none;
    line-height: 1.2;
}

.cursive-title.large {
    font-size: 4.5rem;
    margin-bottom: 20px;
}

.divider-line {
    width: 200px;
    height: 1px;
    background-color: #ccc;
    margin: 15px auto 30px;
    position: relative;
}

.divider-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border: 1px solid #ccc;
    background-color: #fdfdfd;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.new-about {
    align-items: center;
}

.about-text p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-image-wrapper {
    position: relative;
    padding: 15px;
}

.about-video {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.service-row.align-items-stretch {
    align-items: stretch;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-text-side {
    flex: 1;
    padding: 20px;
}

.service-text-side p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-img-side {
    flex: 1;
    position: relative;
}

.img-wrapper {
    position: relative;
    z-index: 1;
}

.img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.img-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #e5e5e5;
    z-index: -1;
    transition: var(--transition);
}

.right-img .img-wrapper::before {
    top: 20px;
    right: -20px;
}

.left-img .img-wrapper::before {
    top: 20px;
    left: -20px;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-subtitle {
    font-size: 1rem;
    color: #555;
    max-width: 800px;
    margin: 10px auto 0;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    position: relative;
    border: 3px solid #b3b3b3;
    transition: var(--transition);
    height: 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #a68a3f;
}

.feature-banner {
    position: absolute;
    bottom: 15px;
    left: 8%;
    width: 84%;
    background-color: rgba(157, 128, 59, 0.95);
    color: #fff;
    text-align: center;
    padding: 5px 2px;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: none;
}

/* Update Responsive Design for these sections */
@media (max-width: 991px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .cursive-title {
        font-size: 2.2rem;
    }
    .cursive-title.large {
        font-size: 3rem;
    }
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.feature-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-info p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

.about-image-wrapper {
    position: relative;
    padding: 20px 20px 0 0;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 3px solid var(--primary);
    border-radius: 8px;
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--primary);
    color: var(--white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 8px solid var(--white);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    margin-top: 5px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.service-content {
    padding: 30px;
    text-align: center;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card:hover .service-content h3 {
    color: var(--primary);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   OFFERS SECTION
   ========================================================================== */
.offers {
    background: var(--white);
    padding-bottom: 20px;
}

.offers .section-title {
    margin-bottom: 40px;
}

.offers .news-description {
    font-size: 0.95rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.offers-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.featured-offer {
    display: flex;
    flex-direction: column;
}

.offer-img-large {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.offer-img-large img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.featured-offer:hover .offer-img-large img {
    transform: scale(1.05);
}

.offer-content-large .offer-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    line-height: 1.4;
}

.offer-content-large .offer-title a {
    color: #333;
}

.offer-content-large .offer-title a:hover {
    color: var(--primary);
}

.offer-content-large .offer-date {
    color: #888;
    font-size: 0.85rem;
}

.offers-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.offer-list-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.offer-img-small {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.offer-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.offer-list-item:hover .offer-img-small img {
    transform: scale(1.05);
}

.offer-content-small {
    flex: 1;
}

.offer-title-small {
    font-size: 0.95rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    line-height: 1.4;
}

.offer-title-small a {
    color: #333;
}

.offer-title-small a:hover {
    color: var(--primary);
}

.offer-content-small .offer-date {
    color: #888;
    font-size: 0.8rem;
}

/* ==========================================================================
   NEWS SECTION
   ========================================================================== */
.news {
    background: #f9f9f9;
}
   
.news .section-title {
    margin-bottom: 40px;
}



.news .news-description {
    font-size: 0.95rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.news .divider-line {
    width: 60px;
    height: 1px;
    background-color: #ccc;
    margin: 0 auto;
}

.news-slider-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.slider-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.slider-btn:hover {
    color: var(--primary);
}

.prev-btn {
    margin-right: 15px;
}

.next-btn {
    margin-left: 15px;
}

.news-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: none;
}

.news-img {
    height: 220px;
    position: relative;
    border-radius: 4px;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: var(--transition-slow);
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 15px;
    left: -10px;
    background-color: var(--white);
    color: var(--primary);
    width: 45px;
    height: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 2;
}

.news-date .day {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: #333;
}

.news-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #666;
    margin-top: 2px;
}

.news-content {
    padding: 20px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.news-title {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    text-transform: uppercase;
}

.news-title a {
    color: #333;
}

.news-title a:hover {
    color: var(--primary);
}

.news-excerpt {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
    margin-top: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #111111;
    color: #cccccc;
    font-size: 0.9rem;
}

/* 1. Booking Section */
.footer-booking {
    background: linear-gradient(rgba(10, 20, 30, 0.8), rgba(10, 20, 30, 0.9)), url('https://ik.imagekit.io/trongdongpalace/tong-hop-50-nha-hang-tiec-cuoi-tai-ha-noi-6659a1c19d325_fyV_JcFbW.webp') center/cover;
    padding: 60px 0;
}

.booking-grid {
    display: flex;
    gap: 40px;
    align-items: stretch;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.booking-image {
    flex: 0 0 350px;
    padding: 5px;
}

.booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-form {
    flex: 1;
    color: var(--white);
}

.booking-form h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.booking-form p {
    font-size: 0.85rem;
    margin-bottom: 25px;
    color: #aaa;
}

.booking-form p span {
    color: var(--primary);
}

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

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-body);
}

.booking-form select option {
    color: #333;
    background-color: #fff;
}

.booking-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.booking-form .btn-submit {
    background-color: #ff9800; /* Orange color from screenshot */
    color: var(--white);
    border: none;
    padding: 10px 30px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

.booking-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.social-icon.fb { background-color: #3b5998; }
.social-icon.ig { background-color: #c13584; }
.social-icon.tt { background-color: #000000; }
.social-icon.yt { background-color: #ff0000; }

/* 2. Newsletter Section */
.footer-newsletter {
    background-color: #000000;
    padding: 15px 0;
}

.newsletter-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.newsletter-flex h4 {
    color: var(--white);
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
}

.newsletter-form {
    display: flex;
    width: 350px;
    border: 1px solid #555;
    border-radius: 4px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: white;
    font-family: var(--font-body);
}

.newsletter-form input::placeholder {
    color: #888;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: white;
    padding: 0 15px;
    cursor: pointer;
    font-size: 1rem;
}

.date-input-wrapper {
    position: relative;
    width: 100%;
}

.date-input-wrapper input {
    width: 100%;
}

.date-input-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

/* 3. Main Footer */
.footer-main {
    background: linear-gradient(rgba(10, 20, 30, 0.9), rgba(10, 20, 30, 0.95)), url('https://ctmpalace.com/cs1/wp-content/uploads/2022/12/bg-footer.jpg') center/cover;
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
    gap: 30px;
}

.footer-main h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cccccc;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.footer-links a::before {
    content: '›';
    color: var(--primary);
    font-size: 1.2rem;
    line-height: 1;
}

.footer-links a:hover {
    color: var(--primary);
}

.contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    align-items: flex-start;
}

.contact-info i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 12px;
}

.map-container iframe {
    width: 100%;
    height: 150px;
    border: none;
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.float-btn img {
    width: 30px;
    height: 30px;
}

.phone-btn {
    background-color: #e53935;
    --pulse-color: rgba(229, 57, 53, 0.6);
}

.zalo-btn {
    background-color: #0180c7;
    --pulse-color: rgba(1, 128, 199, 0.6);
}

.float-btn:hover {
    transform: scale(1.1);
    animation: none;
}

.float-btn img {
    width: 30px;
    height: 30px;
    animation: shake 1s infinite ease-in-out alternate;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 var(--pulse-color); }
    70% { box-shadow: 0 0 0 15px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

/* ==========================================================================
   ANIMATIONS (SCROLL REVEAL)
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ==========================================================================
   NEWS SECTION
   ========================================================================== */
.news-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #333;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    line-height: 1.6;
}

.news-slider-wrapper {
    position: relative;
    padding: 0 40px;
    margin-top: 40px;
}

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

.news-card {
    background: transparent;
    display: flex;
    flex-direction: column;
}

.news-img {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: visible;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-date {
    position: absolute;
    top: 20px;
    left: -15px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
}

.news-date .day {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
    color: #1c1d24;
}

.news-date .month {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #666;
    margin-top: 3px;
}

.news-content {
    padding: 20px 10px;
    text-align: center;
}

.news-title {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-title a {
    color: #1c1d24;
    font-weight: 600;
}

.news-title a:hover {
    color: #d4af37;
}

.news-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.slider-btn {
    position: absolute;
    top: 120px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.slider-btn:hover {
    color: #d4af37;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* ==========================================================================
   FLOATING CONTACT BUTTONS
   ========================================================================== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Space for the pulsing rings */
    z-index: 9999;
    align-items: center;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    position: relative;
}

.float-btn img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    z-index: 2;
}

.phone-btn {
    background-color: #dd3333;
    animation: pulse-red 2s infinite;
}

.zalo-btn {
    background-color: #0084ff;
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(221, 51, 51, 0.6), 0 0 0 0 rgba(221, 51, 51, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(221, 51, 51, 0.4), 0 0 0 20px rgba(221, 51, 51, 0.2); }
    100% { box-shadow: 0 0 0 20px rgba(221, 51, 51, 0), 0 0 0 40px rgba(221, 51, 51, 0); }
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(0, 132, 255, 0.6), 0 0 0 0 rgba(0, 132, 255, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 132, 255, 0.4), 0 0 0 20px rgba(0, 132, 255, 0.2); }
    100% { box-shadow: 0 0 0 20px rgba(0, 132, 255, 0), 0 0 0 40px rgba(0, 132, 255, 0); }
}

.scroll-top-btn {
    background-color: #fff;
    border: 2px solid #1c1d24;
    color: #1c1d24;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    margin-top: 5px;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    background-color: #f5f5f5;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrapper {
        order: -1;
        margin-bottom: 30px;
        padding-right: 0;
    }
    
    .about-image-wrapper::before {
        display: none;
    }
    
    .services-grid, .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile Menu */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        transition: 0.4s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .nav-link {
        font-size: 18px;
        display: block;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        display: none;
    }
    
    .has-dropdown.active .dropdown {
        display: block;
    }
    
    .nav-actions .btn {
        display: none;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Sections */
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    
    .section-title h2 { font-size: 2rem; }
    
    .services-grid, .news-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        left: -10px;
        bottom: -10px;
        border-width: 5px;
    }
    
    .experience-badge .number { font-size: 1.8rem; }
    .experience-badge .text { font-size: 0.7rem; }

    .floating-contact {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    /* Footer Booking Form */
    .booking-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .booking-image {
        flex: 0 0 auto;
        width: 100%;
        height: 250px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    /* Newsletter */
    .newsletter-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .newsletter-form {
        width: 100%;
    }
    
    /* Footer Main */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links a {
        justify-content: center;
    }
    .contact-info li {
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================================
   PAGE HERO (SUBPAGES)
   ========================================================================== */
.page-hero {
    padding: 180px 0 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 55vh;
}
.page-hero .cursive-title {
    margin-bottom: 20px;
}
.page-content {
    background-color: var(--dark-bg);
}

/* ==========================================================================
   ABOUT PAGE (GIỚI THIỆU)
   ========================================================================== */
@media (max-width: 992px) {
    .about-top-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .about-top-grid .img-wrapper {
        min-height: auto !important;
        height: auto !important;
    }
    .about-col-right .img-wrapper img {
        height: 400px !important;
    }
}
@media (max-width: 768px) {
    .about-center-content {
        padding: 0 15px;
    }
}

/* ==========================================================================
   WORDPRESS CORE CLASSES
   ========================================================================== */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption-text { font-size: 11px; margin: 0; padding: 0; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }

/* Toast Notifications */
.toast-msg {
    min-width: 250px;
    background: #fff;
    color: #333;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
}
.toast-msg.show {
    transform: translateX(0);
}
.toast-msg.success {
    border-left: 4px solid #D6A848; /* CTM Palace Gold */
}
.toast-msg.success i {
    color: #D6A848;
    font-size: 20px;
}
.toast-msg.error {
    border-left: 4px solid #ef4444;
}
.toast-msg.error i {
    color: #ef4444;
    font-size: 20px;
}

/* Hero Slider */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 600px;
    background: #000;
}
.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}
.slide-item {
    min-width: 100%;
    height: 100%;
}
.slide-item img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
}
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.slider-prev:hover, .slider-next:hover {
    background: var(--gold);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}
.dot.active {
    background: var(--gold);
}
@media (max-width: 768px) {
    .slider-prev, .slider-next { display: none; }
}

/* Gallery Multi-Item Slider CSS */
.gallery-category-section {
    margin-bottom: 50px;
}
.gallery-slider-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none; /* Hide scrollbar IE and Edge */
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.gallery-slider-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome */
}
.gallery-slider-track {
    display: flex;
    gap: 20px;
    padding-bottom: 5px;
}
.gallery-slider-item {
    flex: 0 0 calc(33.333% - 13.33px);
    scroll-snap-align: start;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #000;
}
@media (max-width: 992px) {
    .gallery-slider-item {
        flex: 0 0 calc(50% - 10px);
    }
}
@media (max-width: 576px) {
    .gallery-slider-item {
        flex: 0 0 100%;
    }
}
.gallery-slider-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
    opacity: 0.9;
}
.gallery-slider-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}
.gallery-slider-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 15px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    pointer-events: none;
}
