/* ============================================================
   GLOBAL STYLES – COMPOSER / BEATMAKER AESTHETIC
============================================================ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Inter:wght@200;300;400;500;600&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #0b0b0d;
    color: #eaeaea;
}

/* Headings – Composer feel */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ============================================================
   CUSTOM SCROLLBAR
============================================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #3a0f14;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8b1e2d;
}

/* ============================================================
   ANIMATIONS
============================================================ */

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1.4s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================================
   TEXT SELECTION
============================================================ */

::selection {
    background-color: #8b1e2d;
    color: #ffffff;
}

/* ============================================================
   LINKS
============================================================ */

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #c92a3c;
}

/* ============================================================
   BUTTONS
============================================================ */

button {
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

button:focus {
    outline: none;
}

/* ============================================================
   FORMS
============================================================ */

input, textarea, select {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    color: #ffffff;
    padding: 12px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #8b1e2d;
    background: rgba(255,255,255,0.04);
}

/* ============================================================
   IMAGES
============================================================ */

img {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   GLOBAL TRANSITIONS
============================================================ */

* {
    transition: color 0.25s ease,
                background-color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

/* ============================================================
   RESPONSIVE UTILITIES
============================================================ */

@media (max-width: 768px) {
    .text-6xl { font-size: 2.4rem; }
    .text-7xl { font-size: 2.8rem; }
    .text-8xl { font-size: 3.3rem; }
}

/* ============================================================
   HOVER EFFECTS
============================================================ */

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ============================================================
   BACKGROUND PATTERN – DARK STUDIO FEEL
============================================================ */

.bg-pattern {
    background-image:
        linear-gradient(135deg, #0e0e11 25%, transparent 25%),
        linear-gradient(225deg, #0e0e11 25%, transparent 25%),
        linear-gradient(45deg, #0e0e11 25%, transparent 25%),
        linear-gradient(315deg, #0e0e11 25%, #141418 25%);
    background-position: 12px 0, 12px 0, 0 0, 0 0;
    background-size: 24px 24px;
    background-repeat: repeat;
}

/* ============================================================
   LOADING ANIMATION
============================================================ */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    border-top-color: #8b1e2d;
    animation: spin 1s ease-in-out infinite;
}

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

/* ============================================================
   CARD HOVER
============================================================ */

.card-hover {
    transition: all 0.5s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 45px rgba(139, 30, 45, 0.25);
}

/* ============================================================
   TEXT GRADIENT – SIGNATURE COMPOSER
============================================================ */

.text-gradient {
    background: linear-gradient(135deg, #8b1e2d, #e14b5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   GLASSMORPHISM – PREMIUM
============================================================ */

.glass {
    background: rgba(20, 20, 25, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   PAGE LOAD
============================================================ */

.page-load {
    opacity: 0;
    animation: pageLoad 0.8s ease-out forwards;
}

@keyframes pageLoad {
    to { opacity: 1; }
}

/* ============================================================
   STAGGER ANIMATION
============================================================ */

.stagger-item {
    opacity: 0;
    animation: staggerFade 0.6s ease-out forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes staggerFade {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
