/*
Theme Name:  AMA Creative
Theme URI:   https://amacreative.in
Author:      AMA Creative
Author URI:  https://amacreative.in
Description: Custom WordPress theme for AMA Creative — a full-service digital marketing and branding agency.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ama-creative
Tags:        one-page, custom-logo, full-width-template, dark
*/

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

/* ── Root Variables ─────────────────────────── */
:root {
  --accent-yellow: #E1AD01;
  --bg-dark:       #0C0D0D;
  --bg-card:       #111111;
  --bg-section:    #050509;
  --text-white:    #ffffff;
  --text-gray:     #9ca3af;
  --text-gray-lt:  #d1d5db;
  --border-subtle: rgba(255,255,255,0.05);
  --border-dim:    rgba(255,255,255,0.1);
  --overlay-hero:  linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

/* ── Base ───────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Utility ────────────────────────────────── */
.container {
  max-width: 1152px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.text-accent  { color: var(--accent-yellow); }
.uppercase    { text-transform: uppercase; }
.glow-effect  { text-shadow: 0 0 12px rgba(225,173,1,0.6); }

/* ── Scroll margin for fixed header ────────── */
section[id] { scroll-margin-top: 80px; }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 50;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  background: transparent;
}

#site-header.scrolled {
  background-color: rgba(12,13,13,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.site-logo img {
  height: 84px;
  width: auto;
  animation: logoFade 1.2s ease-out forwards;
}

@keyframes logoFade {
  0%   { opacity: 0; transform: translateY(-12px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Desktop nav */
.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-gray-lt);
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

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

.main-nav a:hover       { color: #fff; }
.main-nav a:hover::after { width: 100%; }

/* CTA button */
.btn-cta {
  background: var(--accent-yellow);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-cta:hover { opacity: 0.9; }

/* Mobile hamburger */
.mobile-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: block;
}

/* Mobile menu */
#mobile-menu {
  display: none;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dim);
}
#mobile-menu.open { display: block; }
#mobile-menu nav  {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  gap: 1rem;
}
#mobile-menu a    { color: var(--text-gray-lt); font-size: 1.125rem; }
.mobile-cta-btn   {
  margin-top: 1rem;
  background: var(--accent-yellow);
  color: #fff;
  border: none;
  border-radius: 9999px;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  background-image: url("https://horizons-cdn.hostinger.com/08114538-af5e-47d2-b40d-99ee67635574/71f6723b117af5fb7e36d829dfcd6b7f.jpg");
  background-size: cover;
  background-position: 50% 40%;
  animation: waveMotion 5s ease-in-out infinite alternate;
}

@keyframes waveMotion {
  0%   { background-position: 50% 40%; }
  50%  { background-position: 48% 60%; }
  100% { background-position: 52% 50%; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-hero);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding-inline: 1.5rem;
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  color: var(--text-gray-lt);
  max-width: 48rem;
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  background: var(--accent-yellow);
  color: #fff;
  font-weight: 700;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 9999px;
  transition: opacity 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  border: 2px solid rgba(225,173,1,0.4);
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 9999px;
  transition: background 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-outline:hover { background: rgba(225,173,1,0.1); }

.scroll-indicator-wrap {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

.scroll-indicator {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(225,173,1,0.4);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.3rem;
  animation: bounce 2s infinite;
}

.scroll-dot {
  width: 6px; height: 6px;
  background: var(--accent-yellow);
  border-radius: 50%;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ═══════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════ */
.section-heading {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-sub {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 48rem;
  margin-bottom: 3rem;
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
#services { padding: 6rem 0; background: var(--bg-dark); }

.services-intro { margin-bottom: 4rem; }

.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.service-tag {
  padding: 0.4rem 1.25rem;
  border: 1px solid #4b5563;
  border-radius: 9999px;
  color: var(--text-gray);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.services-accordion { border-top: 1px solid #1f2937; }

.service-item {
  padding: 2rem 0;
  cursor: pointer;
  border-bottom: 1px solid #1f2937;
  border: 1px solid transparent;
  transition: background 0.3s, opacity 0.3s, transform 0.3s, border-color 0.3s;
}

.service-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-item-header h3 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
}

.service-toggle {
  color: var(--accent-yellow);
  font-size: 1.875rem;
  line-height: 1;
  transition: transform 0.2s;
}

.service-body {
  display: none;
  margin-top: 1rem;
  color: var(--text-gray);
  font-size: 1.125rem;
}

.service-body ul { margin-top: 0.75rem; }
.service-body li { margin-bottom: 0.5rem; }

.service-item.active {
  background: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid rgba(225,173,1,0.6);
  transform: translateY(-2px);
  padding: 1.5rem;
}

.service-item.faded { opacity: 0.35; }

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
#about { padding: 6rem 0; background: var(--bg-dark); }

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.about-grid:last-child { margin-bottom: 0; }

.about-image {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-text h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-block { margin-bottom: 2rem; }
.about-block h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.about-block p  { font-size: 1.125rem; color: var(--text-gray); }

/* ═══════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════ */
#portfolio { padding: 6rem 0; background: var(--bg-section); }

.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.portfolio-tab {
  padding: 0.4rem 1.25rem;
  border: 1px solid #4b5563;
  border-radius: 9999px;
  color: var(--text-gray);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  background: transparent;
  transition: all 0.2s;
}

.portfolio-tab.active,
.portfolio-tab:hover {
  background: var(--accent-yellow);
  border-color: var(--accent-yellow);
  color: #000;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(225,173,1,0.15);
}

.portfolio-card-thumb {
  height: 11rem;
  overflow: hidden;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-thumb img { transform: scale(1.05); }

.portfolio-card-body { padding: 1.25rem; }

.portfolio-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.portfolio-card-top h3 { font-size: 1.05rem; font-weight: 600; }

.portfolio-badge {
  font-size: 0.7rem;
  background: rgba(225,173,1,0.1);
  color: var(--accent-yellow);
  border: 1px solid rgba(225,173,1,0.2);
  border-radius: 9999px;
  padding: 0.2rem 0.75rem;
  white-space: nowrap;
}

.portfolio-card-body p { font-size: 0.875rem; color: var(--text-gray); margin-bottom: 0.75rem; }

.portfolio-link {
  font-size: 0.75rem;
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.portfolio-card[style*="display: none"] { display: none !important; }

/* ═══════════════════════════════════════════
   CLIENT LOGOS
═══════════════════════════════════════════ */
#clients {
  padding: 4rem 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

.clients-heading { text-align: center; margin-bottom: 2.5rem; }
.clients-heading h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; text-transform: uppercase; margin-bottom: 0.5rem; }
.clients-heading p  { color: var(--text-gray); }

.logo-strip { overflow: hidden; position: relative; }

.logo-track {
  display: flex;
  gap: 3rem;
  animation: scrollLogos 30s linear infinite;
  width: max-content;
}
.logo-track:hover { animation-play-state: paused; }

@keyframes scrollLogos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-item {
  flex-shrink: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.3s ease;
}

.logo-item:hover { filter: grayscale(0%) brightness(1); }

.logo-item img {
  height: 50px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
#testimonials { padding: 6rem 0; background: var(--bg-dark); }

.testimonials-header { text-align: center; margin-bottom: 3.5rem; }
.testimonials-header h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; text-transform: uppercase; margin-bottom: 1rem; }
.testimonials-header p  { color: var(--text-gray); max-width: 40rem; margin-inline: auto; }

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.3s ease;
}

.testimonial-card:hover { border-color: rgba(225,173,1,0.3); }

.stars { color: var(--accent-yellow); letter-spacing: 2px; font-size: 1rem; margin-bottom: 0.75rem; }

.testimonial-card p {
  color: var(--text-gray-lt);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(225,173,1,0.2);
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name   { font-weight: 600; font-size: 0.875rem; color: #fff; }
.author-company{ font-size: 0.75rem; color: var(--text-gray); }

/* ═══════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════ */
#cta {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background-image: url("https://horizons-cdn.hostinger.com/08114538-af5e-47d2-b40d-99ee67635574/71f6723b117af5fb7e36d829dfcd6b7f.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.cta-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }

.cta-content { position: relative; z-index: 10; max-width: 56rem; margin-inline: auto; padding-inline: 1.5rem; }

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.cta-content p { font-size: 1.25rem; color: var(--text-gray-lt); margin-bottom: 2.5rem; max-width: 40rem; margin-inline: auto; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
#contact { padding: 5rem 0; background: var(--bg-dark); }

.contact-grid { display: grid; gap: 4rem; }

.contact-heading h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.contact-heading p { color: var(--text-gray); font-size: 1.25rem; }

.contact-details { display: grid; gap: 2.5rem; }

.contact-group h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.contact-group a {
  display: block;
  font-size: 1.125rem;
  color: var(--text-white);
  transition: color 0.2s;
  margin-bottom: 0.25rem;
}

.contact-group a:hover { color: var(--accent-yellow); }
.contact-group p { font-size: 1.125rem; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#colophon {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dim);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-logo img { height: 56px; width: auto; }
.footer-tagline  { color: var(--text-gray); margin-top: 0.5rem; font-size: 0.875rem; }

.footer-links-title { font-weight: 600; color: #fff; margin-bottom: 1rem; }

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

.footer-links a {
  color: var(--text-gray);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-yellow); }

.social-title { font-weight: 600; color: #fff; margin-bottom: 1rem; }

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a {
  color: var(--text-gray-lt);
  font-size: 1.5rem;
  transition: color 0.2s;
}
.social-icons a:hover { color: var(--accent-yellow); }

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid var(--border-dim);
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (min-width: 640px) {
  .hero-buttons     { flex-direction: row; }
  .contact-details  { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .main-nav         { display: flex; }
  .header-cta-wrap  { display: flex; }
  .mobile-toggle    { display: none; }
  .scroll-indicator-wrap { display: block; }
  .hero-content     { text-align: center; }
  .hero-buttons     { justify-content: center; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .about-grid          { grid-template-columns: 1fr 1fr; }
  .about-grid.reverse .about-image { order: 2; }
  .testimonials-grid   { grid-template-columns: repeat(3, 1fr); }
  .contact-grid        { grid-template-columns: 1fr 1fr; }
  .footer-grid         { grid-template-columns: repeat(4, 1fr); }
}

/* WordPress admin bar offset */
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}
