/* me.css - Desain Web Menarik dan Unik untuk Halaman Tentang Infomedia (Dominan Hitam) */

/* Reset dan Font Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e3e5 100%);
    overflow-x: hidden;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header */
header {
    background: linear-gradient(90deg, #000 0%, #333 100%);
    color: white;
    padding: 25px 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

header h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.3em;
    opacity: 0.9;
    font-style: italic;
}

/* Navigasi */
nav {
    background-color: #000;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 25px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #ffc107;
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #ffc107;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

/* Container Utama */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.8s ease-out;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e9ecef 0%, #adb5bd 100%);
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: #000;
    transition: width 0.5s ease;
    transform: translateX(-50%);
}

.hero:hover::after {
    width: 80%;
}

.hero h1 {
    font-size: 3.5em;
    color: #000;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.4em;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Umum */
.section {
    margin-bottom: 50px;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
}

.section h2 {
    font-size: 2.2em;
    color: #000;
    margin-bottom: 20px;
    border-bottom: 4px solid #333;
    padding-bottom: 10px;
    font-weight: 600;
    text-align: center;
}

.section h3 {
    font-size: 1.6em;
    color: #495057;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    border-left: 5px solid #ffc107;
    padding-left: 15px;
}

.section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.section ul li {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    list-style-type: disc;
    transition: color 0.3s ease;
}

.section ul li:hover {
    color: #000;
}

/* Team Section */
.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(51, 51, 51, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover::before {
    opacity: 1;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid #000;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.1);
}

.team-member h4 {
    font-size: 1.3em;
    color: #000;
    margin-bottom: 5px;
    font-weight: 600;
}

.team-member p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.team-member p:last-child {
    font-style: italic;
    color: #888;
}

/* Gallery Section */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* Footer */
footer {
    background: linear-gradient(90deg, #000 0%, #333 100%);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #000, #333, #ffc107);
}

footer p {
    font-size: 14px;
    opacity: 0.9;
}

footer a {
    color: #ffc107;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

/* Responsivitas */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }
    
    .hero h1 {
        font-size: 2.8em;
    }
    
    .hero p {
        font-size: 1.2em;
    }
    
    .section h2 {
        font-size: 1.8em;
    }
    
    .team {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    nav a {
        display: block;
        margin: 10px 0;
    }
    
    .container {
        padding: 20px;
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }
    
    .hero h1 {
        font-size: 2.2em;
    }
    
    .hero {
        padding: 40px 15px;
    }
    
    .section h2 {
        font-size: 1.5em;
    }
    
    .section h3 {
        font-size: 1.3em;
    }
    
    .team-member {
        padding: 20px;
    }
    
    .gallery img {
        height: 150px;
    }
}
