.header {
    background: #fff;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header img {
    height: auto; /* Adjust as needed */
    width: 100px;
}

.main-content {
    background: #000;
    min-height: 80vh;
    padding: 40px 0;
    position: relative;
}

.main-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.main-image {
    max-width: 30%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

@keyframes pulsate {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 1.5px 6px rgba(255,255,255,0.08) inset;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.07);
        box-shadow: 0 12px 32px rgba(255,235,59,0.25), 0 1.5px 12px rgba(255,255,255,0.12) inset;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 1.5px 6px rgba(255,255,255,0.08) inset;
    }
}

.grafiti-btn {
    background: none;
    border: none;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 55%; /* Lowered from 50% */
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 1.5px 6px rgba(255,255,255,0.08) inset;
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
    border-radius: 18px;
    overflow: hidden;
    border: 4px solid #000; /* Black outline */
}

.grafiti-btn:hover,
.grafiti-btn:focus {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 10px 32px rgba(0,0,0,0.55), 0 0 16px #fff17699;
    outline: none;
}

.grafiti-btn img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    pointer-events: none;
}

.grafiti-btn .btn-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 8px #000, 0 0 8px #ffeb3b, 0 0 4px #000;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
    filter: brightness(1.15);
}

.hiphop-btn {
    background: none;
    border: 4px solid #000;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 65%; /* Lowered from 60% */
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 1.5px 6px rgba(255,255,255,0.08) inset;
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
    border-radius: 18px;
    overflow: hidden;
}

.hiphop-btn:hover,
.hiphop-btn:focus {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 10px 32px rgba(0,0,0,0.55), 0 0 16px #fff17699;
    outline: none;
}

.hiphop-btn img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    pointer-events: none;
}

.hiphop-btn .btn-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 8px #000, 0 0 8px #ffeb3b, 0 0 4px #000;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
    filter: brightness(1.15);
}

.breakdance-btn {
    background: none;
    border: 4px solid #000;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 75%; /* Lowered from 70% */
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 1.5px 6px rgba(255,255,255,0.08) inset;
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
    border-radius: 18px;
    overflow: hidden;
}

.breakdance-btn:hover,
.breakdance-btn:focus {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 10px 32px rgba(0,0,0,0.55), 0 0 16px #fff17699;
    outline: none;
}

.breakdance-btn img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    pointer-events: none;
}

.breakdance-btn .btn-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 8px #000, 0 0 8px #ffeb3b, 0 0 4px #000;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
    filter: brightness(1.15);
}

.prijavnica-btn-wrapper {
    position: absolute;
    top: 50%;
    right: 10vw;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 10;
    gap: 12px;
}

