/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

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

/* Alert Box */
.alert-box {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.alert-success {
    background-color: #d4edda;
    border-left: 5px solid #28a745;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-left: 5px solid #dc3545;
    color: #721c24;
}

/* Header - FONDO BLANCO */
.header {
    background: white;
    color: #003d82;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-bottom: 1px solid #e0e0e0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-forsailors {
    height: 50px;
    width: auto;
    margin-bottom: 5px;
}

.tagline {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid #007bff;
    background: white;
    color: #007bff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #f0f8ff;
}

.lang-btn.active {
    background: #007bff;
    color: white;
}

.logo-event {
    height: 80px;
    width: auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 300;
}

.hero-dates {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Main Content */
.main-content {
    padding: 40px 20px;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.8rem;
    color: #003d82;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

h3 {
    font-size: 1.3rem;
    color: #003d82;
    margin-bottom: 15px;
}

.section-intro {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.required {
    color: #dc3545;
    font-weight: bold;
}


/* Hull Package Section */
.hull-section {
    animation: fadeIn 0.5s ease-in;
}

.hull-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.hull-title {
    font-size: 1.8rem;
    color: #003d82;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hull-action {
    margin-top: 25px;
    text-align: center;
}

/* VIP Section */
.vip-section {
    animation: fadeIn 0.5s ease-in;
}

.vip-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.vip-intro {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #555;
}

.vip-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.benefit-icon {
    font-size: 1.5rem;
}

.vip-image {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.img-full {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Location Section */
.location-section {
    animation: fadeIn 0.5s ease-in 0.1s both;
}

.location-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.location-intro {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #555;
}

.location-images {
    display: grid;
    gap: 30px;
}

.location-image-item h3 {
    margin-bottom: 15px;
}

/* Availability Section */
.availability-section {
    animation: fadeIn 0.5s ease-in 0.2s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.availability-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.availability-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #003d82;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.stat-divider {
    font-size: 2rem;
    color: #ccc;
    font-weight: 300;
}

.btn-refresh {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-refresh:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Customer Section */
.customer-section {
    animation: fadeIn 0.5s ease-in 0.3s both;
}

.customer-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.billing-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

/* Booking Section */
.booking-section {
    animation: fadeIn 0.5s ease-in 0.4s both;
}

.booking-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-control.error {
    border-color: #dc3545;
}

.form-control.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

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

/* Package Info */
.package-info {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    font-weight: 600;
    color: #555;
}

.info-value {
    color: #007bff;
    font-weight: 600;
}

/* Cost Summary */
.cost-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.cost-summary h3 {
    font-size: 1.3rem;
    color: #003d82;
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #003d82;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #003d82;
}

/* Deposit Explanation Box */
.deposit-box {
    background: linear-gradient(135deg, #e7f3ff 0%, #d4e9ff 100%);
    border: 2px solid #007bff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.deposit-box h3 {
    color: #0056b3;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.deposit-box p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.deposit-box ul {
    margin: 15px 0 15px 25px;
    line-height: 1.8;
}

.deposit-box li {
    margin-bottom: 8px;
}

.deposit-box .highlight {
    background: white;
    padding: 15px;
    border-left: 4px solid #28a745;
    border-radius: 6px;
    margin: 15px 0;
    font-weight: 500;
}

.deposit-box .note {
    font-size: 0.95rem;
    color: #666;
    margin-top: 12px;
}

/* Bank Details Box - DESTACADO */
.bank-details-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 3px solid #ffc107;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.25);
}

.bank-details-box h3 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.bank-intro {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #856404;
}

.bank-info {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-label {
    font-weight: 600;
    color: #555;
}

.bank-value {
    font-family: 'Courier New', monospace;
    color: #003d82;
    font-weight: 600;
    font-size: 1.05rem;
}

.bank-instructions {
    margin-top: 20px;
}

.bank-highlight {
    background: white;
    padding: 15px;
    border-left: 4px solid #dc3545;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #721c24;
}

.bank-email {
    text-align: center;
    font-size: 1.2rem;
    margin: 15px 0;
}

.bank-email a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.bank-email a:hover {
    text-decoration: underline;
}

.bank-warning {
    background: #f8d7da;
    padding: 15px;
    border-left: 4px solid #dc3545;
    border-radius: 6px;
    color: #721c24;
    font-size: 0.95rem;
}

/* Buttons - MODERNOS */
.btn-primary {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,123,255,0.4);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.btn-primary:disabled {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    transform: none;
}

.error-message {
    margin-top: 15px;
    padding: 12px;
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    border-radius: 6px;
    color: #721c24;
    font-size: 0.95rem;
}

/* Policy Section */
.policy-section {
    animation: fadeIn 0.5s ease-in 0.5s both;
}

.policy-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.policy-card ul {
    margin: 15px 0 15px 25px;
}

.policy-card li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.policy-note {
    margin-top: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-left: 4px solid #007bff;
    border-radius: 6px;
}

.policy-note a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.policy-note a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #003d82;
    color: white;
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-content p {
    margin: 5px 0;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .logo-forsailors {
        height: 40px;
    }

    .logo-event {
        height: 60px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-section {
        align-items: center;
    }
    
    .language-selector {
        order: -1;
    }

    .availability-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-divider {
        transform: rotate(90deg);
    }

    .availability-card {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-refresh {
        width: 100%;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .vip-benefits {
        grid-template-columns: 1fr;
    }

    .info-row {
        flex-direction: column;
        gap: 5px;
    }

    .summary-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .bank-row {
        flex-direction: column;
        gap: 5px;
    }

    h2 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 40px 0;
    }

    .customer-card,
    .booking-card,
    .policy-card,
    .vip-card,
    .location-card {
        padding: 20px;
    }

    .deposit-box,
    .bank-details-box {
        padding: 20px;
    }
}
