/* ==========================================================================
   CSS Reset i osnovni stilovi
   ========================================================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Boje */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary-color: #0f172a;
    --secondary-color-light: #324b85;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --light-color: #f8fafc;
    --light-gray: #e2e8f0;
    --medium-gray: #94a3b8;
    --dark-gray: #475569;
    --success-color: #10b981;
    --danger-color: #ef4444;
    
    /* Fontovi */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Inter', sans-serif;
    
    /* Sjenke */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Animacije */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    color: var(--secondary-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
   .contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #132231 0%, #01172e 100%);
    position: relative;
}

/* Contact Header */
.contact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.contact-subtitle {
    display: inline-block;
    background-color: rgba(78, 127, 233, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.contact-title {
    font-size: 2.5rem;
    color: var(--secondary-color-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Content */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Form */
.contact-form-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--light-gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.form-label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 14px 16px;
    border-left: 0px solid var(--light-gray);
    border-right: 0px solid var(--light-gray);
    border-top: 0px solid var(--light-gray);
    border-bottom: 2px solid var(--light-gray);
    border-style: solid;
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--secondary-color);
    transition: all var(--transition-fast);
    background: white;
    width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--medium-gray);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox */
.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.5;
    cursor: pointer;
    flex: 1;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Error Messages */
.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--danger-color);
}

/* Form Actions */
.form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px;
    border-radius: var(--radius-md);
}

