/* =====================================================
   UROBOROS FESTIVAL 2025 - MAIN STYLES
   ===================================================== */

/* =====================================================
   CUSTOM FONT IMPORT
   ===================================================== */
@font-face {
    font-family: 'Sinister';
    src: url('../Assets/Sinistre.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
    /* Colors */
    --coral: #ff5a47;
    --mint: #dcebce;
    --black: #2a2a2a;
    --white: #ffffff;
    --off-white: #f9f9f9;
    --gray: #808080;
    --light-gray: #e5e5e5;
    
    /* Typography */
    --font-display: 'Sinister', serif;
    --font-body: 'Open Sans', 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-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    
    /* Responsive breakpoints */
    --mobile: 768px;
    --tablet: 1024px;
    --desktop: 1440px;
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--black);
    background: transparent;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: normal;
}

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

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

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

h4 {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
}

p {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
}

strong {
    font-weight: 600;
}

/* =====================================================
   LOADING SCREEN
   ===================================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(220, 235, 206, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#loading-screen p {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-top: var(--spacing-md);
}

/* =====================================================
   SECTION BASE STYLES
   ===================================================== */
.section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    background: transparent;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-xl) var(--spacing-md);
    background: transparent;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 5rem);
    color: var(--mint);
    margin-bottom: 0.1rem;
    text-align: center;
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-coral {
    color: var(--coral);
}

.text-mint {
    color: var(--mint);
}

.bg-coral {
    background-color: var(--coral);
}

.bg-mint {
    background-color: var(--mint);
}

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

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

/* =====================================================
   FOOTER
   ===================================================== */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
}

.footer-content p {
    font-size: 0.9rem;
    margin: var(--spacing-xs) 0;
    opacity: 0.8;
}

/* =====================================================
   SCROLLBAR STYLING
   ===================================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--coral);
    border-radius: 5px;
}

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

/* =====================================================
   SELECTION STYLING
   ===================================================== */
::selection {
    background-color: var(--coral);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--coral);
    color: var(--white);
}
