/* =============================================
   CONTACT PAGE CSS - PTS NEWS
   ============================================= */

/* CSS Variables */
:root {
    --contact-accent: #F21517;
    --contact-accent-hover: #d40f11;
    --contact-navy: #001A56;
    --contact-bg-light: #f8f9fa;
    --contact-bg-white: #ffffff;
    --contact-text: #333333;
    --contact-text-light: #666666;
    --contact-text-muted: #999999;
    --contact-border: #e0e0e0;
    --contact-shadow: rgba(0, 26, 86, 0.1);
    --contact-shadow-hover: rgba(0, 26, 86, 0.2);
    --contact-radius: 12px;
    --contact-radius-sm: 8px;
    --contact-radius-lg: 16px;
    --contact-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
.contact-content-section {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #f5f7ff 0%, #ffffff 100%);
    min-height: calc(100vh - 200px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-page-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.contact-page-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--contact-navy);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.contact-page-header h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--contact-accent);
    border-radius: 2px;
}

.contact-page-header p {
    font-size: 18px;
    color: var(--contact-text-light);
    max-width: 500px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--contact-bg-white);
    border-radius: var(--contact-radius-lg);
    padding: 40px;
    box-shadow: 0 4px 20px var(--contact-shadow);
    border: 1px solid var(--contact-border);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--contact-accent), var(--contact-navy));
}

.contact-form-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--contact-navy);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--contact-accent);
    border-radius: 2px;
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--contact-text);
    margin-bottom: 8px;
    position: relative;
}

.contact-form label::after {
    content: '*';
    color: var(--contact-accent);
    margin-left: 4px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: var(--contact-text);
    background: var(--contact-bg-light);
    border: 2px solid transparent;
    border-radius: var(--contact-radius-sm);
    transition: var(--contact-transition);
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: var(--contact-bg-white);
    border-color: var(--contact-accent);
    box-shadow: 0 0 0 4px rgba(242, 21, 23, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--contact-text-muted);
}

.contact-form 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 24 24' fill='none' stroke='%23666666' 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 16px center;
    padding-right: 45px;
}

.contact-form select option {
    padding: 10px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--contact-accent) 0%, #ff4757 100%);
    border: none;
    border-radius: var(--contact-radius-sm);
    cursor: pointer;
    transition: var(--contact-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn::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 ease;
}

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

.submit-btn:hover {
    background: linear-gradient(135deg, var(--contact-accent-hover) 0%, #e63946 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 21, 23, 0.35);
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    font-size: 18px;
}

/* Form Messages */
.form-message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: var(--contact-radius-sm);
    font-size: 14px;
    font-weight: 500;
    display: none;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    display: block;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message i {
    margin-right: 8px;
    font-size: 18px;
}

/* Honeypot */
.honeypot {
    position: absolute;
    left: -9999px !important;
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    background: var(--contact-bg-white);
    border-radius: var(--contact-radius-lg);
    padding: 40px;
    box-shadow: 0 4px 20px var(--contact-shadow);
    border: 1px solid var(--contact-border);
    position: relative;
    overflow: hidden;
}

.contact-info-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--contact-navy), var(--contact-accent));
}

.contact-info-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--contact-navy);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--contact-accent);
    border-radius: 2px;
}

/* Contact Info Items */
.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--contact-bg-light);
    border-radius: var(--contact-radius-sm);
    margin-bottom: 20px;
    transition: var(--contact-transition);
    border: 1px solid transparent;
}

.contact-info-item:hover {
    background: var(--contact-bg-white);
    border-color: var(--contact-accent);
    transform: translateX(8px);
    box-shadow: 0 4px 15px var(--contact-shadow);
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--contact-accent) 0%, #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--contact-transition);
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(242, 21, 23, 0.4);
}

.contact-icon i {
    font-size: 22px;
    color: white;
}

.contact-details h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--contact-navy);
    margin-bottom: 8px;
}

.contact-details p {
    font-size: 14px;
    color: var(--contact-text-light);
    line-height: 1.7;
    margin: 0;
}

/* Social Media Section */
.contact-social {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid var(--contact-border);
}

