/* ============================================
   CHÉN STUDIO - Main Stylesheet
   Redesigned with better header & mobile
   ============================================ */

/* CSS Variables */
:root {
    --primary: #94c1b4;
    --primary-dark: #7aab9d;
    --primary-light: #b5d9ce;
    --primary-pale: #e8f4f0;
    --primary-50: rgba(148, 193, 180, 0.5);
    --secondary: #2c5c4f;
    --accent: #d4a574;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-light: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f9fdfb;
    --bg-gradient: linear-gradient(135deg, #94c1b4 0%, #7aab9d 100%);
    --shadow-sm: 0 2px 8px rgba(148, 193, 180, 0.15);
    --shadow-md: 0 4px 20px rgba(148, 193, 180, 0.2);
    --shadow-lg: 0 8px 40px rgba(148, 193, 180, 0.25);
    --shadow-xl: 0 20px 60px rgba(148, 193, 180, 0.3);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Lexend', 'Nunito', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER - Redesigned
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-circle {
    width: 48px;
    height: 48px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.logo-icon-circle i {
    font-size: 20px;
    color: white;
}

.logo:hover .logo-icon-circle {
    transform: rotate(-10deg) scale(1.05);
    box-shadow: var(--shadow-md);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 8px 0;
    letter-spacing: 0.3px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: 50px;
    transition: var(--transition);
}

.header-phone i {
    color: var(--primary);
    font-size: 16px;
}

.header-phone:hover {
    background: var(--primary-pale);
    color: var(--primary-dark);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--bg-gradient);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--primary-pale);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    transition: var(--transition);
}

.hamburger {
    position: relative;
    width: 20px;
    height: 2px;
    background: var(--primary);
    display: block;
    margin: 0 auto;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: white;
    z-index: 999;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--primary-pale);
}

.mobile-logo span {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.mobile-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-pale);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-close i {
    font-size: 18px;
    color: var(--primary);
}

.mobile-close:hover {
    background: var(--primary);
}

.mobile-close:hover i {
    color: white;
}

.mobile-nav {
    flex: 1;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 15px 20px;
    border-radius: 12px;
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--primary-pale);
    color: var(--primary);
}

.mobile-contact {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    background: var(--primary-pale);
    color: var(--primary);
    transition: var(--transition);
}

.mobile-contact-btn.zalo {
    background: var(--bg-gradient);
    color: white;
}

.mobile-contact-btn:hover {
    transform: translateY(-2px);
}

.mobile-social {
    padding: 20px;
    border-top: 1px solid var(--primary-pale);
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mobile-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition);
}

.mobile-social a:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   HERO SECTION - Redesigned with About
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 50%, var(--primary-pale) 100%);
}

.hero-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-decoration::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(148, 193, 180, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-bg-decoration::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(148, 193, 180, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero>.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Hero Text Content */
.hero-content {
    max-width: 600px;
}

.hero-tagline {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-pale);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title span {
    color: var(--primary);
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hero-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: var(--bg-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 18px;
    color: white;
}

.feature-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.feature-text p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Hero Location */
.hero-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-location i {
    color: var(--primary);
    font-size: 18px;
}

/* Hero Image Section */
.hero-image-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.3s both;
}

.hero-main-image {
    position: relative;
    width: 100%;
    max-width: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-main-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.hero-floating-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-img {
    position: absolute;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-img-1 {
    width: 140px;
    height: 180px;
    top: 5%;
    left: -8%;
    animation-delay: 0s;
}

.floating-img-2 {
    width: 120px;
    height: 150px;
    bottom: 10%;
    right: -5%;
    animation-delay: 2s;
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-pale);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--bg-white);
}

/* Service Tabs */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.service-tab {
    padding: 12px 24px;
    border: 2px solid var(--primary-light);
    border-radius: 50px;
    background: transparent;
    color: var(--primary);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.service-tab:hover,
.service-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    background: white;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
}

.service-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
}

.service-card-content {
    padding: 22px;
}

.service-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.service-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.statistics {
    padding: 80px 0;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--bg-white);
    clip-path: ellipse(55% 100% at 50% 0%);
}

