/**
 * e-Karta Site - Main Stylesheet
 * For public website pages
 */

:root {
    --primary: #0A84FF;
    --secondary: #64D2FF;
    --success: #30D158;
    --warning: #FF9500;
    --danger: #FF375F;
    --dark: #0a1628;
    --light: #f5f5f7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, #1a3a5c 100%);
    color: var(--light);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Page sections */
.page-header {
    padding: 40px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-height-50 {
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.section-height-100 {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Cards */
.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}

/* Buttons */
.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 132, 255, 0.4);
    color: white;
}

/* Images */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Text utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Containers */
.container {
    padding: 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 20px 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 20px;
    margin-top: 60px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-in {
    /* Start visible by default (for repeat visits) */
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in.first-visit {
    /* Only animate on first visit */
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}