.contact-social h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--contact-navy);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    text-decoration: none;
    transition: var(--contact-transition);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.social-link:hover::before {
    transform: translateY(0);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.twitter {
    background: #000000;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.youtube {
    background: #ff0000;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Map Section */
.contact-map-wrapper {
    background: var(--contact-bg-white);
    border-radius: var(--contact-radius-lg);
    padding: 40px;
    box-shadow: 0 4px 20px var(--contact-shadow);
    border: 1px solid var(--contact-border);
}

.contact-map-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--contact-navy);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.contact-map-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--contact-accent);
    border-radius: 2px;
}

.map-container {
    border-radius: var(--contact-radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 15px var(--contact-shadow);
}

.map-container iframe {
    display: block;
    transition: var(--contact-transition);
}

.map-container:hover iframe {
    filter: saturate(1.1);
}

/* Legal Footer Nav */
.legal-footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.legal-footer-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--contact-text-light);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: var(--contact-transition);
}

.legal-footer-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--contact-accent);
    transition: width 0.3s ease;
}

.legal-footer-nav a:hover {
    color: var(--contact-accent);
}

.legal-footer-nav a:hover::before {
    width: 100%;
}

.legal-footer-nav a:first-child {
    color: var(--contact-navy);
    font-weight: 600;
}

/* Dark Mode Support */
body.dark-mode .contact-content-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-mode .contact-form-wrapper,
body.dark-mode .contact-info-wrapper,
body.dark-mode .contact-map-wrapper {
    background: #1e1e2f;
    border-color: #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .contact-page-header h1,
body.dark-mode .contact-form-wrapper h2,
body.dark-mode .contact-info-wrapper h2,
body.dark-mode .contact-map-wrapper h2,
body.dark-mode .contact-details h3,
body.dark-mode .contact-social h3 {
    color: #e0e0e0;
}

body.dark-mode .contact-page-header p,
body.dark-mode .contact-details p,
body.dark-mode .legal-footer-nav a {
    color: #aaa;
}

body.dark-mode .contact-form input[type="text"],
body.dark-mode .contact-form input[type="email"],
body.dark-mode .contact-form select,
body.dark-mode .contact-form textarea {
    background: #2a2a3e;
    color: #e0e0e0;
    border-color: #333;
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form select:focus,
body.dark-mode .contact-form textarea:focus {
    background: #1e1e2f;
    border-color: var(--contact-accent);
}

body.dark-mode .contact-info-item {
    background: #2a2a3e;
}

body.dark-mode .contact-info-item:hover {
    background: #1e1e2f;
}

body.dark-mode .legal-footer-nav a:first-child {
    color: #fff;
}

body.dark-mode .map-container {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-content-section {
        padding: 40px 0 60px;
    }
}

@media (max-width: 768px) {
    .contact-page-header h1 {
        font-size: 32px;
    }

    .contact-page-header p {
        font-size: 16px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper,
    .contact-map-wrapper {
        padding: 30px 25px;
    }

    .contact-info-item {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .contact-social {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .legal-footer-nav {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .contact-content-section {
        padding: 30px 0 50px;
    }

    .contact-page-header {
        margin-bottom: 35px;
    }

    .contact-page-header h1 {
        font-size: 28px;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2,
    .contact-map-wrapper h2 {
        font-size: 20px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .legal-footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .map-container iframe {
        height: 300px !important;
    }
}

/* Animation Effects */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-form-wrapper {
    animation: slideInLeft 0.6s ease forwards;
}

.contact-info-wrapper {
    animation: slideInRight 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.contact-map-wrapper {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

/* Stagger animation for contact info items */
.contact-info-item:nth-child(1) { animation-delay: 0.1s; }
.contact-info-item:nth-child(2) { animation-delay: 0.2s; }
.contact-info-item:nth-child(3) { animation-delay: 0.3s; }
.contact-info-item:nth-child(4) { animation-delay: 0.4s; }

.contact-info-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

/* Site Header Override for Contact Page */
.site-header {
    background: var(--contact-bg-white);
    box-shadow: 0 2px 10px var(--contact-shadow);
}

.site-header .logo-area {
    padding: 15px 0;
}

.site-header .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-header .logo {
    height: 45px;
    width: auto;
}

.site-header .logo-link span {
    font-size: 24px;
    font-weight: 800;
    color: var(--contact-navy);
}

/* Footer Styles */
.site-footer {
    background: var(--contact-navy);
    color: white;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.legal-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--contact-transition);
}

.legal-links a:hover {
    color: white;
}

.legal-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