.statistics::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--bg-light);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.stats-wrapper {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon i {
    font-size: 24px;
    color: white;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ============================================
   GALLERY SECTION - Masonry Layout
   ============================================ */
.gallery {
    padding: 100px 0;
    background: var(--bg-light);
}

/* Masonry Gallery Grid */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

/* Size Variations for Asymmetric Layout */
.gallery-item.size-normal {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item.size-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item.size-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item.size-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    font-size: 32px;
    color: white;
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Load More Button */
.gallery-load-more {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   LIGHTBOX MODAL
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close i {
    font-size: 24px;
    color: white;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-nav i {
    font-size: 22px;
    color: white;
}

.lightbox-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
}

/* About Section Empty - content moved to hero */
.about {
    display: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--secondary);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-light);
    border-radius: 0 0 50% 50%;
}

.footer-content {
    padding: 100px 0 50px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-section h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

.footer-contact-item i {
    font-size: 18px;
    color: var(--primary-light);
    margin-top: 3px;
    width: 20px;
}

.footer-contact-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.5;
}

.footer-contact-item a {
    color: var(--primary-light);
    font-weight: 500;
}

.footer-contact-item a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.7;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    left: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.float-btn.zalo {
    background: linear-gradient(135deg, #0068ff 0%, #0047b3 100%);
}

.float-btn.phone {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: pulse 2s infinite;
}

.float-btn.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0d65d9 100%);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: pointer;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
}

.loading-spinner {
    width: 45px;
    height: 45px;
    border: 3px solid var(--primary-pale);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .hero>.container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-features {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-location {
        justify-content: center;
    }

    .hero-image-section {
        order: -1;
    }

    .hero-main-image {
        max-width: 400px;
    }

    .hero-main-image img {
        height: 450px;
    }

    .floating-img-1 {
        left: 0;
    }

    .floating-img-2 {
        right: 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        text-align: center;
        grid-column: 1 / -1;
    }

    .footer-social {
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Header Mobile */
    .nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-inner {
        padding: 12px 0;
    }

    .logo-icon-circle {
        width: 42px;
        height: 42px;
    }

    .logo-icon-circle i {
        font-size: 18px;
    }

    .logo-main {
        font-size: 20px;
    }

    .logo-sub {
        font-size: 10px;
    }

    /* Hero Mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-tagline {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-feature {
        padding: 12px 15px;
        justify-content: center;
    }

    .feature-icon {
        flex-shrink: 0;
    }

    .feature-text {
        text-align: left;
        width: 160px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon i {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
        padding: 14px 20px;
    }

    .hero-location {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .hero-image-section {
        display: none;
    }

    /* Services Mobile */
    .services {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .service-tabs {
        gap: 8px;
        margin-bottom: 30px;
    }

    .service-tab {
        padding: 10px 18px;
        font-size: 13px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card-image {
        height: 200px;
    }

    /* Stats Mobile */
    .statistics {
        padding: 60px 0;
    }

    .stats-wrapper {
        gap: 30px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .stat-icon i {
        font-size: 20px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Gallery Mobile */
    .gallery {
        padding: 60px 0;
    }

    .masonry-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 10px;
    }

    .gallery-item.size-large,
    .gallery-item.size-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item.size-tall {
        grid-column: span 1;
        grid-row: span 2;
    }

    .gallery-overlay i {
        font-size: 24px;
    }

    /* Lightbox Mobile */
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .lightbox-close i {
        font-size: 20px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-nav i {
        font-size: 18px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        font-size: 12px;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
        padding: 80px 0 40px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-section h3 {
        font-size: 15px;
    }

    .footer-contact-item {
        justify-content: center;
        text-align: left;
    }

    .footer-links a::before {
        display: none;
    }

    /* Floating Buttons Mobile */
    .floating-buttons {
        left: auto;
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    /* Hide back to top on mobile */
    .back-to-top {
        display: none !important;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .footer-logo {
        font-size: 26px;
    }

    .stats-wrapper {
        flex-direction: column;
        gap: 25px;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
    }

    .stat-icon {
        margin: 0;
    }
}

/* ============================================
   CONTACT MODAL
   ============================================ */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.contact-modal-overlay.active .contact-modal {
    transform: scale(1) translateY(0);
}

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-pale);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.contact-modal-close i {
    font-size: 18px;
    color: var(--primary);
}

.contact-modal-close:hover {
    background: var(--primary);
}

.contact-modal-close:hover i {
    color: white;
}

.contact-modal-header {
    text-align: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--primary-pale);
}

.contact-modal-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    animation: pulse 2s infinite;
}

.contact-modal-icon i {
    font-size: 28px;
    color: white;
}

.contact-modal-header h3 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 8px;
}

.contact-modal-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    padding: 25px 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--primary);
    margin-right: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--primary-pale);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-main);
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(148, 193, 180, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394c1b4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background: var(--bg-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit i {
    font-size: 18px;
}

/* Contact Divider */
.contact-divider {
    position: relative;
    text-align: center;
    padding: 0 30px;
    margin: 5px 0 20px;
}

.contact-divider::before {
    content: '';
    position: absolute;
    left: 30px;
    right: 30px;
    top: 50%;
    height: 1px;
    background: var(--primary-pale);
}

.contact-divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Direct Contact Buttons */
.contact-direct-buttons {
    padding: 0 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-direct {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.btn-direct:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-direct i {
    font-size: 18px;
}

.btn-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0d65d9 100%);
}

.btn-zalo {
    background: linear-gradient(135deg, #0068ff 0%, #0047b3 100%);
}

/* Success Message */
.contact-success {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    animation: fadeInUp 0.4s ease;
}

.contact-success.active {
    display: flex;
}

.success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

.success-icon i {
    font-size: 45px;
    color: white;
}

.contact-success h3 {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.contact-success p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 350px;
}

.btn-close-success {
    padding: 14px 40px;
    background: var(--bg-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Contact Modal Responsive */
@media (max-width: 576px) {
    .contact-modal {
        border-radius: 15px;
        max-height: 95vh;
    }

    .contact-modal-header {
        padding: 25px 20px 15px;
    }

    .contact-modal-icon {
        width: 60px;
        height: 60px;
    }

    .contact-modal-icon i {
        font-size: 24px;
    }

    .contact-modal-header h3 {
        font-size: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .btn-submit {
        padding: 14px 20px;
        font-size: 15px;
    }

    .contact-divider {
        padding: 0 20px;
    }

    .contact-divider::before {
        left: 20px;
        right: 20px;
    }

    .contact-direct-buttons {
        padding: 0 20px 25px;
    }

    .btn-direct {
        padding: 12px 16px;
        font-size: 14px;
    }

    .contact-success {
        padding: 30px 20px;
    }

    .success-icon {
        width: 75px;
        height: 75px;
    }

    .success-icon i {
        font-size: 38px;
    }

    .contact-success h3 {
        font-size: 22px;
    }

    .contact-success p {
        font-size: 14px;
    }
}

/* ============================================
   DARK MODE SUPPORT (Optional)
   ============================================ */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles if needed */
}