/* Color Scheme - Black and White */
:root {
    --primary-color: #000000; /* Black */
    --secondary-color: #FFFFFF; /* White */
    --accent-color: #333333; /* Dark Grey */
    --dark-color: #000000; /* Black */
    --light-color: #F5F5F5; /* Light Grey */
    --text-dark: #000000;
    --text-light: #FFFFFF;
    --bg-light: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.main-header {
    background: var(--dark-color);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid var(--secondary-color);
}

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

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

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

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

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

.main-nav a:hover,
.main-nav a.active {
    color: var(--secondary-color);
}

.main-nav a.active::after {
    background: var(--secondary-color);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.language-switcher a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.language-switcher a:hover,
.language-switcher a.active {
    background: var(--secondary-color);
    color: var(--dark-color);
    border: 1px solid var(--secondary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                url('../images/_IMG3088.JPG') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

/* Beer Man Animation */
.hero-beer-man {
    position: absolute;
    bottom: -15px;
    right: 0;
    z-index: 2;
    width: 300px;
    height: auto;
    animation: slideUpBeerMan 1.5s ease-out forwards;
    opacity: 0;
    transform: translateY(100%);
}

.beer-man-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes slideUpBeerMan {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 968px) {
    .hero-beer-man {
        width: 200px;
    }
    
    .beer-man-image {
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .hero-beer-man {
        width: 150px;
    }
    
    .beer-man-image {
        max-width: 150px;
    }
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--dark-color);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 1.5rem;
}

.highlight {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.2rem;
    font-style: italic;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Attractions List */
.attractions-list {
    list-style: none;
    padding-left: 0;
}

.attractions-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.attractions-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Jemnice Section with Background Image */
.jemnice-section {
    position: relative;
    background-image: url('../images/jemnice-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.jemnice-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 0;
}

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

.jemnice-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.75);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

@media (max-width: 768px) {
    .jemnice-section {
        background-attachment: scroll;
    }
    
    .jemnice-content {
        padding: 2rem;
    }
}

/* Social Section (Facebook & Google Reviews) */
.social-section {
    background: var(--bg-light);
}

.social-feeds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
    align-items: start;
}

.social-feed-item {
    display: flex;
    flex-direction: column;
}

.social-feed-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.facebook-feed,
.google-reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.facebook-feed iframe,
.google-reviews iframe {
    border: none;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    max-width: 100%;
    width: 100%;
}

.facebook-fallback,
.google-reviews-fallback {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    width: 100%;
}

.google-reviews-container {
    width: 100%;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.google-reviews-container::-webkit-scrollbar {
    width: 6px;
}

.google-reviews-container::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 10px;
}

.google-reviews-container::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.review-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-color);
}

.reviewer-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    flex-shrink: 0;
}

.profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--light-color);
}

.profile-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    border: 2px solid var(--light-color);
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.85rem;
    color: #666;
}

.review-rating {
    margin-left: 1rem;
    flex-shrink: 0;
}

.stars {
    color: #FFA500;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.review-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.review-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--light-color);
}

.review-image:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.google-reviews-link {
    margin-top: 1.5rem;
}

@media (max-width: 968px) {
    .social-feeds {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .facebook-feed iframe,
    .google-reviews iframe {
        width: 100% !important;
        max-width: 100%;
    }
}

/* Page Hero */
.page-hero {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 3px solid var(--secondary-color);
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
}

/* History Section */
.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.history-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.history-text h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 2rem;
}

.history-featured-image {
    position: sticky;
    top: 100px;
    align-self: start;
}

.history-large-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
    object-fit: cover;
    transition: var(--transition);
}

.history-large-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.history-gallery-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid var(--light-color);
}

.history-gallery-section .image-gallery {
    grid-template-columns: repeat(3, 1fr);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--secondary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

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

.timeline-year {
    width: 120px;
    height: 120px;
    background: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    margin: 0 2rem;
    box-shadow: 0 5px 15px var(--shadow);
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* Gallery Section */
.gallery-section {
    background: var(--bg-light);
}

.gallery-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.main-footer {
    background: var(--dark-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.social-link {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    margin-top: 0.5rem;
}

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

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

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

/* Responsive Design */
@media (max-width: 968px) {
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-header {
        position: relative;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-color);
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 15px var(--shadow);
        order: 3;
        margin-top: 0;
    }
    
    .main-nav.active {
        max-height: 500px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .language-switcher {
        margin-left: auto;
    }
    
    .timeline::before {
        left: 60px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 100px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        width: 80px;
        height: 80px;
        font-size: 1.2rem;
        margin: 0;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .history-gallery-section .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .history-gallery-section .image-gallery {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close,
.lightbox-nav {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    line-height: 1;
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    font-size: 40px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-prev {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    
    .lightbox-prev {
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 25px;
    }
    
    .lightbox-next {
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 25px;
    }
    
    .lightbox-image-container {
        max-width: 95%;
        max-height: 85%;
    }
}

