@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

:root {
  --background: #0e0e11;
  --foreground: #f7f7f7;
  --muted-foreground: #8a8a9a;
  --primary: #db3d60;
  --accent: #a8284a;
  --border: #1e1e26;
  --card: #16161c;
  --cyan: #00FFFF;
  --font-sans: 'Lora', serif;
  --font-display: 'Playfair Display', serif;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: rgba(219,61,96,0.4); border-radius: 4px; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  background: rgba(14,14,17,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.nav-logo-icon img { width: 28px; height: 28px; object-fit: contain; }
.nav-logo-text .brand {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.1em;
}
.nav-logo-text .sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}
nav { display: flex; gap: 1.5rem; align-items: center; }
nav a {
  font-size: 1rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
nav a:hover, nav a.active { color: var(--primary); }
nav a.active::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

/* Hide nav links on small screens — simple approach */
@media (max-width: 640px) {
  nav { gap: 0.75rem; }
  nav a { font-size: 0.85rem; }
  .nav-logo-text .brand { font-size: 0.9rem; }
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--background) 35%, rgba(14,14,17,0.7) 65%, transparent);
}
.hero-bg-top {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--background) 0%, rgba(14,14,17,0.1) 40%, transparent);
}
.hero-content {
  position: relative; z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 0;
  flex-wrap: wrap;
}
.hero-text {
  flex: 1;
  min-width: 260px;
  max-width: 600px;
  text-align: center;
}
@media (min-width: 1024px) { .hero-text { text-align: left; } }

.hero-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(219,61,96,0.3);
  background: rgba(219,61,96,0.1);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  max-width: 90vw;
  line-height: 1.4;
}
@media (min-width: 640px) { .hero-badge { font-size: 0.85rem; } }

