/*
Theme Name: Slovenia Bike Tours
Theme URI: https://slovenia-cycling.com
Author: Slovenia Bike Tours
Author URI: https://slovenia-cycling.com
Description: Custom theme for Slovenia Bike Tours cycling experiences
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grilctours
*/

/* Reset in osnovni stili */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-family: "atten-round-new", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 0 !important;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "atten-round-new", sans-serif;
    font-weight: 500;
    font-style: normal;
}

p, a, span, li, button, input, textarea {
    font-family: "atten-round-new", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Spremenljivke za barve */
:root {
    --primary: #edae49;     /* Oranžna - glavna barva */
    --secondary: #d1495b;   /* Rdeča - sekundarna barva */
    --accent: #00798c;      /* Modro-zelena - poudarki */
    --accent-dark: #30638e; /* Temno modra - poudarki temni */
    --dark: #003d5b;        /* Najtemnejša modra - temni elementi */
    --light: #f9f9f9;       /* Svetlo ozadje */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Hero sekcija */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    padding-top: 80px; /* Višina headerja */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/hero.webp');
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-video.loaded {
    opacity: 1;
}

.hero-video iframe {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    width: 100vw !important;
    height: 100vh !important;
    transform: translate(-50%, -50%) !important;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.3rem 0;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
}

.logo img {
    height: 105px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.main-nav {
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-nav li {
    display: flex;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

/* Tours section */
.tours {
    padding: 4rem 0;
    background-color: #f9f9f9;
    margin: 0;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
    padding: 2rem 0;
}

.tour-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 4/4;
    background: #000;
}

.tour-card:hover {
    transform: translateY(-5px);
}

.tour-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    opacity: 0.95;
}

.tour-card:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

.tour-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between !important;
    height: 100%;
    z-index: 2;
}

.tour-info-left {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tour-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tour-duration, 
.tour-distance {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.btn-discover {
    align-self: flex-end;
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    margin-top: 1rem;
}

.btn-discover:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.tour-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Footer */
.footer {
    flex-shrink: 0;
    background: #fff;
    width: 100%;
    position: relative;
    z-index: 1;
    background-color: #003d5b;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent), var(--accent-dark));
}

.footer-content-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-img {
    max-width: 140px;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-social-simple {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}

.footer-social-simple a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.footer-social-simple a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-hover-text {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 0.8rem;
    white-space: nowrap;
}

.footer-social-simple a:hover .social-hover-text {
    opacity: 0;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.footer-email {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-email:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-company-name {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0.5rem 0;
}

.footer-address {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

@media (min-width: 768px) {
    .footer-content-simple {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
    
    .footer-logo-section {
        align-items: flex-start;
        text-align: left;
        flex: 1;
    }
    
    .footer-info {
        align-items: center;
        text-align: center;
        flex: 1;
    }
    
    .footer-slovenia-info {
        align-items: flex-end;
        text-align: right;
        flex: 1;
    }
    
    .footer-bottom {
        text-align: center;
        margin-top: 1rem;
    }
}

@media (min-width: 992px) {
    .footer-content-simple {
        gap: 3rem;
    }
    
    .footer-logo-section {
        flex: 1;
    }
    
    .footer-info {
        flex: 1;
    }
    
    .footer-slovenia-info {
        flex: 1;
    }
}

/* Inquiry Button */
.inquiry-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.btn-inquiry {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.btn-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* PayPal Button */
.price-stat img {
    margin-top: 0.5rem;
    max-width: 150px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content-simple {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        order: 1;
    }

    .footer-social-simple {
        order: 2;
    }

    .footer-info {
        order: 3;
        text-align: center;
    }

    .footer-slovenia-info {
        order: 4;
        text-align: center;
    }
}

/* Single tour page */
.tour-hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.tour-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    align-items: center;
}

.tour-hero-content {
    color: white;
    text-align: center;
    width: 100%;
    padding: 2rem;
}

.tour-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tour-meta {
    display: flex;
    gap: 2rem;
    color: white;
    font-size: 1.2rem;
}

.tour-content-wrapper {
    padding: 4rem 0;
    background: #fff;
}

.tour-content-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.tour-info {
    width: 100%;
}

.tour-description {
    margin-bottom: 3rem;
}

.tour-description h2,
.tour-highlights h2,
.tour-itinerary h2,
.tour-features h2,
.tour-for h2 {
    font-family: "atten-round-new", sans-serif;
    font-weight: 500;
    font-size: 2.2rem;
    text-align: center;
    margin: 2rem 0;
    color: var(--dark);
}

.tour-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tour-for {
    margin: 4rem auto;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    max-width: 800px;
    text-align: center;
}

.tour-for h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--dark);
    text-align: center;
    font-family: "atten-round-new", sans-serif;
    font-weight: 500;
}

.tour-for-list {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.tour-for-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.tour-for-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
}

.tour-highlights {
    margin: 4rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    width: calc(100vw - 1rem);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    text-align: center;
}

.tour-highlights h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--dark);
    text-align: center;
    font-family: "atten-round-new", sans-serif;
    font-weight: 500;
}

.highlights-list {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.highlights-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.highlights-list li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
}

.tour-itinerary {
    margin-top: 4rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.itinerary-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

.itinerary-day {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.itinerary-tabs {
    display: flex;
    overflow-x: auto;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.itinerary-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.itinerary-tab {
    padding: 1rem 2rem;
    background: #f8f9fa;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 1.1rem;
    color: #666;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.itinerary-tab:hover {
    background: #e9ecef;
    color: var(--accent);
}

.itinerary-tab.active {
    background: var(--accent);
    color: white;
}

.itinerary-day {
    display: none;
    animation: fadeIn 0.5s ease;
}

.itinerary-day.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.itinerary-day h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-family: "atten-round-new", sans-serif;
    font-weight: 500;
}

.itinerary-day-details {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 1rem;
    color: #666;
}

.itinerary-day-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.itinerary-stats {
    display: flex;
    gap: 2rem;
    margin: 0.5rem 0 1rem;
    color: #666;
    font-size: 1.1rem;
}

.itinerary-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.itinerary-stat i {
    color: var(--accent);
    font-size: 1.2rem;
}

.itinerary-day p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Itinerary Day Image */
.itinerary-day-image {
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}

.itinerary-day-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.itinerary-day-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .tour-itinerary {
        margin-top: 2rem;
        padding: 0 1rem;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .itinerary-tabs {
        padding-bottom: 0.5rem;
        margin: 0 -1rem 1rem -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        width: calc(100% + 2rem);
        box-sizing: border-box;
        max-width: 100vw;
    }

    .itinerary-day-image {
        margin: 1rem -1rem;
        border-radius: 0;
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        max-width: 100vw;
    }

    .itinerary-day-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .tour-content-wrapper {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    .itinerary-day-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .itinerary-content {
        width: 100%;
        overflow-x: hidden;
    }

    .tour-description h2,
    .tour-highlights h2,
    .tour-itinerary h2,
    .tour-features h2,
    .tour-for h2 {
        font-size: 1.8rem;
        margin: 1.5rem 0;
    }

    .itinerary-day h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
}

.tour-features {
    display: grid;
    grid-template-columns: minmax(auto, 400px) minmax(auto, 400px);
    gap: 3rem;
    margin: 4rem auto;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    max-width: 900px;
    width: 100%;
    position: relative;
    justify-content: center;
}

.tour-features h2 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.tour-features ul {
    list-style: none;
    padding: 0;
}

.inclusions li,
.optional-extras li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    color: #444;
}

.inclusions li:before,
.optional-extras li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.tour-stats {
    background: #f8f8f8;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.stat-content p {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

.price-stat {
    text-align: left;
}

.price-stat .stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.price-label {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

.price-stat img {
    height: 30px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.price-stat img:hover {
    opacity: 0.8;
}

@media (max-width: 968px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-stat {
        grid-column: span 2;
        justify-content: center;
        text-align: center;
    }
    
    .price-stat .stat-content {
        align-items: center;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        justify-content: center;
        text-align: center;
    }
    
    .price-stat {
        grid-column: span 1;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
    margin: auto;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin: 0;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 5px;
    line-height: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.close-modal:hover {
    color: var(--accent);
    transform: rotate(90deg);
    background-color: rgba(0,0,0,0.05);
}

/* Form Styles */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.form-group label:not([for="phone"]):not([for="country"]):not([for="message"]):not([for="extras"]):not(.extras-option label)::after {
    content: "*";
    color: #ff4444;
    margin-left: 4px;
}

.extras-option label::after,
label[for="phone"]::after,
label[for="country"]::after,
label[for="message"]::after {
    content: "";
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
    background-color: #fff;
}

.form-group input::placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

/* Extras checkboxes styling */
.extras-group {
    margin-top: 0.5rem;
    border: 1px solid #eee;
    padding: 1rem;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.extras-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.8rem;
}

.extras-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.extras-option:hover {
    background-color: rgba(var(--accent-rgb), 0.05);
}

.extras-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent);
}

.extras-option label {
    font-weight: normal;
    cursor: pointer;
    font-size: 0.95rem;
    flex: 1;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.btn-submit {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(var(--accent-rgb), 0.3);
}

.btn-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--accent-rgb), 0.4);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(var(--accent-rgb), 0.3);
}

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

.fa-spinner {
    margin-right: 8px;
}

/* Success message styles */
.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
}

.success-message h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-close-success {
    background: var(--dark);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-success:hover {
    background: #333;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .tour-card {
        aspect-ratio: 4/4;
    }
    
    .tour-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tour-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-book,
    .btn-contact {
        display: block;
        margin: 1rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tour-features {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto;
        padding: 2rem;
        width: calc(100% - 2rem);
        max-width: 500px;
    }
    
    .itinerary-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-content {
        margin: 10% 5%;
        width: 90%;
        padding: 1rem;
    }
    
    .tour-highlights {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .tour-highlights h2 {
        font-size: 1.8rem;
    }
    
    .highlights-list li {
        font-size: 1rem;
    }
}

/* Page Hero */
.page-hero {
    height: 40vh;
    background: linear-gradient(to bottom,
        rgba(0, 61, 91, 0.2) 0%,
        rgba(0, 61, 91, 0.4) 50%,
        rgba(0, 61, 91, 0.7) 100%
    ), url('images/hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.page-hero .hero-content {
    padding: 2rem;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Contact Page */
.contact {
    padding: 4rem 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-info h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.info-item p {
    color: #666;
    line-height: 1.6;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    font-size: 1.5rem;
    color: #333;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

.contact-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--accent);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 121, 140, 0.2);
}

.btn-submit {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--secondary);
}

/* Responsive styles for contact page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .contact {
        padding: 3rem 0;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
}

/* Blog Page */
.blog {
    padding: 4rem 0;
}

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

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content p {
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-more {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.btn-more:hover {
    color: var(--accent-dark);
}

/* Responsive Design for Contact and Blog */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tour-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tour-description h2,
    .tour-highlights h2,
    .tour-itinerary h2,
    .tour-features h2,
    .tour-for h2 {
        font-size: 1.8rem;
        margin: 1.5rem 0;
    }
    
    .tour-description p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .tour-features {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto;
        padding: 2rem;
        width: calc(100% - 2rem);
        max-width: 500px;
    }
    
    .itinerary-tabs {
        justify-content: flex-start;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

.tour-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-left: auto;
}

.main-content {
    flex: 1 0 auto;
}

.page-content {
    padding: 60px 0;
}

.page-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.page-content h2, 
.page-content h3, 
.page-content h4 {
    margin: 30px 0 15px;
    color: var(--dark);
}

.intro-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    position: relative;
    z-index: 1;
    margin-top: 0;
    box-shadow: none;
    border-radius: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.intro-section::before {
    display: none;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    background-color: #f9f9f9;
}

.intro-content::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 120px;
    color: var(--accent);
    opacity: 0.1;
    position: absolute;
    top: -60px;
    left: 0;
    line-height: 1;
}

.intro-content::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 120px;
    color: var(--accent);
    opacity: 0.1;
    position: absolute;
    bottom: -120px;
    right: 0;
    line-height: 1;
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--dark);
    margin-bottom: 0;
    text-align: justify;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.intro-content p strong {
    font-weight: 600;
    color: #333;
}

@media (max-width: 992px) {
    .intro-section {
        padding: 50px 0;
    }
    
    .intro-content::before,
    .intro-content::after {
        font-size: 80px;
    }
    
    .intro-content::before {
        top: -40px;
    }
    
    .intro-content::after {
        bottom: -80px;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 40px 0;
    }
    
    .intro-content {
        padding: 0 25px;
    }
    
    .intro-content p {
        font-size: 1.1rem;
        line-height: 1.7;
        text-align: justify;
    }
    
    .intro-content::before,
    .intro-content::after {
        display: none;
    }
}

/* Google Reviews section */
.reviews-section {
    padding: 60px 0;
    background-color: #fff;
    position: relative;
}

.reviews-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.google-reviews {
    margin-bottom: 30px;
}

/* Stili za Elfsight Google Reviews widget */
.elfsight-app-2e31a324-5b04-4426-aef8-05367d88bcbc {
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Stili za placeholder, ko je widget zakomentiran */
.reviews-placeholder {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.reviews-placeholder p {
    font-size: 1.2rem;
    color: #777;
    font-style: italic;
}

/* Stili za administratorsko obvestilo */
.admin-notice {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

/* Stili za alternativni prikaz */
.reviews-alternative {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.reviews-alternative p {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 40px 0;
    }
    
    .reviews-container {
        padding: 10px;
    }
    
    .reviews-alternative p,
    .reviews-placeholder p {
        font-size: 1rem;
    }
}

/* Contact Page Styles */
.contact-page {
    background-color: #fff;
}

.contact-hero {
    background: linear-gradient(rgba(0, 61, 91, 0.7), rgba(0, 61, 91, 0.7)),
                url('images/hero.webp');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom right, transparent 49%, white 50%);
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    padding: 5rem 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 0.5rem;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.info-card {
    display: flex;
    align-items: flex-start;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-right: 1.2rem;
    background: rgba(0, 121, 140, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-content h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.info-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.info-link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.social-connect {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.social-connect h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon.facebook {
    background: #3b5998;
}

.social-icon.instagram {
    background: #e1306c;
}

.social-icon.whatsapp {
    background: #25d366;
}

.social-icon.messenger {
    background: #0084ff;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent), var(--accent-dark));
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.form-header p {
    color: #666;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 121, 140, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.btn-submit {
    background: linear-gradient(to right, var(--accent), var(--accent-dark));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

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

.btn-submit:hover {
    background: linear-gradient(to right, var(--accent-dark), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 121, 140, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }

    .contact-info h2,
    .form-header h2 {
        font-size: 1.8rem;
    }

    .info-card {
        padding: 1.2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-hero::after {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }
    
    .info-card {
        flex-direction: column;
    }
    
    .info-card i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .social-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* About Page Styles */
.about-section {
    padding: 4rem 0;
    background-color: #fff;
}

.about-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-content-editable {
    width: 100%;
}

/* WordPress Editor Content Styles */
.about-content-editable h1,
.about-content-editable h2,
.about-content-editable h3,
.about-content-editable h4,
.about-content-editable h5,
.about-content-editable h6 {
    color: var(--dark);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.about-content-editable h2 {
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-content-editable h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.about-content-editable p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
}

.about-content-editable ul,
.about-content-editable ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.about-content-editable li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.about-content-editable img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.about-content-editable a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-content-editable a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.about-content-editable blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

/* Responsive styles for about page */
@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .about-content-editable h2 {
        font-size: 1.6rem;
    }
    
    .about-content-editable p,
    .about-content-editable li {
        font-size: 1rem;
    }
}

/* WordPress Menu Styles */
.main-nav .menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav .menu li {
    position: relative;
}

.main-nav .menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.main-nav .menu a:hover,
.main-nav .menu .current-menu-item > a {
    color: var(--primary);
}

.main-nav .menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.main-nav .menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .menu .sub-menu li {
    padding: 0;
}

.main-nav .menu .sub-menu a {
    padding: 0.5rem 1rem;
    display: block;
    font-size: 1rem;
}

.main-nav .menu .sub-menu a:hover {
    background-color: #f8f8f8;
}

@media (max-width: 768px) {
    .main-nav .menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav .menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1.5rem;
        margin-top: 0.5rem;
        min-width: auto;
        background: transparent;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .mobile-menu-toggle i {
        transition: transform 0.3s ease;
    }
    
    .main-nav.active + .mobile-menu-toggle i {
        transform: rotate(45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav .menu {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .main-nav .menu a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.2rem;
    }
    
    .main-nav .menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1.5rem;
        margin-top: 0.5rem;
        min-width: auto;
        background: transparent;
    }
    
    .main-nav .menu .sub-menu a {
        font-size: 1rem;
    }
    
    /* Overlay when menu is open */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .menu-overlay.active {
        display: block;
    }
}

/* Additional Mobile Menu Styles */
body.menu-open {
    overflow: hidden;
}

.dropdown-toggle {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--dark);
    transition: transform 0.3s ease;
}

.dropdown-toggle i {
    font-size: 0.8rem;
}

.dropdown-toggle.active {
    transform: rotate(180deg);
}

.main-nav .menu .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

@media (max-width: 768px) {
    .dropdown-toggle {
        display: inline-block;
        position: absolute;
        right: 0;
        top: 0.5rem;
    }
    
    .main-nav .menu li {
        position: relative;
    }
    
    .main-nav .menu-item-has-children > a {
        padding-right: 2rem;
    }
}

/* Slovenia Info Logo Styles */
.footer-slovenia-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.slovenia-info-logo {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-slovenia-info a:hover .slovenia-info-logo {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.slovenia-info-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (min-width: 768px) {
    .footer-content-simple {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
    
    .footer-logo-section {
        align-items: flex-start;
        text-align: left;
        flex: 1;
    }
    
    .footer-info {
        align-items: center;
        text-align: center;
        flex: 1;
    }
    
    .footer-slovenia-info {
        align-items: flex-end;
        text-align: right;
        flex: 1;
    }
    
    .footer-bottom {
        text-align: center;
        margin-top: 1rem;
    }
}

@media (min-width: 992px) {
    .footer-content-simple {
        gap: 3rem;
    }
    
    .footer-logo-section {
        flex: 1;
    }
    
    .footer-info {
        flex: 1;
    }
    
    .footer-slovenia-info {
        flex: 1;
    }
}

/* Customizer Gallery Styles */
.customize-control-gallery .gallery-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.customize-control-gallery .gallery-image {
    position: relative;
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
}

.customize-control-gallery .gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customize-control-gallery .remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    color: #f00;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.customize-control-gallery .gallery-image:hover .remove-image {
    opacity: 1;
}

.customize-control-gallery .upload-gallery-button {
    width: 100%;
    margin-bottom: 10px;
}

/* Gallery Styles */
.gallery-section {
    padding: 4rem 0;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.no-images {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 2rem;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* CEO Profile v footerju */
.ceo-profile {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.ceo-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: contain;
    background-color: #fff;
    padding: 2px;
    margin-bottom: 10px;
}

.ceo-info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ceo-quote {
    font-style: italic;
    color: #f9f9f9;
    margin-bottom: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ceo-quote:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ceo-signature {
    font-weight: 600;
    color: #fff;
    font-size: 16px;
}

@media (max-width: 768px) {
    .ceo-profile {
        align-items: center;
        text-align: center;
        margin-top: 20px;
    }
    
    .ceo-info {
        align-items: center;
    }
}

/* Responsive stili za logotipe */
@media (max-width: 768px) {
    .logo img {
        height: 90px;
    }
    
    .main-header {
        padding: 0.3rem 0;
    }
    
    .footer-logo-img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 100px;
    }
    
    .main-header {
        padding: 0.2rem 0;
    }
    
    .footer-logo-img {
        max-width: 100px;
    }
}

.extras-group > label::after {
    content: none !important;
} 