* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Montserrat', sans-serif;
    background: linear-gradient(145deg, #eef5ff 0%, #d9e9ff 100%);
    color: #0a2b3e;
    line-height: 1.5;
}

:root {
    --blue-deep: #0A2F44;
    --blue-mid: #1C4E70;
    --blue-ocean: #2B6C8F;
    --blue-sky: #4791b0;
    --blue-ice: #B8D9F0;
    --white-blue: #f0f8ff;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Navigacija */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 47, 68, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(184, 217, 240, 0.25);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF, #B8D9F0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo span {
    font-weight: 500;
    font-size: 0.9rem;
    color: #B8D9F0;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #eef5ff;
    font-weight: 600;
    transition: 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: #B8D9F0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: #4791b0;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero sekcija sa slikom u pozadini */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(8,33,46,0.7), rgba(8,33,46,0.8)), url("gimnastika.jpg");
    background-size: cover;
    background-position: center 30%;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 30%, rgba(18,62,90,0.5), rgba(8,33,46,0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content .badge {
    background: rgba(71, 145, 176, 0.25);
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cae3f2;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(184,217,240,0.4);
}

.hero-content h1 {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
}

.hero-gradient-text {
    background: linear-gradient(to right, #ffffff, #8fcbff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #cfecff;
    margin: 1.8rem 0 2rem;
}

.btn-group {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-outline {
    padding: 1rem 2.2rem;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #1C4E70;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: #2B6C8F;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #4791b0;
    color: #eef5ff;
}

.btn-outline:hover {
    background: rgba(71,145,176,0.2);
    transform: translateY(-2px);
}

/* Sekcija naslovi */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(125deg, #0A2F44, #1C4E70);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-sub {
    text-align: center;
    color: #2B6C8F;
    margin-bottom: 3rem;
    font-weight: 500;
}

/* O nama - wrapper sa slikom */
.about-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.about-text-grid {
    flex: 1.5;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
}

.about-image {
    flex: 1;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 2rem;
    padding: 2rem;
    transition: 0.3s;
    border: 1px solid rgba(67, 125, 160, 0.3);
}

.about-card:hover {
    transform: translateY(-8px);
    background: white;
    border-color: #4791b0;
}

.about-icon {
    font-size: 2.5rem;
    color: #1C4E70;
    margin-bottom: 1.2rem;
}

/* Programi sa slikama */
.programs-section {
    background: linear-gradient(120deg, #eef3fc, #e2effa);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    text-align: center;
    padding-bottom: 1.5rem;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}

.program-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.program-card:hover .program-img img {
    transform: scale(1.05);
}

.program-icon {
    font-size: 2.5rem;
    background: #B8D9F0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: -35px auto 1rem;
    position: relative;
    z-index: 2;
    color: #0A2F44;
    border: 3px solid white;
}

.program-card h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #1C4E70;
}

.program-card p {
    padding: 0 1rem;
    color: #2c5a78;
}

/* Treneri sa slikama */
.coaches-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.coach-card {
    background: white;
    border-radius: 2rem;
    width: 260px;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0 15px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.coach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 35px rgba(0,0,0,0.12);
}

.coach-img {
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #4791b0;
}

.coach-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-card h4 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    color: #0A2F44;
}

.coach-card p {
    color: #2B6C8F;
    font-size: 0.9rem;
}

.coach-license {
    margin-top: 8px;
    font-size: 0.8rem;
}

/* CTA sekcija */
.cta {
    background: linear-gradient(115deg, #0A2F44, #124263);
    border-radius: 3rem;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-form {
    max-width: 550px;
    margin: 1.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row input, .contact-form select {
    flex: 1;
    padding: 1rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    background: #f0f8ff;
}

.submit-btn {
    background: #2B6C8F;
    border: none;
    cursor: pointer;
}

.submit-btn:hover {
    background: #4791b0;
}

.contact-info {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: #08212e;
    padding: 2rem 0;
    color: #9fc9e0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.social i {
    font-size: 1.5rem;
    margin: 0 0.6rem;
    color: #B8D9F0;
    transition: 0.2s;
}

.social i:hover {
    color: white;
    transform: scale(1.1);
}

.footer-copyright {
    font-weight: 600;
}

.footer-tagline {
    font-size: 0.8rem;
}

/* Animacije */
.fade-up {
    animation: fadeUp 0.7s ease-out forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .about-wrapper {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .nav-container {
        flex-direction: column;
        gap: 0.8rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    section {
        padding: 3rem 0;
    }
}