/* Kontak Page Styles */

/* Hero Section */
.contact-hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #0a1172 0%, #1e40af 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(96, 165, 250, 0.15) 0%, transparent 50%);
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.4;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    color: white;
    transition: all 0.3s ease;
}

.contact-hero-badge svg {
    color: #60a5fa;
}

.contact-hero-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    color: white;
}

.contact-hero-title-highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.contact-hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    font-weight: 400;
}

/* Contact Cards Section */
.contact-cards-section {
    padding: 80px 0;
    background: #fff;
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0a1172, #0ea5e9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(10, 17, 114, 0.15);
    border-color: #e0e7ff;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon-wrapper {
    margin-bottom: 24px;
}

.contact-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin: 0 auto;
}

.icon-gradient-blue {
    background: linear-gradient(135deg, #0a1172, #1e40af);
}

.icon-gradient-sky {
    background: linear-gradient(135deg, #0ea5e9, #60a5fa);
}

.icon-gradient-purple {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.contact-card:hover .contact-icon-box {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 12px 36px rgba(10, 17, 114, 0.25);
}

.contact-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.contact-card-text {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-card-subtext {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 24px;
}

.contact-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #0a1172, #1e40af);
    color: white;
    box-shadow: 0 4px 20px rgba(10, 17, 114, 0.3);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(10, 17, 114, 0.4);
}

.btn-secondary-gradient {
    background: linear-gradient(135deg, #0ea5e9, #60a5fa);
    color: white;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.btn-secondary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(14, 165, 233, 0.4);
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-form-title {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.contact-form-subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-card {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
    color: #1e293b;
}

.form-label-required::after {
    content: '*';
    color: #ef4444;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    color: #1e293b;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    background: white;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

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

.form-submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #0a1172, #0ea5e9);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(10, 17, 114, 0.3);
    position: relative;
    overflow: hidden;
}

.form-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;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(10, 17, 114, 0.4);
}

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

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

/* Background Decoration */
.contact-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.contact-decoration-1 {
    top: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    opacity: 0.4;
    animation: float-slow 8s ease-in-out infinite;
}

.contact-decoration-2 {
    bottom: 15%;
    right: 8%;
    width: 200px;
    height: 200px;
    opacity: 0.3;
    animation: float-slow 10s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(15px, -15px) rotate(5deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-hero {
        padding: 100px 0 80px;
    }

    .contact-hero-title {
        font-size: 52px;
    }

    .contact-cards-grid {
        gap: 24px;
    }

    .contact-form-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0 60px;
    }

    .contact-hero-badge {
        font-size: 11px;
        padding: 8px 18px;
    }

    .contact-hero-title {
        font-size: 38px;
    }

    .contact-hero-subtitle {
        font-size: 17px;
    }

    .contact-cards-section {
        padding: 60px 0;
        margin-top: -40px;
    }

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

    .contact-card {
        padding: 32px 24px;
    }

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

    .contact-form-title {
        font-size: 32px;
    }

    .contact-form-card {
        padding: 30px 24px;
    }

    .contact-decoration {
        display: none;
    }
}
