/*
   ========================================
   Contact Page - Ömer Haluk Demirhan
   ========================================
*/

/* Page Header */
.page-header {
    position: relative;
    padding: 9rem 0 4rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.header-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.header-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.header-content h1.glitch-text::before,
.header-content h1.glitch-text::after {
    content: attr(data-content);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header-content h1.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 rgba(255, 13, 109, 0.7);
    animation: glitch-animation 2s infinite linear alternate-reverse;
}

.header-content h1.glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 rgba(0, 240, 255, 0.7);
    animation: glitch-animation 2s infinite linear alternate;
}

@keyframes glitch-animation {
    0% {
        clip-path: inset(0 0 98% 0);
    }
    5% {
        clip-path: inset(50% 0 40% 0);
    }
    10% {
        clip-path: inset(10% 0 85% 0);
    }
    15% {
        clip-path: inset(70% 0 10% 0);
    }
    20% {
        clip-path: inset(20% 0 78% 0);
    }
    25% {
        clip-path: inset(90% 0 5% 0);
    }
    30% {
        clip-path: inset(15% 0 80% 0);
    }
    35% {
        clip-path: inset(60% 0 35% 0);
    }
    40% {
        clip-path: inset(30% 0 65% 0);
    }
    45% {
        clip-path: inset(80% 0 15% 0);
    }
    50% {
        clip-path: inset(5% 0 90% 0);
    }
    55% {
        clip-path: inset(40% 0 55% 0);
    }
    60% {
        clip-path: inset(25% 0 70% 0);
    }
    65% {
        clip-path: inset(75% 0 20% 0);
    }
    70% {
        clip-path: inset(0 0 97% 0);
    }
    75% {
        clip-path: inset(45% 0 50% 0);
    }
    80% {
        clip-path: inset(15% 0 80% 0);
    }
    85% {
        clip-path: inset(65% 0 30% 0);
    }
    90% {
        clip-path: inset(35% 0 60% 0);
    }
    95% {
        clip-path: inset(85% 0 10% 0);
    }
    100% {
        clip-path: inset(10% 0 85% 0);
    }
}

.header-content .lead {
    font-size: 1.25rem;
    margin: 0 auto 2rem;
    max-width: 700px;
    color: var(--dark-text-secondary);
}

/* Circuit Board Header Elements */
.header-circuit {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.circuit-line {
    position: absolute;
    background: var(--primary-neon);
    box-shadow: 0 0 10px var(--primary-neon);
}

.circuit-line.line-1 {
    top: 30%;
    right: 10%;
    width: 40%;
    height: 2px;
    animation: circuit-line-animation 4s infinite alternate ease-in-out;
}

.circuit-line.line-2 {
    bottom: 40%;
    left: 5%;
    width: 30%;
    height: 2px;
    animation: circuit-line-animation 4s infinite alternate-reverse ease-in-out;
}

.circuit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-neon);
    box-shadow: 0 0 15px var(--primary-neon);
    animation: circuit-dot-animation 3s infinite alternate ease-in-out;
}

.circuit-dot.dot-1 {
    top: 30%;
    right: 10%;
    animation-delay: 0s;
}

.circuit-dot.dot-2 {
    bottom: 40%;
    left: 5%;
    animation-delay: -1s;
}

.circuit-dot.dot-3 {
    top: 60%;
    right: 30%;
    animation-delay: -2s;
}

@keyframes circuit-line-animation {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 5px var(--primary-neon);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px var(--primary-neon), 0 0 20px var(--primary-neon);
    }
}

@keyframes circuit-dot-animation {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.3;
        box-shadow: 0 0 5px var(--primary-neon);
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 15px var(--primary-neon), 0 0 20px var(--primary-neon);
    }
}

/* Contact Section */
.contact-section {
    padding: 4rem 0 6rem;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.contact-info {
    padding-right: 2rem;
}

.section-intro {
    margin-bottom: 3rem;
}

.subtitle {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 3rem;
}

.subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 2px;
    background: var(--secondary-color);
    transform: translateY(-50%);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-text-primary);
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-neon), var(--secondary-neon));
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Info Card */
.info-card, .form-card, .map-card {
    position: relative;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 10px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 240, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    height: 100%;
    z-index: 5;
    transition: all 0.3s ease;
}

.info-card:hover, .form-card:hover, .map-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 240, 255, 0.2);
}

.info-card:before, .form-card:before, .map-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 13, 109, 0.05) 0%, 
        rgba(0, 240, 255, 0.05) 100%);
    z-index: -1;
}

.contact-intro {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-text-secondary);
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateX(10px);
}

.method-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.method-icon i {
    font-size: 1.5rem;
    color: var(--primary-neon);
    transition: all 0.3s ease;
}

.contact-method:hover .method-icon {
    background: var(--primary-neon);
}

.contact-method:hover .method-icon i {
    color: var(--dark-bg-primary);
}

.method-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.method-text p, .method-text a {
    font-size: 0.95rem;
    color: var(--dark-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.method-text a:hover {
    color: var(--primary-neon);
}

.social-connect {
    margin-top: 2rem;
}

.social-connect h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link i {
    font-size: 1.2rem;
    color: var(--primary-neon);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-neon);
}

.social-link:hover i {
    color: var(--dark-bg-primary);
}

/* Circuit Decorations */
.circuit-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.circuit-node {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-neon);
    box-shadow: 0 0 10px var(--primary-neon);
}

.node-1 {
    top: 20%;
    right: 10%;
    animation: pulse 3s infinite alternate ease-in-out;
}

