﻿/* PMB STKIP Majenang - Main Stylesheet - from index.html */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

/* Header */
.header {
    background: #ffffff;
    color: #374151;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
}

.logo i {
    color: #3b82f6;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: #374151;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.3s;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

.nav-menu a:hover {
    background-color: #f3f4f6;
    color: #3b82f6;
}

.nav-menu a.active {
    background-color: #dbeafe;
    color: #3b82f6;
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.login-btn:hover {
    background: #b91c1c;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    color: #374151;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M0,300 Q250,200 500,300 T1000,300 L1000,1000 L0,1000 Z" fill="rgba(59,130,246,0.1)"/><path d="M0,600 Q250,500 500,600 T1000,600 L1000,1000 L0,1000 Z" fill="rgba(59,130,246,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.6;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #374151;
    line-height: 1.2;
}

.hero .institution-name {
    color: #3b82f6;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.hero .institution-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #6b7280;
    line-height: 1.6;
}

.hero .highlight {
    color: #374151;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border: 2px solid #3b82f6;
}

.btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.hero-video {
    position: relative;
    background: #f0f9ff;
    border: 4px solid #fbbf24;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    opacity: 0.8;
}

.play-button {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #3b82f6;
    cursor: pointer;
    transition: all 0.3s;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Quick Actions Cards */
.quick-actions {
    background: white;
    padding: 3rem 0;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.quick-action-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.quick-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.quick-action-icon {
    width: 50px;
    height: 50px;
    background: #fbbf24;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.quick-action-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: #3b82f6;
}

.quick-action-arrow {
    color: #94a3b8;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* News Section */
.news-section {
    background: #f0f9ff;
    padding: 4rem 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.news-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #009ef7;
    position: relative;
}

.news-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #fbbf24;
    border-radius: 2px;
}

.view-all-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    min-height: 400px;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f0f9ff"/><text x="50" y="50" text-anchor="middle" dy="0.3em" font-family="Arial" font-size="12" fill="%233b82f6">STKIP Majenang</text></svg>');
    background-size: cover;
    opacity: 0.3;
}

.news-content {
    padding: 1.5rem;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-excerpt {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-date {
    color: #6b7280;
    font-size: 0.85rem;
}

.read-more-btn {
    background: transparent;
    color: #2563eb;
    border: 1px solid #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.read-more-btn:hover {
    background: #2563eb;
    color: white;
}

/* Testimonial */
.testimonial {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    background-image: url('https://scontent.fjog3-1.fna.fbcdn.net/v/t39.30808-6/471071953_9774198872595059_5935629829173023979_n.jpg?_nc_cat=104&ccb=1-7&_nc_sid=cc71e4&_nc_eui2=AeGgAqAxkFNcmfnkWn_jWGEFolhqCJBJms6iWGoIkEmazoKQtTxykujlswhFGZOMMs4&_nc_ohc=tSGVB7qU2zcQ7kNvwGO_dBI&_nc_oc=Adksd466i1tcvf7oPVP7hYbys6st3_oBnJwofJwYcZI1I6UUmDtc1a_J2iGHd1f3cO8&_nc_zt=23&_nc_ht=scontent.fjog3-1.fna&_nc_gid=eRbq3vgoieCBqFNBGDx0lQ&oh=00_AfeIUYpeJ-4OLHLosXLrXJ1z2O3A9jz-3-yf83xgMcinDQ&oe=68EA408C');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    padding: 2rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    opacity: 0.75;
    backdrop-filter: blur(5px);
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Left Card - Contact Info */
.footer-contact-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    color: #374151;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
    align-self: flex-start;
}

.footer-contact-item {
    margin-bottom: 1rem;
    width: 100%;
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

.footer-contact-title {
    color: #3b82f6;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.footer-contact-text {
    color: #6b7280;
    line-height: 1.4;
    margin: 0.1rem 0;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Middle Section - PMB Only */
.footer-middle {
    color: white;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-pmb {
    margin-bottom: 0;
}

.footer-pmb h3 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-pmb a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.4rem;
    transition: opacity 0.3s;
    font-size: 1rem;
    white-space: nowrap;
}

.footer-pmb a:hover {
    opacity: 0.8;
}

/* Right Card - Social Media */
.footer-social-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    color: #374151;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    align-self: flex-start;
}

.footer-social h3 {
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.footer-social p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.footer-social-links a {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    font-size: 1rem;
    font-weight: bold;
}

.footer-social-links a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    color: white;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.submit-btn {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #374151;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    background: #f3f4f6;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: #dbeafe;
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .news-header {
        max-width: 1000px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-map-card {
        grid-column: 1 / -1;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .login-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .institution-name {
        font-size: 1.8rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-video {
        order: -1;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .news-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
        max-width: 100%;
    }

    .news-title {
        font-size: 1.8rem;
    }

    .news-card {
        min-height: auto;
    }

    .news-image {
        height: 160px;
        font-size: 2rem;
    }

    .news-content {
        padding: 1.2rem;
    }

    .news-card-title {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .news-excerpt {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .view-all-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-contact-text {
        margin-left: 56px;
    }

    .nav-actions {
        gap: 0.5rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
/* Card Hover Effect */
.card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

