/* Base Reset & Typography */
:root {
    --primary: #2c3e50;
    --secondary: #34495e;
    --accent: #3498db;
    --text: #333;
    --bg: #f9f9f9;
    --card-bg: #fff;
    --font-main: 'Roboto', sans-serif;
    --radius: 12px;
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.05); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo img { height: 50px; }
.logo-text { font-size: 1.5rem; font-weight: 700; color: var(--primary); letter-spacing: -0.5px; }

/* Navigation */
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-weight: 500; color: var(--secondary); position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--accent); }

/* Hero Section */
.hero { height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; position: relative; color: white; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)); }
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 0 20px; }
.hero h1 { font-size: 4rem; font-weight: 800; margin-bottom: 20px; color: white; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.5rem; margin-bottom: 30px; opacity: 0.9; }
.btn { display: inline-block; padding: 15px 40px; background: var(--accent); color: white; border-radius: 50px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4); transition: transform 0.3s, box-shadow 0.3s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5); background: var(--accent); }

/* Grid & Cards */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; border: 1px solid rgba(0,0,0,0.05); }
.card:hover { transform: translateY(-10px); }
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.1); }
.card-body { padding: 25px; }
.card-date { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 10px; display: block; }
.card-title { font-size: 1.5rem; margin-bottom: 10px; color: var(--primary); }
.card-excerpt { color: #666; margin-bottom: 20px; }

/* Buttons */
.btn-small { padding: 8px 15px; background: var(--secondary); color: white; border-radius: 20px; font-size: 0.9rem; }

/* Footer */
footer { background: var(--primary); color: white; padding: 60px 0 20px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { font-size: 1.2rem; margin-bottom: 20px; opacity: 0.8; }
.footer-col a { display: block; margin-bottom: 10px; opacity: 0.6; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.copyright { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); opacity: 0.5; font-size: 0.9rem; }
