/* style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
}

body {
    background: #f7f5f2;
    color: #1e1e1e;
    line-height: 1.7;
    scroll-behavior: smooth;
}
html {
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ----- BOJE ----- */
:root {
    --dark-green: #1a3a2a;
    --dark-green-hover: #2a4f3a;
    --brick-orange: #c45a3a;
    --brick-orange-hover: #d46a4a;
    --bg-light: #f7f5f2;
    --card-bg: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #3d4a44;
    --border-light: #e0dbd4;
}

/* ----- BANNER ----- */
.top-banner {
    width: 100%;
    display: block;
    line-height: 0;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1312 / 771;
    object-fit: cover;
}

/* ----- NAVIGACIJA ----- */
.navbar {
    background: var(--dark-green);
    padding: 18px 0;
    border-bottom: 3px solid var(--brick-orange);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(4px);
    background: rgba(26, 58, 42, 0.96);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #e8e2d6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    transition: 0.2s;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--brick-orange);
    border-bottom-color: var(--brick-orange);
}

.nav-links .btn-outline {
    border: 2px solid var(--brick-orange);
    padding: 8px 22px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
    background: transparent;
    color: #f2efe8;
}

.nav-links .btn-outline:hover {
    background: var(--brick-orange);
    color: var(--dark-green);
    border-color: var(--brick-orange);
}

/* DROPDOWN */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    margin-left: 6px;
    font-size: 0.8rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-green);
    min-width: 220px;
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.08);
    z-index: 100;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: #e8e2d6;
    font-size: 0.9rem;
    border-bottom: none;
    text-transform: none;
    font-weight: 400;
}

.dropdown-menu a:hover {
    background: rgba(196, 90, 58, 0.2);
    color: var(--brick-orange);
    border-bottom: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* ----- HERO (CIJELI EKRAN) ----- */
.hero {
    background: var(--dark-green);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    border-bottom: 4px solid var(--brick-orange);
    position: relative;
    overflow: hidden;
}

.hero-bg-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.06;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    font-size: 12rem;
    color: #f2efe8;
    z-index: 1;
}

.hero-bg-icons i {
    margin: 0 20px;
    transform: rotate(10deg);
}
h2,h1 {
    text-transform: uppercase;
}

/* style.css - dio za hero centriranje */

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    text-align: center;
}

.hero-text h2 {
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #f2efe8;
}

.hero-text h2 i {
    color: var(--brick-orange);
    margin-right: 12px;
    font-size: 2.8rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: #d0ddd4;
    max-width: 800px;
    margin: 0 auto 36px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.btn-primary {
    background: var(--brick-orange);
    border: none;
    padding: 14px 38px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    color: #f2efe8;
    transition: 0.2s;
    cursor: pointer;
    display: inline-block;
    letter-spacing: 0.2px;
}

.btn-primary:hover {
    background: var(--brick-orange-hover);
    transform: scale(1.01);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #f2efe8;
    padding: 12px 36px;
    border-radius: 60px;
    font-weight: 500;
    color: #f2efe8;
    transition: 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--brick-orange);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image .main-icon {
    font-size: 12rem;
    color: var(--brick-orange);
    opacity: 0.95;
    background: rgba(196, 90, 58, 0.08);
    padding: 40px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.hero-image .side-icon {
    position: absolute;
    font-size: 3rem;
    color: var(--brick-orange);
    opacity: 0.4;
}

.hero-image .side-icon-1 { top: 10%; left: 5%; transform: rotate(-15deg); }
.hero-image .side-icon-2 { bottom: 15%; right: 8%; transform: rotate(20deg); }
.hero-image .side-icon-3 { top: 20%; right: 0%; transform: rotate(40deg); }
.hero-image .side-icon-4 { bottom: 5%; left: 0%; transform: rotate(-30deg); }

/* ----- SEKCIJE ----- */
.section {
    padding: 70px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--dark-green);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--brick-orange);
    border-radius: 4px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-top: 24px;
    margin-bottom: 40px;
    font-weight: 400;
}

/* ----- SPONZORI ----- */
.sponzori-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
}

.sponzori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 30px;
    
}

