:root {
    --primary-color: #c99339; /* Richer gold/bronze for premium feel */
    --primary-dark: #b88a44;
    --secondary-color: #1a202c; /* Deeper navy/dark gray */
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(201, 147, 57, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.8; /* Increased for better readability */
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: fadeInBody 0.4s ease-out forwards;
}

@keyframes fadeInBody {
    from { opacity: 0.3; } /* Start from 0.3 to reduce the "flash" sensation */
    to { opacity: 1; }
}

main {
    /* Main container serves as the anchor, inner elements will stagger */
    opacity: 1; 
}

@keyframes slideUp {
    from { 
        transform: translateY(20px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

main h1 { animation: slideUp 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.05s both; }
main h2 { animation: slideUp 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.1s both; }
main .about-text p, main .content-block > p { 
    animation: slideUp 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.15s both; 
}

.project-card, .service-card { 
    animation: slideUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.2s both; 
}

.category-section {
    animation: fadeInBody 0.6s ease-out 0.1s both;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: -0.02em; /* Tighter headings for premium look */
}

h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }

p {
    margin-bottom: 1.5rem;
    max-width: 800px; /* Prevents text from becoming too wide to read */
}

.text-center p {
    margin-left: auto;
    margin-right: auto;
}

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

ul {
    list-style: none;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(210, 164, 93, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* --- Header --- */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled .header-inner {
    height: 70px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.3s ease;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    transition: var(--transition);
}

.header-logo:hover h2 {
    transform: scale(1.05);
}

.header-nav ul {
    display: flex;
    gap: 15px;
}

.header-nav a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    padding: 8px 0;
    display: inline-block;
    white-space: nowrap;
}

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

.header-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 2px;
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pulse-btn {
    position: relative;
    overflow: hidden;
}

.pulse-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.pulse-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.open .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 85vh; /* Slightly taller for more impact */
    min-height: 650px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.85), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 56px;
    color: var(--bg-white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease both;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    background-color: #fdfdfd;
    background-image: radial-gradient(var(--primary-color) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    background-position: 0 0;
    opacity: 1;
}

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

.section-header h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

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

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.category-section {
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 60px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.category-section.alt {
    background-color: #f9fafb;
}

.category-title {
    text-align: left;
    border-left: 6px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 40px;
    font-size: 28px;
    color: var(--secondary-color);
}

.service-card {
    background-color: var(--bg-white);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(201, 147, 57, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(201, 147, 57, 0.15);
    border-color: rgba(201, 147, 57, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 147, 57, 0.1), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.highlight {
    background: linear-gradient(145deg, #ffffff, #fffcf5);
    border: 1px solid rgba(201, 147, 57, 0.2);
}

.service-card .icon {
    font-size: 40px;
    margin-bottom: 30px;
    width: 90px;
    height: 90px;
    background: rgba(201, 147, 57, 0.06);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

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

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}


/* --- About Section --- */
.about-section {
    padding: 100px 0;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 20px 20px 0px rgba(210, 164, 93, 0.2);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 17px;
}

.check-list {
    margin-bottom: 40px;
}

.check-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    color: var(--secondary-color);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--bg-white);
    background-color: var(--primary-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--secondary-color);
    color: #cbd5e1;
    padding: 80px 0 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo h2 {
    color: var(--bg-white);
    margin-bottom: 20px;
}

.about-widget p {
    margin-bottom: 20px;
    font-size: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: var(--bg-white);
    margin-right: 10px;
}

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

.links-widget h3, .contact-widget h3 {
    color: var(--bg-white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.links-widget h3::after, .contact-widget h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.links-widget ul li {
    margin-bottom: 15px;
}

.links-widget ul li a {
    color: #cbd5e1;
    transition: var(--transition);
}

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

.contact-widget p {
    margin-bottom: 15px;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-widget strong {
    color: var(--bg-white);
    min-width: 90px;
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
}

/* --- Interior Pages --- */
.interior-hero {
    position: relative;
    height: 85vh; /* Matched to homepage for maximum impact */
    min-height: 650px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.interior-hero h1 {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.6;
}

.page-content {
    padding: 80px 0;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .flex-row {
        flex-direction: column;
    }
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
    .hero-content h1 {
        font-size: 40px;
    }
    .header-nav ul {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .header-nav.active {
        right: 0;
    }
    
    .header-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
    }
    
    .header-nav a {
        font-size: 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
}

/* --- Modern Contact Page Styles --- */
.contact-modern-layout {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.contact-card-modern {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
}

.contact-card-modern:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.contact-card-modern .icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(210, 164, 93, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-modern .icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.contact-card-modern h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-card-modern p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-card-modern .card-link {
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

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

.contact-form-wrapper .form-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.modern-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.modern-form .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.modern-form .form-row .form-group {
    margin-bottom: 0;
}

.modern-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 14px;
}

.modern-form input[type="text"],
.modern-form input[type="tel"],
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(210, 164, 93, 0.1);
}

.modern-form .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.modern-form .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
    background: var(--bg-light);
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.modern-form .checkbox-group label:hover {
    border-color: var(--primary-color);
}

.modern-form .checkbox-group input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    animation: glowEffect 3s infinite;
}

@keyframes glowEffect {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@media (max-width: 768px) {
    .contact-modern-layout {
        flex-direction: column-reverse;
        margin-top: -20px !important;
        gap: 30px;
    }
    .modern-form .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .contact-form-wrapper {
        padding: 24px;
    }
}

/* --- Global Floating Actions --- */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

.floating-btn svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

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

.btn-zalo {
    background-color: #0068FF;
}

.btn-messenger {
    background: linear-gradient(45deg, #00B2FF, #006AFF);
}

.btn-phone {
    background-color: #28a745;
}

.btn-phone::before, .btn-zalo::before, .btn-messenger::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-ring 2s infinite;
}

.btn-phone::before { background-color: rgba(40, 167, 69, 0.5); }
.btn-zalo::before { background-color: rgba(0, 104, 255, 0.5); }
.btn-messenger::before { background-color: rgba(0, 132, 255, 0.5); }

.tooltip {
    position: absolute;
    right: 75px;
    background: rgba(26, 32, 44, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(26, 32, 44, 0.95);
}

.floating-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* --- Inline CTA Banner Component --- */
.cta-banner {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/cta_bg.png'); /* Dynamic high-quality image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 80px 0 0 0; /* No bottom margin to blend with footer */
    text-align: center;
    color: var(--bg-white);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 32, 44, 0.8), var(--secondary-color)); /* Fades into footer color */
    z-index: 1;
}

.cta-banner .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-banner h2 {
    color: var(--bg-white);
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cta-banner p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-banner .btn {
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
    }
    .floating-btn svg {
        width: 26px;
        height: 26px;
    }
    .tooltip {
        display: none;
    }
}

/* --- Furniture Projects Section --- */
.furniture-projects-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.project-card {
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.project-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.project-content {
    padding: 25px;
    text-align: left;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    gap: 15px;
}

.project-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

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

.project-content p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* --- Stats Counter Section --- */
.stats-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Success Gallery --- */
.success-gallery {
    padding: 100px 0;
    background-color: #f8fafc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 50px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-overlay h3 {
    color: var(--primary-color) !important;
    font-size: 28px !important;
    margin-bottom: 10px !important;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
    font-weight: 800;
}

.gallery-overlay p {
    color: #f8fafc !important;
    font-size: 16px !important;
    margin-bottom: 15px !important;
    line-height: 1.5;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.view-details {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto !important;
    padding: 8px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background: transparent;
    width: fit-content;
}

.view-details:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(201, 147, 57, 0.3);
}

.view-details::after {
    content: '\2192'; /* Unicode arrow */
    transition: transform 0.3s ease;
}

.view-details:hover::after {
    transform: translateX(5px);
}

.gallery-overlay .view-details {
    color: white;
    border-color: white;
    margin-top: 10px;
}

.gallery-overlay .view-details:hover {
    background-color: white;
    color: var(--primary-color) !important;
    border-color: white;
}

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

/* --- Process Section --- */
.process-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 30px;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 20px rgba(201, 147, 57, 0.3);
}



/* --- Standard Interior Hero --- */
.interior-hero {
    height: 45vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    margin-bottom: 80px;
}

.interior-hero .hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    z-index: 1;
}

.interior-hero h1 {
    position: relative;
    z-index: 2;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin: 0;
}

/* --- Global Typography Refinement --- */
p {
    max-width: 800px;
    line-height: 1.8;
}

.text-center p {
    margin-left: auto;
    margin-right: auto;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}



.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(201, 147, 57, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-wrapper svg {
    width: 30px;
    height: 30px;
}

/* --- General Responsive Typography --- */
@media (max-width: 768px) {
    .interior-hero h1 {
        font-size: 36px;
    }
    .interior-hero {
        height: 30vh;
        min-height: 300px;
    }
}


/* --- Materials Section Optimization --- */
.materials-section {
    padding: 120px 0;
    background-color: #fafbfc;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.material-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(201, 147, 57, 0.12);
}

.material-image {
    height: 300px;
    overflow: hidden;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.material-info {
    padding: 35px;
}

.material-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.material-info p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

@media (max-width: 992px) {
    .materials-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Services Grid Refinement for 8 items --- */
.services-section .services-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .services-section .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-section .services-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Project Lightbox Styles --- */
.project-lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.project-lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 25px; right: 35px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px; height: 60px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s;
}

.lightbox-nav-btn:hover {
    background: var(--primary-color);
}

.lightbox-nav-btn.prev { left: 40px; }
.lightbox-nav-btn.next { right: 40px; }

.lightbox-content {
    width: 85vw;
    height: 85vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lightbox-slider-container {
    flex: 1;
    width: 100%;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
}

.lightbox-slider {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-slider img {
    min-width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

@media (max-width: 992px) {
    .lightbox-nav-btn {
        width: 50px; height: 50px;
        font-size: 24px;
    }
    .lightbox-nav-btn.prev { left: 15px; }
    .lightbox-nav-btn.next { right: 15px; }
    .lightbox-content { width: 95vw; height: 70vh; }
}

/* --- Mobile Responsiveness Excellence --- */
@media (max-width: 576px) {
    .header-logo h2 {
        font-size: 20px;
    }
    
    .header-action .btn {
        padding: 0;
        min-width: unset;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    
    .header-action .btn-text {
        display: none;
    }
    
    .header-action .btn-icon {
        display: block !important;
        margin: 0;
    }
    
    .btn-icon {
        display: none;
    }
    
    .hero-content h1, .interior-hero h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    
    .hero-content p, .hero-subtitle {
        font-size: 16px !important;
        margin-bottom: 25px !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
    }
    
    /* Floating Actions Optimization */
    .floating-actions {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
    }
    
    .floating-btn svg {
        width: 24px;
        height: 24px;
    }
    
    /* Section Padding Reduction for better flow on small screens */
    .services-section, .about-section, .page-content, .interior-hero {
        padding: 60px 0 !important;
    }
    
    .hero-section {
        min-height: 500px;
        height: auto;
        padding: 100px 0;
    }
    
    .cta-banner {
        padding: 60px 20px !important;
    }
    
    .cta-banner h2 {
        font-size: 28px !important;
    }
    
    /* Contact Page Layout Adjustments */
    .contact-modern-layout {
        flex-direction: column !important;
        margin-top: 0 !important;
        gap: 30px !important;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px !important;
    }
    
    .side-info {
        width: 100%;
    }
    
    .contact-card-modern {
        padding: 15px !important;
    }
    
    .contact-card-modern .icon-wrapper {
        width: 50px;
        height: 50px;
    }

    /* --- Mobile UX Fix: Reveal Hover Content --- */
    .gallery-overlay {
        opacity: 1 !important;
        transform: translateY(0) !important;
        padding: 30px 20px !important;
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%) !important;
    }

    .gallery-overlay h3 {
        font-size: 22px !important;
        margin-bottom: 5px !important;
    }

    .gallery-overlay p {
        font-size: 14px !important;
        margin-bottom: 12px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .view-details {
        padding: 8px 18px !important;
        font-size: 12px !important;
        margin-top: auto !important;
    }

    /* Floating Action Labels for Mobile */
    .tooltip {
        display: none !important; /* Hide standard tooltips on mobile to avoid clutter */
    }
    
    /* Optional: Show label alongside if critical, but icons are usually sufficient. 
       User mentioned "hover hiển thị text" as inconvenient. 
       We will prioritize visibility of important titles in gallery which was the main issue.
    */
}


