/*
Theme Name: YSK - Your Social Kompany
Theme URI: https://yoursocialkompany.com
Author: YSK Digital
Author URI: https://yoursocialkompany.com
Description: A premium single-page theme for digital marketing agencies. Features a stunning hero section with interactive image reveal, logo marquee, stats, services grid, and comprehensive footer.
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: ysk-theme
Tags: one-page, single-page, marketing, agency, responsive, custom-logo, custom-menu
*/

/* ========== CSS Variables / Design Tokens ========== */
:root {
  --background: 0 0% 100%;
  --foreground: 220 20% 10%;
  --card: 210 20% 98%;
  --card-foreground: 220 20% 10%;
  --primary: 220 20% 10%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 14% 96%;
  --secondary-foreground: 220 20% 10%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 10% 46%;
  --accent: 220 14% 93%;
  --accent-foreground: 220 20% 10%;
  --border: 220 14% 90%;
  --hero-bg: 220 20% 8%;
  --hero-foreground: 0 0% 98%;
  --hero-muted: 220 10% 55%;
  --radius: 0.75rem;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.1;
}

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

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

/* ========== Container ========== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== Navbar ========== */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  border-bottom: 1px solid transparent;
}

.site-navbar.scrolled {
  background: hsla(var(--background), 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: hsla(var(--border), 0.5);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

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

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  color: hsla(var(--primary-foreground), 0.7);
}

.nav-links a:hover {
  color: hsl(var(--primary-foreground));
  background: hsla(var(--primary-foreground), 0.1);
}

.nav-links a.active {
  background: hsla(var(--primary-foreground), 0.2);
  color: hsl(var(--primary-foreground));
}

.site-navbar.scrolled .nav-links a {
  color: hsl(var(--muted-foreground));
}

.site-navbar.scrolled .nav-links a:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted));
}

.site-navbar.scrolled .nav-links a.active {
  background: hsl(var(--foreground));
  color: hsl(var(--primary-foreground));
}

.site-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: hsl(var(--primary-foreground));
  transition: color 0.3s ease;
}

.site-navbar.scrolled .site-logo {
  color: hsl(var(--foreground));
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border-radius: 9999px;
  background: hsl(var(--primary-foreground));
  color: hsl(var(--foreground));
  transition: all 0.3s ease;
}

.nav-cta:hover {
  opacity: 0.9;
}

.site-navbar.scrolled .nav-cta {
  background: hsl(var(--foreground));
  color: hsl(var(--primary-foreground));
}

.nav-cta svg {
  width: 14px;
  height: 14px;
}

.mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: hsl(var(--primary-foreground));
  cursor: pointer;
  padding: 0.5rem;
}

.site-navbar.scrolled .mobile-toggle {
  color: hsl(var(--foreground));
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  background: hsla(var(--background), 0.95);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid hsl(var(--border));
  padding: 0.5rem 1rem 1rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: hsl(var(--foreground));
  background: hsl(var(--muted));
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .mobile-toggle {
    display: none;
  }
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: hsl(var(--hero-bg));
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

.hero-base-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(0.93);
  transform-origin: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: clip-path 0.25s ease-out, opacity 0.2s ease-out;
  clip-path: circle(0px at 50% 50%);
}

.hero-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(var(--hero-bg), 0.8), transparent 50%, hsla(var(--hero-bg), 0.4));
  pointer-events: none;
}

.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  padding: 0 1rem;
}

.hero-text h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  color: hsl(var(--hero-foreground));
  text-align: center;
  line-height: 0.95;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-text h1.italic {
  font-style: italic;
}

.hero-status {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  z-index: 10;
  pointer-events: none;
}

.hero-status-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--hero-muted));
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-status-sub {
  color: hsla(var(--hero-muted), 0.7);
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
}

@media (min-width: 640px) {
  .hero-status {
    bottom: 3rem;
  }
  .hero-status-label {
    font-size: 0.875rem;
  }
}