.hero-title {
  font-size: clamp(1.9rem, 7vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
@media (min-width: 375px) { .hero-title { font-size: clamp(2.2rem, 8vw, 4.5rem); } }
@media (min-width: 640px) { .hero-title { margin-bottom: 1.5rem; } }

.hero-title .cyan {
  color: var(--cyan);
  text-shadow: 0 0 25px rgba(0,255,255,0.6);
}
.hero-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  margin-bottom: 1.75rem;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
  line-height: 1.7;
}
@media (min-width: 640px) { .hero-desc { font-size: 1.1rem; margin-bottom: 2.5rem; } }
@media (min-width: 1024px) { .hero-desc { margin-left: 0; } }

.hero-btns {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width: 375px) {
  .hero-btns { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 1024px) { .hero-btns { justify-content: flex-start; } }

.btn-primary {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600; font-size: 0.95rem;
  background: var(--cyan); color: #000;
  box-shadow: 0 0 20px rgba(0,255,255,0.35);
  transition: all 0.3s;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-primary:hover { box-shadow: 0 0 35px rgba(0,255,255,0.6); transform: translateY(-2px); background: #33ffff; }
.btn-secondary {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600; font-size: 0.95rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--foreground);
  transition: all 0.3s;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

@media (min-width: 375px) {
  .btn-primary, .btn-secondary { width: auto; }
}
@media (min-width: 640px) {
  .btn-primary, .btn-secondary { padding: 1rem 2rem; }
}

/* Hero Image */
.hero-image-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 200px;
  padding-bottom: 3rem;
}
@media (min-width: 1024px) {
  .hero-image-wrap { justify-content: flex-end; padding-bottom: 3.5rem; }
}

.hero-image {
  position: relative;
  width: 180px; height: 240px;
  border-radius: 50% 50% 2rem 2rem;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.1);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
@media (min-width: 375px) { .hero-image { width: 210px; height: 270px; } }
@media (min-width: 640px) { .hero-image { width: 240px; height: 310px; } }
@media (min-width: 768px) { .hero-image { width: 270px; height: 360px; } }
@media (min-width: 1024px) { .hero-image { width: 300px; height: 400px; } }

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

.hero-badge-float {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  margin: 0 auto;
  width: fit-content;
  background: rgba(14,14,17,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; gap: 0.85rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .hero-badge-float {
    left: -1rem; right: auto;
    margin: 0;
  }
}
@media (min-width: 1024px) {
  .hero-badge-float { left: -2.5rem; padding: 1rem 1.5rem; gap: 1rem; }
}

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-badge-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,0.5);
  animation: pulse 2s infinite; flex-shrink: 0;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }
.hero-badge-text .title { font-weight: 700; font-size: 0.9rem; }
.hero-badge-text .sub { font-size: 0.75rem; color: var(--muted-foreground); }

/* ─────────────────────────────────────────
   SHARED SECTION
───────────────────────────────────────── */
section { padding: 3.5rem 0; }
@media (min-width: 640px) { section { padding: 5rem 0; } }

.section-label {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted-foreground);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.75rem, 5vw, 3rem); margin-bottom: 1rem; }
.section-desc { font-size: 1rem; color: var(--muted-foreground); max-width: 600px; }

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about { background: var(--background); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.about-title { font-size: clamp(1.75rem, 5vw, 3rem); margin-bottom: 1.25rem; }
.about-title .highlight {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(219,61,96,0.35);
}
.about-subtitle {
  font-size: 1rem;
  font-weight: 500;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) { .about-subtitle { font-size: 1.1rem; } }
.about-desc { color: var(--muted-foreground); margin-bottom: 1rem; font-size: 0.95rem; }
@media (min-width: 640px) { .about-desc { font-size: 1rem; } }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}
.skill-card {
  background: rgba(14,14,17,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1rem;
  transition: all 0.3s;
}
@media (min-width: 640px) { .skill-card { padding: 1.5rem; gap: 1.25rem; } }
.skill-card:hover {
  background: rgba(255,255,255,0.03);
  transform: translateY(-4px);
  border-color: rgba(219,61,96,0.3);
}
.skill-icon {
  padding: 0.65rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(219,61,96,0.2), rgba(168,40,74,0.2));
  color: var(--primary); flex-shrink: 0;
}
.skill-icon svg { width: 28px; height: 28px; }
.skill-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.skill-desc { color: var(--muted-foreground); font-size: 0.875rem; }

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services { background: #000; position: relative; }
.services::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(219,61,96,0.5), transparent);
}
.services-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
@media (min-width: 640px) { .services-header { margin-bottom: 4rem; } }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.service-card {
  background: rgba(14,14,17,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1.5rem;
  padding: 1.5rem;
  position: relative; overflow: hidden;
  transition: all 0.3s;
}
@media (min-width: 640px) { .service-card { padding: 2rem; } }
.service-card:hover { background: rgba(255,255,255,0.03); transform: translateY(-4px); }
.service-glow {
  position: absolute; right: -5rem; top: -5rem;
  width: 10rem; height: 10rem;
  border-radius: 50%; filter: blur(50px);
  transition: transform 0.7s;
}
.service-card:hover .service-glow { transform: scale(1.5); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 1rem; background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 26px; height: 26px; }
.service-icon.blue { color: #60a5fa; }
.service-icon.pink { color: var(--primary); }
.service-icon.rose { color: #fb7185; }
.service-title { font-size: 1.3rem; margin-bottom: 0.75rem; }
.service-desc { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1.5rem; font-size: 0.95rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; font-size: 0.95rem; transition: gap 0.2s;
}
.service-link:hover { gap: 0.75rem; }
.service-link.blue { color: #60a5fa; }
.service-link.pink { color: var(--primary); }
.service-link.rose { color: #fb7185; }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact { background: var(--background); position: relative; }
.contact-title { font-size: clamp(1.75rem, 5vw, 3rem); margin-bottom: 1rem; }
.contact-title .highlight {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(219,61,96,0.35);
}
.contact-card {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  margin-top: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-card { grid-template-columns: 2fr 3fr; margin-top: 3rem; }
}
.contact-info {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(219,61,96,0.1), rgba(168,40,74,0.1));
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
@media (min-width: 640px) { .contact-info { padding: 2.5rem; } }
@media (min-width: 1024px) {
  .contact-info { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.05); }
}
.contact-info::after {
  content: '';
  position: absolute; right: -5rem; bottom: -5rem;
  width: 16rem; height: 16rem;
  border-radius: 50%;
  background: rgba(219,61,96,0.2); filter: blur(80px);
}
.contact-info h3 {
  font-size: 1.35rem; margin-bottom: 1.75rem;
  position: relative; z-index: 1;
}
.info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.75rem; position: relative; z-index: 1;
}
.info-icon {
  padding: 0.65rem;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  color: var(--primary); flex-shrink: 0;
}
.info-icon svg { width: 22px; height: 22px; }
.info-label { font-weight: 600; margin-bottom: 0.2rem; font-size: 0.95rem; }
.info-value { color: var(--muted-foreground); font-size: 0.875rem; }
.info-value a { color: var(--muted-foreground); transition: color 0.2s; }
.info-value a:hover { color: var(--primary); }

.contact-form-wrap { padding: 2rem; }
@media (min-width: 640px) { .contact-form-wrap { padding: 2.5rem; } }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
}
.form-group { margin-bottom: 1rem; }
@media (min-width: 640px) { .form-group { margin-bottom: 1.25rem; } }
.form-group label {
  display: block;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(219,61,96,0.15);
}
.form-group textarea { resize: none; min-height: 140px; }
.btn-submit {
  display: inline-flex; align-items: center; gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: #fff; border: none; cursor: pointer;
  font-family: var(--font-sans);
  box-shadow: 0 0 20px rgba(219,61,96,0.25);
  transition: all 0.3s;
  margin-top: 0.75rem;
  justify-content: center;
}
.btn-submit:hover { box-shadow: 0 0 35px rgba(219,61,96,0.5); transform: translateY(-2px); }
@media (min-width: 640px) {
  .btn-submit { width: auto; padding: 1rem 2rem; }
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 3rem 0 2rem;
}
@media (min-width: 640px) { footer { padding: 4rem 0 2rem; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; } }

.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand-icon {
  width: 38px; height: 38px; border-radius: 50%; background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  flex-shrink: 0;
}
.footer-brand-icon img { width: 22px; height: 22px; object-fit: contain; }
.footer-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.footer-desc { color: var(--muted-foreground); line-height: 1.7; font-size: 0.875rem; }
.footer-heading { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a, .footer-links span { color: var(--muted-foreground); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 1.5rem 0; }
@media (min-width: 640px) { .footer-divider { margin: 2rem 0; } }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ─────────────────────────────────────────
   PAGE HEADER (for sub-pages)
───────────────────────────────────────── */
.page-top { padding-top: 6rem; }
@media (min-width: 640px) { .page-top { padding-top: 7rem; } }
