/*
Theme Name: Turistični Paketi
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: Turistična agencija WordPress tema z Bootstrap 5
Version: 1.0.0
License: GPL v2 or later
Text Domain: turisticni-paketi
*/

:root {
    --primary: #40d898;
    --primary-dark: #2bb87a;
    --primary-hover: #35c48a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hero-section {
    height: 90vh;
    min-height: 600px;
}

.hero-image-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-heading {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 3rem !important;
}

.hero-search {
    max-width: 900px;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.hero-search:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
}

.form-control {
    background-color: #f8f9fa !important;
    border-radius: 8px !important;
    min-height: 60px;
}

.form-floating > .form-control {
    padding: 1rem 1rem 1rem 3.5rem;
    height: auto;
}

.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    pointer-events: none;
    transform-origin: 0 0;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    transform: scale(.85) translateY(-1.9rem) translateX(1.5rem);
    opacity: 0.65;
}

.input-field:focus {
    box-shadow: 0 0 0 3px rgba(64, 216, 152, 0.3) !important;
    border-color: var(--primary) !important;
}

.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-7px);}
}

.scroll-indicator {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: scale(1.2);
}

.card-img-top {
    object-fit: cover;
    height: 200px;
}

.card-text-truncate {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.carousel-item img {
    border-radius: 50%;
}

.footer {
    background-color: #f8f9fa;
    padding: 20px;
    font-size: 14px;
}

.accordion-button {
    background-color: #fff;
    color: #000;
    border: 1px solid #ddd;
}

.accordion-button:not(.collapsed) {
    background-color: #f0f0f0;
    color: #6c757d;
    border-color: #ccc;
}

.accordion-button.collapsed {
    background-color: #fff;
    color: #000;
}

.newsletter-section {
    padding: 50px;
    background-size: cover;
    background-position: center;
}

.btn-primary-custom {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #fff !important;
}

.bg-primary-custom {
    background-color: var(--primary) !important;
}

.text-primary-custom {
    color: var(--primary) !important;
}

.navbar-custom {
    background-color: var(--primary) !important;
}

.site-main {
    padding-top: 76px;
}

.pricing-table td, .pricing-table th {
    padding: 10px;
    text-align: left;
}

.content-section {
    display: flex;
    padding: 20px;
}

.content-section .left-container,
.content-section .right-container {
    width: 50%;
    padding: 10px;
}

.content-section img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.content-section .table-container table {
    width: 100%;
    border: 1px solid #ddd;
    padding: 10px;
}

.mapouter {
    position: relative;
    text-align: right;
    width: 100%;
    height: 400px;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    width: 100%;
    height: 100%;
}

.gmap_canvas iframe {
    width: 100%;
    height: 100%;
}
