/* ===== CSS VARIABLES & RESET ===== */
:root {
  --primary: #c8956c;
  --primary-dark: #a87550;
  --primary-light: #e8c9b0;
  --accent: #2c3e50;
  --accent-light: #34495e;
  --dark: #1a1a2e;
  --dark-secondary: #16213e;
  --light: #f8f6f3;
  --light-secondary: #eee8e0;
  --white: #ffffff;
  --text: #333333;
  --text-light: #777777;
  --gradient-gold: linear-gradient(135deg, #c8956c, #e8c9b0, #c8956c);
  --gradient-dark: linear-gradient(135deg, #1a1a2e, #16213e);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 8px 30px rgba(200, 149, 108, 0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
  line-height: 1.7;
}

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

ul {
  list-style: none;
}

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

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary);
  letter-spacing: 3px;
  animation: pulse 1.5s ease-in-out infinite;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin: 20px auto 0;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 50%;
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 3px;
  animation: loading 1.2s ease-in-out infinite;
}

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

  100% {
    transform: translateX(300%);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transition: transform 0.1s;
}

.cursor-ring {
  width: 35px;
  height: 35px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99997;
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
  transform: translate(-50%, -50%);
}

.cursor-ring.hover {
  width: 55px;
  height: 55px;
  border-color: var(--primary-light);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  padding: 14px 60px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
  transform: scale(1.1);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1.2);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.6));
  z-index: -1;
}

.hero-content {
  max-width: 750px;
  padding: 0 60px;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 149, 108, 0.15);
  border: 1px solid rgba(200, 149, 108, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--primary-light);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  color: var(--white);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 3px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 35px;
  line-height: 1.8;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn .arrow {
  transition: transform 0.3s ease;
}

.btn:hover .arrow {
  transform: translateX(5px);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1.5s both;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 50%;
  background: var(--primary);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    top: -50%;
  }

  100% {
    top: 120%;
  }
}

/* Hero floating stats */
.hero-stats {
  position: absolute;
  right: 60px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInRight 1s ease 1s both;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  min-width: 140px;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 700;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 120px 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--primary);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 550px;
}

.about-img-main {
  width: 75%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-main:hover img {
  transform: scale(1.05);
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-secondary:hover img {
  transform: scale(1.05);
}

.about-experience {
  position: absolute;
  top: 30px;
  right: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-gold);
  z-index: 2;
}

.about-experience .exp-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.about-experience .exp-text {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-content>p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.about-feature:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.about-feature .icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--light);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 45px 35px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(200, 149, 108, 0.1), rgba(200, 149, 108, 0.05));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-gold);
  transform: rotateY(180deg);
  border-radius: 50%;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 14px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.service-link:hover {
  gap: 14px;
}

/* ===== PORTFOLIO / CAROUSEL SECTION ===== */
.portfolio {
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.portfolio .section-header h2 {
  color: var(--white);
}

.portfolio .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.portfolio .section-tag {
  color: var(--primary);
}

/* Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: transform 8s ease;
}

.carousel-slide.active img {
  transform: scale(1.05);
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 40px 40px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.carousel-caption .tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.carousel-caption h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.carousel-caption p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-btn {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary);
  width: 36px;
  border-radius: 6px;
}

/* Portfolio grid below carousel */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  height: 280px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(26, 26, 46, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.portfolio-overlay span {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
}

.overlay-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}

.portfolio-item:hover .overlay-icon {
  opacity: 1;
  transform: scale(1);
}

/* ===== PORTFOLIO MODAL / LIGHTBOX ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 30px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--dark);
  border-radius: var(--radius);
  max-width: 950px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.85) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(90deg);
}

.modal-header {
  padding: 28px 32px 0;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 6px;
}

.modal-category {
  display: inline-block;
  background: rgba(200, 149, 108, 0.15);
  color: var(--primary);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.modal-gallery {
  padding: 24px 32px 32px;
}

.modal-gallery-main {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.3);
  aspect-ratio: 16/10;
}

.modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.modal-gallery-main img.loading {
  opacity: 0.4;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.modal-nav-prev {
  left: 16px;
}

.modal-nav-next {
  right: 16px;
}

.modal-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.modal-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.modal-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.modal-thumbnails::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.modal-thumbnail {
  width: 90px;
  height: 65px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: 0.5;
}

.modal-thumbnail.active {
  border-color: var(--primary);
  opacity: 1;
}

.modal-thumbnail:hover {
  opacity: 0.9;
}

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

/* Modal responsive */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 15px;
  }

  .modal-content {
    max-height: 95vh;
  }

  .modal-header {
    padding: 20px 20px 0;
  }

  .modal-header h3 {
    font-size: 1.4rem;
  }

  .modal-gallery {
    padding: 16px 20px 20px;
  }

  .modal-nav {
    width: 38px;
    height: 38px;
  }

  .modal-nav-prev {
    left: 8px;
  }

  .modal-nav-next {
    right: 8px;
  }

  .modal-thumbnail {
    width: 70px;
    height: 50px;
  }
}


/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--gradient-gold);
  padding: 80px 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}



/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.contact-info>p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail .detail-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-detail p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-link {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(200, 149, 108, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-4px);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  padding: 45px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8e0d8;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
  background: var(--light);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200, 149, 108, 0.1);
  background: var(--white);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--gradient-gold);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.form-submit::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.form-submit:active::after {
  width: 400px;
  height: 400px;
}

.form-message {
  text-align: center;
  margin-top: 15px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 60px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand .footer-logo span {
  color: var(--primary);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-contact .fc-icon {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.9rem;
}

.developer-credit {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.developer-credit a {
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.developer-credit a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.developer-credit a:hover {
  color: var(--primary-light);
}

.developer-credit a:hover::after {
  width: 100%;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

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

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  z-index: 900;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* ===== PARTICLES ===== */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(200, 149, 108, 0.3);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3.5rem;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

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

@media (max-width: 992px) {
  .section {
    padding: 80px 30px;
  }

  .navbar {
    padding: 16px 30px;
  }

  .navbar.scrolled {
    padding: 12px 30px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    padding: 100px 40px;
    gap: 28px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: 0 30px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-stats {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-images {
    height: 450px;
  }

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

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

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

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

  .carousel-slide img {
    height: 350px;
  }

  .about-images {
    height: 350px;
  }

  .about-img-main {
    height: 300px;
  }

  .about-img-secondary {
    height: 200px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer {
    padding: 60px 30px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-section {
    padding: 60px 30px;
  }

  .stat-item .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .section {
    padding: 60px 20px;
  }

  .navbar {
    padding: 14px 20px;
  }

  .nav-logo {
    font-size: 1.4rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .carousel-slide img {
    height: 280px;
  }

  .carousel-caption h3 {
    font-size: 1.3rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ===== CUSTOM LOGO STYLES ===== */
.logo-img {
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.preloader-img {
  height: 110px;
}

.nav-img {
  height: 65px;
}

.footer-img {
  height: 85px;
}


/* ===== RESPONSIVE LOGO TEXT ===== */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .logo-text {
    display: none;
  }
}