/* Specifični stilovi za usluge.html */
.service-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1599351431403-64b3608dc088') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 5rem;
}

.service-hero h1 {
    font-size: 4rem;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    animation: slideIn 1s ease-out;
}

.detailed-services {
    padding: 0 10% 5rem;
}

.service-category {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.service-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-category h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--accent);
    transition: height 0.3s ease;
}

.service-item:hover::before {
    height: 100%;
}

.service-item h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
}

.service-item .price {
    color: var(--accent);
    font-weight: bold;
}

.service-item p {
    color: var(--dark);
    line-height: 1.6;
}

.service-duration {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #666;
}

.booking-section {
    background: var(--secondary);
    color: white;
    padding: 4rem 10%;
    text-align: center;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    margin-top: 3rem;
}

.booking-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background: rgba(255,255,255,0.9);
}

.form-submit {
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(252, 163, 17, 0.3);
}

.form-submit:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(252, 163, 17, 0.4);
}
/* Specifični stilovi za galerija.html */
.gallery-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1587909209111-5097ee578ec3') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 5rem;
}

.gallery-hero h1 {
    font-size: 4rem;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    animation: slideIn 1s ease-out;
}

.gallery-container {
    padding: 0 10% 5rem;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    background: var(--light);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-tab:hover, .gallery-tab.active {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    aspect-ratio: 1/1;
    transform-style: preserve-3d;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    z-index: 10;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.before-after {
    position: relative;
    overflow: hidden;
}

.before-after img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-after .before {
    z-index: 1;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.before-after .after {
    z-index: 2;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.before-after:hover .before {
    animation: slideLeft 1.5s forwards;
}

.before-after:hover .after {
    animation: slideRight 1.5s forwards;
}

@keyframes slideLeft {
    to { clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%); }
}

@keyframes slideRight {
    to { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
}

.video-gallery {
    margin-top: 5rem;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateX(0);
    transition: all 0.5s ease;
}

.video-item:hover {
    transform: perspective(1000px) rotateX(10deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(252, 163, 17, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 1.5rem;
    margin-left: 5px;
}

.video-thumbnail:hover .play-button {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.5rem;
    background: white;
}

.video-info h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    width: 80%;
    max-width: 1000px;
    position: relative;
    transform: scale(0.8);
    animation: modalAppear 0.3s forwards;
}

@keyframes modalAppear {
    to { transform: scale(1); }
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.modal-video {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}
:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #fca311;
    --light: #e6e6e6;
    --dark: #0f0f1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

/* Navigacija sa 3D efektima */
nav {
    background-color: var(--primary);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform-style: preserve-3d;
    transform: translateZ(50px);
}

nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

nav a.active {
    color: var(--accent);
}

nav a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero sekcija sa paralaks efektom */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1585747860715-ebba7e41a937') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
    z-index: 1;
}

.hero-content {
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    transform: translateZ(50px);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    transform: translateZ(30px);
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    transform: translateZ(40px);
    box-shadow: 0 4px 15px rgba(252, 163, 17, 0.3);
}

.btn:hover {
    transform: translateY(-5px) scale(1.05) translateZ(40px);
    box-shadow: 0 8px 25px rgba(252, 163, 17, 0.4);
}

/* O nama sekcija */
.about {
    padding: 5rem 10%;
    background-color: var(--light);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--primary);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 4px;
    background: var(--accent);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Sekcija usluga sa flip kartama */
.services {
    padding: 5rem 10%;
    background-color: var(--primary);
    color: white;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
    margin: -3rem 0;
    position: relative;
    z-index: 1;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent);
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.5s;
    transform-style: preserve-3d;
    height: 400px;
    position: relative;
    cursor: pointer;
}

.service-card:hover {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-front {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    align-items: center;
    text-align: center;
}

.card-front i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.card-front h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card-back {
    background: white;
    color: var(--dark);
    transform: rotateY(180deg);
    text-align: center;
}

.card-back h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-back .price {
    font-size: 2rem;
    color: var(--accent);
    font-weight: bold;
    margin: 1rem 0;
}

/* Galerija sa animiranim prijelazima */
.gallery {
    padding: 8rem 10% 5rem;
    background-color: var(--light);
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Testimonijali */
.testimonials {
    padding: 5rem 10%;
    background-color: var(--secondary);
    color: white;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent);
}

.testimonial-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.testimonial {
    min-width: 300px;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    scroll-snap-align: start;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s ease;
}

.testimonial:hover {
    transform: perspective(1000px) rotateY(10deg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--accent);
}

.testimonial-rating {
    color: var(--accent);
    margin-top: 0.5rem;
}

/* CTA sekcija */
.cta {
    padding: 5rem 10%;
    background-color: var(--light);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Footer sa 3D efektima */
footer {
    background-color: var(--primary);
    color: var(--light);
    padding: 3rem 10%;
    text-align: center;
    transform-style: preserve-3d;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    transform: translateZ(20px);
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 1rem;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--accent);
    transform: translateY(-5px) rotate(15deg) scale(1.2);
}

.copyright {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    transform: translateZ(10px);
}

/* Animacija za naslove */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

h2 {
    animation: slideIn 1s ease-out forwards;
}

/* Responsive dizajn */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav a {
        margin: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
    }
    
    .service-container {
        grid-template-columns: 1fr;
    }
    
    .testimonial-container {
        flex-direction: column;
    }
    
    .testimonial {
        min-width: auto;
    }
}