/*
Theme Name: Intentionally Blank
Theme URI: https://www.nilovelez.com/blank/
Author: Nilo Velez
Author URI: https://www.nilovelez.com/
Description: This theme was intentionally left blank. There are times when all you need is the WordPress dashboard and an blank frontend. You might be using the WordPress REST API as a backend for a mobile App or you might be a minimalism obsessed hipster. This is your theme.
Version: 3.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: featured-images, custom-background, theme-options, translation-ready
Text Domain: intentionally-blank
Requires at least: 4.6
Tested up to: 6.6
Requires PHP: 7.4
*/

/* Color Palette from Hotellomy.sk */
:root {
    --primary: #434141; /* Dark blue */
    --secondary: #d7da2c; /* Gold/beige */
    --accent: #bbbd21; /* Brown */
    --light: #f8f9fa; /* Light gray */
    --dark: #434141; /* Dark gray */
    --text: #333333; /* Text color */
    --white: #ffffff; /* White */
}

body {
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

div {scroll-margin-top: 100px;}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

ul {
    list-style: none;
    padding: 0;
}

a {text-decoration: none;}

/* Header & Navigation */
.admin-bar .navbar {top: 32px !important;}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary) !important;
}

.navbar-brand i {
    color: var(--secondary);
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    position: relative;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-item.dropdown .dropdown-menu {
    border: 0;
    box-shadow: 0 0 5px 1px rgba(0,0,0,0.2);
    width: 300px;
}

.navbar-nav .nav-item.dropdown:hover .dropdown-menu {display: block !important;}

.navbar-nav .nav-item.dropdown .dropdown-menu .dropdown-item {
    white-space: pre-wrap;
    padding: 10px 15px;
    background-color: transparent !important;
    transition: .3s ease all;
}

.navbar-nav .nav-item.dropdown .dropdown-menu .dropdown-item:hover {color: var(--accent) !important;}

.navbar-toggler {border: 0 !important;}

.book-btn {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

/* Hero Slider Section */
.hero-slider {
    width: 100%;
    height: 100dvh;
    min-height: 600px;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(67, 65, 65, .35), rgba(40, 38, 38, .7));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    width: 100%;
    padding: 0 20px;
    height: 100%;
    align-content: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.hero-btns {
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.slick-active .hero-content h1,
.slick-active .hero-content p,
.slick-active .hero-btns {
    opacity: 1;
    transform: translateY(0);
}

.iframe-video {
    height: calc((100vw - 20px) * 0.5625);
    position: absolute;
    z-index: -1;
    min-height: 600px;
}

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .iframe-video {
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 56.25vw; /* 16:9 */
        min-height: 100dvh;
        min-width: 177.78dvh; /* 16:9 inverse */
        transform: translate(-50%, -50%);
    }
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn::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: 0.5s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-btn.outline {
    background-color: transparent;
    border: 2px solid var(--white);
}

.hero-btn.outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Slick Slider Customization */
.slick-dots {
    bottom: 30px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--white);
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--secondary);
}

.slick-prev, .slick-next {
    width: 50px;
    height: 50px;
    z-index: 10;
}

.slick-prev {
    left: 25px;
}

.slick-next {
    right: 25px;
}

.slick-prev:before, .slick-next:before {
    font-size: 40px;
    color: var(--white);
    opacity: 0.7;
}

.slick-prev:hover:before, .slick-next:hover:before {
    opacity: 1;
    color: var(--secondary);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
}

/* Rooms Section */
.room-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    position: relative;
}

.room-card:hover {
    transform: translateY(-10px);
}

.room-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-img img {
    transform: scale(1.1);
}

.room-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.room-content {
    padding: 20px;
}

