/* Contact Page Styles */

body {
    overflow-x: hidden;
    max-width: 100%;
}

.main-content {
    overflow-x: hidden;
    max-width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 0 0 2rem 2rem;
    padding: calc(var(--navbar-height) + 2rem) 0 4rem;
    max-width: 100%;
    box-sizing: border-box;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 0 0 2rem 2rem;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 76, 76, 0.9), rgba(28, 92, 91, 0.9));
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Information Cards */
.contact-info {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(4, 76, 76, 0.1);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.card-content {
    text-align: center;
}

.card-content h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-content a,
.card-content p {
    color: var(--text-color);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.card-content a:hover {
    color: var(--primary-color);
}

/* Contact Form Section */
.contact-form-section {
    padding: 3rem 0;
    background-color: var(--background-color);
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.form-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    max-height: 650px;
    overflow-y: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 0.25rem;
}

.section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.section-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* Map Container */
.map-container {
    position: relative;
    height: 650px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    z-index: 1;
}

.map-overlay h3 {
    margin-bottom: 0.5rem;
}

.map-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Business Hours */
.business-hours {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hours-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(4, 76, 76, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hours-card .card-icon {
    background: var(--primary-color);
}

.hours-card .card-content h3 {
    color: var(--primary-color);
}

.hours-card .card-content p {
    color: var(--text-color);
}

.hours-card .time {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .form-container {
        grid-template-columns: 1fr;
        max-width: 700px;
        padding: 0 2rem;
    }
    
    .form-content, .map-container {
        max-height: none;
        height: auto;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: calc(var(--navbar-height) + 1rem) 0 3rem;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .video-background {
        width: 100%;
        left: 0;
        right: 0;
    }
    
    .hero-content {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-grid,
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    .form-content {
        padding: 1.5rem;
    }
    
    .contact-form-fields {
        padding: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: auto;
        padding: calc(var(--navbar-height) + 1rem) 0 2rem;
        border-radius: 0 0 1rem 1rem;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .video-background {
        border-radius: 0 0 1rem 1rem;
        width: 100%;
    }
    
    .hero-text {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .form-content {
        padding: 1.5rem;
    }
}

/* Form Status Messages */
.form-status-message {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    display: flex;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.form-status-message i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.success-message {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #27ae60;
}

.error-message {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

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

.form-note {
    margin-top: 8px;
    color: var(--text-light);
    font-style: italic;
}

.form-note i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Contact Form Fields */
.contact-form-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem;
    padding-top: 0;
    margin-top: -0.5rem;
    max-width: 100%;
}

.contact-form-fields h1 {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-form-fields p {
    width: 100%;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-form-fields .column {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-form-fields label {
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

.contact-form-fields input[type="text"],
.contact-form-fields input[type="email"],
.contact-form-fields input[type="tel"],
.contact-form-fields select,
.contact-form-fields textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: var(--border-radius-md, 0.5rem);
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background-color: white;
}

.contact-form-fields input[type="text"]:focus,
.contact-form-fields input[type="email"]:focus,
.contact-form-fields input[type="tel"]:focus,
.contact-form-fields select:focus,
.contact-form-fields textarea:focus {
    outline: none;
    border-color: var(--primary-color, #044C4C);
    box-shadow: 0 0 0 2px rgba(4, 76, 76, 0.1);
}

.contact-form-fields textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 1rem;
}

.contact-form-fields select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23044C4C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.contact-form-fields input::placeholder {
    color: #aaa;
}

/* Contact cards in hero section */
.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.contact-cards .card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-md, 0.5rem);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-cards .card a,
.contact-cards .card div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-cards .card i {
    font-size: 1.25rem;
}

.contact-cards .card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-cards {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .contact-cards .card {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-cards .card a,
    .contact-cards .card div {
        width: 100%;
        justify-content: flex-start;
        white-space: normal;
    }
    
    .contact-cards .card span {
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Other existing styles */
} 