/* =====================================================
   V'KREATES — Global Stylesheet
   Colors: Orange #ff6b2c | Sky Blue #2da8ff | White #fff | Dark #1a1a1a
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --orange:  #ff6b2c;
  --blue:    #2da8ff;
  --white:   #ffffff;
  --dark:    #1a1a1a;
  --gray:    #6b7280;
  --light:   #f7f8fc;
  --border:  #e8eaf0;
  --radius:  16px;
  --shadow:  0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.14);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Typography ── */
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p  { color: var(--gray); line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  background: rgba(255,107,44,0.1);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 12px;
}

/* ── Utilities ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

.gradient-text {
  background: linear-gradient(135deg, var(--orange), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,107,44,0.35);
}
.btn-primary:hover {
  background: #e85e22;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,44,0.45);
}
.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
}
.nav-brand span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  padding: 6px 14px;
  border-radius: 999px;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  background: rgba(255,107,44,0.08);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.mobile-menu a:hover { background: var(--light); color: var(--orange); }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

/* ── Page wrapper ── */
main { padding-top: 70px; }

/* ── Section spacing ── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--light); }

.section-header { margin-bottom: 56px; }
.section-header h2 { margin-top: 8px; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p  { font-size: 0.9rem; margin-bottom: 16px; }

/* ── Grid layouts ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Tags ── */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(45,168,255,0.12);
  color: var(--blue);
  margin-right: 6px;
  margin-bottom: 6px;
}
.tag-orange {
  background: rgba(255,107,44,0.12);
  color: var(--orange);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image: url('https://ckvrzmdljxiklkkirnns.supabase.co/storage/v1/object/public/vkreates/portfolio/portfolio-hero.webp');
  background-size: cover;
  background-position: center;
}
.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.blob-1 { width: 560px; height: 560px; background: var(--orange); top: -180px; right: -120px; }
.blob-2 { width: 420px; height: 420px; background: var(--blue);   bottom: -100px; left: -120px; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,44,0.1);
  color: var(--orange);
  border: 1px solid rgba(255,107,44,0.25);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }
.hero h1 { margin-bottom: 20px; }
.hero p  { font-size: 1.1rem; max-width: 580px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Hero two-column layout ── */
.hero-layout {
  display: flex;
  align-items: center;
  gap: 56px;
  width: 100%;
}
.hero-content {
  flex: 1;
  min-width: 0;
}
.hero-stats-panel {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 300px;
}
.stat-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.stat-card h3 {
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), #ff9556);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-card p { font-size: 0.8rem; color: var(--gray); margin-top: 4px; }


/* ── About section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,107,44,0.1), rgba(45,168,255,0.1));
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.9rem;
}
.about-badge .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.icon-orange { background: rgba(255,107,44,0.12); }
.icon-blue   { background: rgba(45,168,255,0.12); }
.icon-green  { background: rgba(34,197,94,0.12); }

/* ── Services ── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }

/* ── Portfolio preview cards (home) ── */
.preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.preview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.preview-card-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.preview-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.preview-card:hover .preview-card-img img { transform: scale(1.05); }
.preview-card-img .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.6), transparent);
  opacity: 0;
  transition: var(--transition);
}
.preview-card:hover .overlay { opacity: 1; }
.preview-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.preview-card-body h3 { margin-bottom: 8px; }
.preview-card-body p  { font-size: 0.88rem; flex: 1; margin-bottom: 20px; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--white);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,107,44,0.2), rgba(45,168,255,0.2));
  top: -200px; right: -100px;
  filter: blur(60px);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,0.6); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 80px 0 64px;
  background: linear-gradient(135deg, rgba(255,107,44,0.05), rgba(45,168,255,0.05));
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 { margin: 12px 0; }
.page-hero p  { max-width: 540px; margin: 0 auto; font-size: 1.05rem; }

/* ── Portfolio grid (inner pages) ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.project-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.06); }
.project-card-body { padding: 22px; }
.project-card-body h3 { margin-bottom: 8px; }
.project-card-body p  { font-size: 0.88rem; margin-bottom: 16px; }
.project-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ── Footer ── */
.footer-simple {
  background: var(--orange);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.footer-simple-content {
  max-width: 800px;
  margin: 0 auto;
}
.footer-simple h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}
.footer-simple p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
}
.btn-footer {
  background: var(--white);
  color: var(--orange);
  padding: 14px 40px;
  font-size: 1.1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.btn-footer:hover {
  background: #f8f8f8;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  color: var(--orange);
}
.footer-copyright {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.footer-copyright p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}

.footer-socials { display: flex; gap: 12px; margin-top: 20px; justify-content: center; }
.social-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  color: white;
  border: none;
}
.social-circle svg { width: 18px; height: 18px; fill: currentColor; }
.social-circle.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-circle.instagram:hover { background: #e4405f; }
.social-circle.facebook:hover { background: #1877f2; }
.social-circle.youtube   { background: #FF0000; }
.social-circle.youtube:hover { background: #ff0000; }
.social-circle.whatsapp  { background: #25D366; }
.social-circle.whatsapp:hover { background: #25d366; }
.social-circle:hover { transform: translateY(-3px); filter: brightness(1.1); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

/* ── Contact Section ── */
.contact-section {
  padding: 100px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}
.contact-info h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--dark);
}
.contact-info p {
  margin-bottom: 40px;
  font-size: 1.1rem;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-icon.phone { background: #e6f7ef; color: #22c55e; }
.contact-icon.email { background: #e0f2fe; color: #0ea5e9; }
.contact-icon.instagram { background: #fdf2f8; color: #db2777; }

.contact-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-text p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--gray);
}

.contact-form-card {
  background: #fff9f5;
  padding: 40px;
  border-radius: 24px;
}
.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.form-control {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid #eee;
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,107,44,0.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.btn-whatsapp {
  width: 100%;
  background: linear-gradient(135deg, #ff8c42, #ff6b2c);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,44,0.3);
}

/* ── Animations ── */
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}
@keyframes float-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: float-up 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ── Fade-in on scroll ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Floating WhatsApp Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
}
.whatsapp-float a {
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
  position: relative;
}
.whatsapp-float a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.4;
  animation: wa-pulse 2s ease-out infinite;
}
.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}
.whatsapp-float svg { position: relative; z-index: 1; }
.whatsapp-tooltip {
  background: var(--dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.4; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .grid-3, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-info { text-align: center; }
  .contact-list { align-items: center; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .grid-3, .portfolio-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-layout { flex-direction: column; gap: 36px; }
  .hero-stats-panel { width: 100%; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}
