/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #0A1E3F;
    background-color: #FFFFFF;
}

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

/* Header */
.header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(10, 30, 63, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #0A1E3F;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #27C499;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #0A1E3F;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0A1E3F 0%, #1a3a6b 100%);
    color: #FFFFFF;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #27C499;
    color: #FFFFFF;
    border-color: #27C499;
}

.btn-primary:hover {
    background-color: #22a67e;
    border-color: #22a67e;
}

.btn-secondary {
    background-color: #F3F5F9;
    color: #0A1E3F;
    border-color: #F3F5F9;
}

.btn-secondary:hover {
    background-color: #e5e9f0;
    border-color: #e5e9f0;
}

.btn-outline {
    background-color: transparent;
    color: #0A1E3F;
    border-color: #0A1E3F;
}

.btn-outline:hover {
    background-color: #0A1E3F;
    color: #FFFFFF;
}

/* Hosting Highlight */
.hosting-highlight {
    background-color: #F3F5F9;
    padding: 60px 0;
}

.hosting-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.hosting-item h3 {
    color: #0A1E3F;
    font-size: 1.5rem;
    font-weight: 600;
}

.hosting-note {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hosting-note p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.hosting-note .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #0A1E3F;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}



.portfolio-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    text-align: center;
    display: block;
}

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

.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: block;
}

.portfolio-caption {
    font-weight: 500;
    color: #0A1E3F;
}

.portfolio-link {
    text-align: center;
}

.link-primary {
    color: #27C499;
    text-decoration: none;
    font-weight: 500;
}

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

/* About Section */
.about {
    padding: 80px 0;
    background-color: #F3F5F9;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.counters {
    display: flex;
    gap: 3rem;
}

.counter {
    text-align: center;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #27C499;
    margin-bottom: 0.5rem;
}

.counter-label {
    color: #0A1E3F;
    font-weight: 500;
}

.about-video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(10, 30, 63, 0.15);
    background-color: #f0f0f0;
    /* Optimizovano za uspravne snimke telefona (9:16 aspect ratio) */
    aspect-ratio: 9/16;
    max-width: 280px;
    margin: 0 auto;
    display: block;
}

/* Fallback stilovi ako video ne može da se učita */
.about-video:not([src]) {
    background-image: linear-gradient(135deg, #27C499 0%, #0A1E3F 100%);
    position: relative;
}

.about-video:not([src])::after {
    content: "Video se učitava...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 500;
    text-align: center;
}

/* Packages Section */
.packages {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.package-card {
    background-color: #FFFFFF;
    border: 2px solid #F3F5F9;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.package-card.popular {
    border-color: #27C499;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #27C499;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.package-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0A1E3F;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #27C499;
    margin-bottom: 2rem;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #F3F5F9;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.packages-note {
    text-align: center;
    margin-top: 2rem;
}

.packages-note p {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: #F3F5F9;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #27C499;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0A1E3F;
}

.process-step p {
    color: #666;
}

/* Why Choose Us */
.why-choose {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: #F3F5F9;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0A1E3F;
}

.feature-card p {
    color: #666;
}

/* CTA Banner */
.cta-banner {
    background-color: #0A1E3F;
    color: #FFFFFF;
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #F3F5F9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #FFFFFF;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #27C499;
}

.form-group select {
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Footer */
.footer {
    background-color: #0A1E3F;
    color: #FFFFFF;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section .small {
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */

@media (max-width: 1024px) {
    .hosting-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hosting-note {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hosting-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hosting-note {
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-video {
        height: 350px;
        max-width: 250px;
    }
    
    .counters {
        justify-content: center;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.popular {
        transform: none;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-video {
        height: 300px;
        max-width: 200px;
    }
    
    .package-card {
        padding: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem 0.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}