/*
Theme Name: HGI
Theme URI: https://hasglobali.com
Author: HGI
Author URI: https://hasglobali.com
Description: A modern, elegant single-page WordPress theme for HAS Global Investama. Features stunning animations, 3D card effects, and a premium dark theme with gold accents.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hgi
Tags: one-column, custom-logo, custom-menu, featured-images, theme-options
*/

/* ========================================
   CSS Variables & Global Styles
======================================== */
:root {
    --color-gold: #D4AF37;
    --color-gold-light: #F4D03F;
    --color-gold-dark: #B8960C;
    --color-black: #0A0A0A;
    --color-black-light: #1A1A1A;
    --color-white: #FFFFFF;
    --color-gray: #888888;
    --color-gray-dark: #333333;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease, background 0.15s ease;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(2);
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s var(--transition-smooth);
}

a:hover {
    color: var(--color-gold-light);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styling */
.section {
    padding: 80px 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    opacity: 0;
    transform: translateY(20px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-gold);
    transition: left 0.4s var(--transition-smooth);
    z-index: -1;
}

.btn:hover {
    color: var(--color-black);
}

.btn:hover::before {
    left: 0;
}

/* Utility Classes */
.text-gold { color: var(--color-gold); }
.text-white { color: var(--color-white); }
.bg-black { background-color: var(--color-black); }
.bg-black-light { background-color: var(--color-black-light); }

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loading-logo {
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 30px;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: var(--color-gray-dark);
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-gold);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-black);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
}
