/* ejajko.cz - Custom Styles */

:root {
    --primary: #fda300;
    --primary-dark: #e89300;
    --secondary: #ed1385;
    --accent: #1fc1df;
    --green: #4ba545;
    --yellow: #ffd70e;
    --bg-light: #FFFDF5;
    --text-dark: #2D3436;
    --text-muted: #636E72;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.text-primary {
    color: var(--primary) !important;
}

/* Navbar */
.navbar-brand img {
    height: 36px;
    width: auto;
}

/* Nav Links */
.nav-link-styled {
    font-weight: 600;
    color: var(--text-dark) !important;
    border-radius: 8px;
    padding: 8px 14px !important;
    margin: 0 2px;
    transition: background 0.2s, color 0.2s;
}

.nav-link-styled:hover {
    background: var(--primary);
    color: white !important;
}

.nav-link-styled i {
    margin-right: 4px;
}

.nav-link-logout {
    font-weight: 600;
    color: #dc3545 !important;
    border-radius: 8px;
    padding: 8px 14px !important;
    transition: background 0.2s, color 0.2s;
}

.nav-link-logout:hover {
    background: #dc3545;
    color: white !important;
}

.nav-link-register {
    font-weight: 600;
    background: var(--primary);
    color: white !important;
    border-radius: 8px;
    padding: 8px 14px !important;
    transition: background 0.2s;
}

.nav-link-register:hover {
    background: var(--primary-dark);
    color: white !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff4d6 0%, #fff9e6 100%);
    color: var(--text-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg-light);
    border-radius: 50% 50% 0 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
}

.hero .lead {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 15px;
}

/* Dashboard Cards */
.dash-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.child-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
    transition: transform 0.2s;
}

.child-card:hover {
    transform: translateX(5px);
}

/* Auth Forms */
.auth-container {
    max-width: 450px;
    margin: 60px auto;
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-card h2 {
    color: var(--primary);
    font-weight: 700;
}

/* QR Code Display */
.qr-container {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.login-code {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 6px;
    color: var(--primary);
    background: var(--bg-light);
    padding: 15px 30px;
    border-radius: 12px;
    display: inline-block;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Doporučujeme';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Stats */
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

/* Alerts */
.alert-custom {
    border-radius: 12px;
    border: none;
}

/* Step Badges */
.step-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Phone Mockup */
.phone-mockup {
    max-width: 280px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 6px solid #222;
    background: #222;
}

.phone-mockup .carousel-inner {
    border-radius: 26px;
    overflow: hidden;
}

.phone-mockup .carousel-control-prev-icon,
.phone-mockup .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    padding: 12px;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 14px;
    background-size: 50%;
}

/* Article */
.article-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--yellow));
    margin-bottom: 20px;
}

.article-header-icon i {
    font-size: 32px;
    color: #fff;
}

.article-intro {
    background: linear-gradient(135deg, #fff8e8, #fff4d6);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.article-intro p {
    font-size: 1.1rem;
}

.article-intro .article-highlight {
    color: var(--primary);
}

.article-divider {
    opacity: 0.1;
}

.article-section .step-badge i {
    font-size: 20px;
}

.article-tipbox {
    border-left: 4px solid;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 16px 0;
}

.article-tipbox-label {
    font-weight: 600;
    font-size: 0.85rem;
}

.article-tipbox--accent {
    background: rgba(31, 193, 223, 0.08);
    border-color: var(--accent);
}

.article-tipbox--accent .article-tipbox-label {
    color: var(--accent);
}

.article-tipbox--secondary {
    background: rgba(237, 19, 133, 0.06);
    border-color: var(--secondary);
}

.article-tipbox--secondary .article-tipbox-label {
    color: var(--secondary);
}

.article-tipbox--primary {
    background: rgba(253, 163, 0, 0.1);
    border-color: var(--primary);
}

.article-tipbox--primary .article-tipbox-label {
    color: var(--primary-dark);
}

.article-danger-tag {
    display: inline-block;
    background: #fff5f5;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.9rem;
    width: 100%;
}

.article-compare-good {
    background: #f0faf0;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    height: 100%;
}

.article-compare-bad {
    background: #fff5f5;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    height: 100%;
}

.article-compare-good i,
.article-compare-bad i {
    font-size: 24px;
}

.article-conclusion {
    background: linear-gradient(135deg, #f8f9fa, #eef6ee);
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.article-conclusion .article-conclusion-cta {
    color: var(--green);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0;
    }

    .auth-container {
        margin: 30px auto;
        padding: 0 15px;
    }
}