.sponzor-item {
    text-align: center;
    padding: 20px;
    background: #f7f5f2;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.sponzor-item:hover {
    border-color: var(--brick-orange);
    transform: translateY(-4px);
}

.sponzor-item i {
    font-size: 2.8rem;
    color: var(--brick-orange);
}

.sponzor-item span {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
}

/* ----- TRENERI ----- */
.treneri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.trener-card {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: 0.3s;
}

.trener-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -16px rgba(26, 58, 42, 0.12);
    border-color: var(--brick-orange);
}

.trener-image {
    background: #f0ece5;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 3rem;
    color: var(--brick-orange);
}

.trener-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 4px;
}

.trener-card .trener-role {
    color: var(--brick-orange);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.trener-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.trener-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.trener-social a {
    background: #f7f5f2;
    color: var(--dark-green);
    padding: 5px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.trener-social a:hover {
    background: var(--brick-orange);
    color: #ffffff;
}

/* ----- O NAMA ----- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-dark);
}

.about-text strong {
    color: var(--dark-green);
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    margin-top: 24px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.highlight-item i {
    font-size: 1.8rem;
    color: var(--brick-orange);
    background: #f0ece5;
    padding: 12px;
    border-radius: 16px;
    width: 56px;
    text-align: center;
}

.highlight-item strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-green);
}

.about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-image .main-about-icon {
    font-size: 8rem;
    color: var(--dark-green);
    background: #f0ece5;
    padding: 40px;
    border-radius: 40px;
}

.about-image .about-sub-icons {
    display: flex;
    gap: 20px;
    font-size: 2.4rem;
    color: var(--brick-orange);
}

/* ----- AKTUELNOSTI ----- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    border: 1px solid var(--border-light);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -16px rgba(26, 58, 42, 0.12);
    border-color: var(--brick-orange);
}

.news-card-header {
    padding: 24px 24px 12px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.news-card-header .news-icon {
    font-size: 2.4rem;
    color: var(--brick-orange);
    background: #f7f5f2;
    padding: 14px;
    border-radius: 20px;
    margin-right: 16px;
    flex-shrink: 0;
}

.news-card-header .news-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.news-card-header .news-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brick-orange);
    background: #f7f5f2;
    padding: 4px 14px;
    border-radius: 40px;
}

.news-card-header .news-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--dark-green);
    padding: 4px 14px;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-body {
    padding: 20px 24px 24px 24px;
    flex: 1;
}

.news-card-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-green);
    line-height: 1.3;
}

.news-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.news-card-body .btn-small {
    border: 1.5px solid var(--dark-green);
    padding: 6px 22px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: 0.2s;
    display: inline-block;
    color: var(--dark-green);
    background: transparent;
}

.news-card-body .btn-small:hover {
    background: var(--dark-green);
    color: #ffffff;
}

.news-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.news-card-footer i {
    color: var(--brick-orange);
    margin-right: 6px;
}

/* ----- MEĐUNARODNI TURNIR ----- */
.tournament-section {
    background: #f0ece5;
    border-radius: 60px;
    padding: 60px 50px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.tournament-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.tournament-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 16px;
}

.tournament-text h3 i {
    color: var(--brick-orange);
    margin-right: 12px;
}

.tournament-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

.tournament-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 20px 0 28px;
}

.tournament-highlights .th-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    padding: 8px 20px 8px 16px;
    border-radius: 40px;
    border: 1px solid var(--border-light);
}

.tournament-highlights .th-item i {
    color: var(--brick-orange);
    font-size: 1.4rem;
}

.tournament-highlights .th-item strong {
    font-weight: 600;
    color: var(--dark-green);
}

.tournament-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tournament-image i {
    font-size: 10rem;
    color: var(--brick-orange);
    background: rgba(196, 90, 58, 0.06);
    padding: 40px;
    border-radius: 50%;
}

/* ----- FACEBOOK SEKCIJA ----- */
.facebook-section {
    background: var(--dark-green);
    border-radius: 60px;
    padding: 60px 50px;
    margin: 30px 0;
    color: #f2efe8;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.facebook-section::before {
    content: '\f09a';
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
    font-size: 22rem;
    position: absolute;
    right: -20px;
    top: -30px;
    opacity: 0.04;
    color: #ffffff;
    transform: rotate(10deg);
}

