/* Reset in osnovni stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header in navigacija */
.main-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.main-nav {
    padding: 1rem 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ecf0f1;
    margin: 3px 0;
    transition: 0.3s;
}

/* Landing page */
.landing-page {
    margin-top: 80px;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/slika1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.app-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.app-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-link:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.app-store-button {
    display: flex;
    align-items: center;
    background: #000;
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-width: 200px;
    height: 60px;
    box-sizing: border-box;
}

.store-logo {
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-subtitle {
    font-size: 10px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.store-title {
    font-size: 18px;
    font-weight: 600;
}

/* Google Play Store specific styles */
.google-play .google-play-logo {
    width: 24px;
    height: 24px;
    fill: #00dc82;
}

/* Apple App Store specific styles */
.apple-store .apple-logo {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Features section */
.features {
    padding: 4rem 0;
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.feature-card .firmware-version {
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background-color: #d5f4e6;
    border-radius: 8px;
    display: inline-block;
}

/* Social links */
.social-links {
    padding: 4rem 0;
    background: #ecf0f1;
}

.social-links h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 2rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.social-link {
    background: #3498db;
    color: white;
    text-decoration: none;
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

/* Settings page */
.settings-page {
    margin-top: 80px;
    padding: 2rem 0;
}

.settings-page h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.intro-text {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.warning-box p {
    color: #856404;
    margin: 0;
}

.settings-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.settings-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
}

.setting-item {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ecf0f1;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item h3 {
    color: #34495e;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.setting-item p {
    color: #7f8c8d;
    line-height: 1.7;
}

.setting-item strong {
    color: #e74c3c;
    font-weight: 600;
}

.sub-setting {
    margin-left: 2rem;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 3px solid #bdc3c7;
}

.sub-setting h4 {
    color: #34495e;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    background: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2c3e50;
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .app-links {
        flex-direction: column;
        align-items: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .settings-page h1 {
        font-size: 2rem;
    }

    .sub-setting {
        margin-left: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .feature-card,
    .settings-section,
    .intro-text {
        padding: 1.5rem;
    }
}

/* FAQ page styles */
.main-content {
    margin-top: 100px;
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.faq-section {
    max-width: 900px;
    margin: 2rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-item h2 {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1.5rem 2rem;
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.faq-answer {
    padding: 2rem;
}

.faq-answer p {
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-answer ol,
.faq-answer ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer li {
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.faq-answer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive FAQ styles */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .faq-item h2 {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
    
    .faq-answer {
        padding: 1.5rem;
    }
    
    .faq-answer ol,
    .faq-answer ul {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .faq-item h2 {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .faq-answer {
        padding: 1rem;
    }
}