/* 
 * style.css
 * Project: BLG Việt Nam (blg.vn) - Brand Luxury Global
 * Design Trend: Minimalist Luxury, High-End, Gold & Black Texture
 * Year: 2026
 * Updated: Refined sizing and spacing per user feedback
 */

/* =========================================
   1. VARIABLES & THEME CONFIGURATION
   ========================================= */
:root {
    /* Primary Luxury Palette */
    --color-gold: #D4AF37;
    --color-gold-light: #F9E79F;
    --color-gold-dark: #AA8A28;
    --color-gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F9E79F 50%, #AA8A28 100%);

    /* Monochrome Palette */
    --color-black: #050505;
    --color-black-rich: #0a0a0a;
    --color-charcoal: #1a1a1a;
    --color-gray: #777777;
    --color-silver: #E0E0E0;
    --color-white: #FFFFFF;

    /* Functional Colors */
    --color-bg-body: #ffffff;
    --color-bg-light: #f9f9f9;
    --color-text-main: #2c2c2c;
    --color-text-light: #ffffff;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing & Dimensions */
    --container-max: 1200px;
    --header-height: 80px;
    /* Reduced for sleeker look */
    --section-spacing: 120px;

    /* Effects */
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.03);
    /* Softer shadow */
    --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-text: 0 2px 4px rgba(0, 0, 0, 0.3);
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   2. RESET & GLOBAL STYLES
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.8;
    /* Increased for readability */
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-black);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 15px;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
    /* Thinner */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

/* =========================================
   3. ANIMATIONS & KEYFRAMES
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

/* =========================================
   4. UI COMPONENTS (BUTTONS, TITLES)
   ========================================= */
.btn {
    display: inline-block;
    padding: 14px 36px;
    /* Slightly smaller button */
    background: var(--color-black);
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-fast);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-gold);
    z-index: -1;
    transition: var(--transition-fast);
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: var(--color-black);
    border-color: var(--color-gold);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.separator {
    width: 50px;
    height: 3px;
    background: var(--color-gold-gradient);
    margin: 25px auto;
    border-radius: 2px;
}

/* =========================================
   5. HEADER & NAVIGATION
   ========================================= */
.header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    /* More subtle border */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 40px;
    /* Reduced from 60px as requested (Menu images too big) */
    width: auto;
    transition: transform var(--transition-fast);
}

.navbar .menu {
    display: flex;
    gap: 35px;
}

.navbar .menu li a {
    font-size: 0.8rem;
    /* Smaller, more elegant font size */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* Increased letter spacing */
    color: var(--color-text-main);
    position: relative;
    padding-bottom: 5px;
}

.navbar .menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    /* Thinner underline */
    background: var(--color-gold);
    transition: var(--transition-fast);
}

.navbar .menu li a:hover::after,
.navbar .menu li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--color-black);
    transition: var(--transition-fast);
}

/* =========================================
   6. HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('image_batch2_hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    /* FIX: Increased padding to prevent H1 overlap with Menu */
    padding-top: calc(var(--header-height) + 60px);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white);
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-size: 3.8rem;
    /* Slightly reduced for better mobile fit logic, mainly margin adjusted */
    margin-bottom: 25px;
    color: var(--color-white);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    line-height: 1.15;
    margin-top: 20px;
    /* Added top margin to ensure clearance */
}

