:root {
    --primary-color: #007bff;
    --ocean-blue-dark: #004e64;
    --ocean-blue-light: #0077b6;
    --seafoam-green: #2a9d8f;
    --sandy-yellow: #f4a261;
    --light-sky-blue: #ade8f4;
    --text-color-dark: #264653;
    --text-color-light: #e0f2f7;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .section-padding.slide-in-left {
        transform: translateX(-100px);
    }

    .section-padding.slide-in-right {
        transform: translateX(100px);
    }

    .section-padding.is-visible {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }

h1, h2, h3 {
    color: var(--ocean-blue-dark);
    margin-bottom: 20px;
    text-align: center;
}

p {
    margin-bottom: 15px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--ocean-blue-light);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-align: center;
}

    .btn:hover {
        background-color: var(--ocean-blue-dark);
    }

header {
    background-color: var(--ocean-blue-dark);
    color: var(--text-color-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

    header nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

.logo h1 {
    margin: 0;
    color: var(--white);
    font-size: 24px;
}

.logo .logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.site-logo {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    flex-shrink: 0;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

    header nav ul li {
        margin-left: 25px;
    }

        header nav ul li a {
            color: var(--text-color-light);
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s ease;
            display: block;
            padding: 5px 0;
        }

            header nav ul li a:hover {
                color: var(--sandy-yellow);
            }

.dropdown {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--ocean-blue-dark);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 0 0 5px 5px;
}

    .dropdown-content a {
        color: var(--text-color-light);
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
        transition: background-color 0.3s ease, color 0.3s ease;
        font-weight: normal;
    }

        .dropdown-content a:hover {
            background-color: var(--ocean-blue-light);
            color: var(--white);
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn .fa-caret-down {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn .fa-caret-down {
    transform: rotate(180deg);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
}

    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: var(--white);
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

#home {
    background-image: url('/images/1.jpeg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: var(--white);
    text-align: center;
    padding: 150px 20px;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

    #home::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 78, 100, 0.4);
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    color: var(--white);
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

#about {
    background-color: var(--light-sky-blue);
    color: var(--text-color-dark);
}

    #about h2 {
        color: var(--ocean-blue-dark);
    }

    #about p {
        text-align: center;
    }

.highlights-list {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

    .highlights-list li {
        background-color: var(--white);
        padding: 15px 25px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        font-weight: bold;
        color: var(--ocean-blue-dark);
        display: inline-flex;
        align-items: center;
    }

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-slide {
    display: none;
    width: 100%;
}

    .carousel-slide img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
    }

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,78,100,0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    .prev:hover, .next:hover {
        background-color: rgba(0,78,100,0.8);
    }

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.dots-container {
    text-align: center;
    padding: 20px 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .active, .dot:hover {
        background-color: var(--ocean-blue-light);
    }

#amenities {
    background-color: var(--white);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.amenity-item {
    background-color: var(--light-sky-blue);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

    .amenity-item:hover {
        transform: translateY(-5px);
        background-color: var(--sandy-yellow);
    }

    .amenity-item h3 {
        font-size: 1.4em;
        margin-bottom: 15px;
        color: var(--ocean-blue-dark);
    }

    .amenity-item i {
        font-size: 2em;
        margin-bottom: 15px;
        color: var(--seafoam-green);
    }

#location {
    background-color: var(--light-gray);
}

    #location address {
        text-align: center;
        font-style: normal;
        margin-bottom: 20px;
        font-size: 1.1em;
        color: var(--text-color-dark);
    }

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sight-detail {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    margin: 30px auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    background-color: var(--white);
    overflow: hidden;
}

    .sight-detail::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.7);
        z-index: -1;
    }

#sights {
    background-color: var(--light-sky-blue);
    padding: 60px 0;
    border-radius: 0;
    box-shadow: none;
}

#tulove-grede {
    background-image: url('/images/tulove_grede.jpg');
}

#np-krka {
    background-image: url('/images/np_krka.jpg');
}

#np-paklenica {
    background-image: url('/images/np_paklenica.jpg');
}

#pozdrav-suncu {
    background-image: url('/images/pozdrav_suncu.jpg');
}

#izvor-rijeke-bijele {
    background-image: url('/images/izvor_rijeke_bijele.jpg');
}

#slapovi-zrmanje {
    background-image: url('/images/slapovi_zrmanje.jpg');
}

#restaurant-petting-zoo {
    background-image: url('/images/restaurant_petting_zoo.jpg');
}

#zadar {
    background-image: url('/images/zadar.jpg');
}

#contact {
    background-color: var(--sandy-yellow);
    color: var(--text-color-dark);
    padding: 60px 20px;
    text-align: center;
}

    #contact h2 {
        color: var(--ocean-blue-dark);
    }

.contact-info {
    max-width: 600px;
    margin: 30px auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

    .contact-info p {
        margin: 0;
        font-size: 1.2em;
        font-weight: bold;
        color: var(--text-color-dark);
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .contact-info p i {
            font-size: 1.5em;
            color: var(--seafoam-green);
        }

        .contact-info p a {
            color: var(--ocean-blue-dark);
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .contact-info p a:hover {
                color: var(--ocean-blue-light);
                text-decoration: underline;
            }

footer {
    background-color: var(--ocean-blue-dark);
    color: var(--text-color-light);
    padding: 30px 0;
    text-align: center;
}

    footer .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

.social-links {
    margin-top: 15px;
}

    .social-links a {
        color: var(--white);
        font-size: 1.5em;
        margin: 0 10px;
        transition: color 0.3s ease;
    }

        .social-links a:hover {
            color: var(--sandy-yellow);
        }

@media (max-width: 768px) {
    .site-logo {
        width: 40px;
        height: 40px;
    }

    .logo .logo-link {
        font-size: 0.9em;
    }

    .logo h1 {
        margin: 0;
        padding: 0;
    }

    header nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-list {
        display: none;
        margin-top: 15px;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

        .nav-list.active {
            display: flex;
        }

        .nav-list li {
            margin: 0;
            width: 100%;
            text-align: center;
        }

            .nav-list li a {
                padding: 10px 0;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }

            .nav-list li:last-child a {
                border-bottom: none;
            }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        background-color: rgba(0, 78, 100, 0.7);
    }

        .dropdown-content a {
            padding-left: 40px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

    .hero h2 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .sight-detail {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .section-padding {
        padding: 40px 0;
    }
}

.sheet-embed-container {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

    .sheet-embed-container iframe {
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        max-width: 100%;
        height: 700px;
    }

.logo-link {
    color: inherit;
    text-decoration: none;
}

    .logo-link:hover {
        opacity: 0.8;
    }

.centered-frame {
    display: block;
    margin: 0 auto;
    border: 3px solid #333;
    padding: 10px;
    border-radius: 8px;
    max-width: 100%; /* keeps image responsive */
    box-shadow: 0 0 10px rgba(0,0,0,0.2); /* subtle shadow for extra style */
}
.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
body{
    top: 0px!important;
    
} 

/* Style the language select to blend with nav menu */
#language-select {
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5em 1em;
    margin-left: 1em;
    appearance: none; /* Remove default arrow in most browsers */
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    /* Add your nav item colors */
    color: #fff; /* or your nav link color */
}


/* Custom arrow using a pseudo-element */
#language-select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2210%22%20height%3D%227%22%20viewBox%3D%220%200%2010%207%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%201L5%206L10%201%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7em center;
    background-size: 10px 7px;
    padding-right: 1em;
}

    /* On hover like nav links */
    #language-select:hover {
        color: #f0a500; /* example hover color */
    }
