/* =============================================
   Tony Albus TCC — One-page site styles
   Plain CSS, no framework. Edit freely!
   ============================================= */

/* --- CSS variables (easy theming) --- */
:root {
  --bg:           #0a0a0a;
  --bg-alt:       #111111;
  --bg-card:      #161616;
  --border:       #2a2a2a;
  --text:         #e8e8e8;
  --text-muted:   #888888;
  --accent:       #cccccc;
  --accent-bright:#ffffff;
  --max-width:    960px;
  --header-h:     64px;
  --radius:       6px;
  --transition:   0.25s ease;
  --font-body:    Tahoma, "MS Sans Serif", "Microsoft Sans Serif", sans-serif;
  --font-heading: Georgia, "Times New Roman", Times, serif;
}

/* --- Reset & base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

h1, h2, h3, .nav-logo {
  font-family: var(--font-heading);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.75;
}

strong {
  color: var(--accent-bright);
  font-weight: 600;
}

/* --- Layout helper --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Header / navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--accent-bright);
  opacity: 1;
}

/* Hamburger button (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 1.5rem 4rem;
  background: radial-gradient(ellipse at 50% 80%, #1a1a1a 0%, var(--bg) 70%);
}

.hero-inner {
  max-width: 560px;
}

.hero-logo {
  margin: 0 auto 2rem;
  width: min(280px, 60vw);
  filter: drop-shadow(0 8px 32px rgba(255, 255, 255, 0.06));
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-tagline {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-sub {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-tea {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-tea a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  animation: teaPulse 3s ease-in-out infinite;
}

.hero-tea a:hover {
  text-decoration-color: var(--accent-bright);
  animation-play-state: paused;
  opacity: 1;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
}

@keyframes teaPulse {
  0%, 100% {
    opacity: 0.55;
    text-shadow: none;
    text-decoration-color: rgba(255, 255, 255, 0.25);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
    text-decoration-color: rgba(255, 255, 255, 0.6);
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-down hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-bright);
  opacity: 1;
  transition: opacity 0.4s ease;
  animation: fadeUp 0.8s 0.5s ease both;
}

.scroll-hint:hover {
  opacity: 0.85;
}

.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-hint-text {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.scroll-hint-arrow {
  width: 16px;
  height: 16px;
  border-right: 2px solid var(--accent-bright);
  border-bottom: 2px solid var(--accent-bright);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.65; }
  50%      { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

/* --- Sections --- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-grid p {
  color: var(--text);
  font-size: 1.05rem;
}

/* --- Service cards --- */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition);
}

.card:hover {
  border-color: #444;
}

.card-icon {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent-bright);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Availability notice --- */
.notice {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.notice-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.notice h2 {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent-bright);
  letter-spacing: 0.04em;
  text-transform: none;
  margin-bottom: 1rem;
}

.notice p {
  color: var(--text-muted);
  max-width: 60ch;
}

/* --- Footer --- */
.site-footer {
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.site-footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-sub {
  margin-top: 0.25rem;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em;
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 0.85rem 1.5rem;
  }

  .about-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }
}
