﻿:root {
    --background: #0b1220;
    --surface: #131e30;
    --text: #f1f5f9;
    --muted: #a9b8cc;
    --accent: #60a5fa;
    --border: #26364d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8%;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
}

.logo span {
    color: var(--accent);
}

nav {
    display: flex;
    gap: 24px;
}

nav a, .contact a {
    color: var(--muted);
}

nav a:hover, .contact a:hover {
    color: var(--accent);
}

.hero {
    max-width: 1000px;
    margin: auto;
    padding: 110px 24px 100px;
    text-align: center;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.3rem, 6vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--accent);
    margin-bottom: 24px;
}

.intro {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--muted);
}

.button {
    display: inline-block;
    padding: 12px 22px;
    background: var(--accent);
    color: #08111f;
    border-radius: 7px;
    font-weight: 700;
}

.button:hover {
    opacity: 0.85;
}

.location {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 25px;
}

.section {
    padding: 80px 8%;
    max-width: 1200px;
    margin: auto;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.section > p:not(.eyebrow) {
    color: var(--muted);
    max-width: 800px;
}

.section-alt {
    max-width: none;
    background: #0f192a;
}

.section-alt > * {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
}

.tags {
    color: var(--accent) !important;
    font-size: 0.85rem;
    margin-top: 15px;
}

.contact {
    text-align: center;
}

.contact > p {
    margin: 0 auto 15px;
}

footer {
    text-align: center;
    padding: 25px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
}

@media (max-width: 750px) {
    .site-header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }

    .hero {
        padding-top: 75px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 24px;
    }
}

/* About section profile photo */
.about-content {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.profile-photo {
    width: 240px;
    height: 240px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.about-text {
    flex: 1;
    min-width: 0;
}

.about-text p + p {
    margin-top: 16px;
}

@media (max-width: 600px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
    }
}




/* Mobile navigation and hamburger menu */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
}

.menu-toggle:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 4px;
}

/* Mobile layout */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .navigation {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 0;
  }

  .navigation.is-open {
    display: flex;
  }

  .navigation a {
    display: block;
  }
}
