/* 
   Luxe Design Studio - Stylesheet
   Theme: Modern Royal Luxury (Minimal Edition)
   Typography: Cinzel & Inter
*/

/* -------------------------------------------------------------
   01. Core Tokens & Reset
   ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette */
    --burgundy-deep: #1e0507;
    --burgundy-dark: #120102;
    --burgundy-glow: #380d11;
    --gold-light: #f6e3b4;
    --gold-base: #d4af37;
    --gold-dark: #aa7c11;
    --gold-metallic: linear-gradient(135deg, #f9f5e8 0%, #d4af37 50%, #aa7c11 100%);
    --gold-glow: rgba(212, 175, 55, 0.45);
    --gold-border: rgba(212, 175, 55, 0.15);
    
    --ivory: #f5efe6;
    --charcoal: #111111;
    
    /* Fonts */
    --font-serif: 'Cinzel', 'Playfair Display', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide standard cursor for custom cursor experience */
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--burgundy-dark);
    font-family: var(--font-sans);
    color: var(--ivory);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------------
   02. Background Overlays (Vignette, Glow, Noise)
   ------------------------------------------------------------- */
.canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#particle-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

.glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, var(--burgundy-glow) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 2;
    pointer-events: none;
}

/* Subtle Film Grain Noise */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    z-index: 3;
    pointer-events: none;
}

/* -------------------------------------------------------------
   03. Custom Luxury Cursor
   ------------------------------------------------------------- */
.custom-cursor {
    width: 26px;
    height: 26px;
    border: 1px solid var(--gold-base);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    opacity: 0;
}

.custom-cursor-dot {
    width: 4px;
    height: 4px;
    background-color: var(--gold-base);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.2s ease;
    opacity: 0;
}

/* Cursor hover state */
body:hover .custom-cursor,
body:hover .custom-cursor-dot {
    opacity: 1;
}

.custom-cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.08);
    border-color: var(--gold-light);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.custom-cursor-dot.hovered {
    opacity: 0;
}

/* Hide cursor on touchscreen devices */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor, .custom-cursor-dot {
        display: none;
    }
    * {
        cursor: auto;
    }
}

/* -------------------------------------------------------------
   04. Centered Container Framework
   ------------------------------------------------------------- */
.luxury-container.centered {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    z-index: 10;
}

/* -------------------------------------------------------------
   05. Minimalist Logo Card Presentation
   ------------------------------------------------------------- */
.card-parallax-wrapper {
    padding: 10px;
    animation: scaleInReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand-card-3d {
    position: relative;
    width: 320px;
    height: 448px;
    background: #140204;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8),
                0 0 0 1px rgba(212, 175, 55, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: box-shadow 0.4s ease;
}

.brand-card-3d:hover {
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.9),
                0 0 25px rgba(212, 175, 55, 0.15),
                0 0 0 1px rgba(212, 175, 55, 0.35);
}

/* Inner gold border frame */
.card-inner-frame {
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 14px;
    right: 14px;
    border: 1px solid var(--gold-border);
    pointer-events: none;
    z-index: 5;
    transition: border-color 0.4s ease;
}

.brand-card-3d:hover .card-inner-frame {
    border-color: rgba(212, 175, 55, 0.4);
}

/* Card image styles */
.card-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    transition: opacity 0.4s ease;
}

.brand-card-3d:hover .brand-logo-img {
    opacity: 1;
}

/* -------------------------------------------------------------
   06. Minimalist Luxury Typography
   ------------------------------------------------------------- */
.main-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-align: center;
    margin: 0;
    text-indent: 0.22em; /* Centers letter-spaced text perfectly */
    animation: fadeInReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
    opacity: 0;
}

.gold-text {
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 35px rgba(212, 175, 55, 0.15);
}

/* -------------------------------------------------------------
   07. Connect Links (Instagram, WhatsApp)
   ------------------------------------------------------------- */
.connect-container {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    animation: fadeInReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    opacity: 0;
}

.connect-link {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: rgba(245, 239, 230, 0.55);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    padding: 0.5rem 0.2rem;
}

.connect-link:hover {
    color: var(--gold-base);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

.connect-divider {
    width: 3px;
    height: 3px;
    background-color: rgba(212, 175, 55, 0.3);
    border-radius: 50%;
}

/* -------------------------------------------------------------
   08. Keyframe Animations
   ------------------------------------------------------------- */
@keyframes fadeInReveal {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleInReveal {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(15px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* -------------------------------------------------------------
   09. Responsive Breakpoints
   ------------------------------------------------------------- */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.6rem;
        letter-spacing: 0.18em;
        text-indent: 0.18em;
    }
    
    .brand-card-3d {
        width: 270px;
        height: 378px;
    }
    
    .luxury-container.centered {
        gap: 2.2rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.0rem;
    }
    
    .brand-card-3d {
        width: 230px;
        height: 322px;
    }
    
    .connect-container {
        gap: 1.2rem;
    }
    
    .connect-link {
        font-size: 0.65rem;
    }
}
