/* ========================================
   LUXORA VĨNH YÊN - MAIN STYLESHEET
   Modern & Elegant Real Estate Website
======================================== */

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

:root {
    /* Colors */
    --primary-color: #c59d5f;
    --secondary-color: #062037;
    --accent-color: #ff7e1b;
    --text-dark: #1f4e81;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-gray: #f2f3f3;
    --white: #ffffff;
    --black: #000000;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #c59d5f 0%, #a67c52 100%);
    --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-fast: all 0.2s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Ẩn scrollbar cho Chrome, Safari và Opera */
html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--white);
    overflow-x: hidden;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Ẩn scrollbar cho body */
body::-webkit-scrollbar {
    display: none;
}

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

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-color);
}

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

/* Ngăn các elements tràn ra ngoài */
.container,
.section,
.about-content,
.overview-table,
.price-content,
.developer-content,
.masterplan-content,
.design-content,
.location-content,
.utilities-intro,
.why-choose-list,
.contact-content,
.footer-content {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ẩn scrollbar cho tất cả elements nhưng vẫn scroll được */
* {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

*::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

ul {
    list-style: none;
}

/* ========================================
   2. UTILITIES
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section-gray {
    background-color: var(--bg-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
}

.title-divider {
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto 20px;
    border-radius: 3px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-block {
    width: 100%;
}

/* ========================================
   3. HEADER
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
    overflow: visible;
}

.header.scrolled {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header.scrolled .header-content {
    height: 70px;
    max-height: 70px;
}

.header.scrolled .logo img {
    height: 130px;
    margin: -30px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    height: 80px;
    max-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 10;
    position: relative;
}

.logo img {
    height: 150px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    margin: -35px 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.nav-list {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition-smooth);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Nav links khi scroll - đổi màu chữ */
.header.scrolled .nav-link {
    color: var(--secondary-color);
    text-shadow: none;
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary-color);
}

/* Button đăng ký tư vấn trong nav */
.nav-list .btn-register {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.5);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-shadow: none;
}

.nav-list .btn-register:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.6);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition-smooth);
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hamburger khi scroll */
.header.scrolled .mobile-menu-toggle span {
    background: var(--secondary-color);
    box-shadow: none;
}

