/* ==========================================================================
   TAMAZ CONCEPTS & PROJECTS — MODERN GLOBAL STYLESHEET (2025)
   Location: /root/assets/css/style.css
   Purpose : Mobile-first SPW styling with modern CSS features, all text white for dark background
   ========================================================================== */

/* ==============================
   0. CSS VARIABLES
   ============================== */
:root {
  --primary: #2563eb;
  --primary-gradient: linear-gradient(135deg, #2563eb, #3b82f6);
  --accent: #10b981;
  --accent-gradient: linear-gradient(135deg, #10b981, #34d399);
  --dark-1: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #334155;
  --light: #ffffff;
  --text: #ffffff;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.3);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.25, 1);
  --nav-height: 72px;
  --container-width: min(1440px, 100% - 2rem);
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* ==============================
   1. RESET
   ============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.7;
  font-family: var(--font-primary);
  background: var(--dark-1);
  color: var(--text);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

h1, h2, h3, h4, h5, h6, p, li {
  color: var(--text);
}

/* ==============================
   2. GLOBAL TYPOGRAPHY & ALIGNMENT
   ============================== */
h1, h2, h3, .section-title {
  font-family: var(--font-display);
  text-align: center;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.25rem); }

p, li, .tagline, .faq-answer p, .testimonial-card p, .contact-info p {
  text-align: justify;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.8;
  color: var(--text);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  text-align: center;
  opacity: 0.85;
  max-width: 75ch;
  margin: 0 auto;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  color: var(--text);
}

/* ==============================
   3. NAVIGATION
   ============================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  height: var(--nav-height);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.nav-links {
  display: none;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  padding: 0.75rem 0;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: block;
  color: var(--text);
  font-size: 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  color: var(--accent);
}

@media (min-width: 769px) {
  .nav-links {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* ==============================
   4. HERO SECTION
   ============================== */
.hero {
  min-height: calc(100vh - var(--nav-height));
  padding: calc(var(--nav-height) + 3rem) 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--dark-1) 0%, var(--dark-2) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 90vw;
  height: 90vw;
  max-width: 500px;
  max-height: 500px;
  border-radius: 50%;
  background: radial-gradient(var(--primary) 20%, transparent 70%);
  opacity: 0.2;
  animation: pulse 12s infinite ease-in-out;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  color: var(--text);
}

.tagline {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  margin-bottom: 2rem;
  color: var(--text);
  opacity: 0.9;
}

.hero .btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-gradient);
  color: var(--text);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.hero .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ==============================
   5. SECTIONS
   ============================== */
.section {
  padding: 5rem 1.5rem;
  position: relative;
}

@media (min-width: 992px) {
  .section {
    padding: 7rem 2rem;
  }
}

/* ==============================
   6. CARDS (Services, Testimonials, FAQs)
   ============================== */
.card, .testimonial-card, .faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.card:hover, .testimonial-card:hover, .faq-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.12);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.25rem;
  color: var(--text);
  opacity: 0.9;
}

/* FAQ accordion */
.faq-question {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.25rem;
  position: relative;
  padding-right: 2rem;
  color: var(--text);
}

.faq-question::after {
  content: '\25BC';
  position: absolute;
  right: 1rem;
  color: var(--text);
  transition: var(--transition);
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  margin-top: 1rem;
  color: var(--text);
  opacity: 0.9;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==============================
   7. FOOTER
   ============================== */
#footer {
  background: var(--dark-2);
  padding: 4rem 1.5rem;
  color: var(--text);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.75;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==============================
   8. ANIMATIONS
   ============================== */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(1); opacity: 0.2; }
}

/* ==============================
   9. UTILITIES
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--primary-gradient);
  color: var(--text);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

@media (min-width: 769px) {
  .container {
    padding: 0 2rem;
  }
}