/*
Theme Name: Tema SMAN 1 Gamping
Author: Tim IT Sekolah
Description: Tema khusus untuk profil sekolah SMAN 1 Gamping.
Version: 1.0
*/

/* Reset Dasar */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; }
a { text-decoration: none; color: #0056b3; }
img { max-width: 100%; height: auto; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 20px; }

/* Header */
header { background: #003366; color: white; padding: 15px 0; }
header .container { display: flex; justify-content: space-between; align-items: center; }
header h1 a { color: white; font-size: 24px; font-weight: bold; }
nav ul { list-style: none; display: flex; }
nav ul li { margin-left: 20px; }
nav ul li a { color: #ddd; font-weight: 500; }
nav ul li a:hover { color: white; }

/* Hero Section (Halaman Depan) */
.hero { background: linear-gradient(rgba(0,51,102,0.8), rgba(0,51,102,0.8)), url('https://placehold.co/1200x600'); background-size: cover; color: white; text-align: center; padding: 100px 20px; }
.hero h2 { font-size: 3rem; margin-bottom: 20px; }
.btn { display: inline-block; background: #f39c12; color: white; padding: 10px 20px; border-radius: 5px; margin-top: 10px; }

/* Grid Berita */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.news-card { border: 1px solid #ddd; border-radius: 8px; overflow: hidden; transition: 0.3s; }
.news-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.news-content { padding: 15px; }
.news-title { font-size: 1.2rem; margin-bottom: 10px; color: #003366; }

/* Single Post */
.single-post-container { max-width: 800px; margin: 40px auto; }
.meta-info { color: #777; font-size: 0.9rem; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px;}

/* Footer */
footer { background: #222; color: #aaa; text-align: center; padding: 20px 0; margin-top: 50px; }

/* --- Tambahan untuk Data Guru --- */
.guru-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 30px; text-align: center; }
.guru-card { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); border-top: 4px solid #f39c12; }
.guru-foto { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 3px solid #eee; }
.guru-nama { font-weight: bold; color: #003366; margin-bottom: 5px; }
.guru-mapel { font-size: 0.9rem; color: #666; }

/* --- Tambahan untuk Galeri & Video --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; transition: transform 0.3s; }
.gallery-item img:hover { transform: scale(1.05); }
.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin-bottom: 20px; border-radius: 8px; }
.video-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* --- Tambahan untuk Kontak / Maps --- */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 30px; }
.contact-info { flex: 1; min-width: 300px; }
.contact-map { flex: 1; min-width: 300px; height: 400px; }
.contact-item { margin-bottom: 15px; display: flex; align-items: center; }
.icon { background: #003366; color: white; width: 40px; height: 40px; display: inline-flex; justify-content: center; align-items: center; border-radius: 50%; margin-right: 15px; }