:root {
    --gamuda-red: #C31F26;
    --gamuda-dark: #1a1a1a;
    --gamuda-light: #f8f9fa;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

h1, h2, h3, .luxury-font {
    font-family: 'Playfair Display', serif;
}

.navbar-brand img {
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav {
    gap: 15px;
}

.nav-link {
    font-weight: 500;
    padding: 10px 15px !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--gamuda-red) !important;
}

/* AOS Animation */
/* Hero Section */
.hero-section {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    backdrop-filter: blur(2px);
}

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

/* Project Cards */
.project-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-card img {
    height: 250px;
    object-fit: cover;
}

/* Buttons */
.btn-danger {
    background-color: var(--gamuda-red);
    border-color: var(--gamuda-red);
}

.btn-danger:hover {
    background-color: #a0191f;
    border-color: #a0191f;
}

/* Footer */
.filter-white {
    filter: brightness(0) invert(1);
}

.hover-white:hover {
    color: white !important;
}

.navbar {
    z-index: 1070 !important;
}

.offcanvas {
    z-index: 1080 !important;
}

/* Floating Widgets */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 9999 !important;
    width: auto;
    pointer-events: none; /* Không cản trở các click phía sau */
}

.floating-widgets .widget {
    pointer-events: auto; /* Cho phép click vào icon */
}

@media (max-width: 768px) {
    .floating-widgets {
        bottom: 100px;
        right: 15px;
    }
}

.widget {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.widget:hover {
    transform: scale(1.1);
}

.widget.zalo img {
    width: 30px;
}

.widget.phone {
    background-color: var(--gamuda-red);
    color: white;
    font-size: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(195, 31, 38, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(195, 31, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(195, 31, 38, 0); }
}

/* Submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .hero-section, .project-banner {
        height: 45vh !important;
        text-align: center;
    }
    .hero-section h1, .project-banner h1 {
        font-size: 1.8rem !important;
    }
    .section-padding {
        padding: 50px 0;
    }
    .navbar-brand h3 {
        font-size: 1.2rem;
    }
}

.offer-item {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Utilities */

/* Utilities */
.section-padding {
    padding: 80px 0;
}

.bg-light-red {
    background-color: rgba(195, 31, 38, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.bg-light-gray {
    background-color: #f4f4f4;
}

.text-red {
    color: var(--gamuda-red);
}

.h-1px { height: 1px; }
.w-50px { width: 50px; }
.bg-red { background-color: var(--gamuda-red); }

.transition-hover {
    transition: all 0.3s ease;
}

.transition-hover:hover {
    background-color: rgba(195, 31, 38, 0.15) !important;
    transform: translateX(10px);
}

.transform-scale-hover {
    transition: transform 0.8s ease;
}

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

.transition-slow {
    transition: all 0.8s ease;
}

.footer-links a {
    transition: all 0.3s ease;
}

.hover-red:hover {
    color: var(--gamuda-red) !important;
    padding-left: 5px;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.project-card-premium {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1) !important;
}

.hover-bg-red:hover {
    background-color: var(--gamuda-red) !important;
    border-color: var(--gamuda-red) !important;
    color: white !important;
}

.max-w-500 { max-width: 500px; }

.shadow-2-strong {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.opacity-05 { opacity: 0.05; }

/* Detail Project */
.project-banner {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 50px;
    color: white;
}

.amenity-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

.amenity-card:hover {
    background: var(--gamuda-red);
    color: white;
}

.amenity-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}