.form-note {
    font-size: 0.85rem;
    color: var(--medium-gray);
    text-align: center;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 40px;
    background: white;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.success-text {
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Contact Info */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 35px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
}

.contact-info-header {
    margin-bottom: 30px;
    text-align: center;
}

.contact-info-header h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-info-header p {
    color: var(--medium-gray);
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.1rem;
}

.contact-details h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-link {
    display: block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 5px;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-text {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: 3px;
}

/* Contact Social */
.contact-social {
    border-top: 1px solid var(--light-gray);
    padding-top: 25px;
    text-align: center;
}

.contact-social h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Contact FAQ */
.contact-faq {
    background: white;
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
}

.contact-faq h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: none;
    border: none;
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 0 15px;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ==========================================================================
   Responsive Design - Simplified and Fixed
   ========================================================================== */

/* Tablet and Smaller Desktops */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 600px;
    }
    
    .contact-header {
        margin-bottom: 40px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
}

/* Mobile - All improvements in one clean media query */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 15px;
    }
    
    .container {
        padding: 0;
        max-width: 100%;
    }
    
    .contact-header {
        margin-bottom: 40px;
        padding: 0;
    }
    
    .contact-title {
        font-size: 1.8rem;
        line-height: 1.3;
        padding: 0;
    }
    
    .contact-description {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0;
    }
    
    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .contact-form-container {
        width: 100%;
        margin: 0;
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .contact-form {
        gap: 20px;
    }
    
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: white;
    }
    
    .form-select {
        background-position: right 15px center;
    }
    
    .checkbox-group {
        align-items: flex-start;
        gap: 12px;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .btn-submit {
        padding: 18px;
        font-size: 1rem;
    }
    
    .contact-info-container {
        width: 100%;
        gap: 25px;
    }
    
    .contact-info-card {
        width: 100%;
        margin: 0;
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .contact-info-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 15px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-faq {
        width: 100%;
        margin: 0;
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .faq-question {
        padding: 12px 0;
        font-size: 0.95rem;
    }
    
    .success-message {
        padding: 30px 20px;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .success-title {
        font-size: 1.5rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .contact-section {
        padding: 50px 12px;
    }
    
    .contact-title {
        font-size: 1.6rem;
    }
    
    .contact-form-container,
    .contact-info-card,
    .contact-faq {
        padding: 20px 16px;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    .faq-question {
        font-size: 0.9rem;
        padding: 10px 0;
    }
}

/* iOS Specific Fixes */
@supports (-webkit-touch-callout: none) {
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px !important;
    }
    
    .form-select {
        padding-right: 40px;
    }
}

/* Prevent horizontal scroll */
.contact-section,
.contact-content,
.contact-form-container,
.contact-info-container {
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
   .features-section {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: scale(1.1);
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all var(--transition-normal);
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.feature-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-description {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.feature-details-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    transition: gap var(--transition-fast);
}

.feature-details-btn:hover {
    gap: 15px;
}

.feature-details-btn i {
    font-size: 0.8rem;
    transition: transform var(--transition-fast);
}

.feature-details-btn:hover i {
    transform: translateX(3px);
}

/* Feature Modal */
.feature-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-modal.active {
    display: block;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    max-width: 800px;
    margin: 50px auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xxl);
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--medium-gray);
    transform: rotate(90deg);
}

.modal-close i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.modal-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-icon i {
    font-size: 1.5rem;
    color: white;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin: 0;
}

.modal-body {
    padding: 30px 40px;
}

.modal-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.modal-features {
    margin-bottom: 30px;
}

.modal-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
}

.modal-features li i {
    color: var(--success-color);
}

.modal-screenshot {
    margin-top: 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-screenshot img {
    width: Auto;
    height: 100%;
    display: block;
}

.modal-footer {
    padding: 20px 40px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 70px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .modal-content {
        margin: 20px;
        max-height: 85vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 25px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 50px 0;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .modal-content {
        margin: 10px;
        border-radius: var(--radius-lg);
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

/* ==========================================================================
   App Showcase Section
   ========================================================================== */
   .app-showcase {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}

.section-subtitle {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* App Features */
.app-features {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-bottom: 80px;
}

.app-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-feature.reversed {
    direction: rtl;
}

.app-feature.reversed > * {
    direction: ltr;
}

.app-feature-content {
    padding: 20px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 25px;
}

.feature-badge i {
    font-size: 1.1rem;
}

.app-feature-content h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.app-feature-content p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-gray);
}

.feature-list i {
    color: var(--success-color);
    font-size: 0.9rem;
}

/* App Feature Visual */
.app-feature-visual {
    position: relative;
}

.screenshot-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--light-gray);
    transition: transform var(--transition-normal);
}

.app-feature:hover .screenshot-frame {
    transform: translateY(-10px);
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-normal);
}

.screenshot-frame:hover .screenshot-img {
    transform: scale(1.03);
}

.screenshot-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

/* Screenshot Gallery */
.screenshot-gallery {
    margin-top: 100px;
}

.gallery-title {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 320px;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.gallery-item-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-caption {
    font-size: 1rem;
    font-weight: 600;
}

/* Responsivnost */
@media (max-width: 992px) {
    .app-showcase {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .app-feature {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .app-feature.reversed {
        direction: ltr;
    }
    
    .app-feature-content {
        text-align: center;
    }
    
    .feature-list {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .app-showcase {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .app-features {
        gap: 70px;
    }
    
    .app-feature-content h3 {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .section-header {
        margin-bottom: 50px;
    }
    
    .app-feature {
        gap: 30px;
    }
    
    .gallery-item {
        height: 300px;
    }
}

/* ==========================================================================
   Trust Cards Section
   ========================================================================== */
   .trust-section {
    padding: 80px 0;
    background-color: var(--light-color);
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.trust-title {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 50px;
    font-family: var(--heading-font);
}

.trust-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--light-gray);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trust-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.trust-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.trust-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.trust-card:hover .trust-card-image img {
    transform: scale(1.05);
}

.trust-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.trust-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-family: var(--heading-font);
    line-height: 1.3;
}

.trust-card-subtitle {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-card-subtitle::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
}

.trust-card-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--light-gray);
}

.stars {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.rating-text {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Badge za popularno */
.trust-card-popular {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

/* Opcionalno: Dodajte hover efekat sa dodatnim informacijama */
.trust-card-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-normal);
    color: white;
}

.trust-card:hover .trust-card-hover {
    opacity: 1;
}

/* Responsivnost */
@media (max-width: 1200px) {
    .trust-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .trust-section {
        padding: 60px 0;
    }
    
    .trust-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .trust-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .trust-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .trust-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .trust-section {
        padding: 50px 0;
    }
    
    .trust-card-image {
        height: 160px;
    }
    
    .trust-card-content {
        padding: 20px;
    }
    
    .trust-card-title {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Logo Styling
   ========================================================================== */
   .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

/* Logo u headeru */
.navbar .logo-img {
    height: 40px; /* Ista visina kao u footeru */
}

/* Logo u footeru */
.footer-brand .logo-img {
    height: 40px; /* Eksplicitno podesite istu visinu */
    width: auto;
    filter: brightness(0) invert(1); /* Za beli logo ako je potrebno */
}

.logo:hover {
    opacity: 0.9;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.5rem;
    color: inherit;
}

/* Za tamnu pozadinu (hero sekcija) */
.header .logo {
    color: var(--secondary-color);
}

/* Ako imate belu verziju loga za tamnu pozadinu */
.logo-img-white {
    display: none;
}

/* Responsivnost */

@media (max-width: 1100px) {
    .logo-img {
        height: 35px;
    }
}
@media (max-width: 768px) {
    .logo-img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Možda sakriti tekst na jako malim ekranima */
    .logo-text.hide-on-mobile {
        display: none;
    }
}

/* ==========================================================================
   Utility klasse
   ========================================================================== */
.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(37, 99, 235, 0.15);
    z-index: -1;
    border-radius: 2px;
}

/* ==========================================================================
   Dugmići
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    text-align: center;
    gap: 8px;
    font-family: var(--body-font);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-with-icon {
    padding: 14px 32px;
}

.btn i {
    font-size: 1.1em;
}

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Header i navigacija
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.4rem;
}

.logo-text {
    font-family: var(--heading-font);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray);
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: var(--radius-full);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 4px;
}

.menu-bar {
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

/* ==========================================================================
   Hero sekcija
   ========================================================================== */

   .hero {
    position: relative;
    color: white;
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Hero background sa visokokvalitetnom slikom */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        /* Modern coffee shop image */
        url('https://caupo.app/assets/CaupoHeader.webp')
        center/cover no-repeat;
}

/* Overlay za bolji kontrast */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(9, 27, 65, 0.6) 50%,
        rgba(15, 23, 42, 0.9) 100%
    );
    backdrop-filter: blur(2px);
}

/* Hero content */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero text */
.hero-text {
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.highlight {
    color: #60a5fa;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(96, 165, 250, 0.4);
    z-index: -1;
    border-radius: 2px;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 90%;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero actions */
.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Dugmići za tamnu pozadinu */
.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-number {
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-size: 2.2rem;
    font-weight: 700;
}

.stat-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

/* Hero visual sajt */
.hero-visual {
    position: relative;
    z-index: 1;
    animation: fadeInRight 1s ease-out 0.5s both;
}

.hero-image-container {
    position: relative;
    height: 500px;
}

/* Device mockups */
.device-mockup {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background-color: rgba(255, 255, 255, 0.342);
    transition: transform var(--transition-normal);
    z-index: 2;
}

.device-mockup:hover {
    transform: translateY(-10px) scale(1.02);
}

.device-mockup.tablet {
    width: 480px;
    height: 300px;
    top: 50px;
    left: 0;
}

.device-mockup.phone {
    width: 230px;
    height: 500px;
    top: 0;
    right: 10px;
}

/* Device screen content */
.device-screen {
    width: 100%;
    height: 100%;
    background-color: #1e293b88;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    color: white;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.app-order {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    color: white;
    padding: 5px 0;
}

.order-item.highlighted {
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-top: 5px;
}

.app-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.app-btn {
    flex: 1;
    padding: 10px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    font-family: var(--body-font);
}

.app-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

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

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

.notification {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    font-family: var(--body-font);
}

.notification i {
    color: var(--accent-color);
}

/* Floating elementi */
.floating-element {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    color: #323232;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    z-index: 3;
    font-weight: 500;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
    transition: all var(--transition-normal);
}

.floating-element:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.floating-element i {
    color: #323232;
}

.element-1 {
    top: 0;
    left: 50px;
    animation-delay: 0s;
}

.element-2 {
    top: 200px;
    right: 0;
    animation-delay: 0.5s;
}

.element-3 {
    bottom: 80px;
    left: 100px;
    animation-delay: 1s;
}

/* Animacije */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

/* Responsivnost */
@media (max-width: 1100px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .device-mockup.tablet {
        width: 340px;
        height: 240px;
    }
    
    .device-mockup.phone {
        width: 160px;
        height: 320px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-container {
        height: 440px;
    }
    
    .device-mockup.tablet {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .device-mockup.phone {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .device-mockup.tablet {
        width: 320px;
        height: 225px;
    }
    
    .device-mockup.phone {
        width: 150px;
        height: 300px;
        right: 10px;
    }
    
    .floating-element {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .element-1 {
        left: 20px;
    }
    
    .element-3 {
        left: 50px;
        bottom: 40px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image-container {
        height: 440px;
    }
    
    .device-mockup.tablet {
        width: 280px;
        height: 200px;
        top: 30px;
    }
    
    .device-mockup.phone {
        width: 130px;
        height: 260px;
        right: 5px;
    }
}

/* ==========================================================================
   Trust sekcija
   ========================================================================== */
.trust-section {
    padding: 60px 0;
    background-color: white;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.trust-title {
    text-align: center;
    color: var(--medium-gray);
    font-weight: 500;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.logo-placeholder {
    padding: 15px 30px;
    background-color: var(--light-gray);
    border-radius: var(--radius-md);
    color: var(--dark-gray);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.logo-placeholder:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-3px);
}

/* ==========================================================================
   CTA sekcija
   ========================================================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--medium-gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: white;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul li a {
    color: var(--medium-gray);
    transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--medium-gray);
}

.contact-info li i {
    color: var(--primary-light);
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 25px;
}

.legal-links a {
    color: var(--medium-gray);
    transition: color var(--transition-fast);
}

.legal-links a:hover {
    color: white;
}


/* ==========================================================================
   App Showcase - Mobile First Approach
   ========================================================================== */

/* Base styles (mobile first) */
.app-showcase {
    padding: 40px 0;
    background-color: white;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 100%;
    margin: 0 auto 30px;
    padding: 0 15px;
}

.section-subtitle {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.section-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
    padding: 0 10px;
}

.section-description {
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.5;
    padding: 0 10px;
}

/* App Features - mobile first */
.app-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.app-feature {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0 15px;
}

.app-feature-content {
    padding: 0;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.feature-badge i {
    font-size: 1rem;
}

.app-feature-content h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.app-feature-content p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.5;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.feature-list i {
    color: var(--success-color);
    font-size: 0.85rem;
}

/* Screenshot frame - mobile */
.screenshot-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
    margin: 0 5px;
}

.screenshot-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

/* Gallery - mobile */
.screenshot-gallery {
    margin-top: 50px;
    padding: 0 15px;
}

.gallery-title {
    text-align: center;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding: 0 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-item {
    height: 220px;
}

.gallery-item-inner {
    padding: 15px;
}

.gallery-overlay {
    padding: 15px;
}

/* Tablet styles */
@media (min-width: 576px) {
    .app-showcase {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .app-features {
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop styles */
@media (min-width: 992px) {
    .app-showcase {
        padding: 100px 0;
    }
    
    .section-header {
        max-width: 800px;
        margin: 0 auto 70px;
        padding: 0;
    }
    
    .section-subtitle {
        padding: 8px 20px;
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 2.5rem;
        padding: 0;
    }
    
    .section-description {
        font-size: 1.1rem;
        line-height: 1.7;
        padding: 0;
    }
    
    .app-features {
        gap: 100px;
        margin-bottom: 80px;
    }
    
    .app-feature {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        padding: 0;
    }
    
    .app-feature.reversed {
        direction: rtl;
    }
    
    .app-feature.reversed > * {
        direction: ltr;
    }
    
    .app-feature-content {
        padding: 20px;
    }
    
    .app-feature-content h3 {
        font-size: 1.8rem;
    }
    
    .app-feature-content p {
        font-size: 1.05rem;
    }
    
    .screenshot-frame {
        margin: 0;
        box-shadow: var(--shadow-xl);
    }
    
    .screenshot-gallery {
        margin-top: 100px;
        padding: 0;
    }
    
    .gallery-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .gallery-item {
        height: 300px;
    }
}

/* Large desktop */
@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Responsivnost (osnovna)
   ========================================================================== */
@media (max-width: 1100px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .device-mockup.tablet {
        width: 340px;
        height: 240px;
    }
    
    .device-mockup.phone {
        width: 160px;
        height: 320px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-container {
        height: 440px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        gap: 20px;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-actions .btn {
        width: 100%;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active .menu-bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active .menu-bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .menu-bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image-container {
        height: 440px;
    }
    
    .device-mockup.tablet {
        width: 280px;
        height: 200px;
        top: 30px;
    }
    
    .device-mockup.phone {
        width: 130px;
        height: 260px;
        right: 20px;
    }
    
    .floating-element {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .trust-logos {
        gap: 20px;
    }
    
    .logo-placeholder {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
/*////////////////////////////////////////////
/* POPUP MODAL */
/*///////////////////////////////////*/
.modal {
    display: none; /* skriven po defaultu */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    transition: all 0.3s ease-in-out;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 24px;
    border-radius: 8px;
    max-width: 600px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: relative;
    font-family: 'Inter', sans-serif;
}

.close-button {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    transition: color 0.2s;
}

.close-button:hover {
    color: #007bff;
}

.modal h2 {
    margin-top: 0;
    color: #1a202c;
}

.modal ul {
    padding-left: 20px;
    margin: 10px 0;
}

.modal p {
    line-height: 1.6;
}
