/* 
   OREN - Design System & Core Styles
*/

:root {
    /* Core Colors */
    --color-black: #000000;
    --color-offwhite: #F1F1F1;
    --color-coldblue: #5F7FA3;
    --color-deeppurple: #391A3B;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--color-coldblue), var(--color-deeppurple));
    
    /* Typography */
    --font-display: 'Bodoni Moda', serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Bodoni Moda', serif; /* Use Bodoni for subheadings too for a touch of class */
    
    /* Spacing & Layout */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0c0812; /* Brighter, purplish dark background */
    color: var(--color-offwhite);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    color: var(--color-offwhite);
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* --- Layout & Utility --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    text-align: center;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
    font-family: var(--font-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Modifier class for specific sections */
.section-title.white-text {
    background: none;
    -webkit-text-fill-color: var(--color-offwhite);
    color: var(--color-offwhite);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

/* --- Ambient Background --- */
.ambient-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200vw;
    height: 200vh;
    /* Fixed typo in gradient percentages */
    background: radial-gradient(circle at 50% 50%, rgba(95, 127, 163, 0.25) 0%, rgba(57, 26, 59, 0.3) 30%, rgba(12, 8, 18, 0.9) 70%);
    z-index: -2;
    animation: ambientShift 20s ease-in-out infinite alternate;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' op='%3E%3C/svg%3E");
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
}

@keyframes ambientShift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-5%, -5%) scale(1.1); }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0; /* Changed back to top */
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(12, 8, 18, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: var(--space-sm) var(--space-lg);
    background: rgba(12, 8, 18, 0.95);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px; /* Much bigger logo */
    width: auto;
    /* Removed filter: invert(1) because new logo is naturally white */
    transition: var(--transition-smooth);
}

.logo:hover img {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--color-offwhite);
    transition: var(--transition-smooth);
}

.nav-links a:hover, .nav-links a.active {
    opacity: 1;
}

.nav-links a.active::after, .nav-links a:hover::after {
    width: 100%;
}

/* --- Dropdown Navigation --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(12, 8, 18, 0.95);
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 102;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--color-offwhite);
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
}

.dropdown-content a::after {
    display: none; /* No underline in dropdown */
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    opacity: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-offwhite);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden; /* Ensure background image doesn't overflow */
}

/* hero background image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Adding a gradient overlay to ensure text/logo stays readable */
    background: linear-gradient(to bottom, rgba(12, 8, 18, 0.4), rgba(12, 8, 18, 0.9)), 
                url("images/media__1773578316777.jpg");
    background-size: cover;
    background-position: center 15%; /* shifted lower down to show the face */
}

.hero-content {
    z-index: 1;
    padding: 0 var(--space-md);
    position: relative; /* Bring forward */
}

.hero h1 {
    display: none; /* Hide text H1 in favor of the image */
}

.hero-logo {
    max-width: 90%;
    height: auto;
    max-height: 400px; /* allow it to be larger */
    margin-bottom: var(--space-md);
    /* Removed filter: invert(1) because new logo is naturally white */
    animation: fadeIn 1.5s ease-out;
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: var(--space-lg);
}

/* --- Buttons --- */
.cta-group {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary, .btn-outline {
    background: var(--grad-primary);
    color: var(--color-offwhite);
    border: none;
    box-shadow: 0 4px 15px rgba(57, 26, 59, 0.4);
}

.btn-primary:hover, .btn-outline:hover {
    box-shadow: 0 6px 20px rgba(95, 127, 163, 0.6);
    transform: translateY(-2px);
}

/* --- About Section (Home) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    color: rgba(241, 241, 241, 0.8);
}

/* About Section Image */
    .about-img {
    width: 100%;
    border-radius: 8px;
    background-image: url("images/media__1773578316757.jpg");
    background-size: cover;
    background-position: center;
    aspect-ratio: 1/1; /* Keep it square like the original image */
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.about-img:hover {
    transform: scale(1.02);
    border-color: rgba(255,255,255,0.2);
}

/* --- Contact Section & Footer --- */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-email {
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: 1.2rem;
}

.contact-email a {
    color: var(--color-coldblue);
    font-weight: 600;
}

.contact-email a:hover {
    color: var(--color-offwhite);
}

.form-group {
    margin-bottom: var(--space-md);
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-offwhite);
    font-family: var(--font-body);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-coldblue);
    background: rgba(255, 255, 255, 0.05);
}

select {
    appearance: none;
    cursor: pointer;
}

select option {
    background: var(--color-black);
    color: var(--color-offwhite);
}

.btn-block {
    width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: var(--space-md);
}

.social-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.social-link.linktree {
    color: var(--color-coldblue);
    opacity: 0.9;
    font-weight: 600;
}
.social-link:hover {
    opacity: 1;
    color: var(--color-offwhite);
}


/* --- Page Transitions --- */
.page-transition {
    animation: fadeIn 0.8s ease-out forwards;
}

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

/* --- Gallery Masonry --- */
.masonry {
    columns: 1;
    column-gap: var(--space-md);
    padding: var(--space-md) 0;
}

@media (min-width: 600px) {
    .masonry {
        columns: 2;
    }
}

@media (min-width: 900px) {
    .masonry {
        columns: 3;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: var(--space-md);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.masonry-item img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--color-offwhite);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
}

.masonry-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70vw;
        height: 100vh;
        background: var(--color-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        border-left: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links.active {
        right: 0;
    }

    /* Hamburger animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* --- Releases Section --- */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.release-card-main {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.release-card-main:hover {
    transform: translateY(-5px);
    border-color: rgba(95, 127, 163, 0.5);
    box-shadow: 0 10px 30px rgba(95, 127, 163, 0.1);
}

.release-card-main .release-artwork {
    width: 100%;
    aspect-ratio: 1/1;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.release-card-main .release-info {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.release-card-main .release-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-offwhite);
}

.release-card-main .release-desc {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

