/* Contact Page Specific Styles */

body { 
    overflow-x: hidden;
}

.contact-page {
    padding-top: 120px;
    padding-bottom: 80px;
    color: black;
}

.contact-hero {
    margin-top: 4rem;
    margin-bottom: 5rem;
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 32pt;
    position: relative;
}

.contact-hero::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    margin: 20px auto 0;
    border-radius: 4px;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-end;
}

.avatar-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.avatar-ring img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.italic-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
    font-weight: 300;
}

/* ============================================
   CONTACT GRID LAYOUT
   ============================================ */

.contact-grid-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

/* ============================================
   SIDEBAR - CONTACT INFO
   ============================================ */

.contact-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    border-radius: 3px;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.contact-item:hover {
    background: rgba(231, 76, 60, 0.06);
    transform: translateX(5px);
}

.contact-item .material-symbols-outlined { 
    color: #e74c3c;
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 3px;
}

.contact-item p {
    margin: 0;
    color: #1a1a2e;
    font-size: 1rem;
    font-weight: 500;
}

/* ============================================
   FORM STYLING - BEAUTIFUL & MODERN
   ============================================ */

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

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

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

.form-group label {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: #495057;
    margin-bottom: 0.6rem;
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: #e74c3c;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #dee2e6;
    padding: 0.8rem 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #1a1a2e;
    background: transparent;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
    font-weight: 300;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #e74c3c;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.08);
}

.form-group input:hover,
.form-group textarea:hover {
    border-bottom-color: #adb5bd;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    border-bottom: 2px solid #dee2e6;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #e74c3c;
}

/* --- Form input with icon prefix (optional) --- */
.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-left: 2.5rem;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
}

/* --- Submit Button --- */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-primary .material-symbols-outlined {
    font-size: 24px;
    transition: transform 0.4s ease;
}

.btn-primary:hover .material-symbols-outlined {
    transform: translateX(6px);
}

.privacy-note {
    font-size: 0.8rem;
    color: #6c757d;
    max-width: 300px;
    line-height: 1.5;
}

.privacy-note a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-note a:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* ============================================
   ASYMMETRICAL SECTION
   ============================================ */

.asymmetrical-highlight {
    margin-top: 8rem;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 1.5rem;
}

.image-box {
    position: relative;
    height: 400px;
    border-radius: 1.5rem;
    overflow: hidden;
}

.image-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.location-tag {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.8rem;
    color: #e74c3c;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.text-box {
    background: linear-gradient(135deg, #0a3d40 0%, #096366 100%);
    color: white;
    padding: 3rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablets and small laptops */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2.5rem;
    }
    
    .contact-sidebar {
        padding: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .hero-split, 
    .contact-grid, 
    .asymmetrical-highlight { 
        grid-template-columns: 1fr; 
    }
    
    .form-row { 
        grid-template-columns: 1fr; 
        gap: 0;
    }
    
    .form-footer { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .contact-grid-container {
        padding: 2rem;
    }
    
    .contact-hero {
        font-size: 28pt;
        margin-bottom: 3rem;
    }
    
    .privacy-note {
        max-width: 100%;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .contact-page {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .contact-hero {
        font-size: 24pt;
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 0 15px;
    }
    
    .contact-grid-container {
        padding: 1.5rem;
        border-radius: 1.5rem;
        margin: 0 15px;
    }
    
    .contact-grid {
        gap: 2rem;
    }
    
    .contact-sidebar {
        margin-bottom: 0;
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 1rem;
        width: 100%;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 0.7rem 0.3rem;
        font-size: 0.95rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .contact-item {
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .contact-item .material-symbols-outlined {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .privacy-note {
        max-width: 100%;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 2rem;
    }
    
    .asymmetrical-highlight {
        margin-top: 4rem;
        padding: 0 15px;
    }
    
    .image-box {
        height: 280px;
    }
    
    .text-box {
        padding: 2rem;
        font-size: 1.2rem;
    }
}

/* Small mobile devices (iPhone, etc.) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .contact-hero {
        font-size: 20pt;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    .contact-hero::after {
        width: 60px;
        height: 3px;
        margin-top: 15px;
    }
    
    .contact-page {
        padding-top: 80px;
        padding-bottom: 30px;
    }
    
    .contact-grid-container {
        padding: 1rem;
        border-radius: 1rem;
        margin: 0 5px;
    }
    
    .section-title {
        font-size: 1.3rem;
        padding-top: 0;
        margin-bottom: 1rem;
    }
    
    .section-title::after {
        width: 40px;
    }
    
    .contact-form-wrapper {
        padding: 1rem;
        border-radius: 0.8rem;
        width: 100%;
        margin: 0;
    }
    
    .contact-sidebar {
        padding: 1rem;
        border-radius: 1rem;
    }
    
    .form-row {
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.6rem;
        letter-spacing: 0.08rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 0.5rem 0.3rem;
        font-size: 0.9rem;
        border-bottom-width: 2px;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-top: 0;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 40px;
    }
    
    .btn-primary .material-symbols-outlined {
        font-size: 20px;
    }
    
    .privacy-note {
        font-size: 0.7rem;
        text-align: center;
    }
    
    .contact-item {
        gap: 0.6rem;
        margin-bottom: 0.3rem;
        padding: 0.6rem 0.8rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .contact-item .material-symbols-outlined {
        font-size: 22px;
    }
    
    .contact-item strong {
        font-size: 0.7rem;
    }
    
    .asymmetrical-highlight {
        margin-top: 3rem;
        padding: 0 5px;
        gap: 1rem;
    }
    
    .image-box {
        height: 200px;
        border-radius: 1rem;
    }
    
    .text-box {
        padding: 1.5rem;
        font-size: 1rem;
        border-radius: 1rem;
    }
    
    .location-tag {
        bottom: 1rem;
        left: 1rem;
        padding: 0.3rem 1rem;
        font-size: 0.7rem;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    .contact-hero {
        font-size: 18pt;
    }
    
    .contact-form-wrapper {
        padding: 0.8rem;
    }
    
    .contact-grid-container {
        padding: 0.8rem;
    }
    
    .form-group input, 
    .form-group textarea {
        font-size: 0.8rem;
        padding: 0.4rem 0.2rem;
    }
    
    .btn-primary {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .contact-item p {
        font-size: 0.8rem;
    }
}