/* Main Styles */
:root {
    /* Colors */
    --primary-color: #16e00f;
    --secondary-color: #2d5aa0;
    --accent-color: #d69e2e;
    --success-color: #1a365d;
    --error-color: #e53e3e;
    --warning-color: #dd6b20;
    --info-color: #3182ce;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gray-900: #171923;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.section-title.text-center {
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: var(--radius-sm);
}

.text-center {
    text-align: center;
}

/* Utility Classes */
.img-responsive {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gray-100);
    backdrop-filter: blur(10px);
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
    border-bottom: 1px solid var(--gray-200);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.logo-img {
    height: 50px;
    width: 20vh;
}

.nav-list {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: var(--gray-50);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 80%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: var(--spacing-sm);
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--success-color);
}

.hero-bg {
    position: absolute;
    max-width: 100%; /* Giới hạn chiều rộng tối đa bằng chiều rộng của phần tử cha */
    height: auto;
    margin-top: -15%;    /* Chiều cao sẽ tự động điều chỉnh để giữ đúng tỷ lệ ảnh */
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8), rgba(45, 90, 160, 0.6));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-4xl) 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.hero-title .highlight {
    display: block;
    color: #df260e;
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.8));
    font-weight: 800;
    font-family: 'Times New Roman', Times, serif;
}

.hero-title .subtitle {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ecde10;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-2xl);
    color: #f0f8ff;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    font-weight: 500;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
}

/* Sections */
section {
    padding: var(--spacing-4xl) 0;
}

.features {
    background-color: var(--success-color);
    margin-top: -15%;
}

.features-content {
    margin: 0 auto;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: start;
}

.features-content h2 {
    color: var(--gray-50);
    margin-bottom: var(--spacing-xl);
}

.features-list {
    margin-bottom: var(--spacing-2xl);
}

.features-list li {
    padding: var(--spacing-md) 0;
    padding-left: var(--spacing-xl);
    position: relative;
    font-weight: 500;
    color: white;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: var(--spacing-md);
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Overview Section */
.overview {
    background-color: var(--primary-color);
    color: var(--white);
}

.overview .section-title {
    color: var(--white);
}

.overview .section-title::after {
    background: linear-gradient(90deg, var(--accent-color), var(--white));
}

.overview-image {
    margin-bottom: var(--spacing-2xl);
}

.overview-description {
    margin-bottom: var(--spacing-2xl);
    font-size: 1.1rem;
    line-height: 1.8;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.overview-item h4 {
    color: black;
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.overview-item ul li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-item ul li:last-child {
    border-bottom: none;
}

/* Location Section */
.location {
    background-color: var(--primary-color);
    color: var(--white);
}

.location .section-title {
    color: var(--white);
}

.location .section-title::after {
    background: linear-gradient(90deg, var(--accent-color), var(--white));
}

.location-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.location-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

.location-highlights {
    margin-top: var(--spacing-xl);
}

.location-highlights li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-xl);
    position: relative;
}

.location-highlights li::before {
    content: '📍';
    position: absolute;
    left: 0;
    top: var(--spacing-sm);
}

.location-maps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.location-cta {
    text-align: center;
    padding: var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

/* Amenities Section */
.amenities {
    background-color: var(--success-color);
    color: var(--white);
}

.amenities .section-title {
    color: var(--white);
}

.amenities .section-title::after {
    background: linear-gradient(90deg, var(--accent-color), var(--white));
}

.amenities-description {
    margin-bottom: var(--spacing-2xl);
    font-size: 1.1rem;
    line-height: 1.8;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.amenity-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
}

.amenity-item:hover {
    transform: translateY(-5px);
}

.amenity-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.amenities-overview {
    margin-top: var(--spacing-2xl);
}

.amenities-contact {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    margin-top: var(--spacing-2xl);
    backdrop-filter: blur(10px);
}

.amenities-contact h3 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--white);
}

/* Floor Plans Section */
.floor-plans {
    background-color: var(--success-color);
}

.floor-plans-description {
    margin-bottom: var(--spacing-2xl);
    font-size: 1.1rem;
    line-height: 1.8;
}

.floor-plans-description h3 {
    color: var(--primary-color);
    margin: var(--spacing-xl) 0 var(--spacing-md) 0;
}

.floor-plans-description p {
    color: white;
}

.apartment-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.apartment-types li {
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
}

.master-plan {
    margin-bottom: var(--spacing-2xl);
}

.building-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.apartment-details h3 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    position: relative;
    background-color: var(--success-color);
    color: var(--white);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

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

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(56, 161, 105, 0.8);
    z-index: -1;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.cta-text {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.cta-text i {
    font-size: 3rem;
    color: var(--accent-color);
}

.cta-text h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

.cta-form {
    display: flex;
    gap: var(--spacing-md);
}

.cta-form input {
    flex: 1;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-main {
    position: relative;
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.gallery-item {
    display: none;
}

.gallery-item.active {
    display: block;
}

.gallery-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.gallery-thumbnails {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--accent-color);
}

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

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.gallery-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: -25px;
}

.gallery-next {
    right: -25px;
}

/* Contact Section */
.contact {
    background-color: var(--success-color);
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: start;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-details h2 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.logo-container {
    background: var(--accent-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    display: inline-block;
    margin-bottom: var(--spacing-lg);
}

.contact-logo {
    height: 60px;
    width: auto;
}

.contact-list {
    margin-bottom: var(--spacing-2xl);
}

.contact-list li {
    padding: var(--spacing-sm) 0;
    font-size: 1.1rem;
}

.contact-list a {
    color: var(--accent-color);
    font-weight: 600;
}

.contact-form-section h3 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

/* Floating Contact */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: var(--z-fixed);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.floating-btn {
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

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

.phone-btn {
    background: var(--error-color);
}

.phone-btn a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--white);
    font-weight: 600;
}

.zalo-btn {
    background: #0084ff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zalo-btn a {
    color: var(--white);
    font-size: 1.5rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}


/* === CSS CHO FOOTER === */
.site-footer {
    background-color: var(--success-color); /* Màu xanh đậm giống trong ảnh */
    color: #ffffff;
    padding: 60px 0;
}
.footer-nav {
    display: flex;
    width: 100%;
    justify-content: space-around;
    flex-grow: 1; /* Cho phép container này co giãn */
    gap: 30px; /* Tạo khoảng cách giữa các cột, thay thế cho margin */
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-info {
    flex: 1;
    min-width: 280px;
}

.footer-info .footer-logo {
    max-width: 160px; /* Điều chỉnh kích thước logo */
    margin-bottom: 20px;
}

.footer-info p {
    margin: 5px 0 0 0;
    line-height: 1.7;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.footer-info .company-name {
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-right-content {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col li {
    margin-bottom: 15px;
}

.footer-nav-col a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-nav-col a:hover {
    text-decoration: underline;
    color: #f0ad4e; /* Màu khi hover */
}

.footer-social .social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-social .social-icon:hover {
    background-color: #ffffff;
    color: #002349;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.875rem;
    color: #c0c0c0;
}

.footer-legal a {
    color: #c0c0c0;
    text-decoration: none;
    margin-left: 25px;
}

.footer-legal a:hover {
    text-decoration: underline;
}
