/* ========================================
   PAINT FRESH THEME - Màu sáng sủa hiện đại
   Phù hợp cho hãng sơn với màu sắc tươi mới
   ======================================== */

:root {
    /* Primary Colors - Màu chủ đạo tươi sáng */
    --primary-color: #FF6B35;        /* Cam tươi sáng */
    --primary-dark: #E55A2B;         /* Cam đậm */
    --primary-light: #FF8A65;        /* Cam nhạt */
    
    /* Secondary Colors - Màu phụ bổ sung */
    --secondary-color: #4ECDC4;      /* Xanh ngọc bích */
    --secondary-dark: #3BA99F;       /* Xanh đậm */
    --secondary-light: #7EDDD6;      /* Xanh nhạt */
    
    /* Accent Colors - Màu nhấn */
    --accent-color: #FFD23F;         /* Vàng chanh */
    --accent-dark: #F4C430;          /* Vàng đậm */
    --accent-light: #FFE066;         /* Vàng nhạt */
    
    /* Neutral Colors - Màu trung tính */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --black: #212529;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-accent: #FFF8F0;
    
    /* Text Colors */
    --text-primary: #2C3E50;
    --text-secondary: #6C757D;
    --text-light: #ADB5BD;
    --text-white: #FFFFFF;
    
    /* Shadow Colors */
    --shadow-light: rgba(255, 107, 53, 0.1);
    --shadow-medium: rgba(255, 107, 53, 0.2);
    --shadow-dark: rgba(255, 107, 53, 0.3);
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8A65 100%);
    --gradient-secondary: linear-gradient(135deg, #4ECDC4 0%, #7EDDD6 100%);
    --gradient-accent: linear-gradient(135deg, #FFD23F 0%, #FFE066 100%);
    --gradient-hero: linear-gradient(135deg, #FF6B35 0%, #4ECDC4 50%, #FFD23F 100%);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.theme-header {
    background: var(--gradient-hero);
    color: var(--text-white);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.theme-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="paint-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23paint-pattern)"/></svg>');
    opacity: 0.3;
}

.theme-navbar {
    background: var(--white) !important;
    box-shadow: 0 2px 20px var(--shadow-light);
    border-bottom: 3px solid var(--primary-color);
    position: relative;
    z-index: 1000;
}

.theme-navbar .navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px var(--shadow-light);
}

.theme-navbar .navbar-brand .company-logo {
    max-height: 100%;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px var(--shadow-light));
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

.theme-navbar .navbar-brand:hover .company-logo {
    transform: translateY(-10px) scale(1.05);
    filter: drop-shadow(0 4px 8px var(--shadow-medium));
}

/* Responsive Logo - Giới hạn kích thước trên màn hình nhỏ */
@media (max-width: 768px) {
    .theme-navbar .navbar-brand .company-logo {
        max-height: 153px;
        width: auto;
    }
}

@media (max-width: 576px) {
    .theme-navbar .navbar-brand .company-logo {
        max-height: 127px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .theme-navbar .navbar-brand .company-logo {
        max-height: 102px;
        width: auto;
    }
}

.theme-navbar .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.theme-navbar .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.theme-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.theme-navbar .nav-link:hover::after {
    width: 100%;
}

/* ========================================
   COMPANY INFO
   ======================================== */

.theme-company-name {
    color: var(--text-white);
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
    animation: slideInDown 1s ease-out;
}

.theme-company-tagline {
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.3s both;
}

.theme-contact-info {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInUp 1s ease-out 0.6s both;
}

.theme-phone-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.theme-phone-item:hover {
    transform: translateX(10px);
}

.theme-phone-icon {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-right: 0.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.theme-phone-text {
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-theme-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.btn-theme-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-theme-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-dark);
    color: var(--text-white);
}

.btn-theme-primary:hover::before {
    left: 100%;
}

.btn-theme-accent {
    background: var(--gradient-accent);
    border: none;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 210, 63, 0.3);
}

.btn-theme-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 210, 63, 0.5);
    color: var(--text-primary);
}

/* ========================================
   CARDS
   ======================================== */

.theme-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.theme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.theme-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.theme-card .card-body {
    padding: 2rem;
}

.theme-card .card-title {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.theme-card .card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   DROPDOWN MENU
   ======================================== */

.theme-dropdown {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-medium);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.theme-dropdown .dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-weight: 500;
}

.theme-dropdown .dropdown-item:hover {
    background: var(--gradient-primary);
    color: var(--text-white);
    transform: translateX(5px);
}

/* ========================================
   FOOTER
   ======================================== */

.theme-footer {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.theme-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><polygon points="15,5 25,20 5,20" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.3;
}

.theme-footer h5 {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.theme-footer p, .theme-footer a {
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.theme-footer a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .theme-company-name {
        font-size: 2rem;
    }
    
    .theme-company-tagline {
        font-size: 1rem;
    }
    
    .theme-contact-info {
        padding: 1rem;
    }
    
    .btn-theme-primary,
    .btn-theme-accent {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-primary-theme {
    color: var(--primary-color) !important;
}

.text-secondary-theme {
    color: var(--secondary-color) !important;
}

.text-accent-theme {
    color: var(--accent-color) !important;
}

.bg-primary-theme {
    background: var(--gradient-primary) !important;
}

.bg-secondary-theme {
    background: var(--gradient-secondary) !important;
}

.bg-accent-theme {
    background: var(--gradient-accent) !important;
}

.border-primary-theme {
    border-color: var(--primary-color) !important;
}

.shadow-theme {
    box-shadow: 0 10px 30px var(--shadow-light) !important;
}

.shadow-theme-lg {
    box-shadow: 0 20px 40px var(--shadow-medium) !important;
}
