/* ============================================
   BerPas - Coming Soon / Maintenance Page
   Premium Glassmorphism Design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --maroon-dark: #5B0E1A;
    --maroon: #8B1A2B;
    --maroon-light: #B52B40;
    --rose: #C2185B;
    --rose-light: #E91E63;
    --gold: #D4A847;
    --gold-light: #F0D78C;
    --cream: #FFF8F0;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-400: #BDBDBD;
    --gray-600: #757575;
    --gray-800: #424242;
    --gray-900: #212121;
    --shadow-color: rgba(139, 26, 43, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.45);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-script: 'Dancing Script', cursive;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    background: linear-gradient(135deg, 
        #1a0a0e 0%, 
        #2d0f18 15%, 
        #3d1422 30%, 
        #4a1829 45%,
        #3d1422 60%, 
        #2d0f18 80%, 
        #1a0a0e 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

/* --- Particles Canvas --- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Floating Decorative Elements --- */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--maroon);
    top: -100px;
    right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--rose);
    bottom: -80px;
    left: -80px;
    animation: float2 25s ease-in-out infinite;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--gold);
    top: 40%;
    left: 10%;
    animation: float3 18s ease-in-out infinite;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: var(--rose-light);
    top: 20%;
    right: 15%;
    animation: float1 22s ease-in-out infinite reverse;
}

.shape-5 {
    width: 150px;
    height: 150px;
    background: var(--gold-light);
    bottom: 20%;
    right: 30%;
    animation: float2 16s ease-in-out infinite reverse;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(40px, -30px) rotate(180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-30px, 40px) scale(1.15); }
    75% { transform: translate(20px, -20px) scale(0.85); }
}

/* --- Main Container --- */
.main-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Glass Card --- */
.glass-card {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 48px 40px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(139, 26, 43, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    animation: cardAppear 1s var(--transition-smooth) forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

/* --- Logo Section --- */
.logo-section {
    text-align: center;
    margin-bottom: 8px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    animation: logoFloat 4s ease-in-out infinite;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(139, 26, 43, 0.3));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.brand-name {
    font-family: var(--font-script);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--maroon-dark);
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(91, 14, 26, 0.1);
}

.brand-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--maroon);
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, var(--rose) 100%);
    color: var(--white);
    border-radius: 100px;
    display: inline-flex;
    margin-bottom: 12px;
}

.brand-tagline .dot {
    font-size: 0.6rem;
    opacity: 0.7;
}

.brand-subtitle {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--gray-600);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* --- Divider --- */
.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--maroon-light) 50%, transparent 100%);
    opacity: 0.3;
}

.divider-icon {
    color: var(--gold);
    display: flex;
    align-items: center;
    animation: rotateStar 8s linear infinite;
}

@keyframes rotateStar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Message Section --- */
.message-section {
    text-align: center;
    margin-bottom: 32px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(139, 26, 43, 0.08);
    border: 1px solid rgba(139, 26, 43, 0.15);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--maroon);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rose);
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(194, 24, 91, 0.4);
    }
    50% { 
        transform: scale(1.2); 
        box-shadow: 0 0 0 8px rgba(194, 24, 91, 0);
    }
}

.message-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.message-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-600);
    max-width: 440px;
    margin: 0 auto;
}

.message-text strong {
    color: var(--maroon);
    font-weight: 600;
}

/* --- Countdown Section --- */
.countdown-section {
    text-align: center;
    margin-bottom: 32px;
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
    padding: 14px 8px;
    background: linear-gradient(145deg, rgba(139, 26, 43, 0.06), rgba(139, 26, 43, 0.02));
    border: 1px solid rgba(139, 26, 43, 0.1);
    border-radius: 16px;
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.time-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 26, 43, 0.1);
}

.time-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--maroon-dark);
    line-height: 1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.time-label {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
}

.time-separator {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--maroon-light);
    opacity: 0.4;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0; }
}

/* --- Services Section --- */
.services-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.service-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(139, 26, 43, 0.04);
    border: 1px solid rgba(139, 26, 43, 0.1);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--gray-800);
    transition: all 0.3s var(--transition-smooth);
    cursor: default;
}

.service-chip svg {
    color: var(--maroon);
    flex-shrink: 0;
}

.service-chip:hover {
    background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
    color: var(--white);
    border-color: var(--maroon);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 26, 43, 0.25);
}

.service-chip:hover svg {
    color: var(--white);
}

/* --- Contact Section --- */
.contact-section {
    text-align: center;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
}

.phone-btn {
    background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(139, 26, 43, 0.3);
}

.phone-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 26, 43, 0.4);
    background: linear-gradient(135deg, var(--maroon), var(--rose));
}

.instagram-btn {
    background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(225, 48, 108, 0.3);
}

.instagram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.4);
}

.location-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-600);
    opacity: 0.8;
}

.location-info svg {
    color: var(--maroon-light);
}

/* --- Footer --- */
.footer {
    margin-top: 24px;
    text-align: center;
}

.footer p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.5px;
}

/* --- Responsive Design --- */
@media (max-width: 640px) {
    .main-container {
        padding: 16px 12px;
    }

    .glass-card {
        padding: 36px 24px;
        border-radius: 22px;
    }

    .brand-name {
        font-size: 2.75rem;
    }

    .brand-tagline {
        font-size: 0.72rem;
        gap: 8px;
        letter-spacing: 2px;
        padding: 6px 18px;
    }

    .message-title {
        font-size: 1.4rem;
    }

    .message-text {
        font-size: 0.88rem;
    }

    .countdown-timer {
        gap: 4px;
    }

    .time-block {
        min-width: 60px;
        padding: 10px 6px;
    }

    .time-value {
        font-size: 1.4rem;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .floating-shape {
        filter: blur(60px);
        opacity: 0.1;
    }

    .shape-1 { width: 250px; height: 250px; }
    .shape-2 { width: 200px; height: 200px; }
    .shape-3 { width: 120px; height: 120px; }
    .shape-4 { width: 160px; height: 160px; }
    .shape-5 { width: 100px; height: 100px; }
}

@media (max-width: 380px) {
    .glass-card {
        padding: 28px 18px;
    }

    .brand-name {
        font-size: 2.2rem;
    }

    .time-block {
        min-width: 52px;
        padding: 8px 4px;
    }

    .time-value {
        font-size: 1.2rem;
    }

    .service-chip {
        font-size: 0.72rem;
        padding: 6px 12px;
    }
}

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Print Styles --- */
@media print {
    body {
        background: white;
    }

    .floating-elements,
    #particles-canvas {
        display: none;
    }

    .glass-card {
        backdrop-filter: none;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        border: 1px solid #ddd;
    }
}
