/* ============================================
   THASSOS DESIGN – Premium Design System
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg: #0D0D0D;
  --bg-light: #1a1a1a;
  --bg-card: #141414;
  --primary: #D9B573;
  --primary-hover: #BF9460;
  --primary-dark: #a07a45;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --text-dim: #666666;
  --link: #ffffff;
  --overlay: rgba(13, 13, 13, 0.7);
  --overlay-heavy: rgba(13, 13, 13, 0.85);
  --gold-gradient: linear-gradient(135deg, #D9B573 0%, #BF9460 50%, #a07a45 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 24px rgba(217, 181, 115, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-accent: 'Montserrat', sans-serif;
  --nav-height: 80px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
}

::selection {
  background: var(--primary);
  color: var(--bg);
}

/* ---------- Page Loader ---------- */
.skeleton-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.skeleton-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.skeleton-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  animation: skeletonPulse 1.5s ease-in-out infinite;
  border: 2px solid rgba(217, 181, 115, 0.3);
}

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

.skeleton-bars {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.skeleton-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--gold-gradient);
  animation: skeletonLoad 1.5s ease-in-out infinite;
}

.skeleton-bar:nth-child(1) {
  width: 120px;
  animation-delay: 0s;
}

.skeleton-bar:nth-child(2) {
  width: 180px;
  animation-delay: 0.2s;
}

.skeleton-bar:nth-child(3) {
  width: 100px;
  animation-delay: 0.4s;
}

.skeleton-loader-text {
  margin-top: 20px;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.6;
  animation: skeletonPulse 1.5s ease-in-out infinite;
}

@keyframes skeletonPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.97);
  }
}

@keyframes skeletonLoad {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleX(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* ---------- Page Transition Overlay ---------- */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  pointer-events: none;
  display: flex;
}

.page-transition__panel {
  flex: 1;
  background: var(--bg);
  transform: scaleY(0);
  transform-origin: bottom;
  will-change: transform;
}

.page-transition__panel:nth-child(1) {
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1) 0s;
}

.page-transition__panel:nth-child(2) {
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1) 0.08s;
}

.page-transition__panel:nth-child(3) {
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1) 0.16s;
}

.page-transition__panel:nth-child(4) {
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1) 0.24s;
}

.page-transition__gold {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1) 0.1s;
}

/* Exiting: panels grow up */
.page-transition.is-exiting .page-transition__panel {
  transform: scaleY(1);
  transform-origin: bottom;
}

.page-transition.is-exiting .page-transition__gold {
  transform: scaleX(1);
}

/* Entering: panels shrink up */
.page-transition.is-entering .page-transition__panel {
  transform: scaleY(1);
  transform-origin: top;
}

.page-transition.is-entering .page-transition__gold {
  transform: scaleX(1);
}

.page-transition.is-entered .page-transition__panel {
  transform: scaleY(0);
  transform-origin: top;
}

.page-transition.is-entered .page-transition__gold {
  transform: scaleX(0);
  transform-origin: right;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.section-label {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.8;
}

.gold-text {
  color: var(--primary);
}

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

.text-center .section-desc {
  margin-inline: auto;
}

/* ---------- Container & Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section--dark {
  background: var(--bg-light);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--bg);
  transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  height: 70px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform var(--transition);
}

.navbar.scrolled .nav-logo img {
  height: 42px;
  width: 42px;
}

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

.nav-logo span em {
  font-style: normal;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 16px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
  transform: translateX(-50%);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-cta {
  margin-left: 16px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  background: none;
  z-index: 1001;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

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

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

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

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  /* 16:9 */
  min-height: 100vh;
  min-width: 177.78vh;
  /* 16:9 */
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-heavy);
  z-index: 1;
}

/* Diagonal gold accent */
.hero-diagonal {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 2;
}

.hero-diagonal svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-label {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

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

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--font-accent);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--primary);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.3);
    opacity: 0.3;
  }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.4) 0%, rgba(13, 13, 13, 0.9) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero-content h1 {
  margin-bottom: 16px;
}

.page-hero .hero-diagonal {
  z-index: 3;
}

.breadcrumb {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--text-dim);
}

/* ---------- Parallax Sections ---------- */
.parallax-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-heavy);
}

/* Diagonal Clip Overlays */
.diagonal-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.diagonal-top svg {
  display: block;
  width: 100%;
  height: 80px;
}

.diagonal-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.diagonal-bottom svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ---------- About / Intro Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--primary);
  border-radius: var(--radius-md);
  z-index: -1;
}

.about-text .section-desc {
  margin-bottom: 32px;
}

