/* Ana Site CSS */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Statistics */
.stat-item {
    padding: 2rem 1rem;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    color: #007bff;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

/* Buttons */
.btn {
    border-radius: 25px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Forms */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Badges */
.badge {
    border-radius: 15px;
    padding: 0.5rem 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alert Messages */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Price Display */
.price {
    font-weight: bold;
    color: #28a745;
}

.discount-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9em;
}

/* Price Cards */
.price-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border: 1px solid #dee2e6 !important;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.price-display {
    text-align: center;
}

.quantity-selector {
    margin-top: auto;
}

/* Category Cards */
.category-section {
    margin-bottom: 3rem;
}

.category-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
}

.category-body {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 0 0 10px 10px;
}

/* Hotel Cards */
.hotel-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border: 1px solid #dee2e6 !important;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Transfer Cards */
.transfer-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border: 1px solid #dee2e6 !important;
}

.transfer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Tour Cards */
.tour-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border: 1px solid #dee2e6 !important;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Card Images */
.card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Card Content */
.card-content {
    padding: 1rem;
}

/* Hotel Cards */
.hotel-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e9ecef !important;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Period Price Cards */
.period-price-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6 !important;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.period-price-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.period-price-card.current-period {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745 !important;
    position: relative;
}

.period-price-card.current-period::before {
    content: "✓";
    position: absolute;
    top: -8px;
    right: -8px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.period-price-card.current-period strong {
    color: #155724;
}

.period-price-card.current-period small {
    color: #155724 !important;
}

/* Tour Cards */
.tour-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e9ecef !important;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Transfer Cards */
.transfer-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e9ecef !important;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.transfer-selector {
    margin-top: auto;
}

.transfer-toggle .btn {
    transition: all 0.3s ease;
    border-radius: 6px;
    font-weight: 500;
}

.transfer-toggle .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.transfer-toggle .btn.selected {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.transfer-toggle .btn.selected:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Hotel Toggle Buttons */
.hotel-toggle .btn {
    transition: all 0.3s ease;
    border-radius: 6px;
    font-weight: 500;
}

.hotel-toggle .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hotel-toggle .btn.selected {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.hotel-toggle .btn.selected:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.hotel-selector {
    margin-top: auto;
}

/* Card content when no image */
.hotel-card .card-content:first-child,
.tour-card .card-content:first-child {
    padding-top: 1rem;
}

/* Tour Cards */
.tour-card {
    position: relative;
    overflow: hidden;
}

.tour-card .card-img-top {
    transition: transform 0.3s ease;
}

.tour-card:hover .card-img-top {
    transform: scale(1.1);
}

.tour-card .card-body {
    position: relative;
    z-index: 1;
}

/* Category Cards */
.category-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.category-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
} 

/* Hotel price cards styling */
.period-price-card {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6 !important;
}

.period-price-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.period-price-card.current-period {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745 !important;
    position: relative;
}

.period-price-card.current-period::before {
    content: "✓";
    position: absolute;
    top: -8px;
    right: -8px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.price-section {
    text-align: center;
    margin: 10px 0;
}

.price-display {
    font-size: 1.25rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.price-details {
    margin-top: 5px;
}

.per-person-info {
    color: #6c757d;
    font-size: 0.875rem;
}

.per-person-price {
    color: #17a2b8 !important;
    font-weight: 500;
    font-size: 0.875rem;
    margin-top: 2px;
}

.extension-price {
    font-weight: 500;
    color: #495057;
}

/* Hotel card improvements */
.hotel-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
}

.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hotel-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hotel-card .card-content {
    padding: 20px;
}

.hotel-card h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.hotel-card .badge {
    font-size: 0.75rem;
    padding: 6px 10px;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Period prices grid */
.period-prices .row {
    margin: 0 -5px;
}

.period-prices .col-4 {
    padding: 0 5px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .period-price-card {
        margin-bottom: 10px;
    }
    
    .price-display {
        font-size: 1.1rem;
    }
    
    .hotel-card .card-content {
        padding: 15px;
    }
} 

/* Disabled button styling */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #6c757d;
}

.btn:disabled:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #6c757d;
    transform: none;
}

/* Readonly input styling */
input[readonly] {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
    cursor: not-allowed;
}

input[readonly]:focus {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    box-shadow: none;
}

/* Guest info styling */
.guest-info {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 5px;
}

.guest-info.single {
    color: #28a745;
}

.guest-info.double {
    color: #17a2b8;
} 

/* Variation selection styling */
.quantity-selector {
    margin-top: 15px;
}

.quantity-selector .input-group {
    max-width: 150px;
    margin: 0 auto;
}

.quantity-selector .btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-selector .btn:hover {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.quantity-selector .form-control {
    text-align: center;
    font-weight: bold;
    border-left: 0;
    border-right: 0;
}

.quantity-selector .form-control:focus {
    box-shadow: none;
    border-color: #007bff;
}

/* Price card improvements */
.price-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
}

.price-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.price-card.selected {
    border-color: #28a745;
    background-color: #f8fff9;
}

/* Debug styling */
.debug-info {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 5px;
} 

/* Variation quantity selector styling */
.quantity-selector {
    margin-top: 15px;
}

.quantity-selector .input-group {
    max-width: 150px;
    margin: 0 auto;
}

.quantity-selector .btn {
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
}

.quantity-selector .btn:hover {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.quantity-selector .form-control {
    text-align: center;
    font-weight: bold;
    border-left: 0;
    border-right: 0;
    background-color: white;
    color: #495057;
    min-height: 38px;
}

.quantity-selector .form-control:focus {
    box-shadow: none;
    border-color: #007bff;
    background-color: white;
}

.quantity-selector .form-control::-webkit-inner-spin-button,
.quantity-selector .form-control::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-selector .form-control[type=number] {
    -moz-appearance: textfield;
}

/* Input group styling */
.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .btn {
    border-radius: 0;
}

.input-group .btn:first-child {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.input-group .btn:last-child {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.input-group .form-control {
    border-radius: 0;
}

/* Debug styling for input visibility */
.quantity-selector .form-control {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: white !important;
    border: 1px solid #ced4da !important;
} 