/* ================================================
   HORSE TOUR SINGLE TEMPLATE STYLES
   ================================================ */

.horse-tour-single {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* ================================================
   MAIN CONTAINER - TWO COLUMNS
   ================================================ */

.horse-tour-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ================================================
   LEFT COLUMN - IMAGES
   ================================================ */

.horse-tour-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;
}

.horse-tour-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.horse-tour-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
   ================================================ */

.horse-tour-info-booking {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Header Section */
.horse-tour-header {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.horse-tour-title {
    margin: 0 0 24px;
    font-size: 2.5rem;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Alk Sanet';
}

/* Specs Grid */
.horse-tour-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.spec-item.price {
    background: linear-gradient(135deg, #10304A 0%, #1a4060 100%);
    color: #ffffff;
}

.spec-item i {
    font-size: 24px;
    color: #10304A;
    flex-shrink: 0;
}

.spec-item.price i {
    color: #ffd700;
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    font-weight: 500;
    word-break: break-word;
}

.spec-item.price .spec-label {
    color: rgba(255, 255, 255, 0.9);
}

.spec-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.spec-item.price .spec-value {
    color: #ffffff;
    font-size: 20px;
}

/* ================================================
   FULL WIDTH DESCRIPTION SECTION
   ================================================ */

.horse-tour-description-full {
    margin-top: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.horse-tour-description-full .description-content {
    padding: 40px;
}

.horse-tour-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;
}

.horse-tour-description-full h2 i {
    color: #10304A;
    font-size: 1.5rem;
}

.horse-tour-description-full .description-text {
    line-height: 1.8;
    color: #495057;
    font-size: 15px;
}

.horse-tour-description-full .description-text p {
    margin-bottom: 16px;
}

.horse-tour-description-full .description-text p:last-child {
    margin-bottom: 0;
}

.horse-tour-description-full .description-text ul,
.horse-tour-description-full .description-text ol {
    margin: 16px 0;
    padding-left: 24px;
}

.horse-tour-description-full .description-text li {
    margin-bottom: 8px;
}

.horse-tour-description-full .description-text strong {
    color: #1a1a1a;
    font-weight: 600;
}

.horse-tour-description-full .description-text a {
    color: #10304A;
    text-decoration: underline;
}

.horse-tour-description-full .description-text a:hover {
    color: #1a4060;
}

/* ================================================
   BOOKING FORM
   ================================================ */

.horse-tour-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-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);
}

/* 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 Total */
.booking-total {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.total-breakdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #495057;
}

.breakdown-label {
    font-weight: 500;
}

.breakdown-value {
    font-weight: 600;
    color: #1a1a1a;
}

.total-line {
    height: 1px;
    background: #dee2e6;
    margin: 12px 0;
}

.total-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    color: #1a1a1a;
}

.total-final strong {
    font-weight: 700;
}

/* Booking Actions */
.booking-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-add-cart,
.btn-book-now {
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-add-cart {
    background: #ffffff;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.btn-add-cart:hover {
    background: #1a1a1a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 26, 26, 0.2);
}

.btn-book-now {
    background: linear-gradient(135deg, #10304A 0%, #1a4060 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.btn-book-now:hover {
    background: linear-gradient(135deg, #0a1f30 0%, #10304A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 48, 74, 0.3);
}

.btn-add-cart:disabled,
.btn-book-now: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) {
    .horse-tour-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .horse-tour-images {
        position: static;
    }
    
    .horse-tour-title {
        font-size: 2rem;
    }
    
    .horse-tour-description-full .description-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .horse-tour-single {
        padding: 20px 15px;
    }
    
    .horse-tour-header,
    .horse-tour-booking-form {
        padding: 20px;
    }
    
    .horse-tour-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .horse-tour-specs {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .booking-actions {
        grid-template-columns: 1fr;
    }
    
    .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;
    }
    
    .horse-tour-description-full .description-content {
        padding: 24px;
    }
    
    .horse-tour-description-full h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .horse-tour-title {
        font-size: 1.5rem;
    }
    
    .booking-form-title {
        font-size: 1.25rem;
    }
    
    .spec-item {
        padding: 12px;
    }
    
    .spec-item i {
        font-size: 20px;
    }
    
    .spec-value {
        font-size: 16px;
    }
    
    .amount-selector {
        gap: 8px;
    }
    
    .amount-btn {
        width: 44px;
        height: 44px;
    }
    
    .horse-tour-description-full .description-content {
        padding: 20px;
    }
    
    .horse-tour-description-full h2 {
        font-size: 1.25rem;
    }
}

/* Price Breakdown Styling */
.price-breakdown {
    margin-top: 16px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.price-row span:first-child {
    color: #495057;
    font-weight: 500;
}

.price-row strong,
.price-row span:last-child {
    font-weight: 600;
    color: #1a1a1a;
}

.price-row.deposit {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 12px 16px;
    margin: 8px -16px;
    border-radius: 8px;
}

.price-row.deposit span:first-child {
    color: #1565c0;
    font-weight: 600;
}

.price-row.deposit strong {
    color: #0d47a1;
    font-size: 18px;
}

.price-row.remaining {
    padding-top: 12px;
}

.price-row.remaining span:first-child {
    color: #666;
}

.price-row.remaining span:last-child {
    color: #666;
    font-weight: 500;
}

/* First price row (სრული ღირებულება) */
.price-row:first-child {
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

/* Responsive */
@media (max-width: 480px) {
    .price-row {
        font-size: 13px;
    }
    
    .price-row.deposit strong {
        font-size: 16px;
    }
}