.facebook-content {
    position: relative;
    z-index: 2;
}

.facebook-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.facebook-content p {
    color: #c5d5cd;
    max-width: 600px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
}

.facebook-content .btn-facebook {
    background: #1877f2;
    border: none;
    padding: 16px 44px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    transition: 0.2s;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.25);
}

.facebook-content .btn-facebook:hover {
    background: #1b8bf5;
    transform: scale(1.02);
}

.facebook-content .btn-facebook i {
    margin-right: 12px;
}

.facebook-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.facebook-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #d5ddd8;
}

.facebook-stats .stat-item i {
    color: var(--brick-orange);
    font-size: 1.2rem;
}

/* ----- GALERIJA (sa slikama) ----- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: 28px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--dark-green);
    transition: 0.3s;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #f0ece5;
}

.gallery-item:hover {
    border-color: var(--brick-orange);
    transform: scale(0.97);
}

.gallery-item span {
    font-size: 0.8rem;
    background: rgba(26, 58, 42, 0.85);
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 40px;
    margin-top: auto;
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 2;
}

.gallery-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    border-radius: 28px;
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay i {
    color: #ffffff;
    font-size: 2.8rem;
}

/* ----- KONTAKT ----- */
.contact-section {
    background: var(--dark-green);
    color: #f2efe8;
    border-radius: 60px 60px 0 0;
    padding: 70px 0 80px;
    margin-top: 30px;
}

.contact-section .section-title {
    color: #f2efe8;
}

.contact-section .section-title::after {
    background: var(--brick-orange);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info i {
    color: var(--brick-orange);
    margin-right: 16px;
    width: 28px;
}

.contact-info p {
    margin: 18px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    color: #d5ddd8;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    background: #2a4f3a;
    padding: 12px;
    border-radius: 40px;
    color: #f2efe8;
    font-size: 1.4rem;
    transition: 0.2s;
    width: 52px;
    text-align: center;
}

.social-links a:hover {
    background: var(--brick-orange);
    color: var(--dark-green);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 40px;
    background: #2a4f3a;
    margin-bottom: 18px;
    color: #f2efe8;
    font-size: 0.95rem;
    font-family: 'Space Grotesk', sans-serif;
    outline: 2px solid transparent;
    transition: 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a0b8ae;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--brick-orange);
    background: #1f3f32;
}

.contact-form .btn-primary {
    background: var(--brick-orange);
    color: #f2efe8;
    border: none;
    padding: 14px 44px;
}

.contact-form .btn-primary:hover {
    background: var(--brick-orange-hover);
}

/* ----- FOOTER ----- */
footer {
    background: #0d1f17;
    color: #a0b8ae;
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid #1f3f32;
    font-weight: 400;
    font-size: 0.9rem;
}

footer i {
    color: var(--brick-orange);
}

/* ----- RESPONZIVNOST ----- */
@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-bg-icons {
        display: none;
    }
    
    .hero-image .side-icon {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-title {
        text-align: center;
        display: block;
    }
    
    .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .tournament-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tournament-highlights {
        justify-content: center;
    }
    
    .tournament-section {
        padding: 40px 24px;
    }
    
    .facebook-section {
        padding: 40px 24px;
    }
    
    .facebook-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .gallery-item {
        height: 180px;
    }

    .banner-image {
        aspect-ratio: 1312 / 771;
    }

    .treneri-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-image .main-icon {
        font-size: 7rem;
        padding: 20px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .news-card-header {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .news-card-header .news-meta {
        align-items: flex-start;
        width: 100%;
    }
    
    .tournament-section {
        padding: 30px 16px;
        border-radius: 40px;
    }
    
    .facebook-section {
        padding: 30px 16px;
        border-radius: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .gallery-item span {
        font-size: 0.7rem;
        padding: 4px 14px;
    }

    .banner-image {
        aspect-ratio: 1312 / 771;
    }

    .dropdown-menu {
        min-width: 180px;
        right: 0;
        left: auto;
    }

    .sponzori-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }

    .sponzor-item {
        padding: 16px;
    }

    .treneri-grid {
        grid-template-columns: 1fr;
    }
}