/* ============================================
   ANIMIRANI TEKST U KRUG
   ============================================ */

.rotating-text-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
}

.rotating-text-svg {
    width: 100%;
    height: 100%;
    animation: rotateText 20s linear infinite;
}

.rotating-text {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 4px;
    fill: #00ff99;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: none;
}

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

/* Animacija samog SVG elementa */
.rotating-text-svg {
    transform-origin: center;
    animation: rotateSvg 30s linear infinite;
}

@keyframes rotateSvg {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   HERO SEKCIJA
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #00ff99 0%, #00ffcc 100%);
    color: #000;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 0 !important;
    margin: 0 !important;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-content .description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #000;
    color: #00ff99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* ============================================
   ABOUT SEKCIJA
   ============================================ */

.about-section {
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

/* ============================================
   WEB ALATI - GRID
   ============================================ */

.web-tools-section {
    background: #fafafa;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.tools-category {
    margin-bottom: 4rem;
}

.tools-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #000;
    border-bottom: 3px solid #00ff99;
    padding-bottom: 0.8rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.tool-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-top: 4px solid #00ff99;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 255, 153, 0.2);
    border-top-color: #00ffcc;
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 0.8rem;
}

.tool-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.tool-card > p:first-of-type {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.tool-card > p:nth-of-type(2) {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.tool-features {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.tool-features strong {
    display: block;
    margin-bottom: 0.6rem;
    color: #222;
    font-size: 0.98rem;
}

.tool-features ul {
    margin-left: 1.2rem;
    margin-bottom: 0;
}

.tool-features li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: #555;
}

.btn-link {
    background: linear-gradient(135deg, #00ff99 0%, #00ffcc 100%);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    align-self: flex-start;
}

.btn-link:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 255, 153, 0.3);
}

/* ============================================
   KONTAKT SEKCIJA
   ============================================ */

.contact-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
}

.contact-info {
    background: #fff;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 5px solid #0088ff;
}

.contact-info p {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.contact-info a {
    color: #0088ff;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 768px) {
    .rotating-text-container {
        width: 250px;
        height: 250px;
    }

    .rotating-text {
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .tool-card {
        padding: 1.5rem;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 480px) {
    .rotating-text-container {
        width: 200px;
        height: 200px;
        margin-bottom: 1.5rem;
    }

    .rotating-text {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

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

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .hero-content .description {
        font-size: 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tool-card {
        padding: 1.2rem;
    }

    .tool-icon {
        font-size: 2.5rem;
    }

    .tool-card h4 {
        font-size: 1.1rem;
    }
}

/* ============================================
   OSNOVNI STILOVI (ostatak)
   ============================================ */

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

*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.65;
    color: #222;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}

.section {
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #000;
    border-bottom: 3px solid #00ff99;
    padding-bottom: 1rem;
}

.section h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
    color: #222;
}

.section p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.section li {
    margin-bottom: 0.8rem;
}

/* Back to top */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background-color: #00ff99;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 255, 153, 0.4);
    transition: all 0.3s ease;
}

.back-to-top:hover, .back-to-top:focus {
    background-color: #00ffcc;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 255, 153, 0.5);
}

/* Footer */
.footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

/* Kolačići banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #232323 0%, #1a1a1a 100%);
    color: #fff;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem;
}

.cookie-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.cookie-desc {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.cookie-more {
    color: #00ff99;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 4px;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.accept-btn {
    background-color: #00ff99;
    color: #000;
}

.accept-btn:hover {
    background-color: #00ffcc;
}

.reject-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.reject-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Skip to content */
.pojo-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background-color: #000;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
}

.pojo-skip-link:focus {
    left: 0;
    outline: 3px solid #00ff99;
}
/* ============================================
   OSNOVNI RESET & ZAJEDNIČKI STILOVI
   ============================================ */

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.65;
    color: #222;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

/* ============================================
   SKIP TO CONTENT - PRISTUPAČNOST
   ============================================ */

.pojo-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background-color: #000;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 0 0 4px 0;
}

.pojo-skip-link:focus {
    left: 0;
    outline: 3px solid #00ff99;
    box-shadow: 0 0 10px rgba(0, 255, 153, 0.5);
}

/* ============================================
   KOLAČIĆI BANNER
   ============================================ */

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #232323 0%, #1a1a1a 100%);
    color: #fff;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem;
}

.cookie-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.cookie-desc {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.55;
}

.cookie-more {
    color: #00ff99;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    margin-left: 0.3rem;
}

.cookie-more:hover, .cookie-more:focus {
    color: #00ffcc;
    outline: 2px solid #00ff99;
    border-radius: 2px;
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 4px;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 120px;
}

.accept-btn {
    background-color: #00ff99;
    color: #000;
}

.accept-btn:hover, .accept-btn:focus {
    background-color: #00ffcc;
    outline: 2px solid #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 153, 0.4);
}

.reject-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.reject-btn:hover, .reject-btn:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: 2px solid #00ff99;
}

/* ============================================
   GLAVNI SADRŽAJ
   ============================================ */

