/* Tea & Tech – Main Stylesheet
   Colours: Navy, Royal Blue, Pastel Blue
   Style: Bold yet nostalgic, calm & trustworthy
*/

:root {
  --navy: #1a365d;
  --royal: #2b6cb0;
  --pastel: #bee3f8;
  --pastel-light: #ebf8ff;
  --cream: #fdf8f3;
  --soft-white: #f7fafc;
  --text: #2d3748;
  --text-light: #4a5568;
  --gold: #c9a227;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(26, 54, 93, 0.08);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--soft-white);
  line-height: 1.7;
  font-size: 18px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--royal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--navy);
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-horizontal {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--royal);
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: var(--royal);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--pastel-light) 0%, var(--cream) 100%);
  padding: 4rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(43, 108, 176, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
  color: var(--navy);
}

.hero .tagline {
  font-size: 1.35rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

.hero .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--royal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 54, 93, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

/* ========== SECTIONS ========== */
section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 1.15rem;
}

/* ========== HOME FEATURES ========== */
.features {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--soft-white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(26, 54, 93, 0.06);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--pastel-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--royal);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 1rem;
}

/* ========== ABOUT PREVIEW ========== */
.about-preview {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  text-align: center;
}

.about-image img {
  max-width: 280px;
  margin: 0 auto;
  border-radius: 16px;
}

.about-text h2 {
  font-size: 2.1rem;
  margin-bottom: 1.25rem;
}

.about-text p {
  margin-bottom: 1.1rem;
  color: var(--text-light);
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 4px solid var(--royal);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.service-item:hover {
  transform: translateX(4px);
}

.service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.service-item p {
  color: var(--text-light);
  font-size: 0.98rem;
}

/* ========== TRUST / SOC2 ========== */
.trust-bar {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}

.trust-bar p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

.trust-bar strong {
  color: var(--pastel);
}

/* ========== PRICING PLACEHOLDER ========== */
.pricing-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 54, 93, 0.08);
}

.pricing-box h2 {
  margin-bottom: 1rem;
}

.pricing-box p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  background: var(--pastel-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-detail p {
  color: var(--text-light);
}

.contact-detail a {
  font-weight: 600;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--soft-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--royal);
  background: var(--white);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy);
  color: var(--pastel);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--pastel);
  opacity: 0.9;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(190, 227, 248, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* ========== PAGE HEADER (inner pages) ========== */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #2c5282 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.page-header p {
  opacity: 0.9;
  font-size: 1.15rem;
}

/* ========== ABOUT PAGE ========== */
.about-full {
  background: var(--white);
}

.about-content {
  max-width: 780px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 1.35rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

.about-content .highlight {
  background: var(--pastel-light);
  border-left: 4px solid var(--royal);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-size: 1.15rem;
  color: var(--navy);
}

.about-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.detail-card {
  background: var(--soft-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.detail-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.detail-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

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

  .footer-grid {
    gap: 2rem;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .logo-horizontal {
    height: 48px;
  }
}

@media (max-width: 500px) {
  body {
    font-size: 17px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero .btn-group {
    flex-direction: column;
  }
}
