/* ================================================================
   VAASTU — EXACT DESIGN REFERENCE
   Hero: Brown/Tan Gradient | Portfolio: Gold Cards | Footer: Dark
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;500;700&display=swap');

:root {
  --brown-light: #a0826d;
  --brown-dark: #8B7355;
  --gold: #C9A961;
  --dark: #1a1a1a;
  --cream: #f8f7f5;
  --light-gray: #e8e6e1;
  --text-dark: #1a1a1a;
  --text-light: #f8f7f5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--text-dark);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { font-size: 1rem; line-height: 1.8; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover { color: var(--brown-dark); }

/* ── NAVIGATION ── */
#main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid #ddd;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-logo-clean {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 60px;
  max-height: 65px;
  width: auto;
  object-fit: contain;
}

.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.nav-brand-sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
}

.nav-cta-btn {
  background: #1a1a1a !important;
  color: #f8f7f5 !important;
  padding: 0.7rem 1.5rem !important;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease-out;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.15);
  display: inline-block !important;
  text-decoration: none !important;
}

.nav-cta-btn:hover {
  background: var(--gold);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-dark);
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1rem;
    background: var(--cream);
    padding: 2rem;
    border-bottom: 1px solid #ddd;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ── HERO SECTION ── */
.hero-home {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 6s ease-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 16, 12, 0.7) 0%, rgba(35, 27, 21, 0.55) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1a1a;
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active, .hero-dot:hover {
  background: var(--gold);
  width: 32px;
  border-radius: 6px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.1;
  animation: slideInDown 0.6s ease-out;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: rgba(248, 247, 245, 0.95);
  line-height: 1.8;
  animation: slideInUp 0.6s ease-out 0.2s both;
}

.hero-emoji {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.btn {
  padding: 0.75rem 1.8rem;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease-out;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-gold {
  background: var(--gold);
  color: var(--text-dark);
}

.btn-gold:hover {
  background: #b8985a;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(201, 169, 97, 0.4);
}

.btn-gold:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  transition: all 0.3s ease-out;
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(248, 247, 245, 0.3);
}

/* ── PORTFOLIO SECTION ── */
.portfolio-section {
  padding: 5rem 2rem;
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.portfolio-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease-out;
  cursor: pointer;
  animation: slideInUp 0.6s ease-out;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.portfolio-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--brown-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

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

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.portfolio-location {
  font-size: 0.9rem;
  color: #999;
}

.view-all-btn {
  text-align: center;
  margin-bottom: 2rem;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 5rem 2rem;
  background: var(--cream);
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-grid > div:first-child h2 {
  margin-bottom: 1.5rem;
}

.about-grid > div:first-child p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-emoji {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 2rem;
}

.stat-box {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 4px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #999;
  font-size: 0.9rem;
}

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

/* ── SERVICES SECTION ── */
.services-section {
  padding: 5rem 2rem;
  background: var(--cream);
}

.services-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  animation: slideInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }

.service-icon {
  font-size: 1.5rem;
  min-width: 30px;
}

.service-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.service-content p {
  color: #666;
  font-size: 0.95rem;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 4rem 2rem;
  background: var(--dark);
  color: var(--text-light);
  text-align: center;
}

.cta-section h2 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(248, 247, 245, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  color: rgba(248, 247, 245, 0.7);
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--gold);
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: rgba(201, 169, 97, 0.1);
  border-radius: 50%;
  transition: all 0.3s;
  color: var(--gold);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--text-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(248, 247, 245, 0.5);
  font-size: 0.9rem;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.modal-content {
  background: var(--cream);
  border-radius: 4px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.modal-image {
  width: 100%;
  height: 350px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.modal-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.modal-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.modal-slide-img.active {
  opacity: 1;
}

.modal-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 5;
  transition: background 0.3s;
}

.modal-slider-arrow:hover {
  background: var(--gold);
  color: #1a1a1a;
}

.modal-slider-arrow.prev { left: 10px; }
.modal-slider-arrow.next { right: 10px; }

.modal-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.modal-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.modal-slider-dot.active {
  background: var(--gold);
  width: 20px;
  border-radius: 4px;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 35px;
  height: 35px;
  background: var(--text-dark);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.modal-close:hover {
  background: var(--gold);
  color: var(--text-dark);
}

.modal-details h2 {
  margin-bottom: 1rem;
}

.modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.meta-item {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}

.meta-label {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .modal-content {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .modal-image {
    height: 250px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }

  .hero-home {
    height: auto;
    min-height: 60vh;
    padding: 3rem 1rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

.slide-in-down {
  animation: slideInDown 0.5s ease-out;
}

.scale-in {
  animation: scaleIn 0.5s ease-out;
}

/* ── RIPPLE EFFECT ── */
