:root {
    --primary: #1a3a52;
    --secondary: #5e8ca1;
    --accent: #c9a45c;
    --light: #f7f9fb;
    --dark: #0d1b24;
    --text: #2c3e4a;
    --white: #ffffff;
    --shadow: 0 8px 32px rgba(13, 27, 36, 0.12);
    --shadow-lg: 0 16px 48px rgba(13, 27, 36, 0.18);
    --radius: 12px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}

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

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

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

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

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

/* Navigation */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-logo span {
    color: var(--accent);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

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

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 800"><path fill="%235e8ca133" d="M0,500 C300,400 500,600 720,500 C940,400 1140,600 1440,500 L1440,800 L0,800 Z"/><path fill="%23c9a45c22" d="M0,600 C360,500 600,700 900,580 C1200,460 1320,620 1440,600 L1440,800 L0,800 Z"/></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 60px 0;
}

.hero-badge {
    background: var(--accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero h1 {
    color: var(--white);
    max-width: 700px;
}

.hero-text {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    border-color: var(--white);
    color: var(--white);
}

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

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

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--light);
}

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

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-gradient {
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    margin-top: 16px;
    color: var(--secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Story Flow Section */
.story-block {
    padding: 80px 0;
}

.story-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.story-content.reverse {
    flex-direction: row-reverse;
}

.story-text {
    flex: 1;
}

.story-text h2 {
    margin-bottom: 20px;
}

.story-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.story-image {
    flex: 1;
    position: relative;
}

.story-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.story-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--accent);
    border-radius: var(--radius);
    z-index: -1;
}

/* Problem Section */
.problem-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    flex: 1;
    min-width: 280px;
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
}

.problem-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.problem-card p {
    color: var(--text);
    line-height: 1.7;
}

/* Benefits */
.benefits-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.benefit-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.benefit-item h3 {
    margin-bottom: 12px;
}

/* Testimonials */
.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    color: var(--primary);
    font-size: 1rem;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--secondary);
}

/* Services / Pricing */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.pricing-card.featured::before {
    content: 'Priljubljen';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 30px;
    text-align: center;
    color: var(--white);
}

.pricing-header h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.pricing-body {
    padding: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

.pricing-card .btn {
    width: 100%;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--accent) 0%, #d4b36a 100%);
    padding: 80px 40px;
    text-align: center;
    border-radius: var(--radius);
    margin: 60px auto;
    max-width: 1000px;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-banner .btn:hover {
    background: var(--dark);
    color: var(--white);
}

/* Form */
.form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.form-wrapper h3 {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8ecef;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 16px 20px;
    z-index: 999;
    transform: translateY(100%);
    transition: var(--transition);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.sticky-cta p {
    color: var(--white);
    font-weight: 500;
}

.sticky-cta .btn {
    white-space: nowrap;
}

/* Stats */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--secondary);
}

/* Process Steps */
.process-timeline {
    position: relative;
    padding: 40px 0;
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-content h3 {
    margin-bottom: 12px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .nav-logo {
    color: var(--white);
    margin-bottom: 16px;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    padding: 24px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    display: none;
    max-width: 500px;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner h4 {
    margin-bottom: 12px;
}

.cookie-banner p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* Thanks Page */
.thanks-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.thanks-content {
    max-width: 600px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b36a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--white);
}

.thanks-content h1 {
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--secondary);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Page */
.about-intro {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-intro-text {
    flex: 1;
}

.about-intro-image {
    flex: 1;
}

.about-intro-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.team-member {
    text-align: center;
    max-width: 280px;
}

.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--secondary);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
}

.team-member h3 {
    margin-bottom: 8px;
}

.team-member span {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* Contact Page */
.contact-grid {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1.2;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
}

.contact-item h4 {
    margin-bottom: 6px;
}

/* Legal Pages */
.legal-content {
    padding: 80px 0;
}

.legal-content h2 {
    margin: 40px 0 20px;
    font-size: 1.6rem;
}

.legal-content h3 {
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0 16px 30px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* Services Page */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.service-detail {
    display: flex;
    gap: 50px;
    padding: 60px 0;
    border-bottom: 1px solid #e8ecef;
}

.service-detail:nth-child(even) {
    flex-direction: row-reverse;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h3 {
    margin-bottom: 16px;
}

.service-detail-content p {
    margin-bottom: 16px;
}

.service-detail-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin: 20px 0;
}

.service-detail-image {
    flex: 1;
}

.service-detail-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 992px) {
    .story-content,
    .story-content.reverse,
    .about-intro,
    .contact-grid,
    .service-detail,
    .service-detail:nth-child(even) {
        flex-direction: column;
    }

    .story-image::before {
        display: none;
    }

    .section {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        display: none;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid #e8ecef;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .sticky-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .stats-row {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .pricing-card.featured::before {
        display: none;
    }

    .cta-banner {
        padding: 50px 25px;
        margin: 40px 20px;
    }

    .footer-grid {
        gap: 30px;
    }

    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .process-step {
        flex-direction: column;
        gap: 20px;
    }
}
