/* =========================================
   Sengirotti — Custom CSS
   ========================================= */

:root {
    --color-primary: #FFDE21;
    --color-bg:       #000000;
    --color-bg-alt:   #09090b;
    --color-card:     #18181b;
    --color-border:   rgba(255, 222, 33, 0.1);
    --color-text:     #ffffff;
    --color-muted:    #a1a1aa;
    --radius-card:    1rem;
    --radius-cta:     1.5rem;
}

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', system-ui, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   Scroll Animations
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* =========================================
   Carousel
   ========================================= */
.carousel-slide {
    pointer-events: none;
}

.carousel-slide.active {
    pointer-events: auto;
}

.carousel-dot {
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* =========================================
   Navbar
   ========================================= */
nav {
    transition: background-color 0.3s ease;
}

/* =========================================
   Forms
   ========================================= */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    ring: 0;
}

/* File input styling */
input[type="file"]::-webkit-file-upload-button {
    cursor: pointer;
}

/* =========================================
   Admin table
   ========================================= */
table {
    border-collapse: collapse;
}

/* =========================================
   Yellow accent glow on hover
   ========================================= */
.hover-glow:hover {
    box-shadow: 0 0 24px rgba(255, 222, 33, 0.08);
}
