/* Modern Booking Page Styles */
:root {
    --primary-color: #c4212b;
    --primary-light: #de3142;
    --primary-dark: #a01b24;
    --secondary-color: #0062cc;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px 0;
    overflow-x: hidden;
}

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

.contact-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 20px auto;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    animation: slideUp 0.6s ease-out;
    width: 100%;
    max-width: 650px;
}

.contact-form:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
}

.contact-image {
    text-align: center;
    padding: 30px 0 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-image img {
    max-width: 200px;
    width: auto;
    height: auto;
    transition: var(--transition);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    background: white;
    padding: 20px;
    border-radius: 50%;
}

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

.contact-form form {
    padding: 40px;
}

.contact-form h3 {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.contact-form h4 {
    color: var(--success-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 25px;
    text-align: center;
    padding: 10px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
}

.important-notes {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    border-left: 4px solid #f39c12;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.1);
}

.note-item {
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.note-item:last-child {
    margin-bottom: 0;
}

.note-item strong {
    color: #9c5f00;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background: #fff;
    color: var(--dark-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 33, 43, 0.1);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

.form-check-container {
    margin: 30px 0;
    padding: 20px;
    background: rgba(196, 33, 43, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(196, 33, 43, 0.1);
}

.form-check {
    display: block;
    position: relative;
    margin-bottom: 10px;
    padding-left: 30px;
    min-height: 20px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
    margin: 0;
}

.form-check-label {
    color: var(--dark-color);
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
    margin: 0;
    display: block;
    padding-left: 0;
    position: relative;
}

.form-text {
    color: #6c757d;
    font-size: 13px;
    margin-top: 8px;
    display: block;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

label:not(.sr-only):not(.form-check-label) {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 14px;
}

/* Upsell Section */
.upsell-section {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
}

.upsell-section h4 {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.upsell-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.related-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 150px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}



.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h5 {
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.3;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.btn-view-product {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-view-product:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.btnContact {
    width: 100%;
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btnContact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btnContact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 33, 43, 0.3);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.btnContact:hover::before {
    left: 100%;
}

.btnContact:active {
    transform: translateY(0);
}

.error-message {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: var(--danger-color);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--danger-color);
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    animation: shake 0.5s ease-in-out;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .contact-form {
        margin: 15px auto;
        width: 100%;
        max-width: none;
    }
    
    .contact-form form {
        padding: 30px 25px;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .important-notes {
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .note-item {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    textarea.form-control {
        min-height: 70px;
    }
    
    .btnContact {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    .form-text {
        font-size: 12px;
    }
    
    .upsell-section {
        margin-top: 30px;
        padding: 20px;
    }
    
    .upsell-section h4 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .related-products {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-info h5 {
        font-size: 13px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px 0;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .contact-form {
        margin: 10px auto;
        border-radius: 8px;
    }
    
    .contact-form form {
        padding: 25px 20px;
    }
    
    .contact-form h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .contact-image {
        padding: 20px 0 15px;
    }
    
    .contact-image img {
        max-width: 140px;
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .form-check-container {
        padding: 15px;
        margin: 20px 0;
    }
    
    .form-check {
        padding-left: 35px;
        min-height: 22px;
    }
    
    .form-check-input {
        width: 20px;
        height: 20px;
        top: 1px;
    }
    
    .form-check-label {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .btnContact {
        padding: 12px 20px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .form-text {
        font-size: 11px;
        margin-top: 6px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .contact-form form {
        padding: 20px 15px;
    }
    
    .contact-form h3 {
        font-size: 1.2rem;
    }
    
    .important-notes {
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .note-item {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .contact-image img {
        max-width: 120px;
        padding: 10px;
    }
    
    .form-control {
        padding: 8px 10px;
    }
    
    .btnContact {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .upsell-section {
        margin-top: 20px;
        padding: 15px;
    }
    
    .upsell-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .related-products {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .product-card {
        display: flex;
        align-items: center;
    }
    
    .product-image {
        height: 80px;
        width: 80px;
        flex-shrink: 0;
    }
    
    .product-info {
        padding: 10px;
        text-align: left;
        flex: 1;
    }
    
    .product-info h5 {
        font-size: 12px;
        height: auto;
        margin-bottom: 8px;
    }
    
    .product-price {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .btn-view-product {
        padding: 6px 12px;
        font-size: 10px;
    }
    

}

/* Form text and labels */
.form-group .form-text {
    margin-top: 5px;
    font-style: italic;
    opacity: 0.8;
}

.form-check-container .form-text {
    margin-top: 8px;
    margin-left: 0;
    font-size: 12px;
    opacity: 0.7;
}

/* Textarea specific styling */
textarea.form-control {
    transition: var(--transition);
}

textarea.form-control:focus {
    min-height: 100px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .contact-form {
        background: rgba(33, 37, 41, 0.95);
        color: #f8f9fa;
    }
    
    .contact-form h3,
    .contact-form h4,
    .form-check-label,
    label:not(.sr-only):not(.form-check-label) {
        color: #f8f9fa;
    }
    
    .form-control {
        background: #495057;
        border-color: #6c757d;
        color: #f8f9fa;
    }
    
    .form-control::placeholder {
        color: #adb5bd;
    }
    
    .form-text {
        color: #adb5bd;
    }
    
    .upsell-section {
        background: rgba(33, 37, 41, 0.95);
    }
    
    .upsell-section h4 {
        color: #f8f9fa;
    }
    
    .product-card {
        background: #495057;
        border-color: #6c757d;
    }
    
    .product-info h5 {
        color: #f8f9fa;
    }
    

}

/* Accessibility improvements */
.form-control:focus,
.btnContact:focus,
.form-check-input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white;
    }
    
    .contact-form {
        box-shadow: none;
        border: 1px solid #ccc;
    }
} 