/* ==========================================================================
   GENERAL & VARIABLES - GAA WEBSITE
   ========================================================================== */

:root {
    /* Color Palette */
    --color-primary: #4C1D9F;      /* Deep Purple */
    --color-accent: #F79B06;       /* Vibrant Orange */
    --color-contrast-1: #F6BAFF;   /* Soft Pink */
    --color-contrast-2: #FBDDFF;   /* Light Pink */
    
    /* Text Colors */
    --text-on-dark: #FFFFFF;
    --text-on-light: #4C1D9F;      /* Deep Purple */
    
    /* Semantic Colors */
    --color-bg-dark: var(--color-primary);
    --color-bg-light-1: var(--color-contrast-1);
    --color-bg-light-2: var(--color-contrast-2);
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --container-padding: 2rem;
    --header-height: 80px;
    
    /* Interactive States & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 20px 40px -15px rgba(26, 8, 54, 0.15);
    --shadow-intense: 0 25px 50px -12px rgba(26, 8, 54, 0.25);
    --glass-blur: blur(12px);
    --glass-bg: rgba(76, 29, 159, 0.7);
    --glass-border: rgba(246, 186, 255, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--color-bg-dark);
    color: var(--text-on-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: inherit;
}

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(247, 155, 6, 0.5); /* Vibrant Orange with opacity */
    border-radius: 5px;
    border: 2px solid var(--color-bg-dark);
    transition: var(--transition-fast);
}

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

/* Layout Elements */
main {
    width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

section {
    position: relative;
    padding: 8rem 0;
    width: 100%;
    overflow: hidden;
}

/* Sections by Theme */
.section-dark {
    background-color: var(--color-bg-dark);
    color: var(--text-on-dark);
}

.section-light-1 {
    background-color: var(--color-bg-light-1);
    color: var(--text-on-light);
}

.section-light-2 {
    background-color: var(--color-bg-light-2);
    color: var(--text-on-light);
}

/* Layout Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Link and Button Styles */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Global Hidden elements (e.g. SEO text) */
#seo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Reveal on Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers for stagger effects */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    section {
        padding: 6rem 0;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
    }
    .grid-4, .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    section {
        padding: 4rem 0;
    }
}

/* ==========================================================================
   CURVED SECTION ARROWS
   ========================================================================== */
#vision, #saeulen {
    overflow: visible;
}

#vision .context-wrapper,
#saeulen .container {
    position: relative;
}

.section-arrow-right,
.section-arrow-left {
    position: absolute;
    z-index: 20;
    pointer-events: none;
    filter: drop-shadow(0px 4px 10px rgba(247, 155, 6, 0.45));
}

.section-arrow-right {
    right: -40px;
    bottom: -250px;
}

.section-arrow-left {
    left: -120px;
    bottom: -250px;
}

@media (max-width: 1200px) {
    .section-arrow-right,
    .section-arrow-left {
        display: none;
    }
}

