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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f0;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    
}

/* Header Banner */
.header-banner {
    background: linear-gradient(135deg, #ff7a85, #ff9a9e);
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(255, 122, 133, 0.3);
    padding: 20px 0;
}
/* Header Section Styles */
.section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: linear-gradient(135deg, rgb(254, 205, 165) 16%, rgb(254, 45, 45) 69%, rgb(107, 0, 62) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 70px;
}

/* Add subtle overlay for better text readability */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Event Information Text */
.header p {
    margin: 0;
    position: relative;
    z-index: 2;
   
    padding-right: 20px;
}

.header p strong {
    font-weight: 700;
}

.header p em {
    font-style: normal; /* Remove italic since we want clean text */
}

.header p kbd {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

/* Logo Styles */
.header img {
    height: 60px;
    width: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.header img:hover {
    transform: scale(1.05);
}

/* Decorative Elements */
.header::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header {
        padding: 15px 30px;
    }
    
    .header p kbd {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .header img {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .header p {
        padding-right: 0;
        order: 2;
    }
    
    .header img {
        order: 1;
        height: 45px;
    }
    
    .header p kbd {
        font-size: 12px;
        padding: 6px 10px;
        line-height: 1.4;
        display: block;
        max-width: 100%;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px;
    }
    
    .header p kbd {
        font-size: 11px;
        padding: 5px 8px;
        letter-spacing: 0.3px;
    }
    
    .header img {
        height: 40px;
    }
}

/* Animation for smooth loading */
.header {
    animation: slideInFromTop 0.6s ease-out;
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Print Styles */
@media print {
    .header {
        background: #333 !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .header::before,
    .header::after {
        display: none;
    }
}
/* Main Container */
.form-container {
    max-width: 800px;
    margin: 80px auto 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

/* Form Header */
.form-header {
    background: linear-gradient(135deg, #d4a574, #c49665);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.form-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(30deg);
}

.form-header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.form-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Form Content */
form {
    padding: 40px;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Form Group */
.form-group {
    margin-bottom: 25px;
}

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

/* Input Styles */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #d4a574;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
    transform: translateY(-1px);
}

/* Phone Input */
.phone-input {
    display: flex;
    align-items: center;
    border: none;
    
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.phone-input:focus-within {
    border-color: #d4a574;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
    transform: translateY(-1px);
}

.phone-input span {
    padding: 15px 0 15px 15px;
    font-weight: 500;
    color: #666;
    
    margin-right: 10px;
}

.phone-input input {
    border: none;
    background: transparent;
    padding: 15px 15px 15px 0;
    flex: 1;
    font-size: 16px;
}

.phone-input input:focus {
    outline: none;
    box-shadow: none;
    transform: none;
}

/* Select Dropdown */
.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23666666" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #fafafa;
    margin-bottom: 0;
}

.radio-group label:hover {
    border-color: #d4a574;
    background-color: #fff;
    transform: translateY(-1px);
}

.radio-group input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
    accent-color: #d4a574;
}

.radio-group label:has(input[type="radio"]:checked) {
    border-color: #d4a574;
    background-color: rgba(212, 165, 116, 0.1);
    color: #8b6914;
    font-weight: 500;
}

/* Checkbox Group */
.form-group-checkbox {
    margin: 30px 0;
}

.form-group-checkbox label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.form-group-checkbox input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
    transform: scale(1.2);
    accent-color: #d4a574;
}

/* Submit Button */
.form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    background: linear-gradient(135deg, #d4a574, #c49665);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 165, 116, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Error States */
input.error,
select.error {
    border-color: #e74c3c !important;
    background-color: #fdf2f2 !important;
}

/* Success States */
input.success,
select.success {
    border-color: #27ae60 !important;
    background-color: #f0fff4 !important;
}

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

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #d4a574;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    
    .form-container {
        margin: 70px 10px 20px;
        border-radius: 15px;
         padding: 10px;
    }
    
    .form-header {
        padding: 30px 20px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .radio-group {
        gap: 10px;
    }
    
    .radio-group label {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .btn-submit {
        width: 100%;
        padding: 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-banner {
        font-size: 12px;
        padding: 12px 10px;
    }
    
    .form-header h2 {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .form-group input,
    .form-group select,
    .phone-input input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Print Styles */
@media print {
    .header-banner {
        position: static;
    }
    
    .form-container {
        margin-top: 20px;
        box-shadow: none;
    }
    
    .btn-submit {
        display: none;
    }
}