.sub-title {
    display: block;
    font-size: 1rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.notification-text {
    background: rgba(255, 255, 255, 0.08);
    /* More transparent */
    backdrop-filter: blur(10px);
    border-left: 3px solid var(--color-gold);
    padding: 20px 30px;
    margin: 50px auto;
    max-width: 750px;
    text-align: left;
    border-radius: 4px;
    color: #f0f0f0;
}

.hero-contact-form {
    background: rgba(255, 255, 255, 0.98);
    padding: 30px;
    border-radius: 4px;
    /* Sharper corners for luxury feel */
    margin-top: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.hero-contact-form input,
.hero-contact-form textarea {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #333;
    font-size: 0.9rem;
}

/* =========================================
   7. SPONSOR SECTION
   ========================================= */
.sponsor-section {
    background: #fff;
    position: relative;
    overflow: hidden;
    padding: var(--section-spacing) 0;
}

.sponsor-highlight {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #fff;
    padding: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 60px;
    box-shadow: var(--shadow-card);
    position: relative;
}

.sponsor-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('image_batch2_sponsor_tech.png');
    background-size: cover;
    opacity: 0.15;
    /* Reduced opacity */
    border-radius: 12px;
}

.diamond-badge {
    background: var(--color-gold-gradient);
    color: var(--color-black);
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.service-grid-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.service-grid-item:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

.service-grid-item a {
    color: #e0e0e0;
    font-weight: 400;
    font-size: 0.9rem;
}

/* =========================================
   8. ABOUT SECTION
   ========================================= */
.about-section {
    position: relative;
    background: #fff;
    padding: var(--section-spacing) 0;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    /* Increased width */
    height: 100%;
    background: url('image_batch2_about_vision.png') no-repeat center right;
    background-size: cover;
    opacity: 0.08;
    /* Very subtle */
    pointer-events: none;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 60px;
    border: 1px solid #f5f5f5;
    box-shadow: var(--shadow-card);
}

/* =========================================
   9. PRODUCTS & SERVICES
   ========================================= */
.services-section {
    background-color: var(--color-bg-light);
    padding: var(--section-spacing) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-item {
    background: #fff;
    padding: 40px;
    /* Reduced padding from 50px */
    border-radius: 0;
    border: 1px solid #eee;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: -1;
    transition: var(--transition-slow);
    transform: scale(1.05);
    /* Reduced scale effect */
}

/* Background Images */
.service-item:nth-child(1)::before {
    background-image: url('image_batch1_realestate.png');
}

.service-item:nth-child(2)::before {
    background-image: url('image_batch1_fashion.png');
}

.service-item:nth-child(3)::before {
    background-image: url('image_batch1_wellness.png');
}

.service-item:nth-child(4)::before {
    background-image: url('image_batch1_logistics.png');
}

.service-item:hover::before {
    opacity: 0.1;
    /* Even more subtle background reveal (from 0.15) */
    transform: scale(1);
}

.service-item:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.service-item h3 {
    color: var(--color-black);
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 0.95rem;
    color: #666;
}

/* =========================================
   10. PARTNERS
   ========================================= */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-item {
    height: 90px;
    /* Significance reduction from 120px to 90px */
    background: #fff;
    border: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
    padding: 15px;
}

.partner-item:hover {
    border-color: var(--color-gold);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.partner-item span {
    font-size: 0.9rem;
    /* Smaller font for partners */
    font-weight: 600;
    color: #666;
    transition: 0.3s;
}

.partner-item:hover span {
    color: var(--color-gold-dark);
    transform: scale(1.02);
}

/* =========================================
   11. CONTACT SECTION
   ========================================= */
.contact-section {
    background: #fff;
    position: relative;
    padding: var(--section-spacing) 0;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

.contact-text {
    flex: 1;
}

.contact-form-container {
    flex: 1;
    background: #fff;
    padding: 40px;
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow-card);
    border-top: 3px solid var(--color-gold);
}

.form-group label {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #333;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    background: #fff;
    border-color: var(--color-gold);
    outline: none;
    box-shadow: none;
    /* Removed glow for cleaner look */
}

/* =========================================
   12. FOOTER
   ========================================= */
#footer {
    background-color: #050505;
    color: #888;
    position: relative;
    border-top: 3px solid var(--color-gold);
    font-size: 0.9rem;
}

.footer-col h4 {
    color: var(--color-white);
    letter-spacing: 1px;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-col ul li a {
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--color-gold);
    padding-left: 3px;
}

.seo-backlinks {
    margin-top: 30px;
    padding: 20px;
    background: #111;
    border-radius: 4px;
    font-size: 0.8rem;
}

.seo-backlinks a {
    color: var(--color-gold);
    border-bottom: 1px dotted rgba(212, 175, 55, 0.5);
}

.seo-backlinks a:hover {
    color: #fff;
    border-bottom-style: solid;
}

/* =========================================
   13. RESPONSIVE DESIGN (MOBILE)
   ========================================= */
@media (max-width: 992px) {
    .header-height {
        height: 70px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        /* Space for close button */
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .navbar.active {
        right: 0;
    }

    .navbar .menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0 40px;
    }

    .navbar .menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        padding: 15px 0;
    }

    .navbar .menu li a {
        font-size: 1rem;
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
}

@media (max-width: 768px) {
    .container {
        width: 92%;
    }

    .hero-section {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-top: 10px;
    }

    .sub-title {
        font-size: 0.85rem;
        letter-spacing: 3px;
    }

    .sponsor-highlight {
        flex-direction: column;
        padding: 30px;
        align-items: flex-start;
    }

    .service-item {
        padding: 25px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hero-contact-form {
        margin-top: 30px;
        padding: 20px;
    }

    .diamond-badge {
        font-size: 0.7rem;
    }
}