/* ========================================
   Shanti Global Capital - BASE STYLES
   ======================================== */

/* CSS Custom Properties (Design Tokens) */
:root {
    /* Brand Colors */
    --primary-color: rgb(25, 25, 112);        /* Midnight Blue */
    --primary-light: rgba(25, 25, 112, 0.1);
    --primary-dark: rgb(15, 15, 82);
    
    --secondary-color: #ffc107;    /* Gold */
    --secondary-light: rgba(255, 193, 7, 0.2);
    --secondary-dark: rgb(255, 160, 0);
    
    --neutral-color: #2f2f33;      /* Gray */
    --dark-color: rgb(47, 47, 51);            /* Dark Gray */
    --light-bg: rgb(250, 248, 245);           /* Light Cream */
    --white: #ffffff;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 40px rgba(224, 205, 103, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--light-bg);
    color: var(--dark-color);
    line-height: 1.6;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-xl) 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* ========================================
   SHINY SIF OPTION
   ======================================== */
.sif-shiny {
    font-weight: 800 !important;
    color: var(--secondary-dark) !important;
    background: linear-gradient(
        110deg,
        var(--secondary-dark) 0%,
        var(--secondary-dark) 40%,
        #ffffff 50%,
        var(--secondary-dark) 60%,
        var(--secondary-dark) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 2.5s linear infinite;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sif-shiny i {
    color: var(--secondary-dark);
    -webkit-text-fill-color: var(--secondary-dark);
}

.navbar .dropdown-item.sif-shiny:hover,
.navbar .sif-shiny:hover {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}

.navbar .dropdown-item.sif-shiny:hover i,
.navbar .sif-shiny:hover i {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}

.sg-footer .sif-shiny:hover,
.sg-footer .sif-shiny:hover i {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

@keyframes shimmerText {
    to {
        background-position: -200% center;
    }
}
