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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: 'Inter', sans-serif;
  background: #F9F6F0;
  color: #2B2927;
  overflow-x: hidden;
  cursor: none;
  margin: 0;
}

#smooth-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
}

#smooth-content {
  will-change: transform;
}

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

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

::selection {
  background: #C05C46;
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #F4EBE1;
}

::-webkit-scrollbar-thumb {
  background: #C05C46;
  border-radius: 10px;
}

/* Custom Cursor */
#cursor {
  width: 12px;
  height: 12px;
  background: #C05C46;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 2147483647;
  transition: transform 0.15s ease, background 0.15s ease;
  box-shadow: 0 0 0 2px rgba(43,41,39,0.3);
}

#cursor.lightbox-active {
  transform: scale(1.8);
  background: #2B2927;
  mix-blend-mode: normal;
  box-shadow: 0 0 0 2px rgba(192,92,70,0.8);
}

#cursor-blur {
  width: 300px;
  height: 300px;
  background: rgba(192, 92, 70, 0.06);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 2147483646;
  filter: blur(60px);
  transition: all 0.3s ease;
}

/* Navigation */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: all 0.4s ease;
}

#nav.scrolled {
  background: rgba(249, 246, 240, 0.9);
  backdrop-filter: blur(20px);
  padding: 1rem 4rem;
}

.nav-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo span {
  font-weight: 300;
  color: #C05C46;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C05C46;
  transition: width 0.3s ease;
}

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

.nav-menu {
  display: none;
  font-size: 1.5rem;
  cursor: none;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: rgba(249, 246, 240, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(0,0,0,0.08);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5A5754;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: #C05C46;
}

.mobile-nav .close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.8rem;
  color: #2B2927;
  background: none;
  border: none;
  cursor: pointer;
}

/* Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  padding: 8rem 4rem 4rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  z-index: 2;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .word {
  display: inline-block;
  color: #2B2927;
}

.hero-title .word:last-child {
  background: linear-gradient(135deg, #C05C46, #A37B45);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #6B6865;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

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

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #C05C46, #A37B45);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(192, 92, 70, 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  color: #2B2927;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #C05C46;
  background: rgba(192, 92, 70, 0.08);
}

.hero-visual {
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero-image-wrapper {
  width: 100%;
  height: 70vh;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.hero-image-wrapper img {
  scale: 1.1;
}

.hero-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  border: 2px solid #C05C46;
  border-radius: 20px;
  z-index: -1;
  opacity: 0.5;
}

/* Section Styles */
section {
  padding: 6rem 4rem;
}

.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(192, 92, 70, 0.1);
  border: 1px solid rgba(192, 92, 70, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #C05C46;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-title span {
  background: linear-gradient(135deg, #C05C46, #A37B45);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: #7A7774;
  font-size: 1.05rem;
  max-width: 500px;
  margin-top: 1rem;
  line-height: 1.6;
}

/* Portfolio / Work Section */
#work {
  background: #EDE6D9;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50px;
  background: transparent;
  color: #5A5754;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: none;
  transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
  border-color: #C05C46;
  color: #C05C46;
  background: rgba(192,92,70,0.1);
}

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

.project-card {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 92, 70, 0.3);
}

.project-image {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.project-image img {
  transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.08);
}

/* video play icon removed — overlay markup deleted in index.php */

.project-info {
  padding: 1.5rem;
}

.project-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #C05C46;
  font-weight: 600;
}

.project-info h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

.project-info p {
  color: #7A7774;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.lightbox-content img,
.lightbox-content video {
  width: 100%;
  height: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* About Section */
#about {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-content {
  flex: 1;
}

.about-text {
  color: #6B6865;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
  margin: 2rem 0;
}

.stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #C05C46;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #8A8784;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
  display: block;
}

.about-visual {
  flex: 1;
  position: relative;
}

.about-image-wrapper {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.about-image-secondary {
  position: absolute;
  bottom: -30px;
  left: -20px;
  width: 180px;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid #F9F6F0;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  z-index: 2;
}

.about-image-secondary img {
  object-fit: cover;
}

.about-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(192, 92, 70, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: none;
}

.about-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #C05C46;
}

/* Services Section */
#services {
  background: #EDE6D9;
}

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

.service-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
}

.service-card:hover {
  border-color: rgba(192, 92, 70, 0.3);
  transform: translateY(-4px);
  background: #F4EBE1;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(192, 92, 70, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #C05C46;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: #7A7774;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Testimonials Section */
#testimonials {
  background: #F4EBE1;
}

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

.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(192,92,70,0.2);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: #4A4744;
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C05C46, #A37B45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.75rem;
  color: #7A7774;
}

/* Contact Section */
#contact {
  text-align: center;
  padding: 8rem 4rem;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-inner .section-title {
  margin-bottom: 1rem;
}

.contact-inner p {
  color: #7A7774;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* Footer */
#footer {
  padding: 4rem 4rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-brand span {
  color: #C05C46;
  font-weight: 300;
}

.footer-brand p {
  color: #8A8784;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5A5754;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #C05C46;
  color: #fff;
  transform: translateY(-2px);
}

.footer-links h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9A9794;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: #6B6865;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #C05C46;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.footer-bottom p {
  color: #9A9794;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.developer-credit {
  color: #7A7774;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.developer-credit .heart {
  color: #ef4444;
}

.developer-credit a {
  color: #C05C46;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.developer-credit a:hover {
  color: #A37B45;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  color: #fff;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #8A8784;
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  #hero {
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 2rem;
  }

  .hero-image-wrapper {
    height: 50vh;
  }

  section {
    padding: 4rem 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #about {
    flex-direction: column-reverse;
  }

  .about-visual {
    width: 100%;
  }

  .about-image-wrapper {
    height: 350px;
  }

  .about-image-secondary {
    width: 130px;
    height: 180px;
    bottom: -20px;
    left: -10px;
  }

  .stats {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  #nav {
    padding: 1.2rem 1.5rem;
  }

  #nav.scrolled {
    padding: 0.8rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-menu {
    display: block;
  }

  #hero {
    padding: 5rem 1.5rem 2rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero-image-wrapper {
    height: 35vh;
  }

  .hero-accent {
    width: 80px;
    height: 80px;
    top: -10px;
    right: -10px;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image {
    height: 250px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-image-secondary {
    display: none;
  }

  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  #footer {
    padding: 3rem 1.5rem 2rem;
  }

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

  .footer-social {
    flex-wrap: wrap;
  }

  #contact {
    padding: 5rem 1.5rem;
  }

  #cursor, #cursor-blur {
    display: none;
  }

  body {
    cursor: auto;
  }

  a, .btn-primary, .btn-secondary, .about-play-btn, .filter-tab, .project-card {
    cursor: pointer;
  }

  .whatsapp-fab {
    display: flex;
  }

  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (min-width: 769px) {
  .whatsapp-fab {
    display: flex;
  }
}

/* Video element responsive */
video {
  max-width: 100%;
  height: auto;
}


