/**
 * Kako do nas CSS - Apartmani Šimićev
 * Stilovi za stranicu s uputama za dolazak
 */


/* POPRAVAK ZA KAKO DO NAS STRANICU - Dodaj ovo na vrh CSS-a */

/* Osiguraj da main content ima dovoljno prostora od vrha */
.directions-content {
    padding-top: 120px !important; /* Povećaj padding-top */
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 80px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(180deg, #0a0f1c 0%, #001e3c 50%, #0a0f1c 100%),
        radial-gradient(ellipse at top, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(0, 168, 255, 0.1) 0%, transparent 50%);
}

/* Popravak za map section */
.map-section {
    margin-top: 2rem;
    margin-bottom: 6rem;
}

/* Osiguraj da se section header vidi pravilno */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Popravak za navigaciju ako je potrebno */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999 !important; /* Osiguraj da je nav uvijek na vrhu */
    background: rgba(10, 30, 60, 0.95);
    backdrop-filter: blur(15px);
}

/* Dodaj clearfix za container */
.directions-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

/* Responsive popravci */
@media (max-width: 768px) {
    .directions-content {
        padding-top: 100px !important;
        padding-left: 3%;
        padding-right: 3%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .directions-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .directions-content {
        padding-top: 90px !important;
        padding-left: 2%;
        padding-right: 2%;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
}

/* Specifični popravak za hero sekciju ako postoji */
.directions-hero {
    margin-top: 0;
    padding-top: 140px !important;
}

/* Popravak za bilo kakav floating content */
.floating-content {
    position: relative;
    z-index: 1;
}

/* Osiguraj da se nema overflow problema */
body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Popravak za sticky header ako je potrebno */
.sticky-header {
    position: sticky;
    top: 80px;
    z-index: 10;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

/* Dodatni debug stilovi - ukloni nakon testiranja */
.debug-container {
    border: 2px solid red !important;
    background: rgba(255, 0, 0, 0.1) !important;
}

.debug-section {
    border: 1px solid yellow !important;
    background: rgba(255, 255, 0, 0.1) !important;
}

/* QUICK FIX - ako ni to ne pomaže, dodaj ovo: */
.page-content {
    margin-top: 80px !important;
    padding-top: 2rem !important;
}

.main-content {
    margin-top: 80px !important;
    padding-top: 2rem !important;
}

/* Specifično za kako-do-nas stranicu */
.kako-do-nas-content {
    margin-top: 80px !important;
    padding-top: 2rem !important;
}

/* Backup fallback */
.content-wrapper {
    margin-top: 80px !important;
    padding-top: 2rem !important;
    min-height: calc(100vh - 80px);
}


/* ========================================
   1. KEYFRAME ANIMACIJE
   ======================================== */

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.8; 
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.6; 
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes mapPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 168, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 20px 20px rgba(0, 168, 255, 0);
    }
}

@keyframes roadAnimation {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.5);
    }
}



/* ========================================
   3. QUICK INFO CARDS
   ======================================== */

.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: all 0.8s ease;
}

.info-card:hover::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 168, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #00a8ff;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
    background: rgba(0, 168, 255, 0.3);
    animation: float 2s ease-in-out infinite;
}

.info-card h3 {
    color: #00a8ff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

/* ========================================
   4. MAIN CONTENT
   ======================================== */

.directions-content {
    padding: 80px 5% 60px;
    min-height: 100vh;
    position: relative;
    
    /* Background slika sa overlay */
    background-image: 
        linear-gradient(180deg, rgba(10, 15, 28, 0.85) 0%, rgba(0, 30, 60, 0.8) 30%, rgba(10, 15, 28, 0.85) 100%),
        radial-gradient(ellipse at top left, rgba(0, 168, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(0, 102, 204, 0.08) 0%, transparent 50%),
        url('../images/slides/slide-3.jpg');
    
    background-size: cover, 100% 100%, 100% 100%, cover;
    background-position: center, top left, bottom right, center;
    background-repeat: no-repeat;
    background-attachment: fixed, fixed, fixed, fixed;
}

.directions-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   5. MAP SECTION
   ======================================== */

.map-section {
    margin-bottom: 6rem;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.interactive-map {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    background: linear-gradient(135deg, 
        rgba(0, 168, 255, 0.1) 0%, 
        rgba(0, 102, 204, 0.2) 50%, 
        rgba(0, 168, 255, 0.1) 100%
    );
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#google-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#google-map.loaded {
    opacity: 1;
}

.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    transition: opacity 0.5s ease;
}

.map-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 168, 255, 0.3);
    border-top: 3px solid #00a8ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.map-loading p {
    font-size: 1rem;
    margin: 0;
}

