/* Niksar Camping Frontend Styles - Clean & Modern */
* {
    box-sizing: border-box;
}

.niksar-camping-form-container {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.niksar-camping-form-wrapper {
    width: 100%;
    max-width: none;
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    border: none;
}

.niksar-camping-form-header {
    background: #ffffff;
    color: #1f2937;
    padding: 32px 24px 24px;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
}

.niksar-camping-form-header h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 600;
    color: #1f2937;
}

.niksar-camping-form-header p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    font-weight: 400;
}

/* Progress Bar */
.niksar-progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 150px;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
    transition: all 0.2s ease;
}

.progress-step.active:not(:last-child)::after,
.progress-step.completed:not(:last-child)::after {
    background: #1877f2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    transition: all 0.2s ease;
}

.progress-step.active .step-number {
    background: #1877f2;
    color: white;
}

.progress-step.completed .step-number {
    background: #10b981;
    color: white;
}

.step-label {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: #1877f2;
}

/* Form Steps */
.niksar-camping-form {
    padding: 32px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    margin: 0 0 24px 0;
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
}

.niksar-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.niksar-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.niksar-form-group .required {
    color: #ef4444;
}

.niksar-form-group input,
.niksar-form-group textarea,
.niksar-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1f2937;
}

.niksar-form-group input:focus,
.niksar-form-group textarea:focus,
.niksar-form-group select:focus {
    outline: none;
    border-color: #1877f2;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}

/* Accommodation Grid */
.niksar-accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 20px;
    position: relative;
    min-height: 200px;
}

.accommodation-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.accommodation-loading-overlay.show {
    opacity: 1;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.loading-spinner-large {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #1877f2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

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

.niksar-accommodation-option {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    background: #ffffff;
    display: none;
    opacity: 0;
}

.niksar-accommodation-option.available {
    display: block;
    animation: fadeInUp 0.3s ease forwards;
}

.niksar-accommodation-option.unavailable {
    display: block;
    animation: fadeInUp 0.3s ease forwards;
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
    }
}

.niksar-accommodation-option:hover:not(.unavailable) {
    border-color: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.1);
}

.niksar-accommodation-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.niksar-accommodation-option input[type="radio"]:checked + label {
    border-color: #1877f2;
    background: #f8faff;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.15);
}

.niksar-accommodation-option label {
    display: block;
    padding: 20px;
    cursor: pointer;
    margin: 0;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.accommodation-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.accommodation-icon {
    font-size: 28px;
    flex-shrink: 0;
    color: #1877f2;
}

.accommodation-title {
    flex: 1;
}

.accommodation-title h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.accommodation-title p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.accommodation-features {
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
}

.feature-icon {
    font-size: 12px;
    color: #10b981;
}

.accommodation-gallery {
    margin-bottom: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item {
    aspect-ratio: 1;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.2s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.accommodation-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.availability-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
}

.availability-info .available {
    color: #10b981;
    background: #ecfdf5;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #10b981;
    display: flex;
    align-items: center;
    gap: 6px;
}

.availability-info .unavailable {
    color: #ef4444;
    background: #fef2f2;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #ef4444;
    display: flex;
    align-items: center;
    gap: 6px;
}

.availability-info .checking {
    color: #f59e0b;
    background: #fffbeb;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #f59e0b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.availability-info .checking::before {
    content: '';
    width: 12px;
    height: 12px;
    border: 2px solid #f59e0b;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.price-info {
    text-align: right;
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.total-price {
    font-size: 18px;
    font-weight: 700;
    color: #1877f2;
    margin-bottom: 2px;
}

.price-details {
    font-size: 12px;
    color: #6b7280;
}

/* Photo Lightbox */
.photo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-lightbox.show {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.photo-lightbox.show .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.lightbox-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.lightbox-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f3f4f6;
}

.form-navigation button {
    background: #1877f2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-navigation button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.form-navigation button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-navigation .btn-prev {
    background: #f3f4f6;
    color: #374151;
}

.form-navigation .btn-prev:hover {
    background: #e5e7eb;
}

.btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.loading-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Success Screen - Tamamen Yeniden Düzenlenmiş */
.niksar-success-screen {
    padding: 40px 32px;
    text-align: center;
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.success-header {
    margin-bottom: 32px;
}

.success-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.success-header h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 600;
    color: #1f2937;
}

.success-header p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
}

.reservation-summary {
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
    border: 1px solid #f3f4f6;
    width: 100%;
    box-sizing: border-box;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.summary-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.reservation-badge {
    background: #1877f2;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    width: 100%;
}

.summary-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}

.summary-card.full-width {
    grid-column: 1 / -1;
}

.card-icon {
    font-size: 18px;
    width: 40px;
    height: 40px;
    background: #1877f2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.card-content {
    flex: 1;
    min-width: 0;
}

.card-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
    word-wrap: break-word;
    line-height: 1.4;
}

.success-info {
    margin-bottom: 32px;
}

.info-box {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    display: flex;
    gap: 16px;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
    color: #d97706;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    margin: 0 0 12px 0;
    color: #d97706;
    font-size: 16px;
    font-weight: 600;
}

.info-content ul {
    margin: 0;
    padding-left: 20px;
    color: #d97706;
}

.info-content li {
    margin-bottom: 6px;
    line-height: 1.5;
    font-size: 14px;
}

.success-actions {
    margin-top: 32px;
}

.btn-new-reservation {
    background: #1877f2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-new-reservation:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 16px;
}

/* Messages */
.niksar-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    border: 1px solid;
    font-size: 14px;
}

.niksar-message.success {
    background: #ecfdf5;
    color: #065f46;
    border-color: #10b981;
}

.niksar-message.error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #ef4444;
}

.niksar-message ul {
    margin: 0;
    padding-left: 20px;
}

/* Font Awesome Icons */
.fa {
    margin-right: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .niksar-camping-form-container {
        padding: 0;
    }
    
    .niksar-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .niksar-camping-form-header {
        padding: 24px 20px 20px;
    }
    
    .niksar-camping-form-header h2 {
        font-size: 24px;
    }
    
    .niksar-camping-form {
        padding: 24px;
    }
    
    .niksar-progress-bar {
        padding: 20px 16px;
    }
    
    .progress-step {
        max-width: 100px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-navigation button {
        width: 100%;
    }
    
    .niksar-success-screen {
        padding: 32px 24px;
    }
    
    .reservation-summary {
        padding: 20px;
    }
    
    .summary-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .info-box {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .form-step h3 {
        font-size: 20px;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .niksar-accommodation-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-header {
        padding: 15px;
    }
    
    .lightbox-title {
        font-size: 16px;
    }
    
    .lightbox-close {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .accommodation-info {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .price-info {
        text-align: left;
        width: 100%;
    }
    
    .price-display {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .summary-card {
        padding: 12px;
        gap: 8px;
    }
    
    .card-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .card-value {
        font-size: 13px;
    }
    
    .card-label {
        font-size: 11px;
    }
    
    .success-header h2 {
        font-size: 24px;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}