/* ============================================
   Modern Contact Page - Grey & Teal Theme
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary-teal: #14b8a6;
    --primary-teal-dark: #0f766e;
    --primary-teal-light: #5eead4;
    --grey-50: #f9fafb;
    --grey-100: #f3f4f6;
    --grey-200: #e5e7eb;
    --grey-300: #d1d5db;
    --grey-400: #9ca3af;
    --grey-500: #6b7280;
    --grey-600: #4b5563;
    --grey-700: #374151;
    --grey-800: #1f2937;
    --grey-900: #111827;
}

/* ============================================
   Hero Section
   ============================================ */
.contact-hero-wrapper {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem 0 4rem;
    color: white;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.4), rgba(31, 41, 55, 0.6));
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.hero-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-main-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.85), rgba(31, 41, 55, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.hero-image-container:hover .hero-image-overlay {
    opacity: 1;
}

.hero-image-content {
    text-align: center;
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.hero-image-container:hover .hero-image-content {
    transform: translateY(0);
}

.hero-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-image-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.hero-image-text {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   Breadcrumb Navigation
   ============================================ */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-link:hover {
    color: var(--primary-teal-light);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: white;
    font-weight: 600;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, var(--primary-teal-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Main Contact Section
   ============================================ */
.modern-contact-section {
    padding: 6rem 0;
    background: var(--grey-50);
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--primary-teal);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--grey-800);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--grey-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Contact Cards
   ============================================ */
.contact-cards-grid {
    margin-bottom: 2rem;
}

.modern-contact-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--grey-200);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.modern-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon-wrapper {
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.8rem;
    color: var(--primary-teal);
    background: var(--grey-100);
    border: 3px solid var(--grey-300);
    position: relative;
    transition: all 0.3s ease;
}

.address-card .card-icon {
    color: var(--primary-teal);
    background: var(--grey-100);
    border: 3px solid var(--grey-300);
}

.phone-card .card-icon {
    color: var(--primary-teal);
    background: var(--grey-100);
    border: 3px solid var(--grey-300);
}

.email-card .card-icon {
    color: var(--primary-teal);
    background: var(--grey-100);
    border: 3px solid var(--grey-300);
}

.modern-contact-card:hover .card-icon {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--grey-700);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--grey-600);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.card-text a {
    color: var(--grey-700);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* ============================================
   Form & Video Section
   ============================================ */
.form-video-section {
    padding: 6rem 0;
    background: white;
}

.modern-form-wrapper {
    background: var(--grey-50);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--grey-200);
}

.form-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.form-tag {
    display: inline-block;
    background: var(--primary-teal);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--grey-800);
    margin-bottom: 0.8rem;
}

.form-description {
    color: var(--grey-600);
    font-size: 1rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.input-wrapper {
    position: relative;
}

.modern-input,
.modern-textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--grey-300);
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    color: var(--grey-800);
    transition: all 0.3s ease;
    outline: none;
}

.modern-input::placeholder,
.modern-textarea::placeholder {
    color: var(--grey-500);
    opacity: 1;
    font-size: 0.95rem;
}

.modern-input:focus::placeholder,
.modern-textarea:focus::placeholder {
    color: var(--grey-400);
}

.modern-input:focus,
.modern-textarea:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.modern-textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 1rem;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey-400);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.modern-textarea ~ .input-icon {
    top: 1.5rem;
    transform: translateY(0);
}

.modern-input:focus + .input-icon,
.modern-textarea:focus + .input-icon {
    color: var(--primary-teal);
}

.modern-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3);
}

/* ============================================
   Video Section
   ============================================ */
.video-wrapper {
    padding-left: 2rem;
}

.video-container {
    position: relative;
    background: var(--grey-800);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--primary-teal-light);
    color: white;
}

.video-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
    z-index: 2;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.video-description {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ============================================
   Map Section
   ============================================ */
.modern-map-section {
    position: relative;
}

.map-container {
    position: relative;
}

.map-info-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
}

.map-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    border: 1px solid var(--grey-200);
}

.map-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.map-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--grey-800);
    margin-bottom: 0.5rem;
}

.map-address {
    color: var(--grey-600);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.map-directions-btn {
    background: var(--primary-teal);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.map-directions-btn:hover {
    background: var(--primary-teal-dark);
    color: white;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .hero-main-title {
        font-size: 2.8rem;
    }
    
    .section-main-title {
        font-size: 2.2rem;
    }
    
    .modern-form-wrapper {
        padding: 2rem;
    }
    
    .video-wrapper {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image-wrapper {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero-wrapper {
        padding: 6rem 0 3rem;
    }
    
    .hero-main-title {
        font-size: 2.2rem;
    }
    
    .modern-contact-section {
        padding: 4rem 0;
    }
    
    .form-video-section {
        padding: 4rem 0;
    }
    
    .modern-contact-card {
        padding: 2rem;
    }
    
    .hero-image-wrapper {
        margin-top: 1.5rem;
    }
    
    .hero-main-image {
        height: 280px;
    }
    
    .map-info-overlay {
        position: relative;
        top: auto;
        left: auto;
        margin: 1rem;
    }
    
    .map-info-card {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 1.8rem;
    }
    
    .section-main-title {
        font-size: 1.8rem;
    }
    
    .modern-form-wrapper {
        padding: 1.5rem;
    }
    
    .modern-contact-card {
        padding: 1.5rem;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-contact-card {
    animation: fadeInUp 0.6s ease forwards;
}

.modern-contact-card:nth-child(1) { 
    animation-delay: 0.1s; 
}

.modern-contact-card:nth-child(2) { 
    animation-delay: 0.2s; 
}

.modern-contact-card:nth-child(3) { 
    animation-delay: 0.3s; 
}