.static-map-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    height: 100%;
    width: 100%;
}

.location-marker {
    width: 80px;
    height: 80px;
    background: #00a8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.location-info h3 {
    color: #00a8ff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.location-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.map-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.map-button {
    background: #00a8ff;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.map-button:hover {
    background: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

.map-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.map-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.map-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.map-btn {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    justify-content: center;
}

.map-btn:hover {
    background: rgba(0, 168, 255, 0.7);
    transform: translateY(-2px);
}

.map-btn i {
    font-size: 1rem;
}

/* ========================================
   6. GPS INFO
   ======================================== */

.gps-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gps-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.gps-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.gps-card h4 {
    color: #00a8ff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.coordinates {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.coordinates span {
    background: rgba(0, 168, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Courier New', monospace;
    font-weight: 600;
    border: 1px solid rgba(0, 168, 255, 0.2);
}

.copy-btn {
    background: #00a8ff;
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.copy-btn:hover {
    background: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

.distance-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.distance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.distance-item:last-child {
    margin-bottom: 0;
}

.distance-item i {
    color: #00a8ff;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* ========================================
   7. TRANSPORT SECTION
   ======================================== */

.transport-section {
    margin-bottom: 6rem;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.transport-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.transport-card:nth-child(1) { animation-delay: 0.1s; }
.transport-card:nth-child(2) { animation-delay: 0.2s; }
.transport-card:nth-child(3) { animation-delay: 0.3s; }
.transport-card:nth-child(4) { animation-delay: 0.4s; }

.transport-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.transport-icon {
    background: rgba(0, 168, 255, 0.2);
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #00a8ff;
    position: relative;
    overflow: hidden;
}

.transport-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.8s ease;
}

.transport-card:hover .transport-icon::before {
    left: 100%;
}

.transport-card h3 {
    color: #00a8ff;
    font-size: 1.5rem;
    margin: 1.5rem 2rem 1rem;
    font-weight: 600;
}

.transport-content {
    padding: 0 2rem 2rem;
}

.route-info {
    margin-bottom: 2rem;
}

.route-info h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.route-info ol {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    padding-left: 1.2rem;
}

.route-info li {
    margin-bottom: 0.5rem;
}

.parking-info,
.airport-info,
.bus-info,
.ferry-info {
    background: rgba(0, 168, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #00a8ff;
}

.parking-info h4,
.airport-info h4,
.bus-info h4,
.ferry-info h4 {
    color: #00a8ff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transfer-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.transfer-option {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.transfer-option.preferred {
    border-color: #00a8ff;
    background: rgba(0, 168, 255, 0.1);
}

.transfer-option:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.transfer-option h5 {
    color: #00a8ff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-quick {
    margin-top: 1rem;
}

.phone-btn {
    background: #00a8ff;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    background: #0088cc;
    transform: translateY(-2px);
}

.bus-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.line-number {
    background: #00a8ff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.line-info strong {
    color: #00a8ff;
}

.bus-schedule,
.walking-option {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.bus-schedule h6,
.walking-option h5 {
    color: #00a8ff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ferry-routes ul {
    list-style: none;
    padding: 0;
}

.ferry-routes li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ferry-routes li:last-child {
    border-bottom: none;
}

.marina-info,
.transport-from-port {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.marina-info h5,
.transport-from-port h5 {
    color: #00a8ff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.option {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.option strong {
    color: #00a8ff;
}

/* ========================================
   8. LANDMARKS SECTION
   ======================================== */

.landmarks-section {
    margin-bottom: 6rem;
}

.landmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.landmark-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
}

.landmark-card:nth-child(1) { animation-delay: 0.1s; }
.landmark-card:nth-child(2) { animation-delay: 0.15s; }
.landmark-card:nth-child(3) { animation-delay: 0.2s; }
.landmark-card:nth-child(4) { animation-delay: 0.25s; }
.landmark-card:nth-child(5) { animation-delay: 0.3s; }
.landmark-card:nth-child(6) { animation-delay: 0.35s; }

.landmark-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 168, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.landmark-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 168, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #00a8ff;
    transition: all 0.3s ease;
}

.landmark-card:hover .landmark-icon {
    transform: scale(1.1);
    background: rgba(0, 168, 255, 0.3);
}

.landmark-card h4 {
    color: #00a8ff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.distance {
    background: rgba(0, 168, 255, 0.2);
    color: #00a8ff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.landmark-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* ========================================
   9. ARRIVAL SECTION
   ======================================== */

/* ========================================
   ARRIVAL SECTION - HORIZONTALNI LAYOUT
   ======================================== */

.arrival-section {
    margin-bottom: 6rem;
}

/* Glavni container - sada vertikalni */
.arrival-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: stretch;
}

/* Koraci u jednom redu */
.arrival-steps {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    overflow-x: auto; /* Za slučaj da ne stane na manje ekrane */
    padding: 1rem 0;
}

/* Pojedinačni korak */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 280px; /* Minimalna širina za čitljivost */
    flex: 1; /* Ravnomjerno dijeli prostor */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
    position: relative;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

/* Brojevi koraka */
.step-number {
    width: 60px;
    height: 60px;
    background: #00a8ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
    margin-bottom: 1.5rem;
    position: relative;
}

/* Strelice između koraka */
.step-number::after {
    content: '→';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 1rem;
    font-size: 1.8rem;
    color: #00a8ff;
    font-weight: bold;
    width: 30px;
    text-align: center;
}

/* Ukloni strelicu na zadnjem koraku */
.step:last-child .step-number::after {
    display: none;
}

/* Sadržaj koraka */
.step-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 100%;
}

.step-content:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 168, 255, 0.2);
}

.step-content h4 {
    color: #00a8ff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Contact options - kompaktnije */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-btn {
    background: #00a8ff;
    color: white;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

/* Tip box - kompaktniji */
.tip {
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
    padding: 0.8rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.tip i {
    color: #ffc107;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.tip span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* House features - kompaktnije */
.house-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.house-features span {
    background: rgba(0, 168, 255, 0.1);
    color: #00a8ff;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    border: 1px solid rgba(0, 168, 255, 0.2);
}

/* Welcome note - kompaktniji */
.welcome-note {
    background: rgba(0, 168, 255, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 3px solid #00a8ff;
    margin-top: 1rem;
}

.welcome-note p {
    margin: 0;
    font-size: 0.85rem;
}

.welcome-note strong {
    color: #00a8ff;
}

/* Emergency contact - sada ispod koraka */
.emergency-contact {
    background: rgba(255, 67, 87, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 67, 87, 0.3);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .arrival-steps {
        gap: 1rem;
    }
    
    .step {
        min-width: 250px;
    }
    
    .step-content {
        padding: 1.2rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 900px) {
    /* Na manjim ekranima prikaži 2x2 grid */
    .arrival-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        justify-items: center;
    }
    
    .step {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    /* Prilagodi strelice za grid layout */
    .step:nth-child(1) .step-number::after {
        content: '↓';
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .step:nth-child(2) .step-number::after {
        content: '↓';
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .step:nth-child(3) .step-number::after {
        content: '→';
        top: 50%;
        left: 100%;
        transform: translateY(-50%);
        margin-left: 1rem;
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    /* Na mobilu - vertikalno */
    .arrival-steps {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .step {
        width: 100%;
        max-width: 350px;
    }
    
    /* Sve strelice prema dolje na mobilu */
    .step-number::after {
        content: '↓' !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
        margin-top: 0.5rem !important;
    }
    
    .step:last-child .step-number::after {
        display: none;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .contact-options {
        flex-direction: column;
    }
    
    .house-features {
        flex-direction: column;
    }
}

/* Scrollbar za horizontalni scroll na vrlo malim ekranima */
.arrival-steps::-webkit-scrollbar {
    height: 6px;
}

.arrival-steps::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.arrival-steps::-webkit-scrollbar-thumb {
    background: #00a8ff;
    border-radius: 3px;
}

.arrival-steps::-webkit-scrollbar-thumb:hover {
    background: #0088cc;
}

/* ========================================
   10. EMERGENCY CONTACT
   ======================================== */

.emergency-contact {
    background: rgba(255, 67, 87, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 67, 87, 0.3);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 2rem;
}

.emergency-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.emergency-header i {
    color: #ff4757;
    font-size: 2rem;
}

.emergency-header h4 {
    color: #ff4757;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.emergency-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.emergency-phones {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.emergency-btn {
    background: #ff4757;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 67, 87, 0.4);
}

.emergency-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-style: italic;
}

/* ========================================
   11. WHAT3WORDS SECTION
   ======================================== */

.what3words-section {
    margin-bottom: 6rem;
}

.what3words-card {
    background: rgba(225, 29, 72, 0.1);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 2rem;
    border: 2px solid rgba(225, 29, 72, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.what3words-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(225, 29, 72, 0.2);
    background: rgba(225, 29, 72, 0.15);
}

.w3w-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.w3w-content {
    flex: 1;
}

.w3w-content h4 {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    color: #e11d48;
    margin-bottom: 1rem;
    font-weight: bold;
}

.w3w-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.w3w-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.w3w-btn {
    background: #e11d48;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.w3w-btn:hover {
    background: #be1241;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.4);
}

/* ========================================
   12. SEA HORIZON TRANSITION
   ======================================== */

.sea-horizon-transition {
    position: relative;
    height: 200px;
    margin-top: 0;
    margin-bottom: -50px;
    overflow: visible;
    z-index: 10;
    background: linear-gradient(to bottom, 
        #0a0f1c 0%, 
        rgba(10, 15, 28, 0.9) 50%,
        rgba(10, 15, 28, 0.7) 100%
    );
}

.sea-horizon-transition * {
    position: absolute;
}

.sea-horizon-transition .stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(3px 3px at 20% 30%, rgba(255,255,255,0.8), transparent),
        radial-gradient(3px 3px at 40% 70%, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 50% 50%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 80% 20%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 10% 60%, rgba(255,255,255,0.7), transparent),
        radial-gradient(3px 3px at 90% 40%, rgba(255,255,255,0.8), transparent);
    background-size: 300px 300px;
    animation: twinkle 5s ease-in-out infinite;
}

.sea-horizon-transition .horizon {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 168, 255, 0.5) 10%,
        rgba(0, 168, 255, 1) 50%,
        rgba(0, 168, 255, 0.5) 90%,
        transparent 100%
    );
    box-shadow: 
        0 0 30px rgba(0, 168, 255, 0.8),
        0 0 60px rgba(0, 168, 255, 0.4);
}

.sea-horizon-transition .moon-reflection {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 80px;
    background: radial-gradient(ellipse at center, 
        rgba(255, 255, 255, 0.3) 0%,
        rgba(0, 168, 255, 0.2) 30%,
        rgba(0, 168, 255, 0.1) 60%,
        transparent 80%
    );
    filter: blur(15px);
}

.sea-horizon-transition .waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='rgba(0,168,255,0.2)'/%3E%3C/svg%3E");
    background-size: 120% 100%;
    opacity: 0.8;
}

.sea-horizon-transition .sailboat {
    position: absolute;
    bottom: 90px;
    left: -60px;
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.5));
}

/* ========================================
   13. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .arrival-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .what3words-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .directions-hero {
        padding: 100px 5% 40px;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .directions-intro h1 {
        font-size: 2.5rem;
    }
    
    .directions-intro .subtitle {
        font-size: 1.2rem;
    }
    
    .directions-intro .description {
        font-size: 1rem;
    }
    
    .quick-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .transport-grid {
        grid-template-columns: 1fr;
    }
    
    .landmarks-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .step-number::after {
        display: none;
    }
    
    .coordinates {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .transfer-options {
        grid-template-columns: 1fr;
    }
    
    .emergency-phones {
        gap: 0.8rem;
    }
    
    .w3w-content h4 {
        font-size: 1.4rem;
    }
    
    .w3w-buttons {
        justify-content: center;
    }
    
    /* Mobilni stilovi za mapu */
    .interactive-map {
        height: 350px;
    }
    
    .map-controls {
        position: static;
        flex-direction: row;
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .map-btn {
        min-width: auto;
        padding: 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .directions-hero {
        min-height: 400px;
    }
    
    .directions-intro h1 {
        font-size: 2rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .transport-card h3 {
        font-size: 1.3rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .landmark-card {
        padding: 1rem;
    }
    
    .emergency-contact {
        padding: 1.5rem;
    }
    
    .what3words-card {
        padding: 1.5rem;
    }
    
    .w3w-content h4 {
        font-size: 1.2rem;
    }
    
    .static-map-content {
        padding: 1rem;
    }
    
    .location-marker {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .map-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    .arrival-content {
        grid-template-columns: 1fr;  /* Emergency contact ispod koraka */
        gap: 2rem;
    }
    
    .arrival-steps {
        grid-template-columns: 1fr;  /* Koraci jedan ispod drugog na mobilu */
        gap: 2rem;
    }
}
/* ========================================
   14. ACCESSIBILITY & PERFORMANCE
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .directions-hero,
    .emergency-contact,
    .map-controls {
        display: none;
    }
    
    .directions-content {
        background: white;
        color: black;
    }
    
    .transport-card,
    .landmark-card,
    .step-content {
        background: #f8f9fa;
        border: 1px solid #dee2e6;
    }
}

/* ========================================
   ARRIVAL SECTION - HORIZONTALNI LAYOUT
   ======================================== */

.arrival-section {
    margin-bottom: 6rem;
}

/* Glavni container - sada vertikalni */
.arrival-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: stretch;
}

/* Koraci u jednom redu */
.arrival-steps {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    overflow-x: auto; /* Za slučaj da ne stane na manje ekrane */
    padding: 1rem 0;
}

/* Pojedinačni korak */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 280px; /* Minimalna širina za čitljivost */
    flex: 1; /* Ravnomjerno dijeli prostor */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
    position: relative;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

/* Brojevi koraka */
.step-number {
    width: 60px;
    height: 60px;
    background: #00a8ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
    margin-bottom: 1.5rem;
    position: relative;
}

/* Strelice između koraka */
.step-number::after {
    content: '→';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 1rem;
    font-size: 1.8rem;
    color: #00a8ff;
    font-weight: bold;
    width: 30px;
    text-align: center;
}

/* Ukloni strelicu na zadnjem koraku */
.step:last-child .step-number::after {
    display: none;
}

/* Sadržaj koraka */
.step-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 100%;
}

.step-content:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 168, 255, 0.2);
}

.step-content h4 {
    color: #00a8ff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Contact options - kompaktnije */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-btn {
    background: #00a8ff;
    color: white;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

/* Tip box - kompaktniji */
.tip {
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
    padding: 0.8rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.tip i {
    color: #ffc107;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.tip span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* House features - kompaktnije */
.house-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.house-features span {
    background: rgba(0, 168, 255, 0.1);
    color: #00a8ff;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    border: 1px solid rgba(0, 168, 255, 0.2);
}

/* Welcome note - kompaktniji */
.welcome-note {
    background: rgba(0, 168, 255, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 3px solid #00a8ff;
    margin-top: 1rem;
}

.welcome-note p {
    margin: 0;
    font-size: 0.85rem;
}

.welcome-note strong {
    color: #00a8ff;
}

/* ========================================
   EMERGENCY & WHAT3WORDS - HORIZONTALNI LAYOUT
   ======================================== */

/* Container za emergency i what3words */
.emergency-what3words-section {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 6rem;
}

/* Emergency contact - sada u gridu */
.emergency-contact {
    background: rgba(255, 67, 87, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 67, 87, 0.3);
    backdrop-filter: blur(10px);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.emergency-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 67, 87, 0.2);
    background: rgba(255, 67, 87, 0.15);
}

/* What3words card - prilagođen za grid */
.what3words-section {
    margin-bottom: 0; /* Ukloni margin jer je sada u gridu */
}

.what3words-card {
    background: rgba(225, 29, 72, 0.1);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    border: 2px solid rgba(225, 29, 72, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    flex: 1;
    height: 100%;
}

.what3words-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(225, 29, 72, 0.2);
    background: rgba(225, 29, 72, 0.15);
}

/* W3W ikona - centrirana */
.w3w-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* W3W content - centriran */
.w3w-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.w3w-content h4 {
    color: #00a8ff;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.w3w-content h5 {
    font-family: 'Courier New', monospace;
    color: #e11d48;
    font-size: 1.4rem;
    margin: 0.5rem 0 1rem 0;
    font-weight: bold;
}

.w3w-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* W3W buttons - centrirani */
.w3w-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.w3w-btn {
    background: #e11d48;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.w3w-btn:hover {
    background: #be1241;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.4);
}

/* Emergency header - kompaktniji */
.emergency-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.emergency-header i {
    color: #ff4757;
    font-size: 2rem;
}

.emergency-header h4 {
    color: #ff4757;
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
}

/* Emergency content */
.emergency-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

/* Emergency phones - vertikalno poravnanje */
.emergency-phones {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.emergency-btn {
    background: #ff4757;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 67, 87, 0.4);
}

.emergency-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .arrival-steps {
        gap: 1rem;
    }
    
    .step {
        min-width: 250px;
    }
    
    .step-content {
        padding: 1.2rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    /* Emergency & What3Words na manjim desktop ekranima */
    .emergency-what3words-section {
        gap: 1.5rem;
    }
    
    .emergency-contact,
    .what3words-card {
        padding: 1.5rem;
    }
    
    .w3w-content h4 {
        font-size: 1.4rem;
    }
    
    .w3w-content h5 {
        font-size: 1.2rem;
    }
}

@media (max-width: 900px) {
    /* Na manjim ekranima prikaži 2x2 grid */
    .arrival-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        justify-items: center;
    }
    
    .step {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    /* Prilagodi strelice za grid layout */
    .step:nth-child(1) .step-number::after {
        content: '↓';
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .step:nth-child(2) .step-number::after {
        content: '↓';
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .step:nth-child(3) .step-number::after {
        content: '→';
        top: 50%;
        left: 100%;
        transform: translateY(-50%);
        margin-left: 1rem;
        margin-top: 0;
    }
    
    /* Emergency & What3Words još uvijek jedan pokraj drugog */
    .emergency-what3words-section {
        flex-direction: column;
        gap: 2rem;
    }
    
    .what3words-card {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 2rem;
    }
    
    .w3w-content {
        text-align: left;
        align-items: flex-start;
    }
    
    .w3w-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    /* Emergency & What3Words vertikalno na tablet */
    .emergency-what3words-section {
        flex-direction: column;
        gap: 2rem;
    }
    
    .what3words-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .w3w-content {
        text-align: center;
        align-items: center;
    }
    
    .w3w-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    /* Na mobilu - vertikalno */
    .arrival-steps {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .step {
        width: 100%;
        max-width: 350px;
    }
    
    /* Sve strelice prema dolje na mobilu */
    .step-number::after {
        content: '↓' !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
        margin-top: 0.5rem !important;
    }
    
    .step:last-child .step-number::after {
        display: none;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .contact-options {
        flex-direction: column;
    }
    
    .house-features {
        flex-direction: column;
    }
    
    /* Emergency & What3Words na mobilu */
    .emergency-contact,
    .what3words-card {
        padding: 1.5rem;
    }
    
    .emergency-header h4 {
        font-size: 1.2rem;
    }
    
    .emergency-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .w3w-content h4 {
        font-size: 1.2rem;
    }
    
    .w3w-content h5 {
        font-size: 1rem;
    }
    
    .w3w-icon {
        width: 60px;
        height: 60px;
    }
}

/* Scrollbar za horizontalni scroll na vrlo malim ekranima */
.arrival-steps::-webkit-scrollbar {
    height: 6px;
}

.arrival-steps::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.arrival-steps::-webkit-scrollbar-thumb {
    background: #00a8ff;
    border-radius: 3px;
}

.arrival-steps::-webkit-scrollbar-thumb:hover {
    background: #0088cc;
}

/* ========================================
   DODATNI KONTAKT STILOVI
   ======================================== */

/* Dodatne kontakt opcije */
.additional-contact-options {
    margin: 1.5rem 0;
}

.contact-row {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-quick-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.contact-quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Specifični stilovi za različite platforme */
.contact-quick-btn.whatsapp {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4);
}

.contact-quick-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.3);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.contact-quick-btn.sms {
    background: rgba(0, 168, 255, 0.2);
    border-color: rgba(0, 168, 255, 0.4);
}

.contact-quick-btn.sms:hover {
    background: rgba(0, 168, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

.contact-quick-btn.email {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.4);
}

.contact-quick-btn.email:hover {
    background: rgba(255, 193, 7, 0.3);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

/* Navigacijski stilovi */
.navigation-options {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-row {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.nav-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Specifični stilovi za navigacijske platforme */
.nav-btn.google {
    background: rgba(66, 133, 244, 0.1);
    border-color: rgba(66, 133, 244, 0.3);
}

.nav-btn.google:hover {
    background: rgba(66, 133, 244, 0.2);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

.nav-btn.apple {
    background: rgba(128, 128, 128, 0.1);
    border-color: rgba(128, 128, 128, 0.3);
}

.nav-btn.apple:hover {
    background: rgba(128, 128, 128, 0.2);
    box-shadow: 0 5px 15px rgba(128, 128, 128, 0.3);
}

.nav-btn.waze {
    background: rgba(48, 204, 207, 0.1);
    border-color: rgba(48, 204, 207, 0.3);
}

.nav-btn.waze:hover {
    background: rgba(48, 204, 207, 0.2);
    box-shadow: 0 5px 15px rgba(48, 204, 207, 0.3);
}

/* ========================================
   RESPONSIVE PRILAGODBE
   ======================================== */

@media (max-width: 768px) {
    .contact-row,
    .nav-row {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-quick-btn,
    .nav-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .navigation-options {
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-quick-btn,
    .nav-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .additional-contact-options {
        margin: 1rem 0;
    }
}

/* ========================================
   POBOLJŠANI TELEFONSKI LINKOVI
   ======================================== */

/* Phone option container */
.phone-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

/* Fallback opcije */
.phone-fallback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.copy-phone-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.copy-phone-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.phone-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Desktop upozorenje */
.desktop-phone-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    animation: fadeInUp 0.5s ease;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-align: center;
    justify-content: center;
}

.notice-content i {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Animacija za success feedback */
.phone-copied {
    animation: phoneCopySuccess 0.6s ease;
}

@keyframes phoneCopySuccess {
    0% { 
        background: rgba(40, 167, 69, 0.2);
        transform: scale(1);
    }
    50% { 
        background: rgba(40, 167, 69, 0.4);
        transform: scale(1.05);
    }
    100% { 
        background: rgba(40, 167, 69, 0.2);
        transform: scale(1);
    }
}

/* Hover efekt na phone-option */
.phone-option:hover .phone-fallback {
    opacity: 1;
}

/* Responsive prilagodbe */
@media (max-width: 768px) {
    .phone-fallback {
        justify-content: center;
    }
    
    .desktop-phone-notice {
        padding: 0.8rem;
        margin-top: 0.8rem;
    }
    
    .notice-content {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Touch device optimizacija */
@media (hover: none) and (pointer: coarse) {
    .copy-phone-btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .phone-fallback {
        opacity: 1;
    }
}