/* ==========================================================================
   CONTACT PAGE STYLES
   Extracted from main style.css for modular architecture  
   Professional glassmorphism design with animated background support
   ========================================================================== */

/* ==========================================================================
   ANIMATED WHITE STRIPE BACKGROUND (Future Implementation)
   Inspired by Dragica site copyright page 
   ========================================================================== */

/* TODO: Add white stripe animation styles when implemented */
.contact-animated-background {
    /* Placeholder for white stripe background */
}

.white-stripes .stripe {
    /* Placeholder for individual stripe animations */
}

/* ==========================================================================
   MAIN CONTACT CARD STYLES
   Glassmorphism design matching gallery/dashboard standards
   ========================================================================== */

/* Main contact card */
.contact-main-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.contact-card-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-card-header h2 {
    font-size: 3em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 2px;
}

.contact-card-header p {
    font-size: 1.3em;
    color: #555;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center !important;
}

.contact-card-header a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-card-header a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ==========================================================================
   CONTACT PAGE HUB CONSISTENCY
   Match Portfolio and Projects page structure and styling
   ========================================================================== */

/* Contact page title size to match other Hub pages */
.page-template-page-contact .dashboard-title h1 {
    font-size: 3.5em !important;
}

/* Contact page specific dashboard adjustments */
.page-template-page-contact .dashboard-section {
    margin-bottom: 40px;
}

/* Contact info grid using glassmorphism cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.info-card h3 {
    color: #ffffff;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-card p {
    color: #f0f0f0;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   Mobile-first responsive design for contact elements
   ========================================================================== */

@media (max-width: 768px) {
    .contact-main-card {
        padding: 25px;
        margin: 20px auto 40px auto;
    }

    .contact-card-header h2 {
        font-size: 2.2em;
    }

    .contact-card-header p {
        font-size: 1.1em;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== Extracted from page-contact.php ===== */

/* ==========================================================================
   CONTACT PAGE v2.0 - PROFESSIONAL GLASSMORPHISM DESIGN
   Inspired by gallery and dashboard aesthetic with white stripe animation
   ========================================================================== */

/* Animated White Stripe Background - Dragica Style */
.contact-animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 25%, #dee2e6 50%, #ced4da 75%, #adb5bd 100%);
    overflow: hidden;
}

.white-stripes {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    opacity: 0.4;
}

.stripe {
    position: absolute;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.6) 30%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.6) 70%, transparent 100%);
    height: 2px;
    width: 100%;
    animation: stripeMove 20s linear infinite;
}

.stripe-1 {
    top: 10%;
    animation-delay: 0s;
}

.stripe-2 {
    top: 25%;
    animation-delay: -4s;
}

.stripe-3 {
    top: 40%;
    animation-delay: -8s;
}

.stripe-4 {
    top: 60%;
    animation-delay: -12s;
}

.stripe-5 {
    top: 80%;
    animation-delay: -16s;
}

@keyframes stripeMove {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Main Contact Content */
.contact-v2-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 60px 20px;
    position: relative;
    z-index: 1;
}

.contact-professional-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Professional Contact Card - Dashboard Style */
.contact-professional-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.1),
        0 8px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-professional-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

/* Enhanced Header */
.contact-card-header-v2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.header-icon {
    font-size: 4em;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.contact-card-header-v2 h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2em;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 25px 0;
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.3em;
    color: #555;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Professional Form Styling */
.contact-form-professional {
    margin-top: 40px;
}

.professional-contact-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Honeypot Field */
.honeypot-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    visibility: hidden;
}

