/* ========================================
   UNIVERSITAS SURABAYA UNPAD - MODERN STYLE
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0B1F3A;
  --primary-light: #1A3A5C;
  --accent: #D4AF37;
  --accent-hover: #B8962E;
  --text-dark: #111827;
  --text-gray: #6B7280;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--bg-light); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* HEADER & NAVIGATION */
.header { position: fixed; top: 0; left: 0; width: 100%; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); z-index: 1000; padding: 0 5%; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: 1400px; margin: 0 auto; }
.logo img { height: 48px; width: auto; }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a { font-weight: 500; color: var(--text-dark); padding: 8px 16px; border-radius: 8px; position: relative; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: rgba(11,31,58,0.04); }
.nav-menu a::after { content: ''; position: absolute; bottom: -2px; left: 50%; width: 0; height: 2px; background: var(--accent); transition: var(--transition); transform: translateX(-50%); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 60%; }

/* HERO SECTION */
.hero { margin-top: 72px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: var(--white); padding: 80px 5%; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -20%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%); border-radius: 50%; }
.hero-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; background: linear-gradient(to right, #fff, #e2e8f0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 1.25rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 540px; }
.btn-primary { display: inline-block; background: var(--accent); color: var(--primary); font-weight: 600; padding: 14px 28px; border-radius: 8px; box-shadow: 0 4px 12px rgba(212,175,55,0.3); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(212,175,55,0.4); }
.hero-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: perspective(1000px) rotateY(-5deg); transition: var(--transition); }
.hero-image:hover img { transform: perspective(1000px) rotateY(0deg); }

/* CONTAINER & TITLES */
.container { max-width: 1400px; margin: 0 auto; padding: 80px 5%; }
.section-title { font-size: 2.2rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 50%; height: 4px; background: var(--accent); border-radius: 2px; }
.section-desc { color: var(--text-gray); font-size: 1.1rem; margin-bottom: 48px; max-width: 600px; }

/* PROGRAMS & CARDS */
.programs-grid, .announcement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 48px; }
.program-card, .announce-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: var(--transition); position: relative; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.program-card:hover, .announce-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.program-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--accent), var(--primary)); }
.program-card h3, .announce-card .announce-title { font-size: 1.4rem; color: var(--primary); margin-bottom: 12px; }
.program-card .price { font-size: 1.8rem; font-weight: 700; color: var(--accent); margin: 16px 0; }
.program-card ul { margin-top: 16px; padding-left: 20px; list-style: disc; color: var(--text-gray); }
.announce-date { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 8px; font-weight: 500; }
.announce-excerpt { color: var(--text-gray); font-size: 0.95rem; line-height: 1.5; }

/* ANNOUNCEMENT SECTION */
.announcement-section { background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%); padding: 60px 5%; }

/* LOCATION / MAP */
.location-section { background: var(--white); padding: 60px 5%; }
.map-wrapper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); margin-top: 32px; }
.address-box { background: var(--primary); color: var(--white); padding: 32px; border-radius: var(--radius); margin-top: 24px; display: flex; align-items: center; gap: 16px; }

/* FOOTER */
.footer { background: var(--primary); color: rgba(255,255,255,0.85); padding: 64px 5% 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; max-width: 1400px; margin: 0 auto; }
.footer-col h4 { color: var(--accent); font-size: 1.3rem; margin-bottom: 20px; position: relative; padding-bottom: 8px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30%; height: 2px; background: var(--accent); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-logo img, .footer-col > img { height: 56px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-address { font-size: 0.95rem; line-height: 1.6; opacity: 0.85; }
.footer-bottom { max-width: 1400px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.9rem; opacity: 0.7; }

/* RESPONSIVE */
@media (max-width: 992px) { 
  .hero-inner { grid-template-columns: 1fr; text-align: center; } 
  .hero-content p, .hero-content h1 { margin-left: auto; margin-right: auto; } 
  .nav-menu { display: none; } /* Simplified for demo */
}
@media (max-width: 768px) { 
  .hero-content h1 { font-size: 2.4rem; } 
  .section-title { font-size: 1.8rem; } 
  .programs-grid, .announcement-grid { grid-template-columns: 1fr; } 
}

/* UTILITIES */
.text-center { text-align: center; }
.mt-2 { margin-top: 32px; }
.mb-4 { margin-bottom: 64px; }