.room-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.room-features {
    display: flex;
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.room-features li {
    margin-right: 15px;
    color: var(--accent);
    font-size: 14px;
}

.room-features li i {
    margin-right: 5px;
}

.room-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Enhanced Partizan-style Services Section */
.services-partizan {
    background-color: var(--light);
    position: relative;
}

.service-scrollspy {
    position: relative;
    min-height: 600px;
}

.service-visual {
    position: sticky;
    top: 120px;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.service-image.active {
    opacity: 1;
}

.service-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(67, 65, 65, .8) 80%);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.service-image.active .service-image-overlay {
    transform: translateY(0);
    opacity: 1;
}

.service-image-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.service-sticky-content {
    padding: 40px 0;
}

.service-sticky-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-sticky-content p {
    color: var(--dark);
    margin-bottom: 30px;
    max-width: 800px;
}

.service-items {
    position: relative;
}

.service-item {
    padding: 40px;
    margin-bottom: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0.7;
    transform: translateX(20px);
}

.service-item.active {
    opacity: 1;
    transform: translateX(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--secondary);
}

.service-item.active .service-icon {
    background-color: var(--secondary);
}

.service-item.active .service-icon i {
    color: var(--white);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(200, 169, 126, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 28px;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.service-title {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-description {
    color: var(--dark);
    line-height: 1.7;
}

/* Stats Section */
.stats {
    background-image: url('assets/images/IMG_0686.jpg');
    color: var(--white);
    text-align: center;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
}

.stats::before {
  content: '';
  background: linear-gradient(rgba(67, 65, 65, 0.5), rgba(40, 38, 38, 0.9));
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.stats .container {
  position: relative;
  z-index: 3;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.stat-text {
    font-size: 1.1rem;
}

/* Improved Masonry Gallery */
.gallery-masonry {
    column-count: 3;
    column-gap: 15px;
}

@media (max-width: 992px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-masonry {
        column-count: 1;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 65, 65, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-overlay i {
    color: var(--white);
    font-size: 30px;
}

.lightbox .lb-nav a.lb-prev, .lightbox .lb-nav a.lb-next {
    width: 80px;
    height: 80px;
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(rgba(67, 65, 65, 0.5), rgba(40, 38, 38, 0.9)), url('assets/images/IMG_0679.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

.testimonials .section-title h2 {
    color: var(--white);
}

.testimonials .section-title h2::after {
    background-color: var(--secondary);
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(255, 255, 255, 0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

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

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.author-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.carousel-indicators {bottom: -40px;}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background-color: var(--secondary);
}

/* Contact Section */
.contact {
    background-color: var(--light);
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 20px;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.submit-btn {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

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

/* Enhanced Footer */
footer {
    background: linear-gradient(to bottom, var(--primary), rgb(40, 38, 38));
    color: var(--white);
    padding: 80px 0 20px;
    position: relative;
}

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

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 8px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

.footer-newsletter p {
    margin-bottom: 20px;
    color: #ccc;
}

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

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.payment-methods i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.payment-methods i:hover {
    color: var(--secondary);
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Lightbox Override */
.lightboxOverlay {
    background: rgba(0, 0, 0, 0.85) !important;
}

.lightbox .lb-image {
    border: 5px solid var(--white);
    border-radius: 4px;
}

.lightbox .lb-nav a.lb-prev, 
.lightbox .lb-nav a.lb-next {
    background-color: var(--secondary) !important;
    border-radius: 50%;
}

.lightbox .lb-close {
    background: var(--secondary) !important;
    border-radius: 50%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btn {
        margin: 0;
    }
    
    .service-visual {
        position: relative;
        top: 0;
        margin-bottom: 40px;
        height: 300px;
    }
}

.subpage-head {
    text-align: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 12rem 0 6rem 0;
    color: #fff;
    position: relative;
}

.subpage-head::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 0;
}

.section-title {
    position: relative;
    z-index: 1;
}

.subpage-head h2 {color: #fff;}

.price-table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    margin: 30px auto;
}

.price-table caption {
    text-align: left;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.price-table th,
.price-table td {
    border: 1px solid #ddd;
    padding: 10px 14px;
}

.price-table th {
    background-color: #f4f4f4;
    font-weight: 600;
    text-align: left;
}

.price-table td.price {
    text-align: right;
    white-space: nowrap;
    font-weight: 600;
}

.section-row th {
    background-color: #eaeaea;
    font-size: 16px;
}

.note {
    margin-top: 15px;
    text-align: center;
}

.note strong {
    color: #c0392b;
}

.wpcf7-form-control-wrap[data-name="datum-od"],
.wpcf7-form-control-wrap[data-name="datum-do"] {display: inline-block;}

#rooms ul li {
    position: relative;
    padding-left: 30px;
    padding-bottom: 5px;
}

#rooms ul li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media screen and (max-width: 991px) {
    .navbar-nav .nav-link, .navbar-nav .book-btn {text-align: center;}

    .navbar-nav .nav-item.dropdown .dropdown-menu {width: 100%;}
}

@media screen and (max-width: 767px) {
    .place .align-content-center {margin-bottom: 2rem;}

    .place .poloha-reorder {order: 5;}

    .ubytovanie-page .mt-5 > .row:nth-child(even) > div:first-of-type {order: 2; margin-bottom: 2rem !important;}

    .wpcf7-form .row > .col-md-6:nth-child(odd), .wpcf7-form .row > .col-md-4:not(:last-of-type) {margin-bottom: 1rem;}
}