/*
Theme Name: Astorya
Author: the Vladimir Kežić
Description: Hotel, restoraunt Astorya Banja Luka
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0 
*/
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background-color: #1a1a1a;
    color: #fff;
}

body.video-bg {
    background-color: transparent;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: scale(1.1);
}

.video-bg #bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
}

header {
    background-color: #333238;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(51, 50, 56, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    text-decoration: none;
    color: #fff;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    list-style: none;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: #c8a97e;
}

.book-now {
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    background-size: 200% auto;
    color: #000;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.5s;
}

.book-now:hover {
    background-position: right center;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.video-bg .hero {
    overflow: visible;
    position: static;
}

.hero-content {
    z-index: 1;
}


.hero-content h1 {
    font-family: 'Lora', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.btn {
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    background-size: 200% auto;
    color: #000;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
    transition: 0.5s;
}

.btn:hover {
    background-position: right center;
}

.booking-widget {
    background-color: #2b2b2b;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(51, 50, 56, 0.1);
}

.video-bg .booking-widget {
    background-color: rgba(43, 43, 43, 0.8);
}

.booking-widget form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    color: #fff;
}

.form-group input,
.form-group select {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
}

.dine-drink {
    padding: 4rem 1rem;
    text-align: center;
}

.video-bg .dine-drink {
    background-color: rgba(26, 26, 26, 0.8);
}

.dine-drink h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.card {
    background-color: #2b2b2b;
    box-shadow: 0 2px 4px rgba(51, 50, 56, 0.1);
    border-radius: 5px;
    overflow: hidden;
    max-width: 350px;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
}

.card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
}

.card-content p {
    margin: 0 0 1rem 0;
}

.card-content .btn {
    margin-top: auto;
}

footer {
    background-color: #333238;
    color: #fff;
    padding: 2rem 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.footer-section a {
    text-decoration: none;
    color: #fff;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease-in-out;
}

.carousel-section {
    padding: 4rem 1rem;
    text-align: center;
}

.video-bg .carousel-section {
    background-color: rgba(26, 26, 26, 0.8);
}

.carousel-section h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.carousel {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    background-color: rgba(51, 50, 56, 0.5);
    padding: 1rem;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(51, 50, 56, 0.8);
}

.testimonials {
    padding: 4rem 1rem;
    text-align: center;
}

.video-bg .testimonials {
    background-color: rgba(26, 26, 26, 0.8);
}

.testimonials h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background-color: #2b2b2b;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(51, 50, 56, 0.1);
}

.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card cite {
    font-weight: bold;
}

.blog-social {
    padding: 4rem 1rem;
    text-align: center;
}

.video-bg .blog-social {
    background-color: rgba(26, 26, 26, 0.8);
}

.blog-social h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-us {
    padding: 4rem 1rem;
    text-align: center;
    background-color: rgba(26, 26, 26, 0.8);
}

.about-us-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.about-us-content h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-us-images {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.about-us-images img {
    width: 100%;
    max-width: 350px;
    border-radius: 5px;
}

section img {
    border-radius: 5px;
    border: 0px !important;
}

@media (min-width: 769px) {
    .nav-links {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #333238;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 2rem;
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
        z-index: 2;
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .book-now {
        display: none;
    }

    .booking-widget form {
        flex-direction: column;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
}

.image-text-section {
    display: flex;
    align-items: center;
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.image-text-section .text-content {
    flex: 1;
}

.image-text-section .image-content {
    flex: 1;
}

.image-text-section img {
    width: 100%;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .image-text-section {
        flex-direction: column;
    }

    .gallery-item {
    float: none !important;
    margin-top: 10px !important;
    text-align: center !important;
    width: 100% !important;
}
}
