/* Contact Page Styles */
.contact-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    padding: 2rem;
    background: var(--color-bg-alt);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.contact-text p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Enhanced Form Styling */
.contact-form {
    padding: 2rem;
    background: var(--color-bg-alt);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    background: var(--color-bg);
    color: var(--color-text);
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.form-control::placeholder {
    color: var(--color-text-light);
    opacity: 0.7;
}

/* Form validation styles */
.form-control:invalid {
    border-color: #ff4444;
}

.form-control:invalid:focus {
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

.form-group.error .form-control {
    border-color: #ff4444;
}

.form-group.error label {
    color: #ff4444;
}

.error-message {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Textarea specific styles */
textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.5;
}

/* Submit button styles */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:hover::before {
    transform: translateX(100%);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Loading state for submit button */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success message styles */
.form-success {
    display: none;
    padding: 1.5rem;
    background: rgba(56, 182, 92, 0.1);
    border: 1px solid #38b65c;
    border-radius: var(--border-radius-md);
    color: #38b65c;
    margin-bottom: 1.5rem;
}

.form-success.show {
    display: block;
}

.map-section {
    margin-top: 4rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.hero-slider .swiper-slide {
    position: relative;
    height: 100%;
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
    color: var(--text-color);
    padding: 2rem;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-color) 0%, transparent 100%);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--text-color);
}

.swiper-pagination-bullet {
    background: var(--text-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-text h2 {
        font-size: 2.8rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        width: 100%;
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .hero-text h2 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .map-section iframe {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-text h2 {
        font-size: 1.8rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-icon {
        margin-bottom: 1rem;
    }
}

/* Responsive Design for Contact Section */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .map-section iframe {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-icon {
        margin-bottom: 1rem;
    }
} 