/* Frontend/css/style.css - Zeta Pilates Elite Design System */

/* Custom Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* elite Design Tokens */
:root {
    --zeta-gold: #D4AF37;
    --zeta-dark: #1A1A1A;
    --zeta-cream: #FAF9F6;
    --zeta-gray: #4A4A4A;
    --zeta-accent: #E5C25F;
    --zeta-white: #FFFFFF;
    --zeta-gray-light: #F5F5F5;
    --zeta-gray-medium: #888888;
    
    /* Fluid Typography Scale */
    --step--2: clamp(0.6944rem, 0.6761rem + 0.0917vw, 0.75rem);
    --step--1: clamp(0.8333rem, 0.803rem + 0.1515vw, 0.925rem);
    --step-0: clamp(1rem, 0.9545rem + 0.2273vw, 1.137rem);
    --step-1: clamp(1.2rem, 1.1348rem + 0.3258vw, 1.396rem);
    --step-2: clamp(1.44rem, 1.3491rem + 0.4545vw, 1.715rem);
    --step-3: clamp(1.728rem, 1.6036rem + 0.622vw, 2.105rem);
    --step-4: clamp(2.0736rem, 1.9056rem + 0.84vw, 2.585rem);
    --step-5: clamp(2.4883rem, 2.2642rem + 1.1205vw, 3.17rem);

    /* Aurora Colors */
    --aurora-pink: rgba(255, 192, 203, 0.15);
    --aurora-gold: rgba(212, 175, 55, 0.1);
    --aurora-cream: rgba(250, 249, 246, 0.5);
}

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

body {
    background-color: var(--zeta-cream);
    color: var(--zeta-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: var(--step-0);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Premium Grain Texture Overlay */
body::before {
    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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-3); }

/* Scrollbar Customization */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background-color: var(--zeta-gold);
    border-radius: 10px;
}

/* --- Elite Components --- */

/* Modern Sidebar for Admin */
.admin-sidebar {
    width: 250px;
    height: 100vh;
    background: var(--zeta-dark);
    color: var(--zeta-white);
    position: fixed;
    left: 0;
    top: 0;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    color: var(--zeta-gray-medium);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: var(--step--1);
}

.admin-sidebar-nav a.active, 
.admin-sidebar-nav a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--zeta-gold);
}

/* Premium Card */
.zeta-card {
    background: var(--zeta-white);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.zeta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -15px rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.2);
}

/* Elite Buttons */
.premium-btn {
    background: var(--zeta-dark);
    color: var(--zeta-white);
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: var(--step--1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.premium-btn:hover {
    background: var(--zeta-gold);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.premium-btn-outline {
    background: transparent;
    border: 2px solid var(--zeta-dark);
    color: var(--zeta-dark);
}

/* Gradient Text for Elite Titles */
.text-gradient {
    background: linear-gradient(135deg, var(--zeta-dark) 0%, var(--zeta-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Blur */
.glass-nav {
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- Asymmetric Photo Collage --- */
.collage-item {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.collage-item:hover {
    transform: scale(1.03) rotate(0deg) !important;
    box-shadow: 0 30px 80px rgba(212, 175, 55, 0.25);
    z-index: 50 !important;
}

/* Animations Helper */
.reveal-init { opacity: 0; transform: translateY(20px); }
.reveal-hero { opacity: 0; transform: translateY(24px); }
.scroll-reveal { opacity: 0; transform: translateY(24px); }

/* Custom Badge */
.zeta-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    font-size: var(--step--2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-gold { background: rgba(212, 175, 55, 0.1); color: var(--zeta-gold); }
.badge-dark { background: var(--zeta-dark); color: var(--zeta-white); }

/* --- Visual Engine: Floating & 3D Mockups --- */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(5px); }
}

@keyframes pulse-gold {
    0%, 100% { border-color: rgba(212, 175, 55, 0.2); box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
    50% { border-color: rgba(212, 175, 55, 0.6); box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }
}

.float-item { animation: float-gentle 6s ease-in-out infinite; }
.float-item-slow { animation: float-slow 8s ease-in-out infinite; }
.pulse-border { animation: pulse-gold 4s infinite; }

.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    border: 12px solid #222;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.4);
    background: #000;
    margin: 0 auto;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #222;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.parallax-watermark {
    position: absolute;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
    filter: grayscale(1);
}

.glass-callout {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- Asymmetric Layout & Typography Extremism --- */
.text-huge {
    font-size: clamp(4rem, 15vw, 12rem);
    line-height: 0.85;
    letter-spacing: -0.05em;
}

.layout-90-10 {
    display: grid;
    grid-template-columns: 9fr 1fr;
}

.stagger-up { transform: translateY(40px); }
.stagger-down { transform: translateY(-40px); }

.premium-seal {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

/* Layered Depth for Images */
.layered-img {
    position: relative;
    z-index: 1;
}

.layered-img::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid var(--zeta-gold);
    opacity: 0.15;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    transition: all 0.5s ease;
}

.layered-img:hover::after {
    inset: -20px;
    opacity: 0.3;
}
/* --- Brand Atmosphere: Aurora & Watermark --- */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: var(--zeta-cream);
}

.aurora-item {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    mix-blend-mode: soft-light;
    pointer-events: none;
    animation: aurora-float 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.aurora-1 { background: var(--aurora-pink); top: -10%; left: -10%; animation-delay: 0s; }
.aurora-2 { background: var(--aurora-gold); bottom: -10%; right: -10%; animation-delay: -5s; width: 70vw; height: 70vw; }
.aurora-3 { background: var(--aurora-pink); top: 30%; right: -5%; animation-delay: -10s; width: 40vw; height: 40vw; opacity: 0.3; }

@keyframes aurora-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 15%) scale(1.1); }
}

.logo-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vh;
    height: 50vh;
    z-index: -1;
    opacity: 0.055;
    filter: blur(1px) saturate(1.8) drop-shadow(0 0 40px var(--aurora-pink));
    pointer-events: none;
    background-image: url('../assets/icons/icon-512.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
