/* Assets/css/global.css */

:root {
    /* Crimson Theme Colors - Lightened & Smoothed */
    --crimson: #d12239;
    --crimson-deep: #8a1022;
    --crimson-soft: #ffde21;
    --blush: #ff859b;
    
    --dark: #0a0406;
    --dark-card: #14080a;
    --dark-surface: #1c0b0f;
    --dark-mid: #2b1218;
    
    --text-main: #fcf0f2;
    --text-muted: #c99ea9;
    
    --shadow-glow: rgba(209, 34, 57, 0.45);
    
    --gold: #f5c842;
    --silver: #c0c8d8;
    --bronze: #cd7f4a;

    /* Fonts */
    --font-heading: 'Cinzel Decorative', serif;
    --font-body: 'Poppins', sans-serif;
}

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

body {
    background-color: var(--dark);
    color: var(--text-main);
    font-family: var(--font-body);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Fixed background noise texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.04;
    pointer-events: none;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    z-index: 9999; /* Put noise above everything but not pointer-events */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

a:hover {
    color: var(--blush);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--dark-mid);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--crimson-deep);
}

/* Buttons Base */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-align: center;
}

.btn-primary {
    background: var(--crimson);
    color: #fff;
    box-shadow: 0 4px 15px var(--shadow-glow);
}
.btn-primary:hover {
    background: var(--blush);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-glow);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-main);
}
.btn-secondary:hover {
    border-color: var(--crimson);
    color: var(--crimson);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}
.btn-whatsapp:hover {
    background: #1EBE5D;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Main content wrapper */
.site-main {
    flex: 1;
}

/* Utility classes */
.highlight {
    color: var(--crimson);
    text-shadow: 0 0 10px var(--shadow-glow);
}

/* Glassmorphism helpers */
.glass {
    background: rgba(22, 11, 14, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