/* Form Sections */
.form-section {
    background: rgba(248, 249, 250, 0.6);
    border: 1px solid rgba(233, 236, 239, 0.8);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-section:hover {
    background: rgba(248, 249, 250, 0.8);
    border-color: rgba(233, 236, 239, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4em;
    color: #2c3e50;
    margin: 0 0 25px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-grid:last-child {
    margin-bottom: 0;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1em;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(233, 236, 239, 0.8);
    border-radius: 15px;
    padding: 15px 20px;
    color: #2c3e50;
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(44, 62, 80, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' 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 15px center;
    background-size: 20px;
    padding-right: 50px;
    appearance: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Professional Submit Button */
.contact-submit-professional {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 18px 45px;
    font-size: 1.2em;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-submit-professional::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.5s;
}

.contact-submit-professional:hover::before {
    left: 100%;
}

.contact-submit-professional:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.contact-submit-professional:active {
    transform: translateY(-1px);
}

.btn-icon,
.btn-arrow {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.contact-submit-professional:hover .btn-arrow {
    transform: translateX(5px);
}

/* Status Messages */
.contact-status {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-status.success {
    border-color: rgba(46, 204, 113, 0.5);
    background: rgba(46, 204, 113, 0.1);
}

.contact-status.error {
    border-color: rgba(231, 76, 60, 0.5);
    background: rgba(231, 76, 60, 0.1);
}

.contact-status.warning {
    border-color: rgba(241, 196, 15, 0.5);
    background: rgba(241, 196, 15, 0.1);
}

.status-icon {
    font-size: 2em;
    flex-shrink: 0;
}

.status-content h3 {
    margin: 0 0 5px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.status-content p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    opacity: 0.9;
}

/* Professional Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.info-icon {
    font-size: 3em;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.info-card h3 {
    font-family: 'Poppins', sans-serif;
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.info-card p {
    font-family: 'Inter', sans-serif;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Enhanced Admin Section */
.admin-email-test-v2 {
    background: rgba(0, 123, 255, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.3);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin-top: 30px;
}

.admin-header h3 {
    color: #007bff;
    margin: 0 0 10px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5em;
    font-weight: 600;
}

.admin-header p {
    color: #555;
    margin: 0 0 25px 0;
    font-family: 'Inter', sans-serif;
}

.email-test-controls {
    margin: 25px 0;
}

.test-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.test-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.test-btn.secondary {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

.test-result {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.test-result.success {
    border: 2px solid rgba(46, 204, 113, 0.5);
}

.test-result.error {
    border: 2px solid rgba(231, 76, 60, 0.5);
}

.result-icon {
    font-size: 1.5em;
    flex-shrink: 0;
}

.result-content {
    font-family: 'Inter', sans-serif;
    flex: 1;
}

.error-detail {
    color: #e74c3c;
    font-size: 0.9em;
    font-style: italic;
}

.debug-info-v2 {
    margin-top: 30px;
}

.debug-info-v2 h4 {
    color: #007bff;
    margin: 0 0 15px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em;
}

.debug-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.debug-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-v2-content {
        padding: 100px 15px 40px 15px;
    }

    .contact-professional-card {
        padding: 30px 25px;
        border-radius: 20px;
    }

    .contact-card-header-v2 h1 {
        font-size: 2.2em;
    }

    .header-subtitle {
        font-size: 1.1em;
    }

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

    .form-group {
        width: 100%;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 12px 15px;
        min-width: 0;
        max-width: 100%;
    }

    .form-group select {
        padding-right: 40px;
        background-size: 16px;
        background-position: right 12px center;
    }

    .form-section {
        padding: 25px 20px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .test-form {
        flex-direction: column;
    }

    .debug-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Enhancements */
@media (prefers-reduced-motion: reduce) {

    .stripe,
    .header-icon,
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* =====================================================================
     FLAGSHIP CONTACT PAGE - 3 PAGE SITE
     ===================================================================== */

body.page-template-page-contact .flagship-contact-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 186px 24px 120px;
}

.flagship-contact-hero {
    max-width: 760px;
    margin-bottom: 26px;
}

.flagship-contact-hero .contact-eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #cffcf4;
    background: rgba(7, 42, 61, 0.56);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.8rem;
}

.flagship-contact-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    line-height: 1.1;
}

.flagship-contact-hero p {
    max-width: 680px;
    color: #d4dfeb;
    font-size: 1.05rem;
}

.flagship-contact-status {
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid transparent;
    color: #eef8ff;
}

.flagship-contact-status.success {
    background: rgba(2, 95, 57, 0.4);
    border-color: rgba(74, 222, 128, 0.7);
}

.flagship-contact-status.error {
    background: rgba(127, 29, 29, 0.4);
    border-color: rgba(252, 165, 165, 0.7);
}

.flagship-contact-shell {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr;
    gap: 22px;
    align-items: start;
}

.flagship-contact-form,
.flagship-contact-aside {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.28);
    padding: 22px;
}

.flagship-contact-grid.two-up {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.flagship-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.flagship-field label {
    color: #f4f8fc;
    font-weight: 600;
    font-size: 0.95rem;
}

.flagship-field input,
.flagship-field select,
.flagship-field textarea {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(12, 22, 37, 0.8);
    color: #f5f9ff;
    padding: 12px 13px;
    font-family: 'Inter', sans-serif;
}

.flagship-field textarea {
    min-height: 150px;
    resize: vertical;
}

.flagship-field input:focus,
.flagship-field select:focus,
.flagship-field textarea:focus {
    outline: 2px solid #22d3ee;
    outline-offset: 2px;
}

.flagship-contact-submit {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: linear-gradient(135deg, #0ea5a4 0%, #2563eb 100%);
    color: #f4fffe;
    font-weight: 700;
    padding: 12px 20px;
    cursor: pointer;
}

.flagship-contact-aside h2 {
    margin: 0 0 12px;
    font-size: 1.4rem;
}

.flagship-contact-aside ol {
    margin: 0 0 14px;
    padding-left: 20px;
    color: #deebf8;
}

.flagship-contact-aside li {
    margin-bottom: 8px;
}

.contact-direct-note {
    margin: 0;
    color: #d4e2ee;
}

.contact-direct-note a {
    color: #8ce7d4;
}

@media (max-width: 980px) {
    body.page-template-page-contact .flagship-contact-main {
        padding-top: 160px;
    }

    .flagship-contact-shell {
        grid-template-columns: 1fr;
    }

    .flagship-contact-grid.two-up {
        grid-template-columns: 1fr;
    }
}