/* Contact Page Rebranding & Layout Styles */

.prt-contact-page-section {
    background: var(--bg);
    padding: 40px 0 100px;
    border-top: 1px solid var(--border);
    position: relative;
}

/* Background decorative lights */
.prt-contact-page-section::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.prt-contact-page-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Breadcrumbs & Header */
.prt-contact-hero {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.prt-breadcrumb {
    font-size: 0.84rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prt-breadcrumb a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.prt-breadcrumb a:hover {
    color: #fff;
}

.prt-breadcrumb span.active {
    color: #f43f5e; /* active page color (red/rose theme) */
}

.prt-eyebrow {
    display: inline-block;
    color: #ef4444; /* red tag */
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.65rem;
    border: 1px solid rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}

.prt-contact-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 0.9rem;
    letter-spacing: -0.02em;
}

.prt-contact-hero p.prt-lead {
    font-size: clamp(1rem, 2vw, 1.14rem);
    color: var(--muted);
    max-width: 72ch;
    margin: 0;
}

/* Layout Grid Split */
.prt-contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .prt-contact-layout-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: clamp(3rem, 5vw, 5rem);
    }
}

/* Left Panel: Info and Cards */
.prt-contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.prt-info-intro h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.prt-info-intro p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.prt-contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* Sci-fi HUD Info Card */
.prt-info-card {
    background: rgba(12, 16, 25, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.6rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.prt-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 63, 94, 0.35); /* Red/Rose border glow */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(244, 63, 94, 0.08);
}

.prt-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.prt-info-card:hover .prt-card-icon {
    transform: scale(1.08) rotate(3deg);
}

.prt-card-icon svg {
    width: 22px;
    height: 22px;
}

/* Color theme variants for card icons */
.prt-card-icon.phone {
    background: rgba(244, 63, 94, 0.12);
    color: #f43f5e; /* Red/Rose */
}

.prt-card-icon.email {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444; /* Red */
}

.prt-card-icon.location {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6; /* Blue */
}

.prt-card-content span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.prt-card-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
    overflow-wrap: anywhere;
}

.prt-card-content p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Coordinates Badge */
.prt-coordinates-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(12, 16, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    padding: 0.55rem 1.1rem;
    font-size: 0.76rem;
    color: var(--muted);
    font-family: monospace;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.prt-coordinates-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981; /* green */
    box-shadow: 0 0 8px #10b981;
    animation: prt-pulse 2s infinite;
}

@keyframes prt-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Right Panel: Form Container */
.prt-contact-form-panel {
    position: relative;
}

.prt-form-container {
    background: rgba(12, 16, 25, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: clamp(1.5rem, 3.5vw, 3rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Ambient glow accent inside form */
.prt-form-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.prt-form-container .form-header {
    margin-bottom: 2rem;
}

.prt-form-container .form-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.prt-form-container .form-header p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.5;
    margin: 0;
}

/* Modern Form Elements */
.prt-modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

@media (min-width: 640px) {
    .prt-modern-form .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.prt-modern-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.prt-modern-form .form-group label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}

.prt-field-hint {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    text-transform: none;
    letter-spacing: normal;
}

.prt-modern-form .form-group input,
.prt-modern-form .form-group select,
.prt-modern-form .form-group textarea {
    background: rgba(5, 6, 10, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px !important;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.94rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.prt-modern-form .form-group input::placeholder,
.prt-modern-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.prt-modern-form .form-group input:focus,
.prt-modern-form .form-group select:focus,
.prt-modern-form .form-group textarea:focus {
    outline: none;
    border-color: #f43f5e; /* Red/Rose focus border */
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.25);
    background-color: rgba(5, 6, 10, 0.85);
}

/* Dropdown arrow custom styling helper */
.prt-modern-form .form-group 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='%23ffffff' 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: 14px;
    padding-right: 2.5rem;
}

/* Submit Button */
.prt-form-submit-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 12px;
    background: var(--primary-gradient);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.25);
    margin-top: 0.5rem;
}

.prt-form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(244, 63, 94, 0.4);
    filter: brightness(1.06);
}

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

.prt-form-submit-btn svg {
    transition: transform 0.2s ease;
}

.prt-form-submit-btn:hover svg {
    transform: translateX(4px);
}

.prt-form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.prt-form-status {
    margin: 0.85rem 0 0;
    font-size: 0.85rem;
    text-align: center;
    min-height: 1.2em;
    color: var(--muted);
}

.prt-form-status-success {
    color: #4ade80;
}

.prt-form-status-error {
    color: #f87171;
}

@media (max-width: 480px) {
    .prt-contact-page-section {
        padding: 32px 0 64px;
    }

    .prt-info-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .prt-card-icon {
        width: 42px;
        height: 42px;
    }

    .prt-card-icon svg {
        width: 19px;
        height: 19px;
    }

    .prt-card-content h4 {
        font-size: 1.02rem;
    }
}
