/* AURAHOME Premium Stylesheet */

/* Set up base values and fonts */
:root {
    --color-bg: #0a0a0a;
    --color-surface-dim: #121212;
    --color-surface: #181818;
    --color-surface-bright: #222222;
    --color-primary: #f2ca50;
    --color-primary-dim: #d4af37;
    --color-primary-dark: #b8860b;
    --color-text-white: #ffffff;
    --color-text-muted: #a1a1a1;
    --color-text-dark: #666666;
    --font-display: 'Agrandir Grand Thin', 'Agrandir', 'Syncopate', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
    border: 2px solid var(--color-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dim);
}

/* Base resets & styles */
html {
    scroll-behavior: smooth;
    background-color: var(--color-bg);
    color: var(--color-text-white);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
}

/* Preloader styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--color-text-white);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpLoader 1.2s forwards 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.loader-bar-container {
    width: 150px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-primary-dim));
    animation: loadProgress 2.2s cubic-bezier(0.65, 0.05, 0.36, 1) forwards;
}

@keyframes fadeInUpLoader {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 40%; }
    80% { width: 85%; }
    100% { width: 100%; }
}

/* Custom premium elements & hover styles */
.gold-text-glow {
    text-shadow: 0 0 10px rgba(242, 202, 80, 0.15);
}

.gold-gradient-bg {
    background: linear-gradient(135deg, #f2ca50 0%, #d4af37 50%, #b8860b 100%);
}

.gold-border-glow {
    border-color: rgba(242, 202, 80, 0.2);
    box-shadow: 0 0 0px rgba(242, 202, 80, 0);
    transition: all 0.5s ease;
}

.gold-border-glow:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(242, 202, 80, 0.15);
}

/* Nav links underline animation */
.nav-link {
    position: relative;
    font-family: var(--font-body);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 50%;
    background-color: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: var(--color-primary);
}

/* Premium Buttons */
.btn-premium {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f2ca50, #d4af37);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.btn-premium:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-premium:hover {
    color: #0a0a0a !important;
    border-color: transparent;
    box-shadow: 0 0 25px rgba(242, 202, 80, 0.35);
}

/* Image zoom effect on hover for cards */
.image-zoom-container {
    overflow: hidden;
}

.image-zoom-container img {
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

.image-zoom-container:hover img {
    transform: scale(1.06);
    opacity: 0.95;
}

/* Custom layout helper */
.hero-vignette {
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.95) 100%);
}

.hero-vignette-bottom {
    background: linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.6) 30%, transparent 100%);
}

/* Bento layout for Instagram */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 280px);
        gap: 24px;
    }
    .bento-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.bento-card {
    position: relative;
    overflow: hidden;
    background-color: var(--color-surface-dim);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.bento-card:hover {
    border-color: rgba(242, 202, 80, 0.25);
    box-shadow: 0 10px 30px rgba(242, 202, 80, 0.05);
    transform: translateY(-4px);
}

.bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-card:hover img {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.2) 70%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.bento-card:hover .bento-overlay {
    opacity: 1;
}



/* Float animations for aesthetic items */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animated-float {
    animation: float 6s ease-in-out infinite;
}

/* Decorative corner frames */
.corner-frame-wrapper {
    position: relative;
}

.corner-accent {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--color-primary-dim);
    transition: all 0.4s ease;
}

.corner-top-left {
    top: 0;
    left: 0;
    border-top: 1px solid;
    border-left: 1px solid;
}

.corner-top-right {
    top: 0;
    right: 0;
    border-top: 1px solid;
    border-right: 1px solid;
}

.corner-bottom-left {
    bottom: 0;
    left: 0;
    border-bottom: 1px solid;
    border-left: 1px solid;
}

.corner-bottom-right {
    bottom: 0;
    right: 0;
    border-bottom: 1px solid;
    border-right: 1px solid;
}

.corner-frame-wrapper:hover .corner-accent {
    width: 24px;
    height: 24px;
    border-color: var(--color-primary);
}

/* Overlay dark shade for drawer (Cleaned up / Kept for compatibility) */
#drawer-overlay {
    backdrop-filter: blur(4px);
    transition: opacity 0.4s ease, visibility 0.4s;
}

#nav-drawer {
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

/* 7. Rebuilt Split Screen Hero Section styles */
.hero-split-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

@media (min-width: 768px) {
    .hero-split-container {
        flex-direction: row;
        height: 100vh;
    }
}

.hero-split-left {
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 24px;
    width: 100%;
    min-height: 50vh;
    text-align: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .hero-split-left {
        width: 50%;
        height: 100%;
        padding: 64px;
    }
}

.hero-split-right {
    width: 100%;
    min-height: 50vh;
    background-image: url('images/suar_vertical_slab.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

@media (min-width: 768px) {
    .hero-split-right {
        width: 50%;
        height: 100%;
    }
}

/* Wide Thin Typo */
.font-agrandir-thin {
    font-family: 'Agrandir Grand Thin', 'Agrandir', 'Syncopate', sans-serif;
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Ultra Thin Divider Line */
.hero-divider-line {
    width: 380px;
    max-width: 85%;
    height: 1px;
    background-color: #ffffff;
    margin: 24px 0;
}

