* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

#loader {
    display: var(--loader-display, flex);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3d3020, #5a4a2a);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#loader.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.loader-logo {
    width: 200px;
    height: 200px;
    position: relative;
    margin-bottom: 40px;
    background-image: url('../images/traikovi_logo.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: rotate 2s linear infinite;
}

.logo-ring:nth-child(1) {
    border-top-color: #d4a855;
    border-right-color: #d4a855;
    animation-duration: 2s;
}

.logo-ring:nth-child(2) {
    border-bottom-color: #f5e6d3;
    border-left-color: #f5e6d3;
    animation-duration: 3s;
    animation-direction: reverse;
}

.logo-ring:nth-child(3) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: #8b7355;
    animation-duration: 2.5s;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 18px;
    letter-spacing: 4px;
    color: #d4a855;
    margin-bottom: 20px;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.progress-bar {
    width: 300px;
    height: 4px;
    background: rgba(212, 168, 85, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4a855, #f5e6d3);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(212, 168, 85, 0.5);
}

.progress-percent {
    font-size: 28px;
    font-weight: bold;
    color: #f5e6d3;
    letter-spacing: 2px;
}

#main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#main-content.visible {
    opacity: 1;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 50px;
    background: rgba(10, 10, 10, 0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 70px;
    height: 70px;
    background-image: url('../images/traikovi_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #d4a855, #f5e6d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a855;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.page-header {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, #3d3020, #5a4a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.cta-button {
    padding: 18px 45px;
    background: linear-gradient(135deg, #d4a855, #f5e6d3);
    color: #2a1f10;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 168, 85, 0.4);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #d4a855;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(61, 48, 32, 0.3);
    border: 1px solid rgba(212, 168, 85, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a855;
    background: rgba(61, 48, 32, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.section-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ccc;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #ccc;
    margin-top: -40px;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #3d3020 100%);
    padding: 60px 50px 30px;
    border-top: 1px solid rgba(212, 168, 85, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #d4a855;
    margin-bottom: 20px;
    font-size: 24px;
}

.footer-section h4 {
    color: #d4a855;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d4a855;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 168, 85, 0.1);
}

.footer-bottom p {
    color: #888;
    font-size: 14px;
    margin: 5px 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 50px) rotate(90deg); }
    50% { transform: translate(0, 100px) rotate(180deg); }
    75% { transform: translate(-50px, 50px) rotate(270deg); }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }
    
    nav.scrolled {
        padding: 10px 20px;
    }
    
    .nav-links {
        gap: 20px;
        font-size: 12px;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    footer {
        padding: 40px 20px 20px;
    }
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.social-btn span {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
}

.social-btn.facebook {
    color: #ccc;
}

.social-btn.facebook:hover {
    background: #3d3020;
    transform: translateX(5px);
}

.social-btn.instagram {
    color: #ccc;
}

.social-btn.instagram:hover {
    background: #3d3020;
    transform: translateX(5px);
}

.social-btn.booking {
    color: #ccc;
}

.social-btn.booking:hover {
    background: #3d3020;;
    transform: translateX(5px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #d4a855;
    border-radius: 2px;
}

@media (max-width: 480px) {
    .hamburger {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1000;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        right: 20px;
        background: rgba(10,10,10,0.95);
        flex-direction: column;
        width: 200px;
        display: none;
        padding: 10px;
        border-radius: 8px;
        gap: 15px;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 14px;
    }
}