/* Office Dairy - Premium CSS */

:root {
    --primary-color: #0d6efd;
    --primary-light: #e6f0ff;
    --primary-gradient: linear-gradient(135deg, #0d6efd, #00d2ff);
    --glass-bg: rgba(255, 255, 255, 0.82);
    --glass-bg-dark: rgba(20, 25, 40, 0.85);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-border-dark: rgba(255, 255, 255, 0.1);
    --text-color: #212529;
    --text-color-dark: #f8f9fa;
    --bg-color: #f5f7fa;
    --bg-color-dark: #0f111a;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --blur-effect: blur(12px);
}

[data-theme="dark"] {
    --text-color: var(--text-color-dark);
    --bg-color: var(--bg-color-dark);
    --glass-bg: var(--glass-bg-dark);
    --glass-border: var(--glass-border-dark);
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    cursor: none; /* Custom premium cursor */
}

/* Custom Cursor */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.2s, height 0.2s;
}
.custom-cursor-follower {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(13, 110, 253, 0.4);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.08s ease-out;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Gradients & Animations */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navbar */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--blur-effect);
    border-bottom: 1px solid var(--glass-border);
}
.navbar-brand .logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-color);
}
.navbar-brand .logo-text span {
    color: var(--primary-color);
}

/* Premium Buttons */
.btn-premium {
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 10px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-premium:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-color);
    transition: all 0.3s ease;
}
.glass-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--primary-color);
}

/* 3D Bottle Loader Section */
.three-container {
    height: 450px;
    position: relative;
}
.fallback-3d-bottle {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.floating-bottle-img {
    max-height: 80%;
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Loader Wrapper */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.glass-loader {
    text-align: center;
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--blur-effect);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}
.milk-drop {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    margin: 0 auto 20px;
    animation: drip 1.5s infinite;
}
@keyframes drip {
    0% { transform: scale(1) rotate(45deg); }
    50% { transform: scale(0.8) rotate(45deg); }
    100% { transform: scale(1) rotate(45deg); }
}

/* Floating BG Shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}
.shape-1 { width: 400px; height: 400px; background: #00d2ff; top: -10%; left: -10%; }
.shape-2 { width: 500px; height: 500px; background: #0d6efd; bottom: -10%; right: -10%; }
.shape-3 { width: 300px; height: 300px; background: #ff00d2; top: 40%; left: 50%; }

/* Floating Buttons */
.floating-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}
.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease;
}
.whatsapp-btn { background: #25d366; text-decoration: none; }
.btt-btn { background: var(--primary-color); display: none; }
.floating-btn:hover { transform: scale(1.1); }