.main-content {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header {
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #00ff99 0%, #00ffcc 100%);
    color: #000;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

.header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.85;
}

.section {
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.section:last-of-type {
    border-bottom: none;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #000;
    border-bottom: 3px solid #00ff99;
    padding-bottom: 0.8rem;
}

.section h3 {
    font-size: 1.25rem;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: #222;
}

.section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.pour-list, .section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.pour-list li, .section ul li {
    margin-bottom: 0.9rem;
    line-height: 1.7;
}

.section a {
    color: #0088ff;
    text-decoration: underline;
    transition: color 0.2s;
}

.section a:hover, .section a:focus {
    color: #00ff99;
    outline: 1px solid #0088ff;
    border-radius: 2px;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background-color: #00ff99;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 255, 153, 0.4);
    transition: all 0.3s ease;
}

.back-to-top:hover, .back-to-top:focus {
    background-color: #00ffcc;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 255, 153, 0.5);
    outline: 2px solid #000;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    max-width: 960px;
    margin: 2rem auto 0;
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DIZAJN - TABLET
   ============================================ */

@media (max-width: 768px) {
    .header {
        padding: 1.8rem 1.5rem;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 1.5rem;
    }

    .section h2 {
        font-size: 1.4rem;
    }

    .section h3 {
        font-size: 1.1rem;
    }

    .cookie-container {
        padding: 1.2rem;
    }

    .cookie-title {
        font-size: 1.05rem;
    }

    .cookie-desc {
        font-size: 0.9rem;
    }

    .cookie-buttons {
        gap: 0.6rem;
    }

    .cookie-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ============================================
   RESPONSIVE DIZAJN - MOBITEL
   ============================================ */

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    body {
        padding-bottom: 3rem;
    }

    .main-content {
        margin: 1rem auto;
        border-radius: 0;
    }

    .header {
        padding: 1.5rem 1rem;
        border-radius: 0;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .section {
        padding: 1.2rem;
        border-bottom: 1px solid #eee;
    }

    .section h2 {
        font-size: 1.2rem;
        padding-bottom: 0.6rem;
    }

    .section h3 {
        font-size: 1rem;
        margin-top: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .section p {
        font-size: 0.95rem;
        text-align: left;
    }

    .pour-list, .section ul {
        margin-left: 1.2rem;
    }

    .pour-list li, .section ul li {
        margin-bottom: 0.7rem;
        font-size: 0.95rem;
    }

    .cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .cookie-container {
        padding: 1rem;
    }

    .cookie-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .cookie-desc {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 0.6rem;
    }

    .cookie-btn {
        width: 100%;
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        bottom: 1rem;
        right: 1rem;
    }

    .footer {
        padding: 1.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   PRISTUPAČNOST - FOKUS STILOVI
   ============================================ */

button:focus, a:focus {
    outline-width: 2px;
    outline-style: solid;
    outline-color: #00ff99;
    border-radius: 2px;
}

/* ============================================
   KONTRAST I ČITLJIVOST
   ============================================ */

h1, h2, h3 {
    color: #000;
}

strong {
    font-weight: 600;
    color: #000;
}

/* ============================================
   HERO SEKCIJA
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #00ff99 0%, #00ffcc 100%);
    color: #000;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 0 !important;
    margin: 0 !important;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-content .description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #000;
    color: #00ff99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* ============================================
   ABOUT SEKCIJA
   ============================================ */

.about-section {
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

/* ============================================
   WEB ALATI - GRID
   ============================================ */

.web-tools-section {
    background: #fafafa;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.tools-category {
    margin-bottom: 4rem;
}

.tools-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #000;
    border-bottom: 3px solid #00ff99;
    padding-bottom: 0.8rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.tool-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-top: 4px solid #00ff99;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 255, 153, 0.2);
    border-top-color: #00ffcc;
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 0.8rem;
}

.tool-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.tool-card > p:first-of-type {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.tool-card > p:nth-of-type(2) {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.tool-features {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.tool-features strong {
    display: block;
    margin-bottom: 0.6rem;
    color: #222;
    font-size: 0.98rem;
}

.tool-features ul {
    margin-left: 1.2rem;
    margin-bottom: 0;
}

.tool-features li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: #555;
}

.btn-link {
    background: linear-gradient(135deg, #00ff99 0%, #00ffcc 100%);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    align-self: flex-start;
}

.btn-link:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 255, 153, 0.3);
}

/* ============================================
   KONTAKT SEKCIJA
   ============================================ */

.contact-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
}

.contact-info {
    background: #fff;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 5px solid #0088ff;
}

.contact-info p {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.contact-info a {
    color: #0088ff;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .tool-card {
        padding: 1.5rem;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }

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

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .hero-content .description {
        font-size: 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tool-card {
        padding: 1.2rem;
    }

    .tool-icon {
        font-size: 2.5rem;
    }

    .tool-card h4 {
        font-size: 1.1rem;
    }
}

/* PRISTUPAČNE KLASE */

/* Istakni naslove */
body.highlight-headings h1,
body.highlight-headings h2,
body.highlight-headings h3 {
  background: #ffff00 !important;
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
}

/* Istakni linkove */
body.highlight-links a {
  background: #ffcccc;
  padding: 0.2rem 0.4rem;
  border-radius: 2px;
  font-weight: bold;
}

/* Vođica za čitanje */
body.reading-guide-line {
  position: relative;
}

body.reading-guide-line::before {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  height: 30px;
  background: rgba(255, 255, 0, 0.2);
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5000;
}

/* ADHD modus */
body.adhd-friendly {
  background: #f5f5f5 !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
}

body.adhd-friendly .accessibility-widget {
  bottom: 20px;
  right: 20px;
}

/* Epilepsija sigurnost */
body.seizure-safe {
  filter: brightness(0.95);
}

body.seizure-safe * {
  animation: none !important;
  transition: none !important;
}

/* Pojačana saturacija */
body.high-saturation {
  filter: saturate(1.5);
}

/* Enhanced focus */
body.visual-focus *:focus {
  box-shadow: inset 0 0 0 3px #ff0000;
}

/* OpenDyslexic font */
@font-face {
  font-family: 'OpenDyslexic';
  src: url('https://cdn.jsdelivr.net/npm/opendyslexic/fonts/OpenDyslexic-Regular.ttf') format('truetype');
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* ============================================
   FLOATING WIDGETS - REORGANIZACIJA
   ============================================ */

/* Back to top - TOP DESNO */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 998;
  background-color: #00ff99;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 255, 153, 0.4);
  transition: all 0.3s ease;
}

.back-to-top:hover, .back-to-top:focus {
  background-color: #00ffcc;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 255, 153, 0.5);
}

/* STATISTIKA - MIDDLE DESNO */
.stats-widget {
  position: fixed;
  bottom: 150px;
  right: 20px;
  z-index: 997;
  font-family: Arial, sans-serif;
}

.stats-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8585 100%);
  border: 2px solid #000;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
  transition: all 0.3s ease;
}

.stats-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.6);
}

.stats-panel {
  position: fixed;
  bottom: 220px;
  right: 20px;
  width: 380px;
  max-height: 70vh;
  background: #fff;
  border: 2px solid #ff6b6b;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  z-index: 997;
  animation: slideUpStats 0.3s ease;
}

@keyframes slideUpStats {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stats-header {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8585 100%);
  color: #fff;
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000;
}

.stats-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.stats-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
}

.stats-close:hover {
  transform: rotate(90deg);
  transition: transform 0.2s;
}

.stats-content {
  padding: 1rem;
  max-height: calc(70vh - 60px);
  overflow-y: auto;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.stat-item:last-of-type {
  border-bottom: none;
}

.stat-label {
  font-weight: 600;
  color: #333;
}

.stat-value {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8585 100%);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: 700;
  min-width: 80px;
  text-align: center;
  font-size: 0.9rem;
}

.stat-divider {
  height: 2px;
  background: #ff6b6b;
  margin: 1rem 0;
  opacity: 0.3;
}

/* ACCESSIBILITY WIDGET - BOTTOM DESNO */
.accessibility-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 996;
  font-family: Arial, sans-serif;
}

.accessibility-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00ff99 0%, #00ffcc 100%);
  color: #000;
  border: 2px solid #000;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 255, 153, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accessibility-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 255, 153, 0.6);
}

.accessibility-toggle:focus {
  outline: 3px solid #000;
}

.accessibility-panel {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 450px;
  max-height: 75vh;
  background: #fff;
  border: 2px solid #00ff99;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  z-index: 996;
  animation: slideUp 0.3s ease;
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 600px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    bottom: 250px;
    right: 10px;
  }

  .stats-widget {
    bottom: 320px;
    right: 10px;
  }

  .stats-toggle {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .stats-panel {
    width: 95vw;
    bottom: 390px;
    right: 2.5vw;
    left: auto;
  }

  .accessibility-widget {
    bottom: 10px;
    right: 10px;
  }

  .accessibility-toggle {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .accessibility-panel {
    width: 95vw;
    bottom: 80px;
    right: 2.5vw;
    left: auto;
  }

  .stat-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .stat-value {
    width: 100%;
    text-align: right;
  }
}

@media (max-width: 400px) {
  .stats-toggle {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .accessibility-toggle {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .stats-header h3 {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .stat-value {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
}

/* ============================================
   TOOLTIP ZA PLUTAJUĆE ELEMENTE
   ============================================ */

.back-to-top::before,
.stats-toggle::before,
.accessibility-toggle::before {
  content: attr(title);
  position: absolute;
  bottom: 70px;
  right: 0;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.back-to-top:hover::before,
.stats-toggle:hover::before,
.accessibility-toggle:hover::before {
  opacity: 1;
}

/* ============================================
   ANIMACIJA REDOSLIJEDA PLUTAJUĆIH ELEMENATA
   ============================================ */

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   PRILAGODBA ZA MALI EKRAN
   ============================================ */

@media (max-height: 800px) {
  .back-to-top {
    bottom: 200px;
  }

  .stats-widget {
    bottom: 270px;
  }

  .stats-panel {
    bottom: 340px;
    max-height: 60vh;
  }

  .accessibility-panel {
    bottom: 80px;
    max-height: 60vh;
  }
}
