* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --coffee-dark: #3E2723;
    --coffee-medium: #5D4037;
    --coffee-light: #8D6E63;
    --beige: #D7CCC8;
    --cream: #EFEBE9;
    --white: #FAFAFA;
    --warm-brown: #A1887F;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/FajciarksePriestory.jpg') fixed center/cover no-repeat;
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav.scrolled {
    padding: 1rem 5%;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 3rem;
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--beige);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--beige);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--beige);
}


.logo {
  font-family: 'Dancing Script', cursive;
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--beige);
}

.logo-m {
  font-family: 'Dancing Script', cursive;
  font-size: 3rem;
  font-weight: bold;
  color: whitesmoke;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo-m:hover {
  color: whitesmoke;
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--coffee-medium);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background: var(--coffee-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--beige);
    color: var(--white);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--beige);
    color: var(--coffee-dark);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* About Section with Independent Scroll Animation */
.about-section {
    padding: 8rem 5%;
    background: transparent;
}

.about-intro {
    text-align: center;
    margin-bottom: 5rem;
}

.about-intro h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.about-intro p {
    font-size: 1.3rem;
    color: var(--beige);
    max-width: 800px;
    margin: 0 auto;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.about-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Independent animations for image and text */
.about-image {
    flex: 1;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.9s ease;
}

/* Default: Image comes from left */
.about-item:nth-child(odd) .about-image {
    transform: translateX(-150px);
}

/* Reversed: Image comes from right */
.about-item:nth-child(even) .about-image {
    transform: translateX(150px);
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0) !important;
}

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

.about-text {
    flex: 1;
    padding: 2rem;
    opacity: 0;
    transition: all 0.9s ease;
    transition-delay: 0.2s;
}

/* Default: Text comes from right */
.about-item:nth-child(odd) .about-text {
    transform: translateX(150px);
}

/* Reversed: Text comes from left */
.about-item:nth-child(even) .about-text {
    transform: translateX(-150px);
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0) !important;
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--beige);
    line-height: 1.8;
}

/* Reservation Section */
.reservation-section {
    padding: 8rem 5%;
    background: transparent;
    text-align: center;
}

.reservation-content {
    max-width: 1200px;
    margin: 0 auto;
}

.reservation-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.reservation-content > p {
    font-size: 1.3rem;
    color: var(--beige);
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.reservation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.reservation-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.reservation-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.reservation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    height: 80px;
}

.reservation-card h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.reservation-card p {
    font-size: 1.1rem;
    color: var(--beige);
}

.reservation-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    display: inline-block;
    max-width: 800px;
}

.reservation-cta p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Location Section */
.location-section {
    padding: 8rem 5%;
    background: transparent;
}

.location-section h2 {
    font-size: 3rem;
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.map-container, .video-container {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container.visible {
    opacity: 1;
    transform: translateX(0);
}

.video-container {
    transform: translateX(100px);
}

.video-container.visible {
    opacity: 1;
    transform: translateX(0);
}

.map-container iframe, .video-container video {
    width: 100%;
    height: 450px;
    border: none;
}

.location-info {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.location-info p a {
    color: var(--beige);
    font-weight: bold;
}

.location-info p a:hover {
    color: var(--white);
    text-decoration: underline;
}

.location-info h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.location-info p {
    font-size: 1.2rem;
    color: var(--beige);
}

/* Story Section */
.story-section {
    padding: 8rem 5%;
    background: transparent;
}

.story-section h2 {
    font-size: 3rem;
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
}

.story-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.story-content p {
    font-size: 1.3rem;
    color: var(--white);
    line-height: 2;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Gallery Section */
.gallery-section {
    padding: 8rem 5%;
    background: transparent;
}

.gallery-section h2 {
    font-size: 3rem;
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
}

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

.gallery-item {
    height: 350px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.8s ease;
}

.gallery-item:nth-child(odd) {
    transform: translateX(-100px);
}

.gallery-item:nth-child(even) {
    transform: translateX(100px);
}

.gallery-item.visible {
    opacity: 1;
    transform: translateX(0);
}

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

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

.gallery-item {
    cursor: pointer;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
    animation: zoom 0.3s ease;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--beige);
    padding: 15px 0;
    font-size: 1.2rem;
    font-family: 'Dancing Script', cursive;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--beige);
    text-decoration: none;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
    }
}

/* Contact Section */
.contact-section {
    padding: 8rem 5%;
    background: transparent;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-text-side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.contact-item p {
    color: var(--beige);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-item p a {
    color: var(--beige);
    font-weight: 500;
}

.contact-item p a:hover {
    color: var(--white);
    text-decoration: underline;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--beige);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.social-icon-link:hover svg path {
    stroke: var(--white);
}

.footer-social {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-social-link {
    color: var(--beige);
}

.footer-social-link:hover {
    color: var(--white);
}

.footer-social-link:hover svg path {
    stroke: var(--white);
}

.contact-image-side {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image-side img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* Footer */
footer {
    background: var(--coffee-dark);
    color: var(--white);
    text-align: center;
    padding: 3rem 5%;
}

footer p {
    font-size: 1.1rem;
}

footer p a {
    color: var(--beige);
    font-weight: bold;
}

footer p a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Reviews Section */
.reviews-section {
    padding: 8rem 5%;
    background: transparent;
    text-align: center;
}

.reviews-section h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 4rem;
}

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

.review-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.review-stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.review-card cite {
    display: block;
    font-weight: bold;
    color: var(--beige);
    font-style: normal;
}

.reviews-cta {
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        justify-content: flex-start;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 1.5rem 0;
        gap: 0;
    }

    nav ul.open {
        display: flex;
    }

    nav ul li {
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 0.8rem 2rem;
    }

    nav ul li a:hover {
        background: rgba(215, 204, 200, 0.1);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-item {
        flex-direction: column !important;
    }

    .about-image,
    .about-text {
        transform: translateY(50px) !important;
    }

    .about-image.visible,
    .about-text.visible {
        transform: translateY(0) !important;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .video-container {
        transform: translateY(50px) !important;
    }

    .gallery-item:nth-child(odd),
    .gallery-item:nth-child(even) {
        transform: translateY(50px) !important;
    }

    .gallery-item.visible {
        transform: translateY(0) !important;
    }
}

/* Cookie Notice Styles */
.cookie-notice {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--coffee-dark);
    color: var(--white);
    padding: 1.5rem 5%;
    z-index: 2000;
    transition: bottom 0.5s ease;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

.cookie-notice.visible {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    font-size: 1rem;
    margin: 0;
}

.cookie-btn {
    background: var(--coffee-medium);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: var(--coffee-light);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