.prijavnica-btn {
    position: static;
    margin: 0 8px;
    padding: 18px 48px;
    font-size: 1.4rem;
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
    font-weight: 900;
    color: #111;
    background: linear-gradient(90deg, #f5e7c4 0%, #e0c28a 100%);
    border: 3px solid #fff;
    border-radius: 32px;
    box-shadow: 0 0 32px 8px #f5e7c488, 0 8px 32px #000a;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 10;
    transition: 
        transform 0.18s cubic-bezier(.4,2,.6,1),
        box-shadow 0.18s,
        background 0.18s;
    text-decoration: none; /* For anchor styling */
    display: inline-block; /* For anchor styling */
    text-align: center;
}

.prijavnica-btn:hover,
.prijavnica-btn:focus {
    background: linear-gradient(90deg, #fffbe6 0%, #e0c28a 100%);
    transform: scale(1.08);
    outline: none;
    box-shadow: 0 0 64px 16px #fffbe6cc, 0 12px 40px #000c;
}

.arrow {
    font-size: 2.2rem;
    font-weight: bold;
    color: #e0c28a;
    text-shadow: 0 0 12px #fffbe6, 0 0 8px #000;
    animation: arrow-bounce 1.2s infinite alternate;
    user-select: none;
    pointer-events: none;
}

.arrow-left {
    transform: rotate(0deg); /* Now points toward the button */
    margin-right: -8px;
    animation-delay: 0s;
}

.arrow-right {
    transform: rotate(0deg);
    margin-left: -8px;
    animation-delay: 0.6s;
}

@keyframes arrow-bounce {
    0% { transform: translateY(0) rotate(0deg);}
    100% { transform: translateY(-8px) rotate(0deg);}
}

/* Adjust for right arrow */
.arrow-right {
    transform: rotate(-10deg);
}
@keyframes arrow-bounce-right {
    0% { transform: translateY(0) rotate(-0deg);}
    100% { transform: translateY(-8px) rotate(-0deg);}
}
.arrow-right {
    animation-name: arrow-bounce-right;
}

.grafiti-info {
    position: absolute;
    left: 6vw;
    top: 50%;
    transform: translateY(-50%);
    width: 36vw;
    max-width: 420px;
    background: rgba(20, 20, 20, 0.92);
    color: #f5e7c4;
    padding: 32px 28px 28px 28px;
    border-radius: 22px;
    box-shadow: 0 4px 32px #000a;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.grafiti-info h2 {
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffe6b3;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.grafiti-info .instructor {
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffb300;
    margin-bottom: 14px;
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px #fffbe6, 0 2px 8px #000a;
}

.grafiti-info p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.08rem;
    color: #f5e7c4;
    margin-bottom: 10px;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.hiphop-info {
    position: absolute;
    left: 6vw;
    top: 50%;
    transform: translateY(-50%);
    width: 36vw;
    max-width: 420px;
    background: rgba(20, 20, 20, 0.92);
    color: #f5e7c4;
    padding: 32px 28px 28px 28px;
    border-radius: 22px;
    box-shadow: 0 4px 32px #000a;
    font-family: 'Lato', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.18rem;
    letter-spacing: 0.01em;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: 700;
    text-align: left;
}

.hiphop-info h2 {
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffe6b3;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hiphop-info .instructor {
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffb300;
    margin-bottom: 14px;
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px #fffbe6, 0 2px 8px #000a;
}

.hiphop-info p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.08rem;
    color: #f5e7c4;
    margin-bottom: 10px;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.back-btn {
    position: absolute;
    top: 32px;
    left: 32px;
    padding: 12px 28px 12px 18px;
    background: linear-gradient(90deg, #232323 60%, #444 100%);
    color: #f5e7c4;
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 24px;
    border: 2px solid #e0c28a;
    box-shadow: 0 2px 16px #000a;
    text-decoration: none;
    letter-spacing: 1px;
    z-index: 100;
    transition: background 0.18s, color 0.18s, transform 0.18s;
    display: inline-block;
}
.back-btn:hover,
.back-btn:focus {
    background: linear-gradient(90deg, #444 0%, #232323 100%);
    color: #ffe6b3;
    transform: scale(1.06);
    outline: none;
    border-color: #ffe6b3;
}

.hiphop-instructors-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 56px 36px; /* Increase vertical gap (row-gap) */
    max-width: 1100px;
    margin: 48px auto 0 auto;
    padding: 18px 0;
    min-height: 420px;
}

.instructor-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 240px;
}

.instructor-name {
    color: #fff;
    font-family: 'Lato', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px #000, 0 0 4px #000;
    word-break: break-word;
    line-height: 1.2;
}

/* Adjust image width for new wrapper */
.instructor-img img {
    width: 100%;
    height: 240px;
    max-width: 240px;
    min-width: 180px;
    border-radius: 6px;
    box-shadow: 0 2px 16px #000a;
    background: #181818;
    object-fit: contain;
    background-color: #181818;
    transition: transform 0.18s, box-shadow 0.18s;
}

.hiphop-instructors-gallery img {
    flex: 1 1 240px;
    max-width: 240px;
    min-width: 180px;
    height: 240px;
    border-radius: 6px; /* Less round, more edgy */
    box-shadow: 0 2px 16px #000a;
    background: #181818;
    object-fit: contain;
    background-color: #181818;
    transition: transform 0.18s, box-shadow 0.18s;
    border: 2px solid #fff; /* Add this for testing */
}

.hiphop-instructors-gallery img:hover {
    transform: scale(1.07) rotate(-2deg);
    box-shadow: 0 6px 32px #ffe6b3cc, 0 2px 16px #000c;
}

.footer {
    background: #111;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 70px;
    padding: 18px 0 12px 0;
    width: 100%;
    margin-top: 0;
    border-top: 1px solid #222;
    font-family: 'Montserrat', 'Lato', Arial, sans-serif;
}

.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    position: relative;
    top: -8px; /* Move icons higher */
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    width: auto;
    height: auto;
    transition: transform 0.18s;
    position: relative;
    overflow: visible;
    text-decoration: none; /* Prevent underline on icons */
}

.footer-social:visited,
.footer-social:active,
.footer-social:focus {
    text-decoration: none; /* Prevent underline on icons for all states */
    outline: none;
}

.footer-icon {
    font-size: 2.4rem; /* Make icons larger */
    color: #fff;
    transition: color 0.18s, filter 0.18s, transform 0.18s;
    filter: drop-shadow(0 2px 8px #000a);
}

.footer-social.facebook .footer-icon {
    color: #1877F2;
}

.footer-social.instagram .footer-icon {
    color: #E1306C;
}

.footer-social:hover .footer-icon {
    filter: brightness(1.2) drop-shadow(0 0 8px #fffbe6);
    color: #fff;
}

.footer-right {
    position: absolute;
    right: 32px;
    bottom: 38px; /* Move text higher */
    font-size: 1.08rem;
    color: #f5e7c4;
    font-family: 'Montserrat', 'Lato', Arial, sans-serif;
    opacity: 0.85;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Responsive adjustments for main layout and images */
@media (max-width: 1100px) {
    .grafiti-info,
    .hiphop-info {
        width: 48vw;
        max-width: 95vw;
        left: 3vw;
        padding: 24px 12px 20px 12px;
    }
    .main-image {
        max-width: 50%;
    }
    .main-image-container {
        margin-bottom: 18px;
    }
    .hiphop-instructors-gallery {
        max-width: 98vw;
        gap: 36px 16px;
    }
    .instructor-img {
        width: 180px;
    }
    .instructor-img img {
        max-width: 180px;
        min-width: 120px;
        height: 180px;
    }
}

@media (max-width: 800px) {
    .grafiti-info,
    .hiphop-info {
        position: static;
        transform: none;
        margin: 24px auto 0 auto;
        left: 0;
        top: 0;
        width: 94vw;
        max-width: 98vw;
        padding: 18px 8px 16px 8px;
    }
    .main-image {
        max-width: 80vw;
    }
    .main-image-container {
        margin-bottom: 12px;
    }
    .hiphop-instructors-gallery {
        gap: 28px 8px;
        max-width: 100vw;
        padding: 8px 0;
    }
    .instructor-img {
        width: 120px;
    }
    .instructor-img img {
        max-width: 120px;
        min-width: 80px;
        height: 120px;
    }
    .footer-center {
        gap: 24px;
    }
    .footer-right {
        right: 12px;
        bottom: 28px;
        font-size: 0.98rem;
    }
    .prijavnica-btn-wrapper {
        right: 2vw;
        gap: 6px;
    }
}

@media (max-width: 600px) {
    .header img {
        width: 70px;
    }
    .main-content {
        padding: 18px 0 60px 0;
    }
    .main-image {
        max-width: 98vw;
        border-radius: 8px;
    }
    .main-image-container {
        margin-bottom: 8px;
    }
    .grafiti-info,
    .hiphop-info {
        font-size: 0.98rem;
        padding: 10px 4vw 10px 4vw;
        border-radius: 12px;
        margin: 12px auto 0 auto;
    }
    .hiphop-instructors-gallery {
        gap: 18px 4px;
        padding: 4px 0;
    }
    .instructor-img {
        width: 90px;
    }
    .instructor-img img {
        max-width: 90px;
        min-width: 60px;
        height: 90px;
        border-radius: 4px;
    }
    .footer {
        min-height: 54px;
        padding: 10px 0 6px 0;
    }
    .footer-center {
        gap: 14px;
        top: -2px;
    }
    .footer-icon {
        font-size: 1.5rem;
    }
    .footer-right {
        right: 6px;
        bottom: 18px;
        font-size: 0.85rem;
    }
    .prijavnica-btn-wrapper {
        top: unset;
        bottom: 18px;
        left: 50%;
        right: unset;
        transform: translateX(-50%);
        position: fixed;
        z-index: 100;
        width: auto;
    }
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 16px 8px 12px;
        font-size: 0.95rem;
        border-radius: 16px;
    }
}

/* Ensure buttons and arrows are touch-friendly */
.prijavnica-btn,
.grafiti-btn,
.hiphop-btn,
.breakdance-btn,
.footer-social {
    touch-action: manipulation;
}