/* Kontak Page Specific Styles */

/* Page Header - Modern & Elegant */
.page-header {
    background: linear-gradient(135deg, rgba(141, 23, 27, 0.95) 0%, rgba(107, 18, 21, 0.98) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background Image - Gedung DPRD */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/parallax/DPRD-Kota-Semarang.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.25;
    z-index: 0;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

/* Batik Pattern Overlay */
.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/batik_semarang_pattern_1764556902049.png');
    background-size: 300px 300px;
    background-repeat: repeat;
    opacity: 0.08;
    z-index: 1;
    animation: patternSlide 30s linear infinite;
}

/* Animated Gradient Overlay */
.page-header-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(141, 23, 27, 0.8) 0%,
            rgba(107, 18, 21, 0.6) 50%,
            rgba(141, 23, 27, 0.9) 100%);
    z-index: 2;
    animation: gradientShift 8s ease-in-out infinite;
}

/* Decorative Shapes */
.page-header-shape {
    position: absolute;
    z-index: 3;
}

.page-header-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.page-header-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
    animation: float 12s ease-in-out infinite reverse;
}

.page-header-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), transparent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 50%;
    left: 10%;
    animation: morph 10s ease-in-out infinite;
}

/* Floating Particles */
.page-header-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    left: 25%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    width: 10px;
    height: 10px;
    left: 40%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    width: 7px;
    height: 7px;
    left: 60%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.particle:nth-child(5) {
    width: 9px;
    height: 9px;
    left: 75%;
    animation-delay: 3s;
    animation-duration: 16s;
}

.particle:nth-child(6) {
    width: 5px;
    height: 5px;
    left: 90%;
    animation-delay: 5s;
    animation-duration: 13s;
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    animation: titleSlideIn 1s ease-out;
    background: linear-gradient(to right, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.8;
    animation: subtitleSlideIn 1s ease-out 0.3s both;
    color: white;
}

/* Decorative Line */
.page-header-line {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
    margin: 30px auto;
    border-radius: 2px;
    animation: lineExpand 1s ease-out 0.6s both;
}

/* Animations */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes patternSlide {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 300px 300px;
    }
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-30px) translateX(20px);
    }
}

@keyframes morph {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: rotate(180deg);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 120px;
        opacity: 1;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.75rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    font-weight: 800;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-yellow));
    margin: 25px auto 0;
    border-radius: 3px;
}

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-yellow));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(141, 23, 27, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.contact-card a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-red);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-detail i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-detail-text {
    flex: 1;
}

.contact-detail-text strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-detail-text span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    height: 500px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, var(--light-yellow) 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 40px;
    margin-top: 0px;
    border-left: 5px solid var(--primary-red);
    box-shadow: var(--shadow-md);
}

.info-box h3 {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.info-box p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-box ul li i {
    color: var(--primary-red);
    font-size: 1.2rem;
    width: 30px;
}

/* Social Media Section */
.social-section {
    padding: 80px 0;
    background: white;
}

.social-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.social-card i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.social-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.social-card a {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-card a:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(141, 23, 27, 0.3);
}