/*
Theme Name: Đèn LED Vinhomes
Theme URI: https://denledvinhomes.vn
Author: Double H
Author URI: https://denledvinhomes.vn
Description: WordPress theme chuyên nghiệp cho dịch vụ thi công đèn LED trang trí biệt thự cao cấp tại Vinhomes
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: denled-vinhomes
Tags: business, portfolio, one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready

Đèn LED Vinhomes - Premium Lighting Solutions
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

/* CSS Variables - Design System */
:root {
    --background: 40 33% 98%;
    --foreground: 150 25% 10%;
    --card: 0 0% 100%;
    --card-foreground: 150 25% 10%;
    --primary: 142 55% 32%;
    --primary-foreground: 40 33% 98%;
    --primary-glow: 130 60% 55%;
    --accent: 42 95% 55%;
    --accent-foreground: 150 30% 12%;
    --accent-glow: 45 100% 70%;
    --accent-dark: 35 95% 55%;
    --secondary: 142 30% 95%;
    --secondary-foreground: 142 55% 22%;
    --muted: 40 20% 95%;
    --muted-foreground: 150 10% 38%;
    --border: 142 20% 90%;
    --destructive: 0 84% 60%;
    --radius: 1rem;
    --shadow-card: 0 4px 20px -8px hsl(142 30% 20% / 0.12);
    --shadow-elevated: 0 25px 50px -20px hsl(150 25% 15% / 0.25);
    --shadow-glow: 0 20px 60px -20px hsl(42 95% 55% / 0.45);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', system-ui, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Add padding for fixed header */
    padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Be Vietnam Pro', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header Sticky */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    border-bottom: 1px solid hsl(var(--border) / 0.4);
    background: hsl(var(--background));
    box-shadow: 0 2px 10px -4px hsl(142 30% 20% / 0.08);
    /* GPU Acceleration for smooth scrolling */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

/* Only use backdrop-filter on desktop where it performs better */
@media (min-width: 1024px) {
    .site-header {
        background: hsl(var(--background));
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

.site-header>.container {
    position: relative;
}

/* Utility Classes */
.text-gradient-warm {
    background: linear-gradient(135deg, hsl(var(--accent-glow)) 0%, hsl(var(--accent-dark)) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-brand {
    background: linear-gradient(135deg, hsl(142 55% 32%) 0%, hsl(130 60% 45%) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gradient Backgrounds */
.bg-gradient-warm {
    color: hsl(var(--accent-foreground));
    background: linear-gradient(135deg, hsl(var(--accent-glow)) 0%, hsl(var(--accent-dark)) 100%);
}

.bg-gradient-brand {
    color: hsl(var(--primary-foreground));
    background: hsl(var(--primary));
}

.shadow-card {
    box-shadow: 0 4px 20px -8px hsl(142 30% 20% / 0.12);
}

.shadow-elevated {
    box-shadow: 0 25px 50px -20px hsl(150 25% 15% / 0.25);
}

.shadow-glow {
    box-shadow: 0 20px 60px -20px hsl(42 95% 55% / 0.45);
}

.transition-smooth {
    transition: all 0.3s var(--transition-smooth);
}

.transition-spring {
    transition: all 0.4s var(--transition-spring);
}

/* Animations */
@keyframes twinkle {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

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

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

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px hsl(42 95% 55% / 0.4);
    }

    50% {
        box-shadow: 0 0 40px hsl(42 95% 55% / 0.7);
    }
}

.animate-twinkle {
    animation: twinkle 2.5s ease-in-out infinite;
}

.animate-float-up {
    animation: float-up 0.8s var(--transition-smooth) both;
}

.animate-glow-pulse {
    animation: glow-pulse 3s ease-in-out infinite;
}