/* ========================================
   4. HERO SECTION
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--white);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

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

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down a {
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ========================================
   5. ABOUT SECTION
======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-dark);
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-image-main,
.about-image-secondary {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.about-image-main:hover,
.about-image-secondary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-image-main img,
.about-image-secondary img {
    width: 100%;
    height: auto;
}

/* ========================================
   6. OVERVIEW SECTION
======================================== */
.overview-table {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.overview-table table {
    width: 100%;
    border-collapse: collapse;
}

.overview-table tr {
    border-bottom: 1px solid #e0e0e0;
    transition: var(--transition-smooth);
}

.overview-table tr:last-child {
    border-bottom: none;
}

.overview-table tr:hover {
    background-color: #f9f9f9;
}

.overview-table td {
    padding: 20px 30px;
    font-size: 1rem;
}

.overview-table td:first-child {
    width: 40%;
    font-weight: 600;
    color: var(--text-dark);
}

.overview-table td:last-child {
    color: var(--text-light);
}

.overview-table i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* ========================================
   7. PRICE SECTION
======================================== */
.price-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.price-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.price-form {
    background: linear-gradient(135deg, #f7ead7 0%, #fdf5e6 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.price-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.price-form-header h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price-form-header p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.price-form-header img {
    max-width: 300px;
    margin: 0 auto;
}

/* ========================================
   8. FORMS
======================================== */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    font-family: 'Montserrat', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(197, 157, 95, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

/* ========================================
   9. DEVELOPER SECTION
======================================== */
.developer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.developer-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.developer-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ========================================
   10. MASTER PLAN SECTION
======================================== */
.masterplan-content p {
    text-align: center;
    font-size: 1.05rem;
    max-width: 900px;
    margin: 0 auto 40px;
}

.masterplan-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    margin: 0 auto;
}

/* ========================================
   11. DESIGN SECTION
======================================== */
.design-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.design-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.design-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.design-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.design-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.design-item i {
    margin-right: 10px;
}

.design-item ul {
    list-style: disc;
    padding-left: 20px;
}

.design-item li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.design-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.handover-standards {
    text-align: center;
    padding: 0;
}

.handover-standards h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.handover-standards img {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* ========================================
   12. LOCATION SECTION
======================================== */
.location-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.location-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.location-advantages {
    margin-top: 30px;
}

.location-advantages li {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1rem;
}

.location-advantages li:last-child {
    border-bottom: none;
}

.location-advantages i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.location-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.location-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.location-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   13. UTILITIES SECTION
======================================== */
.utilities-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.utilities-structure {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-top: 30px;
}

.utilities-structure h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.utilities-structure ul {
    list-style: disc;
    padding-left: 30px;
}

.utilities-structure li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.utilities-highlight {
    margin: 60px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.utility-item {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

.utility-image {
    overflow: hidden;
}

.utility-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.utility-item:hover .utility-image img {
    transform: scale(1.1);
}

.utility-item h4 {
    padding: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-dark);
}

/* ========================================
   14. WHY CHOOSE SECTION
======================================== */
.why-choose-image {
    margin-bottom: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.why-choose-item {
    display: flex;
    gap: 30px;
    align-items: start;
}

.why-choose-item .icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

.why-choose-item .content h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.why-choose-item .content p {
    font-size: 1rem;
    line-height: 1.7;
}

.why-choose-bottom-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ========================================
   15. PROGRESS SECTION
======================================== */
.progress-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.progress-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.progress-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.progress-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* ========================================
   16. CONTACT SECTION
======================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
}

.contact-item a {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-form-wrapper {
    background: var(--bg-gray);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* ========================================
   17. FOOTER
======================================== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

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

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.phone-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.phone-btn span {
    position: absolute;
    left: -200px;
    background: rgba(37, 211, 102, 0.95);
    padding: 10px 20px;
    border-radius: 30px;
    white-space: nowrap;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.phone-btn:hover span {
    left: -180px;
}

.phone-btn i {
    font-size: 1.5rem;
    animation: shake 2s infinite;
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: rotate(-10deg);
    }

    20%,
    40%,
    60%,
    80% {
        transform: rotate(10deg);
    }
}

.zalo-btn {
    background: linear-gradient(135deg, #0068FF 0%, #0052CC 100%);
    color: var(--white);
    position: relative;
}

.zalo-btn svg {
    width: 28px;
    height: 28px;
}

.zalo-btn:hover {
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
}

.zalo-btn::before {
    content: 'Zalo';
    position: absolute;
    left: -80px;
    background: rgba(0, 104, 255, 0.95);
    padding: 10px 20px;
    border-radius: 30px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.zalo-btn:hover::before {
    left: -90px;
    opacity: 1;
}

.scroll-top-btn {
    background: var(--gradient-primary);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.scroll-top-btn:hover,
.phone-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   19. MODAL
======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-lg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal-content h3 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.modal-content>p {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
}

/* ========================================
   20. NOTIFICATION
======================================== */
.notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 998;
    display: none;
    animation: slideInLeft 0.5s ease;
}

.notification.show {
    display: block;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.notification-time {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 5px !important;
}

/* ========================================
   21. RESPONSIVE DESIGN
======================================== */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .developer-content,
    .design-content,
    .price-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .utilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-images {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {

    /* Header */
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-md);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 40px 20px;
        gap: 15px;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list .nav-link {
        display: block;
        text-align: center;
        width: 100%;
        color: var(--secondary-color);
        text-shadow: none;
    }

    .nav-list .nav-link:hover,
    .nav-list .nav-link.active {
        color: var(--primary-color);
        background: rgba(197, 157, 95, 0.1);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    /* Sections */
    :root {
        --section-padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .utilities-grid,
    .progress-grid {
        grid-template-columns: 1fr;
    }

    .overview-table td {
        padding: 15px 20px;
        font-size: 0.9rem;
        display: block;
        width: 100% !important;
    }

    .overview-table td:first-child {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .overview-table td:last-child {
        padding-top: 5px;
    }

    /* Why Choose */
    .why-choose-item {
        flex-direction: column;
        text-align: center;
    }

    .why-choose-item .icon {
        margin: 0 auto;
    }

    /* Floating Buttons */
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .phone-btn:hover span {
        left: -160px;
    }

    .notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .price-form,
    .contact-form-wrapper {
        padding: 25px;
    }

    .modal-content {
        padding: 30px 20px;
    }
}

/* ========================================
   22. ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

.fade-in-down {
    animation: fadeInDown 0.6s ease;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease;
}

/* ========================================
   23. SCROLL ANIMATIONS
======================================== */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* ========================================
   24. LOADING STATE
======================================== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   25. IMAGE ENHANCEMENT - Xử lý ảnh đẹp
======================================== */

/* Bo góc đẹp cho tất cả ảnh chính */
.about-image-main img,
.about-image-secondary img,
.developer-image img,
.masterplan-image img,
.design-image img,
.location-image img,
.utilities-highlight img,
.why-choose-image img,
.why-choose-bottom-image img,
.handover-standards img {
    border-radius: var(--radius-lg);
}

/* Xử lý ảnh utility items - bo góc trên */
.utility-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

/* Xử lý ảnh hero - crop phần thừa */
.hero-image img {
    object-position: center 40%;
}

/* Xử lý đặc biệt cho ảnh highlights - crop và bo góc đẹp */
.utilities-highlight img,
.why-choose-image img,
.why-choose-bottom-image img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
}

/* Container bo góc và overflow hidden để crop */
.why-choose-image,
.why-choose-bottom-image,
.utilities-highlight {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

/* Hiệu ứng zoom khi hover */
.why-choose-image img,
.why-choose-bottom-image img,
.utilities-highlight img {
    transition: transform 0.5s ease;
}

.why-choose-image:hover img,
.why-choose-bottom-image:hover img,
.utilities-highlight:hover img {
    transform: scale(1.05);
}

/* Bo góc cho utility grid items */
.utilities-grid .utility-item {
    border-radius: var(--radius-lg);
}

.utilities-grid .utility-image {
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Xử lý ảnh progress - bo góc đẹp */
.progress-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.progress-item img {
    object-fit: cover;
    object-position: center;
}

/* About images - bo góc và overflow */
.about-image-main,
.about-image-secondary {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image-main img,
.about-image-secondary img {
    transition: transform 0.5s ease;
}

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

/* Location images - bo góc */
.location-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.location-image img {
    transition: transform 0.5s ease;
}

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

/* Price, masterplan, design images - bo góc với padding */
.price-image,
.masterplan-image,
.design-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
}

/* Developer image */
.developer-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Handover standards - mobile specific */
.handover-standards {
    max-width: 100%;
    overflow: hidden;
}

.handover-standards img {
    border-radius: var(--radius-lg);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    /* Container */
    .container {
        padding: 0 15px;
    }

    .utilities-highlight img,
    .why-choose-image img,
    .why-choose-bottom-image img {
        aspect-ratio: 4/3;
    }

    .progress-item img {
        height: 200px;
    }

    .utility-image img {
        height: 200px;
    }

    /* Ảnh tiêu chuẩn bàn giao mobile */
    .handover-standards {
        padding: 0 10px;
        margin: 20px 0;
    }

    .handover-standards img {
        border-radius: 10px;
    }

    /* Section padding */
    .section {
        padding: 50px 0;
    }

    /* Overview table */
    .overview-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Header height mobile */
    .header-content {
        height: 70px;
        max-height: 70px;
        padding: 8px 0;
    }

    /* Logo responsive */
    .logo img {
        height: 120px;
        margin: -25px 0;
    }

    /* Hide register button on tablet, show in mobile menu */
    .nav-list .btn-register {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Adjust nav links */
    .nav-link {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}

/* Mobile nhỏ */
@media (max-width: 480px) {

    /* Container padding nhỏ hơn */
    .container {
        padding: 0 10px;
    }

    /* Ảnh tiêu chuẩn bàn giao */
    .handover-standards {
        padding: 0 5px;
        margin: 15px 0;
    }

    .handover-standards img {
        border-radius: 8px;
    }

    /* Section padding */
    .section {
        padding: 40px 0;
    }

    /* Buttons nhỏ hơn */
    .btn {
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    /* Title nhỏ hơn */
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    /* Header mobile nhỏ */
    .header-content {
        height: 60px;
        max-height: 60px;
        padding: 5px 0;
    }

    /* Logo mobile nhỏ */
    .logo img {
        height: 100px;
        margin: -20px 0;
    }

    /* Button full width in mobile menu */
    .nav.active .btn-register {
        width: 90%;
        margin: 10px auto;
        display: block;
        text-align: center;
    }
}