/* Contact Page Styles - Blacklane Inspired */

/* Page Hero Section */
.contact-hero {
    background: url('/pc_static/images/header-bg-1.jpg') center center / cover no-repeat;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.contact-header {
    position: relative;
    z-index: 1;
}

.contact-header h1 {
    font-size: 48px;
    line-height: 46px;
    font-weight: 600;
    margin: 0 0 16px 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: #ffffff;
}

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

.info-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 207, 112, 0.3);
    border-color: var(--primary-gold);
}

.info-icon {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #ffffff;
    font-size: 32px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-icon .layui-icon {
    font-size: 28px;
}

/* Phone icon - Professional Blue */
.info-card .info-icon {
    background: linear-gradient(135deg, #ffcf70 0%, #ffaf00 100%);
}

.info-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.info-icon i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.info-card:hover .info-icon {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.info-card:hover .info-icon i {
    transform: scale(1.1);
}

.info-card h3 {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
}

.info-content {
    margin-bottom: 12px;
}

.info-content p {
    font-size: 14px;
    line-height: 14px;
    color: #999;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #000;
}

.info-content address {
    font-size: 16px;
    color: #333;
    font-style: normal;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/pc_static/images/earth.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .contact-form-section {
        padding: 100px 0;
    }
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .form-wrapper {
        padding: 50px;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 28px;
}

.form-header h2 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
    .form-header h2 {
        font-size: 28px;
    }
}

.form-header p {
    font-size: 14px;
    color: #e0e0e0;
    margin: 0;
}

@media (min-width: 1024px) {
    .form-header p {
        font-size: 16px;
    }
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.layui-form-item {
    margin-bottom: 20px;
}

.layui-input-wrapper {
    position: relative;
}

.layui-input,
.layui-select,
.layui-textarea {
    width: 100%;
    padding: 0 16px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--family-font);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
    line-height: 48px;
}

.layui-input:focus,
.layui-select:focus,
.layui-textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(255, 207, 112, 0.2);
}

.layui-input::placeholder,
.layui-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.layui-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.layui-textarea {
    resize: vertical;
    min-height: 120px;
    height: auto;
    line-height: 1.6;
    padding: 16px;
}

/* Layui form button override */
.layui-btn.submit-btn {
    width: 100%;
    height: fit-content;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--family-font);
    box-shadow: 0 4px 12px rgba(255, 207, 112, 0.3);
}

.layui-btn.submit-btn:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--primary-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 207, 112, 0.4);
}

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

.layui-form-select dl dd.layui-this {
    color: #ffffff;
    background: var(--primary-gold);
}

/* Phone Input with Country Selector */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(255, 207, 112, 0.2);
}

.phone-input-wrapper .layui-form-select {
    width: 100px;
}

.phone-input-wrapper .layui-form-select input {
    border: none;
}

.layui-input:focus, 
.layui-textarea:focus {
    border-color: var(--primary-gold) !important;
    box-shadow: 0 0 0 2px rgba(255, 207, 112, 0.2) !important;
}

.country-selector {
    width: 120px;
    padding: 0 30px 0 16px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    font-size: 14px;
    font-family: var(--family-font);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.country-selector:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.country-selector:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
}

.phone-input-wrapper .phone-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 16px;
    height: 48px;
    line-height: 48px;
    color: #ffffff;
}

.phone-input-wrapper .phone-input:focus {
    outline: none;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #ffffff;
}

.map-header {
    text-align: center;
    margin-bottom: 50px;
}

.map-header h2 {
    font-size: 36px;
    line-height: 36px;
    font-weight: 500;
    color: #333;
    margin: 0 0 10px 0;
}

.map-header p {
    font-size: 16px;
    color: #999;
    margin: 0;
}

.map-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.google-map {
    width: 100%;
    height: 500px;
    background: #e5e5e5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        height: 400px;
    }
    
    .contact-header h1 {
        font-size: 36px;
    }
    
    .contact-header p {
        font-size: 16px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .map-header h2 {
        font-size: 28px;
    }
    
    .google-map {
        height: 350px;
    }
    
    .layui-input,
    .layui-select {
        height: 56px;
        padding: 0 14px;
        line-height: 56px;
    }
    
    .layui-textarea {
        padding: 12px 14px;
    }
    
    .country-selector {
        height: 48px;
        padding: 0 12px;
        width: 100px;
    }
    
    .phone-input-wrapper .phone-input {
        height: 48px;
        line-height: 48px;
    }
    
    .layui-btn.submit-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .contact-header h1 {
        font-size: 28px;
    }
    
    .info-card {
        padding: 30px 20px;
    }
    
    .info-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .info-card h3 {
        font-size: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 12px 14px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .form-header p {
        font-size: 16px;
    }
    
    .layui-btn.submit-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

