/* Reset i osnovni stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #fff;
    background-color: #0a0a0a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Fiksna navigacija */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid #333;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 60px;
    padding: 0 40px;
}

nav a {
    margin: 0 20px;
    font-weight: 600;
    transition: color 0.3s;
    color: #e0e0e0;
}

nav a:hover {
    color: #fff;
}

/* Language Toggle Button */
.lang-toggle {
    margin-left: 20px;
    padding: 8px 16px;
    background-color: transparent;
    border: 2px solid #00d4ff;
    border-radius: 6px;
    color: #00d4ff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.lang-toggle:hover {
    background-color: #00d4ff;
    color: #0a0a0a;
    transform: translateY(-2px);
}

.lang-toggle:active {
    transform: translateY(0);
}

.logo {
    font-family: 'Lexend', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #00d4ff;
    margin-right: auto;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 212, 255, 0.2);
}

/* Hero / početni layout */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    padding-top: 60px;
    padding-left: 80px;
    padding-right: 80px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(20, 20, 30, 0.8) 100%), url('https://source.unsplash.com/1600x900/?architecture,modern') center/cover no-repeat;
    color: #fff;
    gap: 60px;
}

.hero-content {
    text-align: left;
    max-width: 600px;
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    max-width: 600px;
    background: radial-gradient(circle, transparent 60%, rgba(10, 10, 20, 0.5) 80%, rgba(10, 10, 10, 0.95) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.08);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.05));
    position: relative;
    z-index: 0;
}

.hero-image img:hover {
    opacity: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    color: #b0b0b0;
}

/* Sekcije */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #0a0a0a;
}

section:nth-child(even) {
    background-color: #1a1a1a;
}

section:nth-child(3n) {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(100, 50, 150, 0.05) 100%);
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #c0c0c0;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 40px 20px;
    border-top: 1px solid #333;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

footer div {
    margin-bottom: 20px;
    flex: 1;
    min-width: 250px;
}

footer div:first-child {
    text-align: left;
}

footer div:last-child {
    text-align: right;
}

.footer-middle {
    text-align: center;
}

footer h3 {
    color: #fff;
    margin-bottom: 10px;
}

footer p {
    color: #a0a0a0;
}

footer a {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s;
}

footer a:hover {
    color: #e0e0e0;
}

.linkedin-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.linkedin-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.linkedin-link svg {
    display: block;
    transition: fill 0.3s ease;
}

.linkedin-link:hover svg {
    fill: #0095d9;
}

/* Subfooter */
.subfooter {
    background-color: #000;
    border-top: 1px solid #1a1a1a;
    padding: 15px 20px;
    text-align: center;
}

.subfooter p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

/* Accordions */
.accordions {
    max-width: 900px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.accordion-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: #1a1a1a;
    border: 1px solid #333;
}

.accordion-card:hover {
    transform: translateY(-5px);
}

.accordion-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.3s ease;
}

.accordion-card:hover .accordion-image {
    opacity: 0.7;
}

.accordion-title {
    padding: 20px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    background-color: #1a1a1a;
}

.accordion-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, 0.9);
}

.accordion-card:hover .accordion-dropdown {
    max-height: 400px;
    padding: 20px;
}

.accordion-dropdown p {
    text-align: left;
    color: #b0b0b0;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Old accordion styles - removing */
.accordion {
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #2a2a2a;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
}

.accordion-header.active::after {
    content: '−';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    background-color: rgba(255, 255, 255, 0.02);
}

.accordion-content.active {
    max-height: 300px;
    padding: 20px;
}

.accordion-content p {
    text-align: left;
    color: #b0b0b0;
    margin: 0;
}

/* Blog Styles */
.blog-hero {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(100, 50, 150, 0.08) 100%);
}

.blog-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
}

.blog-hero-content p {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto;
}

.blog-section {
    padding: 60px 20px 100px;
    background-color: #0a0a0a;
}

.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.blog-post {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-8px);
    border-color: #00d4ff;
}

.blog-post.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.blog-post.featured .blog-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.blog-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
}

.blog-post.featured .blog-image {
    height: 100%;
    min-height: 350px;
}

.blog-post:hover .blog-image {
    opacity: 0.8;
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.blog-post.featured .blog-content {
    padding: 40px;
    justify-content: center;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.blog-date {
    color: #888;
}

.blog-category {
    color: #00d4ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content h2,
.blog-content h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.5rem;
    line-height: 1.3;
}

.blog-post.featured .blog-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.blog-content p {
    color: #b0b0b0;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
    text-align: left;
}

.read-more {
    color: #00d4ff;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease;
}

.blog-post:hover .read-more {
    transform: translateX(5px);
}

.blog-pagination {
    max-width: 1200px;
    margin: 50px auto 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-link {
    padding: 10px 18px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.page-link:hover,
.page-link.active {
    background-color: #00d4ff;
    border-color: #00d4ff;
    color: #0a0a0a;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(100, 50, 150, 0.1) 100%);
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #00d4ff;
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: #00d4ff;
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-family: 'Inter', sans-serif;
}

.newsletter-form button:hover {
    background-color: #00b8e6;
    transform: translateY(-2px);
}

/* Blog Post Detail Page */
.blog-post-header {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.blog-post-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.blog-post-featured-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.blog-post-content p {
    color: #c0c0c0;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: left;
}

.blog-post-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.blog-post-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.blog-post-content ul,
.blog-post-content ol {
    color: #c0c0c0;
    margin-bottom: 20px;
    padding-left: 30px;
    line-height: 1.8;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.blog-post-content blockquote {
    border-left: 4px solid #00d4ff;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #b0b0b0;
}

.blog-cta {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(100, 50, 150, 0.1) 100%);
    border-radius: 12px;
    text-align: center;
}

.blog-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.blog-cta p {
    color: #b0b0b0;
    margin-bottom: 25px;
}

.blog-cta a {
    display: inline-block;
    padding: 15px 35px;
    background-color: #00d4ff;
    color: #0a0a0a;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.blog-cta a:hover {
    background-color: #00b8e6;
    transform: translateY(-2px);
}

/* Active navigation link */
nav a.active {
    color: #00d4ff;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }

    nav a {
        margin: 10px 0;
    }

    .hero {
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
        gap: 40px;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .accordions {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Blog Responsive */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-post.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .blog-post.featured .blog-link {
        grid-template-columns: 1fr;
    }

    .blog-post.featured .blog-image {
        min-height: 250px;
    }

    .blog-hero-content h1 {
        font-size: 2.2rem;
    }

    .blog-hero-content p {
        font-size: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .blog-post-header h1 {
        font-size: 2rem;
    }
}

/* Contact Form Styles */
.form-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
    border: 1px solid #00d4ff;
    display: block;
}

.form-message.error {
    background-color: rgba(255, 100, 100, 0.15);
    color: #ff6464;
    border: 1px solid #ff6464;
    display: block;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #0a0a0a;
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    padding: 15px 30px;
    background: #00d4ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #00b8e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Contact accordion specific styles */
#contact-accordion .accordion-dropdown {
    max-height: 0;
    padding: 0 20px;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

#contact-accordion.active .accordion-dropdown {
    max-height: 600px;
    padding: 20px;
}
