/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/
@import url('../hello-elementor/style.css');

@font-face {
    font-family: 'Huntington Demo';
    src: url('fonts/HuntingtonDemo.woff2') format('woff2'),
        url('fonts/HuntingtonDemo.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #7e6da5;
    --purple-color: #806da3;
    --secondary-color: #f6f6f6;
    --text-color: #7a7a7a;
    --gold-color: #EADBC8;
}

* {
    transition: all 0.3s ease-in-out;
}

#top-header p,
#top-header a {
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 14px;
}

#top-header a {
    color: var(--primary-color);
    padding-bottom: 2px;
    display: inline-block;
    position: relative;
}

#top-header a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color); /* Boja bordera */
    transition: width 0.3s ease-in-out;
}

/* Animacija pri hover-u */
#top-header a:hover::after {
    width: 100%;
}

#site-logo {
    padding: 10px 0;
}

#site-logo img {
    height: 150px;
}

/* Your custom styles below */
#header-custom {
    background: var(--gold-color);
}

#header-custom ul li a {
    line-height: 40px;
    padding: 0 30px;
    margin: 0 10px;
    color: var(--primary-color);
    position: relative;
    font-weight: normal;
}

#header-custom a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: transparent;
    border-top: 1px solid var(--primary-color);
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
    transition: all 0.3s ease-in-out;
}

.header-container {
    background: #FFF;
}

#header-custom a:hover {
    color: var(--primary-color);
    background: #FFF;
}

/* Efekat pri hover-u */
#header-custom a:hover::before {
    animation: borderAnimation 0.8s forwards ease-in-out;
}

#hero-slider {
    position: relative;
    z-index: 0;
    min-height: 500px;
    background: var(--secondary-color);
    position: relative;
}

#hero-slider .nivo-controlNav {
    margin-top: -150px;
}

#hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 100px 0;
    text-align: center;
    background: rgba(75, 0, 130, 0.1);
}

#hero-text h3  {
    font-size: 40px;
    margin-top: 40px;
}

#hero-text p {
    font-size: 22px;
    margin: 20px 0;
}

#booking-form {
    background: var(--gold-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Suptilan senčeni efekat */
    max-width: 400px;
    margin-top: -150px;
    display: flex;
    width: 100%;
    min-width: 1140px;
}

#booking-form form {
    width: 100%;
}

#booking-form form > div.first-row {
    display: grid;
    width: 100%;
    grid-column-gap: 30px;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 30px;
}
#booking-form form > div.second-row {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 30px;
}

#booking-form form p {
    margin: 0;
    max-height: 70px;
}

#booking-form form label {
    width: 100%;
    display: block;
}

#booking-form form input {
    width: 100%;
    display: block;
    height: 50px;
    border: 0 none;
    outline: none;
    margin-top: 5px;
}

#booking-form form > div.second-row p:last-child input {
    margin-top: 21px;
    background: var(--primary-color);
    color: #FFF;
    border: 0 none;
}
.elementor-image-gallery .gallery-item img,
.homepage-gallery img,
.image-wrapper {
    display: inline-block; /* Drži sliku u okruženju */
    padding: 20px; /* Prostor oko slike */
    background: #fff; /* Beli okvir */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Suptilna senka */
}

.elementor-image-gallery .gallery-item {
    display: inline-block;
    padding: 5px;
}

.elementor-image-gallery .gallery-item img {
    width: 100%;
    padding: 10px;
}

.image-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}

#custom-testimonials img {
    border-radius: 50%;
    padding: 10px;
    background: #fff; /* Beli okvir */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Suptilna senka */
}

.map-container {
    width: 100%;
    height: 500px; /* Set desired height */
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0; /* Removes iframe border */
}

.image-invert {
    mix-blend-mode: multiply; /* Removes white background */

}

#footer-menu ul {
    display: grid;
}

#footer-menu li {
    display: block;
}

#footer-menu li a {
    color: white;
    font-size: 14px;
}

.footer-links a {
    color: #f6f6f6 !important;
    font-size: 14px;
    display: block;
}

.wpcf7-response-output {
    border: 0 none !important;
    border-color: transparent !important;
    outline: none !important;
    background: #945f06;
    color: #FFF;
    padding: 20px !important;
    margin: 40px 0 0 !important;
    border-radius: 4px;
}

/* Centered spinner inside form */
.wpcf7 .ajax-loader {
    display: inline-block !important;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #007bff; /* Change to match your theme */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}

/* Submit button during loading */
.wpcf7.submitting .wpcf7-submit {
    opacity: 0.6;
    pointer-events: none; /* Prevents double clicks */
}

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

@keyframes borderAnimation {
    0% {
        width: 0;
        height: 0;
    }
    25% {
        width: 100%;
        height: 0;
        border-right: 1px solid var(--primary-color);
    }
    50% {
        width: 100%;
        height: 100%;
        border-bottom: 1px solid var(--primary-color);
    }
    75% {
        width: 0;
        height: 100%;
        border-left: 1px solid var(--primary-color);
    }
    100% {
        width: 100%;
        height: 100%;

    }
}

.accent-typo {
    font-family: 'Huntington Demo' !important;
}

.page .entry-title {
    display: none !important;
}

#contact-form-container form {
    width: 100%;
    display: block;
    max-width: auto;
}

#contact-form-container form label,
#contact-form-container form p,
#contact-form-container form input,
#contact-form-container form textarea {
    width: 100% !important;
    outline: none;
    border: 0 none;
}
#contact-form-container form textarea,
#contact-form-container form input {

    background: #EADBC8;
}

#contact-form-container form input[type="submit"] {
    background: #945f06;
    color: #FFF;
}

#custom-activities {
    border-top: 1px solid gray;
    text-align: center;
    align-content: center;
    justify-content: center;
}

#custom-activities h2 {
    border-bottom: 1px solid #7e6da5;
    line-height: 2em;    
}

#custom-activities a,
#custom-activities a span {
    color: #945f06 !important;
    text-decoration: none;
    font-size: 26px;
}

#custom-activities .elementor-icon-list-icon {
    display: inline-block;
    margin-right: 20px;
}
#custom-activities .elementor-icon-list-icon svg {
    width: 50px;
    height: 50px;
   
}


@media (max-width: 900px) {
    body {
        overflow-x: none;
    }
    #top-header {
        text-align: center;

    }
    #top-header .elementor-widget-container {
        text-align: center;
    }
    #header-custom ul li a {
        display: block;
        text-align: center;
        font-family: Arial;
        line-height: 50px;
    }
    #booking-form {
        min-width: auto;
        margin: 0 auto;
    }
    #booking-form .first-row,
    #booking-form .second-row {
        width: 100%;
        min-width: auto;
        display: grid;
        grid-template-columns: 1fr !important;
    }
    #booking-form span,
    input[type="date"] {
        width: 100%;
        display: block;
    }

    #booking-form p {
        margin-top: 20px !important;
        max-height: auto !important;
    }

    #hero-text h3 {
        background: #7e6da5;
        font-size: 20px;
        color: white;
        margin-top: 90px;
        padding: 20px;
    }
    #hero-text p {
        background: #7e6da5;
        font-size: 16px;
        color: white;
        padding: 20px;
        margin-top: -20px;
        border-top: 1px solid white;
    }

    .elementor-10 .elementor-element.elementor-element-745fed4 .elementor-heading-title {
        font-size: 60px;
    }

    .e-con>.e-con-inner {
        max-width: 90%;
        margin: 0 auto;
    }
    
    
    #footer-menu ul li {
        height: 35px;
    }
}
