/* ================================================
   TAVERN SINGLE TEMPLATE STYLES
   ================================================ */

.tavern-single {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* ================================================
   MAIN CONTAINER - TWO COLUMNS
   ================================================ */

.tavern-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ================================================
   LEFT COLUMN - IMAGES
   ================================================ */

.tavern-images {
    position: sticky;
    top: 100px;
}

/* Featured Image */
.featured-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 20px;
}

.tavern-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.tavern-featured-image:hover {
    transform: scale(1.02);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #adb5bd;
}

.no-image-placeholder i {
    font-size: 64px;
    margin-bottom: 12px;
}

.no-image-placeholder p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

/* Gallery Thumbnails */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.gallery-thumb {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.gallery-thumb:hover {
    border-color: #10304A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 48, 74, 0.2);
}

.gallery-thumb.active {
    border-color: #10304A;
    box-shadow: 0 4px 12px rgba(16, 48, 74, 0.3);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================================================
   RIGHT COLUMN - INFO & BOOKING
   ================================================ */

.tavern-info-booking {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Header Section */
.tavern-header {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.tavern-title {
    margin: 0 0 24px;
    font-size: 2.5rem;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Alk Sanet', sans-serif;
}

/* Info Grid */
.tavern-info-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.info-item.address {
    font-size: 15px;
    color: #495057;
}

.info-item.address i {
    font-size: 20px;
    color: #10304A;
    flex-shrink: 0;
}

.info-item.address span {
    font-weight: 500;
    color: #1a1a1a;
}

.info-item.price {
    background: linear-gradient(135deg, #10304A 0%, #1a4060 100%);
    color: #ffffff;
}

.info-item.price i {
    font-size: 24px;
    color: #ffd700;
    flex-shrink: 0;
}

.price-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

/* ================================================
   FULL WIDTH DESCRIPTION SECTION
   ================================================ */

.tavern-description-full {
    margin-top: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tavern-description-full .description-content {
    padding: 40px;
}

.tavern-description-full h2 {
    margin: 0 0 24px;
    font-size: 1.75rem;
    color: #1a1a1a;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.tavern-description-full h2 i {
    color: #10304A;
    font-size: 1.5rem;
}

.tavern-description-full .description-text {
    line-height: 1.8;
    color: #495057;
    font-size: 15px;
}

.tavern-description-full .description-text p {
    margin-bottom: 16px;
}

.tavern-description-full .description-text p:last-child {
    margin-bottom: 0;
}

.tavern-description-full .description-text ul,
.tavern-description-full .description-text ol {
    margin: 16px 0;
    padding-left: 24px;
}

.tavern-description-full .description-text li {
    margin-bottom: 8px;
}

.tavern-description-full .description-text strong {
    color: #1a1a1a;
    font-weight: 600;
}

.tavern-description-full .description-text a {
    color: #10304A;
    text-decoration: underline;
}

.tavern-description-full .description-text a:hover {
    color: #1a4060;
}

/* ================================================
   BOOKING FORM
   ================================================ */

.tavern-booking-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
}

.booking-form-title {
    margin: 0 0 24px;
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-form-title i {
    color: #10304A;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-row-datetime,
.form-row-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.form-row-datetime .form-group,
.form-row-contact .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #10304A;
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #10304A;
    box-shadow: 0 0 0 4px rgba(16, 48, 74, 0.1);
}

input[type="time"].form-control {
    cursor: pointer;
}

/* Amount Selector */
.amount-selector {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.amount-btn {
    width: 48px;
    height: 48px;
    border: 2px solid #dee2e6;
    background: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #495057;
    font-size: 18px;
}

.amount-btn:hover {
    background: #10304A;
    border-color: #10304A;
    color: #ffffff;
    transform: scale(1.05);
}

.amount-btn:active {
    transform: scale(0.95);
}

.amount-input {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    cursor: default;
}

.amount-input:focus {
    border-color: #dee2e6;
    box-shadow: none;
}

/* Booking Summary */
.booking-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #495057;
}

.summary-label {
    font-weight: 500;
}

.summary-value {
    font-weight: 600;
    color: #1a1a1a;
}

.summary-line {
    height: 1px;
    background: #dee2e6;
    margin: 12px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    color: #1a1a1a;
}

.summary-total strong {
    font-weight: 700;
}

/* Booking Actions */
.booking-actions {
    margin-bottom: 20px;
}

.btn-submit-booking {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: linear-gradient(135deg, #10304A 0%, #1a4060 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.btn-submit-booking:hover {
    background: linear-gradient(135deg, #0a1f30 0%, #10304A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 48, 74, 0.3);
}

.btn-submit-booking:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Booking Message */
.booking-message {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
    align-items: center;
    gap: 10px;
}

.booking-message.success {
    display: flex;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.booking-message.error {
    display: flex;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.booking-message i {
    font-size: 16px;
}

/* Booking Features */
.booking-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.feature i {
    font-size: 20px;
    color: #10304A;
}

.feature span {
    font-size: 12px;
    color: #495057;
    font-weight: 500;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
    .tavern-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tavern-images {
        position: static;
    }
    
    .tavern-title {
        font-size: 2rem;
    }
    
    .tavern-description-full .description-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .tavern-single {
        padding: 20px 15px;
    }
    
    .tavern-header,
    .tavern-booking-form {
        padding: 20px;
    }
    
    .tavern-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .form-row-datetime,
    .form-row-contact {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-row-datetime .form-group,
    .form-row-contact .form-group {
        margin-bottom: 20px;
    }
    
    .booking-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .feature {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .tavern-description-full .description-content {
        padding: 24px;
    }
    
    .tavern-description-full h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tavern-title {
        font-size: 1.5rem;
    }
    
    .booking-form-title {
        font-size: 1.25rem;
    }
    
    .info-item {
        padding: 12px;
    }
    
    .info-item.address {
        font-size: 14px;
    }
    
    .info-item.address i {
        font-size: 18px;
    }
    
    .info-item.price i {
        font-size: 20px;
    }
    
    .price-value {
        font-size: 18px;
    }
    
    .amount-selector {
        gap: 8px;
    }
    
    .amount-btn {
        width: 44px;
        height: 44px;
    }
    
    .tavern-description-full .description-content {
        padding: 20px;
    }
    
    .tavern-description-full h2 {
        font-size: 1.25rem;
    }
}