@import url('base.css');
@import url('components.css');

/* Contact Page Specific Styles */

/* Contact Hero Section */
.rupeeget-contact-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--rupeeget-accent) 0%, var(--rupeeget-primary) 100%);
}

.rupeeget-contact-hero .rupeeget-hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.rupeeget-contact-hero .rupeeget-hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Contact Info Section */
.rupeeget-contact-info {
    padding: 6rem 0;
    background: var(--rupeeget-orange-peach);
}

.rupeeget-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rupeeget-contact-card {
    background: var(--rupeeget-white);
    padding: 3rem 2rem;
    border-radius: var(--rupeeget-radius);
    box-shadow: var(--rupeeget-shadow-light);
    text-align: center;
    transition: var(--rupeeget-transition);
    position: relative;
    overflow: hidden;
}

.rupeeget-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rupeeget-primary), var(--rupeeget-warning));
}

.rupeeget-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rupeeget-shadow);
}

.rupeeget-contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--rupeeget-gray-900);
}

.rupeeget-contact-description {
    color: var(--rupeeget-gray-700);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.rupeeget-contact-link {
    color: var(--rupeeget-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--rupeeget-transition);
}

.rupeeget-contact-link:hover {
    color: var(--rupeeget-warning);
    text-decoration: underline;
}

.rupeeget-contact-time {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--rupeeget-primary);
    margin-top: 0.5rem;
}

.rupeeget-contact-address {
    font-style: normal;
    line-height: 1.6;
    color: var(--rupeeget-gray-700);
    margin-top: 0.5rem;
}

/* Contact Form Section */
.rupeeget-contact-form-section {
    padding: 6rem 0;
    background: var(--rupeeget-white);
}

.rupeeget-contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.rupeeget-contact-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.rupeeget-contact-form {
    background: var(--rupeeget-orange-light);
    padding: 3rem;
    border-radius: var(--rupeeget-radius);
    box-shadow: var(--rupeeget-shadow-light);
}

.rupeeget-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.rupeeget-form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.rupeeget-form-label {
    display: block;
    font-weight: 600;
    color: var(--rupeeget-gray-900);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rupeeget-form-input,
.rupeeget-form-select,
.rupeeget-form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--rupeeget-gray-300);
    border-radius: var(--rupeeget-radius-sm);
    font-size: 1rem;
    font-family: var(--rupeeget-font-family);
    transition: var(--rupeeget-transition);
    background: var(--rupeeget-white);
}

.rupeeget-form-input:focus,
.rupeeget-form-select:focus,
.rupeeget-form-textarea:focus {
    outline: none;
    border-color: var(--rupeeget-primary);
    box-shadow: 0 0 0 3px rgba(255, 102, 51, 0.1);
}

.rupeeget-form-input.error,
.rupeeget-form-select.error,
.rupeeget-form-textarea.error {
    border-color: var(--rupeeget-danger);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.rupeeget-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.rupeeget-form-error {
    color: var(--rupeeget-danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.rupeeget-form-error.show {
    display: block;
}

.rupeeget-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--rupeeget-gray-700);
}

.rupeeget-checkbox-label input[type="checkbox"] {
    display: none;
}

.rupeeget-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--rupeeget-gray-300);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--rupeeget-transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.rupeeget-checkbox-label input[type="checkbox"]:checked + .rupeeget-checkbox-custom {
    background: var(--rupeeget-primary);
    border-color: var(--rupeeget-primary);
}

.rupeeget-checkbox-label input[type="checkbox"]:checked + .rupeeget-checkbox-custom::after {
    content: '✓';
    color: var(--rupeeget-white);
    font-size: 12px;
    font-weight: 600;
}

.rupeeget-checkbox-label a {
    color: var(--rupeeget-primary);
    text-decoration: none;
}

.rupeeget-checkbox-label a:hover {
    text-decoration: underline;
}

.rupeeget-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* FAQ Section */
.rupeeget-faq {
    padding: 6rem 0;
    background: var(--rupeeget-gray-100);
}

.rupeeget-faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.rupeeget-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.rupeeget-faq-item {
    background: var(--rupeeget-white);
    border-radius: var(--rupeeget-radius);
    margin-bottom: 1rem;
    box-shadow: var(--rupeeget-shadow-light);
    overflow: hidden;
    transition: var(--rupeeget-transition);
}

.rupeeget-faq-item:hover {
    box-shadow: var(--rupeeget-shadow);
}

.rupeeget-faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--rupeeget-transition);
}

.rupeeget-faq-question:hover {
    background: var(--rupeeget-orange-light);
}

.rupeeget-faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rupeeget-gray-900);
    margin: 0;
}

.rupeeget-faq-icon {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--rupeeget-primary);
    transition: var(--rupeeget-transition);
}

.rupeeget-faq-item.active .rupeeget-faq-icon {
    transform: rotate(45deg);
}

.rupeeget-faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rupeeget-faq-item.active .rupeeget-faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: 200px;
}

.rupeeget-faq-answer p {
    color: var(--rupeeget-gray-700);
    line-height: 1.6;
    margin: 0;
}

/* Success Message */
.rupeeget-form-success {
    background: var(--rupeeget-success);
    color: var(--rupeeget-white);
    padding: 1rem 1.5rem;
    border-radius: var(--rupeeget-radius-sm);
    margin-bottom: 1.5rem;
    display: none;
}

.rupeeget-form-success.show {
    display: block;
}

/* Loading State */
.rupeeget-form-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.rupeeget-form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--rupeeget-primary);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .rupeeget-contact-hero .rupeeget-hero-title {
        font-size: 2.5rem;
    }
    
    .rupeeget-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .rupeeget-form-row {
        grid-template-columns: 1fr;
    }
    
    .rupeeget-contact-form {
        padding: 2rem 1.5rem;
    }
    
    .rupeeget-form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .rupeeget-faq-question {
        padding: 1rem 1.5rem;
    }
    
    .rupeeget-faq-answer {
        padding: 0 1.5rem;
    }
    
    .rupeeget-faq-item.active .rupeeget-faq-answer {
        padding: 0 1.5rem 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .rupeeget-contact-hero .rupeeget-hero-title {
        font-size: 2rem;
    }
    
    .rupeeget-contact-card {
        padding: 2rem 1.5rem;
    }
    
    .rupeeget-contact-form {
        padding: 1.5rem 1rem;
    }
}