.node-2 {
    bottom: 15%;
    left: 15%;
    animation: pulse 3s infinite alternate-reverse ease-in-out;
}

.circuit-path {
    position: absolute;
    background: var(--primary-neon);
    opacity: 0.3;
}

.path-1 {
    top: 20%;
    right: 10%;
    width: 30%;
    height: 1px;
    animation: glow 4s infinite alternate ease-in-out;
}

.path-2 {
    bottom: 15%;
    left: 15%;
    width: 20%;
    height: 1px;
    animation: glow 4s infinite alternate-reverse ease-in-out;
}

.path-3 {
    top: 50%;
    left: 5%;
    width: 15%;
    height: 1px;
    transform: rotate(45deg);
    animation: glow 3s infinite alternate ease-in-out;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--dark-text-secondary);
}

.input-container {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--dark-text-primary);
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: none;
    outline: none;
    font-family: 'Roboto', sans-serif;
}

.form-control:focus {
    border-color: var(--primary-neon);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    background: rgba(18, 18, 18, 0.8);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-neon), var(--secondary-neon));
    transition: all 0.3s ease;
    border-radius: 0 0 4px 4px;
}

.form-control:focus + .input-glow {
    width: 100%;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Form Circuit Elements */
.form-node-1 {
    top: 15%;
    right: 15%;
    animation-delay: -1s;
}

.form-node-2 {
    bottom: 20%;
    left: 20%;
    animation-delay: -2s;
}

.form-node-3 {
    top: 60%;
    right: 25%;
    animation-delay: -0.5s;
}

.form-path-1 {
    top: 15%;
    right: 15%;
    width: 25%;
    height: 1px;
    animation-delay: -1s;
}

.form-path-2 {
    bottom: 20%;
    left: 20%;
    width: 30%;
    height: 1px;
    animation-delay: -2s;
}

/* Map Section */
.map-section {
    padding: 6rem 0;
    position: relative;
}

.map-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 500px;
}

.map-frame {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    filter: grayscale(90%) contrast(110%);
    transition: all 0.5s ease;
}

.map-card:hover .map-frame iframe {
    filter: grayscale(60%) contrast(110%);
}

.map-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(18, 18, 18, 0.85);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
    max-width: 350px;
    backdrop-filter: blur(5px);
    z-index: 10;
    transition: all 0.3s ease;
}

.map-card:hover .map-overlay {
    background: rgba(18, 18, 18, 0.9);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.location-marker {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.marker-pulse {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.marker-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.9);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.marker-icon i {
    color: var(--primary-neon);
    font-size: 1.2rem;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.location-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-text-primary);
}

.location-info p {
    font-size: 0.9rem;
    color: var(--dark-text-secondary);
    margin-bottom: 0;
}

/* Map Circuit Elements */
.map-circuit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.map-node-1 {
    top: 25%;
    right: 20%;
    animation-delay: -1.5s;
}

.map-node-2 {
    bottom: 25%;
    left: 15%;
    animation-delay: -0.7s;
}

.map-path-1 {
    top: 25%;
    right: 20%;
    width: 25%;
    height: 1px;
    animation-delay: -1.5s;
}

.map-path-2 {
    bottom: 25%;
    left: 15%;
    width: 20%;
    height: 1px;
    animation-delay: -0.7s;
}

/* Call to Action Section */
.cta-section {
    padding: 6rem 0;
    background: rgba(18, 18, 18, 0.5);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(0, 240, 255, 0.05), rgba(255, 13, 109, 0.05));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--dark-text-secondary);
}

.btn-neon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    color: #121212;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    min-width: 180px;
    text-align: center;
}

.btn-neon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.4);
    color: #121212;
}

.btn-neon:active {
    transform: translateY(1px);
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0.1));
    transform: translateX(-100%);
    transition: all 0.6s ease;
}

.btn-neon:hover::before {
    transform: translateX(100%);
}

.btn-text {
    margin-right: 0.5rem;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Circuit Elements */
.cta-circuit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.cta-node-1 {
    top: 30%;
    right: 25%;
    animation-delay: -1s;
}

.cta-node-2 {
    bottom: 40%;
    left: 20%;
    animation-delay: -2s;
}

.cta-path-1 {
    top: 30%;
    right: 25%;
    width: 35%;
    height: 1px;
    animation-delay: -1s;
}

/* Animations */
@keyframes glow {
    0%, 100% {
        opacity: 0.2;
        box-shadow: 0 0 3px var(--primary-neon);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 10px var(--primary-neon);
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .page-header {
        padding: 7rem 0 3rem;
    }
    
    .header-content h1 {
        font-size: 3rem;
    }
    
    .info-card, .form-card, .map-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .map-overlay {
        left: 20px;
        bottom: 20px;
        max-width: 300px;
    }
    
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 6rem 0 2rem;
    }
    
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .header-content .lead {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .map-card {
        height: 400px;
    }
    
    .map-overlay {
        left: 15px;
        bottom: 15px;
        padding: 1rem;
        max-width: 250px;
    }
    
    .location-info h3 {
        font-size: 1rem;
    }
    
    .location-info p {
        font-size: 0.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .page-header {
        padding: 5.5rem 0 1.5rem;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .info-card, .form-card, .map-card {
        padding: 1.5rem;
    }
    
    .map-card {
        height: 350px;
    }
    
    .map-overlay {
        max-width: calc(100% - 30px);
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
    }
    
    .method-icon i {
        font-size: 1.2rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .btn-neon {
        padding: 0.7rem 1.5rem;
        min-width: 160px;
    }
} 