/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; color: #1a1a2e; line-height: 1.6; background: #fafafa; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 40px; text-align: center; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: #c0392b; margin: 12px auto 0; border-radius: 2px; }

/* ===== HEADER ===== */
.header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 100; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: #1a1a2e; }
.logo__icon { font-size: 1.4rem; color: #c0392b; }
.nav ul { list-style: none; display: flex; gap: 28px; }
.nav a { font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: #c0392b; }
.nav__toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 768px) {
  .nav ul { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 16px 20px; box-shadow: 0 8px 20px rgba(0,0,0,.1); }
  .nav.open ul { display: flex; }
  .nav__toggle { display: block; }
}

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; padding: 80px 0; }
.hero__inner { display: flex; align-items: center; gap: 48px; }
.hero__title { font-size: 2.8rem; font-weight: 800; margin-bottom: 8px; }
.hero__subtitle { font-size: 1.3rem; font-weight: 400; opacity: .85; margin-bottom: 12px; }
.hero__desc { font-size: 1.05rem; opacity: .75; max-width: 480px; margin-bottom: 24px; line-height: 1.7; }
.hero__photo img { width: 400px; height: 520px; object-fit: cover; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.btn { display: inline-block; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: background .2s, transform .15s; }
.btn--primary { background: #c0392b; color: #fff; }
.btn--primary:hover { background: #a93226; transform: translateY(-2px); }
@media (max-width: 900px) {
  .hero__inner { flex-direction: column-reverse; text-align: center; }
  .hero__photo img { width: 280px; height: 360px; }
  .hero__title { font-size: 2rem; }
}

/* ===== ABOUT ===== */
.about__grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.about__text p { margin-bottom: 16px; font-size: 1.05rem; }
.fact-card { background: #fff; border-radius: 10px; padding: 20px 24px; box-shadow: 0 4px 16px rgba(0,0,0,.06); margin-bottom: 16px; }
.fact-card__num { display: block; font-size: 1.6rem; font-weight: 800; color: #c0392b; }
.fact-card__label { font-size: .9rem; color: #555; }
@media (max-width: 768px) { .about__grid { grid-template-columns: 1fr; } }

/* ===== ACTIVITIES ===== */
.activities { background: #fff; }
.activities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.activity-card { background: #f7f7fa; border-radius: 12px; padding: 32px 24px; transition: transform .2s, box-shadow .2s; }
.activity-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.activity-card__icon { font-size: 2.4rem; margin-bottom: 16px; }
.activity-card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.activity-card__text { font-size: .95rem; color: #444; line-height: 1.6; }
@media (max-width: 768px) { .activities__grid { grid-template-columns: 1fr; } }

/* ===== PROJECTS ===== */
.projects__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.project-card img { width: 100%; height: 220px; object-fit: cover; }
.project-card__body { padding: 24px; }
.project-card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.project-card__text { font-size: .95rem; color: #444; margin-bottom: 14px; }
.project-card__link { color: #c0392b; font-weight: 600; }
@media (max-width: 768px) { .projects__grid { grid-template-columns: 1fr; } }

/* ===== BLOG ===== */
.blog__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog-card { background: #fff; border-radius: 10px; padding: 28px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.blog-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.blog-card__title a:hover { color: #c0392b; }
.blog-card__excerpt { font-size: .92rem; color: #444; margin-bottom: 12px; white-space: pre-line; }
.blog-card__link { color: #c0392b; font-weight: 600; font-size: .9rem; }
@media (max-width: 768px) { .blog__grid { grid-template-columns: 1fr; } }

/* ===== CONTACT ===== */
.contact { background: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info__list { margin-top: 24px; }
.contact-item { margin-bottom: 12px; font-size: 1rem; }
.contact-item strong { color: #1a1a2e; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; gap: 14px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; font-family: inherit; transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #c0392b; }
.success-msg { color: #27ae60; font-weight: 600; margin-top: 8px; }
@media (max-width: 768px) { .contact__grid { grid-template-columns: 1fr; } .form-row { flex-direction: column; } }

/* ===== FOOTER ===== */
.footer { background: #1a1a2e; color: #ccc; padding: 40px 0 20px; }
.footer__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 32px; }
.footer__col strong { color: #fff; font-size: 1.05rem; display: block; margin-bottom: 10px; }
.footer__col p { margin-bottom: 6px; font-size: .9rem; }
.footer__col a { color: #aaa; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid #333; padding-top: 16px; font-size: .85rem; color: #888; text-align: center; }
@media (max-width: 768px) { .footer__inner { grid-template-columns: 1fr; } }