/* Weinkultur Jakob Gerhardt - Vinothek Design */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #C9A961;
    --dark: #1a1a1a;
    --blue-dark: #1a3a52;
    --blue-mid: #2d5a7b;
}

body {
    font-family: 'Georgia', 'Garamond', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.logo-text p {
    color: var(--gold);
    font-size: 0.9rem;
    font-style: italic;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #666;
    transition: color 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.social-icons a svg {
    width: 24px;
    height: 24px;
}

.social-icons a:hover {
    color: var(--gold);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 5px 0;
}

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

.main-nav li.active a {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 50%, var(--blue-dark) 100%);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.85) 0%, rgba(45, 90, 123, 0.85) 50%, rgba(26, 58, 82, 0.85) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content-box {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(201, 169, 97, 0.3);
    border-radius: 12px;
    padding: 50px 40px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Mobile line breaks - nur auf kleinen Bildschirmen sichtbar */
.mobile-br {
    display: none;
}

@media (max-width: 768px) {
    .mobile-br {
        display: inline;
    }
}

/* Mobile button line breaks */
.mobile-br-btn {
    display: none;
}

@media (max-width: 768px) {
    .mobile-br-btn {
        display: inline;
    }
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: normal;
}

.hero .subtitle {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-style: italic;
}

.hero p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--dark);
}

.btn-gold:hover {
    background-color: #b89851;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 169, 97, 0.3);
}

.btn-white {
    background-color: white;
    color: var(--dark);
}

.btn-white:hover {
    background-color: #f0f0f0;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background-color: white;
}

.about-section h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    margin: 0 auto 40px;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: center;
    color: #555;
}

/* Events Section */
.events-section {
    padding: 80px 20px;
    background-color: #f8f8f8;
}

.events-section h3 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.event-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid #e5e7eb;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    border-color: var(--gold);
}

.event-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.event-content {
    padding: 25px;
}

.event-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #666;
    font-size: 0.95rem;
}

.event-meta.gold {
    color: var(--gold);
    font-weight: 600;
}

.event-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-details {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    margin-bottom: 20px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s;
}

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

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    border: none;
    background: none;
}

.modal-close:hover {
    color: var(--dark);
}

.modal h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.modal p {
    color: #666;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 15px;
}

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

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

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 20px 30px;
}

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

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section ul {
    line-height: 1.8;
    color: #ccc;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.9rem;
}

