/* ============================================================================
   SUPREMACY.BAR - STYLESHEET
   Brutalist-Luxury Web Design | Authority Through Precision
   ============================================================================ */

/* ============================================================================
   1. RESET AND BASE STYLES
   ============================================================================ */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0a0a0a;
    color: #f5f5f5;
    line-height: 1.6;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

/* ============================================================================
   2. TYPOGRAPHY
   ============================================================================ */

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(3rem, 14vw, 10rem);
    letter-spacing: 0.12em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: 0.10em;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

code, pre {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
}

/* ============================================================================
   3. PAGE CONTAINER AND LAYOUT
   ============================================================================ */

.page-container {
    width: 100%;
    background-color: #0a0a0a;
}

/* ============================================================================
   4. HERO SECTION
   ============================================================================ */

.hero {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(212, 175, 55, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 90vw;
}

.hero-title {
    color: #f5f5f5;
    font-size: clamp(3rem, 14vw, 10rem);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    word-break: break-word;
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-accent {
    width: 120px;
    height: 4px;
    background-color: #d4af37;
    margin: 2rem auto 0;
    animation: slideIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        width: 0;
    }
    100% {
        opacity: 1;
        width: 120px;
    }
}

/* ============================================================================
   5. ACCENT BARS
   ============================================================================ */

.accent-bar {
    width: 100vw;
    height: 4px;
    background-color: #d4af37;
    margin: 0;
    display: block;
    animation: slideInBar 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.accent-bar:nth-of-type(2) {
    animation-delay: 0.1s;
}

.accent-bar:nth-of-type(4) {
    animation-delay: 0.15s;
}

.accent-bar:nth-of-type(6) {
    animation-delay: 0.2s;
}

.accent-bar:nth-of-type(8) {
    animation-delay: 0.25s;
}

.accent-bar:nth-of-type(10) {
    animation-delay: 0.3s;
}

@keyframes slideInBar {
    0% {
        opacity: 0;
        transform: scaleX(0);
        transform-origin: left;
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
        transform-origin: left;
    }
}

/* ============================================================================
   6. CONTENT SECTIONS
   ============================================================================ */

.content-section {
    width: 100vw;
    padding: clamp(3rem, 8vw, 6rem) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: auto;
    animation: fadeInUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.section-1 {
    background-color: #0a0a0a;
    animation-delay: 0s;
}

.section-2 {
    background-color: #1a1a1a;
    animation-delay: 0.1s;
}

.section-3 {
    background-color: #0a0a0a;
    animation-delay: 0.2s;
}

.section-4 {
    background-color: #1a1a1a;
    animation-delay: 0.3s;
}

.section-5 {
    background-color: #0a0a0a;
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   7. SECTION CONTENT
   ============================================================================ */

.section-content {
    width: 100%;
    max-width: 1400px;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    margin: 0 auto;
}

.section-heading {
    color: #f5f5f5;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #d4af37;
    margin: 1rem auto 0;
}

.section-intro {
    text-align: center;
    color: #a0a0a0;
    margin-bottom: 3rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    letter-spacing: 0.02em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================================
   8. CONTENT GRID
   ============================================================================ */

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 100%;
    width: 100%;
}

@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   9. GRID ITEMS
   ============================================================================ */

.grid-item {
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background-color: rgba(26, 26, 26, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.grid-item:hover {
    border-color: #d4af37;
    background-color: rgba(26, 26, 26, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
    position: relative;
}

.grid-item:hover::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background-color: #0d5f6f;
}

.grid-item:hover::before {
    left: 100%;
}

.item-title {
    color: #d4af37;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.item-text {
    color: #a0a0a0;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* ============================================================================
   10. FOOTER
   ============================================================================ */

.footer {
    width: 100vw;
    background-color: #0a0a0a;
    border-top: 4px solid #d4af37;
    padding: 3rem 0;
    text-align: center;
    animation: fadeInUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
    opacity: 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.footer-text {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: #f5f5f5;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.footer-subtext {
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    color: #707070;
    letter-spacing: 0.02em;
}

/* ============================================================================
   11. RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
    .hero {
        height: 80vh;
        padding: 2rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        letter-spacing: 0.1em;
    }

    .hero-accent {
        width: 80px;
        margin-top: 1.5rem;
    }

    .section-content {
        padding: 0 1.5rem;
    }

    .section-intro {
        margin-bottom: 2rem;
        font-size: 1rem;
    }

    .grid-item {
        padding: 1.5rem;
        border: 1px solid rgba(212, 175, 55, 0.2);
    }

    .item-title {
        font-size: 1.1rem;
    }

    .item-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero {
        height: 70vh;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section-heading {
        font-size: 1.4rem;
        letter-spacing: 0.08em;
    }

    .content-grid {
        gap: 1.5rem;
    }

    .grid-item {
        padding: 1.25rem;
    }

    .footer {
        padding: 2rem 1rem;
    }
}

/* ============================================================================
   12. SCROLLBAR STYLING (WebKit browsers)
   ============================================================================ */

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: #e5c158;
}

/* ============================================================================
   13. INTERACTION STATES
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================================
   14. UTILITY CLASSES
   ============================================================================ */

.no-margin {
    margin: 0;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: #d4af37;
}

.text-muted {
    color: #a0a0a0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* ============================================================================
   15. PRINT STYLES
   ============================================================================ */

@media print {
    .hero {
        height: auto;
        min-height: 100vh;
    }

    .content-section {
        page-break-inside: avoid;
    }

    .accent-bar {
        display: none;
    }
}
