/* Contact Page Styles - Using index.php theme */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* Alert Styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    animation: slideInDown 0.5s ease-out;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: 'Bebas Neue', cursive;
    background-color: white;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.main-content {
    padding: 0;
}

/* Contact Hero Section */
.contact-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('../images/ds3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    animation: slideInFromBottom 1s ease-out;
}

.hero-content p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: slideInFromBottom 1s ease-out 0.3s both;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem 4rem 2rem;
    background: 
        linear-gradient(135deg, #121212 0%, #1e1e1e 25%, #161616 75%, #0f0f0f 100%),
        radial-gradient(circle at 70% 30%, rgba(40, 40, 40, 0.3) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.01) 35px,
            rgba(255, 255, 255, 0.01) 36px
        ),
        linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.8) 100%);
    z-index: 1;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-form-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(20, 20, 20, 0.9);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(60, 60, 60, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 600px;
}

.contact-form-wrapper h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Bebas Neue', cursive;
    padding: 1rem;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(80, 80, 80, 0.5);
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* Select options with normal font */
.form-group select option {
    font-family: Arial, sans-serif;
    font-size: 14px;
    background: #2a2a2a;
    color: #fff;
    padding: 8px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(120, 120, 120, 0.8);
    background: rgba(50, 50, 50, 0.9);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Character Counter */
.char-counter {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #888;
}

#char-count {
    font-weight: bold;
    transition: color 0.3s ease;
}

/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(40, 40, 40, 0.8);
    border: 2px dashed rgba(80, 80, 80, 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.1rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.file-upload-label:hover {
    border-color: rgba(120, 120, 120, 0.8);
    background: rgba(50, 50, 50, 0.9);
}

.upload-icon {
    font-size: 1.5rem;
}

.file-info {
    margin-top: 1rem;
}

.selected-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(60, 60, 60, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(80, 80, 80, 0.5);
}

.file-name {
    font-size: 1rem;
    color: #fff;
    flex: 1;
}

.file-size {
    font-size: 0.9rem;
    color: #bbb;
    margin-left: 1rem;
}

.remove-file {
    background: rgba(255, 107, 107, 0.8);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.3s ease;
}

.remove-file:hover {
    background: rgba(255, 107, 107, 1);
}

/* CTA Button - Same as index.php */
.cta-button {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: 1.25px solid white;
    background-color: transparent;
    color: white;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    margin-top: 1rem;
    align-self: center;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    color: #333;
    border-color: white;
}

.cta-button:hover::before {
    left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .hero-content p {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    
    .contact-section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper h2 {
        font-size: 2rem;
    }
    
    .selected-file {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .file-size {
        margin-left: 0;
    }
}