/* Loading & Messages */
.loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin: 20px 0;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    /* Kompakter Mobile Header - alles in einer Zeile */
    .header-content {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        gap: 10px;
        flex-wrap: nowrap;
    }
    
    /* Nur Logo-Bild verstecken, Text behalten */
    .logo-section a img {
        display: none;
    }
    
    .logo-section {
        flex: 1;
        gap: 0;
        min-width: 0;
        order: 2;
    }
    
    .logo-text {
        text-align: center;
        width: 100%;
    }
    
    .logo-text h1 {
        font-size: 0.95rem;
        line-height: 1.2;
        margin-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-text p {
        display: none;
    }
    
    /* Hamburger Menu ganz links */
    .hamburger-menu {
        display: flex;
        order: 1;
        flex-shrink: 0;
    }
    
    /* Navigation als Overlay */
    .main-nav {
        position: fixed;
        top: 58px;
        left: -100%;
        width: 250px;
        height: calc(100vh - 58px);
        background-color: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 999;
        padding: 20px 0;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    /* Social Icons rechts */
    .social-icons {
        display: flex;
        gap: 6px;
        order: 3;
        flex-shrink: 0;
    }
    
    .social-icons a {
        width: 32px;
        height: 32px;
    }
    
    .social-icons a svg {
        width: 20px;
        height: 20px;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero-content-box {
        padding: 35px 25px;
        max-width: 90%;
    }
    
    .hero h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .events-section h3 {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 350px;
        font-size: 0.9rem;
        padding: 12px 20px;
        line-height: 1.4;
        min-height: 48px;
    }
}

/* Landscape Mobile (Handy quer) */
@media (max-width: 900px) and (max-height: 500px) {
    header {
        position: relative;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo-section {
        gap: 10px;
    }
    
    .logo-section h1 {
        font-size: 1.2rem;
    }
    
    .logo-section .subtitle {
        font-size: 0.8rem;
    }
    
    nav ul {
        gap: 10px;
    }
    
    nav a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 40px 15px;
    }
    
    .hero-content-box {
        padding: 25px 15px;
        max-width: 95%;
    }
    
    .hero h2 {
        font-size: 1.6rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .hero .subtitle {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .hero p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
}



/* Event Detail Page */
.event-detail-banner {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
}

.event-detail-section {
    padding: 80px 20px;
    background-color: white;
}

.event-detail-container {
    max-width: 1000px;
    margin: 0 auto;
}

.event-detail-header {
    text-align: center;
    margin-bottom: 50px;
}

.event-detail-title {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.event-detail-meta-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.event-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #555;
}

.event-detail-meta-item strong {
    color: var(--dark);
}

.event-detail-price {
    font-size: 2rem;
    color: var(--gold);
    font-weight: bold;
    margin: 20px 0;
}

.event-detail-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.event-detail-details {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
    margin: 40px 0;
}

.event-detail-details h4 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.event-detail-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.event-detail-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    color: var(--gold);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--dark);
}

@media (max-width: 768px) {
    .event-detail-section {
        padding: 40px 15px;
    }
    
    .event-detail-banner {
        height: auto;
        object-fit: contain;
        border-radius: 5px;
        margin-bottom: 30px;
    }
    
    .event-detail-title {
        font-size: 1.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .event-detail-meta-row {
        gap: 15px;
        font-size: 0.95rem;
    }
    
    .event-detail-meta-item {
        font-size: 1rem;
    }
    
    .event-detail-price {
        font-size: 1.5rem;
    }
    
    .event-detail-description {
        font-size: 1rem;
    }
    
    .event-detail-actions {
        flex-direction: column;
    }
    
    .event-detail-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .event-detail-title {
        font-size: 1.5rem;
    }
    
    .event-detail-price {
        font-size: 1.3rem;
    }
}




/* Venues Page Styles */
.venues-hero {
    background: linear-gradient(135deg, #1a3a52 0%, #2d5a7b 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.venues-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: normal;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.venues-hero .subtitle {
    font-size: 1.8rem;
    color: var(--gold);
    font-style: italic;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.venues-section {
    padding: 80px 20px;
    background-color: #f8f8f8;
}

.venue-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.venue-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.venue-item.reverse .venue-images {
    order: 2;
}

.venue-item.reverse .venue-description {
    order: 1;
}

.venue-main-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

.venue-main-image:hover img {
    transform: scale(1.05);
}

.venue-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px;
}

.venue-overlay h2 {
    color: white;
    font-size: 2rem;
    margin: 0;
    font-weight: normal;
}

.venue-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
}

.venue-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.venue-description {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.venue-description h3 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: normal;
}

.venue-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.cta-section {
    background: linear-gradient(135deg, #1a3a52 0%, #2d5a7b 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: normal;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Responsive Venues */
@media (max-width: 768px) {
    .venue-item,
    .venue-item.reverse {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 50px;
    }
    
    .venue-item.reverse .venue-images,
    .venue-item.reverse .venue-description {
        order: initial;
    }
    
    .venue-main-image {
        height: 300px;
    }
    
    .venue-overlay h2 {
        font-size: 1.5rem;
    }
    
    .venue-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        padding: 5px;
    }
    
    .venue-gallery img {
        height: 100px;
    }
    
    .venue-description {
        padding: 30px 20px;
    }
    
    .venue-description h3 {
        font-size: 1.5rem;
    }
    
    .venue-description p {
        font-size: 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