/* ---------- Services Section ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(217, 181, 115, 0.08);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 181, 115, 0.2);
  box-shadow: var(--shadow-gold);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(217, 181, 115, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--bg);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 20px;
  transition: gap var(--transition);
}

.service-card:hover .card-link {
  gap: 12px;
}

/* ---------- Portfolio Section ---------- */
.portfolio-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  transition: all var(--transition);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 13, 13, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

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

.portfolio-item-overlay h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 20px;
}

.portfolio-item-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-item-actions {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gold-color);
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--gold-color);
}

.portfolio-action-btn:hover {
    background: transparent;
    color: var(--gold-color);
    transform: scale(1.1);
}

.portfolio-item-tags {
    margin-bottom: 10px;
}

.portfolio-item-tags span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-color);
}

/* ---------- Stats / Counters ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Testimonials ---------- */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-item {
  min-width: 100%;
  padding: 0 20px;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 32px;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.3;
  font-family: Georgia, serif;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.testimonial-author {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

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

.testimonial-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}

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

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid rgba(217, 181, 115, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: rgba(217, 181, 115, 0.2);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(217, 181, 115, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--transition);
}

.contact-card-icon i {
  font-size: 1.4rem;
  display: inline-block;
  line-height: 1;
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition);
}

.contact-card a:hover {
  filter: brightness(1.2);
  text-decoration: underline;
}

.contact-card .contact-card-content {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-card .contact-card-content p {
  margin-bottom: 0px;
}

/* ---------- Team Section ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(217, 181, 115, 0.06);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.team-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter var(--transition);
}

.team-card:hover .team-photo {
  filter: grayscale(0%);
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-info h4 {
  margin-bottom: 4px;
}

.team-info span {
  color: var(--primary);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- Process / Timeline ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 40px 30px 30px;
  background: var(--bg-card);
  border: 1px solid rgba(217, 181, 115, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  counter-increment: process;
}

.process-step::before {
  content: counter(process, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
}

.process-step:hover {
  border-color: rgba(217, 181, 115, 0.2);
  transform: translateY(-4px);
}

.process-step h4 {
  margin-bottom: 12px;
  color: var(--primary);
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Values Section ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.value-item {
  text-align: center;
  padding: 20px;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.value-item h4 {
  margin-bottom: 12px;
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-light);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 16px 0 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 6px 0;
  transition: all var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

/* ---------- Floating CTA Button ---------- */
.cta-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold-gradient);
  border-radius: 50px;
  color: var(--bg);
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(217, 181, 115, 0.4);
  transition: all var(--transition);
  animation: ctaPulse 2.5s infinite;
  text-decoration: none;
}

.cta-float:hover {
  transform: translateY(-3px) scale(1.03);
  color: var(--bg);
  box-shadow: 0 8px 32px rgba(217, 181, 115, 0.6);
  animation: none;
}

.cta-float i {
  font-size: 1rem;
}

@keyframes ctaPulse {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(217, 181, 115, 0.4);
  }

  50% {
    box-shadow: 0 4px 32px rgba(217, 181, 115, 0.7);
  }
}

/* ---------- Scroll Animations ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-left"] {
  transform: translateX(-40px);
}

[data-animate="fade-right"] {
  transform: translateX(40px);
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="zoom-in"] {
  transform: scale(0.9);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children */
[data-animate-delay="1"] {
  transition-delay: 0.1s;
}

[data-animate-delay="2"] {
  transition-delay: 0.2s;
}

[data-animate-delay="3"] {
  transition-delay: 0.3s;
}

[data-animate-delay="4"] {
  transition-delay: 0.4s;
}

[data-animate-delay="5"] {
  transition-delay: 0.5s;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--text);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.lightbox-close:hover {
  background: var(--primary);
  color: var(--bg);
}

/* ---------- Map Container ---------- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(217, 181, 115, 0.1);
  margin-top: 60px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(80%) invert(92%) contrast(85%);
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    gap: 40px;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .section {
    padding: 70px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: right var(--transition);
    border-left: 1px solid rgba(217, 181, 115, 0.1);
  }

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

  .nav-link {
    font-size: 1rem;
    padding: 14px 24px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
  }

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

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

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

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

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

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

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

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

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

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}

/* ---------- Infinite Logo Carousel ---------- */
.logo-carousel {
  padding: 60px 0;
  overflow: hidden;
  background: var(--bg-light);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.logo-carousel-label {
  text-align: center;
  margin-bottom: 40px;
}

.logo-carousel-row {
  display: flex;
  width: max-content;
  gap: 40px;
  padding: 16px 0;
}

.logo-carousel-row--right {
  animation: scrollRight 30s linear infinite;
}

.logo-carousel-row--left {
  animation: scrollLeft 30s linear infinite;
}

.logo-carousel-row:hover {
  animation-play-state: paused;
}

.logo-carousel-item {
  flex-shrink: 0;
  width: calc((100vw - 48px) / 6 - 34px);
  max-width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  transition: all var(--transition);
  filter: grayscale(0%) brightness(1);
opacity: 1;
}

.logo-carousel-item:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  border-color: rgba(217, 181, 115, 0.2);
  background: rgba(217, 181, 115, 0.05);
}