/* ========== Logo Marquee ========== */
.marquee-section {
  padding: 4rem 0;
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  color: hsla(var(--muted-foreground), 0.6);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.marquee-wrapper {
  position: relative;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8rem;
  z-index: 10;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, hsl(var(--background)), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, hsl(var(--background)), transparent);
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  flex-shrink: 0;
  padding: 0 3rem;
  font-size: 1.125rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: hsla(var(--muted-foreground), 0.25);
  letter-spacing: 0.05em;
}

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

/* ========== Stats Section ========== */
.stats-section {
  padding: 6rem 0;
  background: hsl(var(--card));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-value {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.05em;
}

.stat-divider {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 4rem;
  background: hsl(var(--border));
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-divider {
    display: block;
  }
}

/* ========== Services Section ========== */
.services-section {
  padding: 7rem 0;
}

.services-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.services-header .label {
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.services-header h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.1;
}

.services-header .description {
  color: hsl(var(--muted-foreground));
  font-family: 'Inter', sans-serif;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  gap: 1px;
  background: hsl(var(--border));
  border-radius: 1rem;
  overflow: hidden;
}

.service-card {
  padding: 2.5rem;
  background: hsl(var(--background));
  cursor: pointer;
  transition: background 0.3s;
}

.service-card:hover {
  background: hsl(var(--card));
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.service-card-top svg {
  width: 28px;
  height: 28px;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s;
}

.service-card:hover .service-card-top svg {
  color: hsl(var(--foreground));
}

.service-num {
  font-size: 0.75rem;
  font-family: monospace;
  color: hsla(var(--muted-foreground), 0.4);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: hsl(var(--foreground));
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.3s;
}

.service-card:hover .learn-more {
  opacity: 1;
  transform: translateY(0);
}

.learn-more svg {
  width: 14px;
  height: 14px;
}

@media (min-width: 768px) {
  .services-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== Footer ========== */
.site-footer {
  background: hsl(var(--foreground));
  color: hsl(var(--primary-foreground));
}

.footer-cta {
  border-bottom: 1px solid hsla(var(--primary-foreground), 0.1);
}

.footer-cta-inner {
  padding: 5rem 0;
  text-align: center;
}

.footer-cta .label {
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: hsla(var(--primary-foreground), 0.5);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-cta h2 {
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.1;
}

.footer-cta .subtitle {
  color: hsla(var(--primary-foreground), 0.6);
  font-family: 'Inter', sans-serif;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: hsl(var(--primary-foreground));
  color: hsl(var(--foreground));
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.footer-cta-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.footer-cta-btn svg {
  width: 16px;
  height: 16px;
}

.footer-grid {
  padding: 4rem 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-brand-desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: hsla(var(--primary-foreground), 0.5);
  line-height: 1.7;
  max-width: 20rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid hsla(var(--primary-foreground), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: hsla(var(--primary-foreground), 0.5);
  transition: all 0.3s;
}

.footer-social-link:hover {
  color: hsl(var(--primary-foreground));
  border-color: hsla(var(--primary-foreground), 0.4);
}

.footer-col-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsla(var(--primary-foreground), 0.3);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: hsla(var(--primary-foreground), 0.5);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: hsl(var(--primary-foreground));
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: hsla(var(--primary-foreground), 0.3);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: hsla(var(--primary-foreground), 0.5);
}

.footer-hours {
  margin-top: 2rem;
}

.footer-hours-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsla(var(--primary-foreground), 0.3);
  margin-bottom: 1rem;
}

.footer-hours-title svg {
  width: 14px;
  height: 14px;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.5rem;
}

.footer-hours-day {
  color: hsla(var(--primary-foreground), 0.5);
}

.footer-hours-time {
  color: hsla(var(--primary-foreground), 0.7);
}

.footer-hours-time.closed {
  color: hsla(var(--primary-foreground), 0.4);
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid hsla(var(--primary-foreground), 0.1);
}

.footer-bottom-inner {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  color: hsla(var(--primary-foreground), 0.3);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  color: hsla(var(--primary-foreground), 0.3);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: hsla(var(--primary-foreground), 0.6);
}

@media (min-width: 640px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom-inner {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* ========== Utility ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