.logo-carousel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scrollRight {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollLeft {
  0% {
    transform: translateX(-50%);
  }

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

@media (max-width: 1024px) {
  .logo-carousel-item {
    width: calc((100vw - 48px) / 4 - 30px);
  }
}

@media (max-width: 768px) {
  .logo-carousel-item {
    width: calc((100vw - 48px) / 2 - 20px);
    max-width: 160px;
  }

  .logo-carousel-row {
    gap: 24px;
  }

  .logo-carousel {
    padding: 40px 0;
  }
}

/* ---------- Print Styles ---------- */
@media print {

  .navbar,
  .whatsapp-float,
  .skeleton-loader,
  .hero-video-wrapper,
  .logo-carousel {
    display: none !important;
  }


  body {
    background: #fff;
    color: #000;
  }
}

/* ---------- Portfolio Single Page ---------- */
.portfolio-single {
  padding-bottom: 80px;
}

.portfolio-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .portfolio-content-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-visuals {
  width: 100%;
}

.label {
  position: absolute;
  bottom: 20px;
  padding: 6px 16px;
  background: var(--bg);
  color: var(--primary);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 5;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.label.before { left: 20px; }
.label.after { right: 20px; }

/* Before/After Comparison Slider */
.comparison-slider-wrapper {
  margin-bottom: 40px;
}

.comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  border: 1px solid rgba(217, 181, 115, 0.2);
}

.comparison-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.image-before {
  width: 50%;
  z-index: 1;
  overflow: hidden;
  clip-path: rect(0 0 100% 0);
  border-right: 1px solid var(--primary);
}

.image-after {
  width: 100%;
  z-index: 0;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary);
  z-index: 2;
  transform: translateX(-50%);
  pointer-events: none;
}

.handle-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  box-shadow: 0 0 20px rgba(217, 181, 115, 0.5);
}

.handle-arrows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
}

.handle-arrows::before,
.handle-arrows::after {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.handle-arrows::before {
  transform: rotate(-135deg) translateX(-2px);
}

.handle-arrows::after {
  transform: rotate(45deg) translateX(2px);
}

/* Video Section */
.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Portfolio Details Panel Modern */
.details-card-modern {
  background: #151515;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(217, 181, 115, 0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  height: 100%; /* Match height */
  display: flex;
  flex-direction: column;
}

.details-header {
  padding: 40px 40px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.details-body {
  padding: 20px 40px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #a0a0a0;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.meta-item strong {
  font-family: var(--font-accent);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: #666;
}

.meta-item span {
  font-weight: 500;
  color: var(--gold-color);
}

/* Quote Button Spacing */
.quote-btn-wrapper {
  margin-top: auto; /* Push to bottom */
  padding-top: 40px;
}

/* Portfolio Carousel */
.portfolio-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%; /* Force height matching */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #111;
}

.portfolio-main-carousel {
  display: flex;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel Arrows Visibility Fix */
.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

.carousel-arrow {
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(217,181,115,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D9B573;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-arrow:hover {
  background: #D9B573;
  color: #000;
  transform: scale(1.1);
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
  background: #D9B573;
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(217,181,115,0.5);
}

/* Project Navigation Bar Centered with Exact 25px Gap */
.project-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px; /* Exact gap requested */
  padding: 60px 0 20px;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.project-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #666;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.project-nav-link:hover {
  color: #D9B573;
  transform: translateY(-2px);
}

.project-nav-link.disabled {
  visibility: hidden;
  width: 100px;
}

.project-nav-arrow {
  font-size: 1.2rem;
  color: #D9B573;
}

.project-nav-grid {
  color: #555;
}

/* Portfolio Grid - Force Hide Icons and Ensure Full Clickability */
.portfolio-item-actions {
  display: none !important; /* Definitive removal */
}

.portfolio-item {
  cursor: pointer;
}

.portfolio-item-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media (max-width: 768px) {
  .project-nav-bar {
    gap: 15px;
    flex-wrap: wrap;
  }
  .project-nav-link {
    font-size: 0.7rem;
  }
}

/* Maintenance Overlay */
#maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
}

#maintenance-overlay .maintenance-content {
    max-width: 600px;
    animation: fadeIn 1s ease-out;
}

#maintenance-overlay h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: #d9b573;
    margin-bottom: 20px;
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

#maintenance-overlay p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 300;
}

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