/* ========================================
   MODERN ARCHITECTURE & INTERIOR DESIGN
   Premium CSS Stylesheet
   ======================================== */

/* ========================================
   CSS Variables & Root Settings
   ======================================== */
:root {
  /* Color Palette */
  --primary-color: #c9a56c;
  --primary-dark: #b08f52;
  --secondary-color: #1a1a1a;
  --accent-color: #e8d5b7;
  --dark-bg: #0d0d0d;
  --light-bg: #f8f6f3;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #888888;
  --border-color: rgba(201, 165, 108, 0.3);
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  
  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Shadows */
  --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 25px 60px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection Styling */
::selection {
  background: var(--primary-color);
  color: var(--text-light);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--secondary-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

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

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

/* ========================================
   Utility Classes
   ======================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

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

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

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

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-description {
  max-width: 600px;
  margin: 30px auto 0;
  font-size: 1.1rem;
}

/* ========================================
   Animations & Keyframes
   ======================================== */
/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Down */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Left */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade In Right */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale In */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Float Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Text Reveal */
@keyframes textReveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* Gradient Shift */
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Rotate Animation */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Bounce Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/* Slide In From Bottom */
@keyframes slideInBottom {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation Classes */
.animate-fade-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-down {
  animation: fadeInDown 0.8s ease forwards;
}

.animate-fade-left {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-right {
  animation: fadeInRight 0.8s ease forwards;
}

.animate-scale {
  animation: scaleIn 0.6s ease forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-medium);
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.95);
  padding: 15px 0;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-medium);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: var(--transition-fast);
}

.logo:hover {
  color: var(--primary-color);
  transform: scale(1.02);
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  position: relative;
  padding: 5px 0;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-fast);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition-fast);
}

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

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

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

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

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

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

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(13, 13, 13, 0.9) 0%,
    rgba(26, 26, 26, 0.7) 50%,
    rgba(13, 13, 13, 0.9) 100%
  );
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--text-light);
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--primary-color);
  margin-bottom: 25px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--text-light);
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-title span {
  display: inline-block;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--accent-color),
    var(--primary-color)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease-in-out infinite;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease 1.2s forwards;
}

.scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-indicator .mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  margin-top: 10px;
  position: relative;
}

.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-medium);
  z-index: 1;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: var(--transition-medium);
  z-index: -1;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 165, 108, 0.4);
}

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

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

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--primary-color);
  transition: var(--transition-medium);
  z-index: -1;
}

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

.btn-outline:hover::before {
  width: 100%;
}

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

.btn-dark:hover {
  background: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* ========================================
   Services Section
   ======================================== */
.services {
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: var(--text-light);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-medium);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: var(--transition-medium);
}

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

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  transition: var(--transition-medium);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--text-light);
  transition: var(--transition-medium);
}

.service-card:hover .service-icon {
  transform: rotateY(180deg);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.service-card:hover .service-title {
  color: var(--primary-color);
}

.service-description {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.service-link:hover svg {
  transform: translateX(5px);
}

/* ========================================
   Portfolio Section
   ======================================== */
.portfolio {
  background: var(--dark-bg);
  position: relative;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 12px 30px;
  background: transparent;
  border: 1px solid rgba(201, 165, 108, 0.3);
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

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

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

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

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

.portfolio-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-color);
  margin-bottom: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-fast);
}

.portfolio-title {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 15px;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-fast);
  transition-delay: 0.1s;
}

.portfolio-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-fast);
  transition-delay: 0.2s;
}

.portfolio-link svg {
  width: 20px;
  height: 20px;
  fill: var(--text-light);
}

.portfolio-item:hover .portfolio-category,
.portfolio-item:hover .portfolio-title,
.portfolio-item:hover .portfolio-link {
  transform: translateY(0);
  opacity: 1;
}

/* ========================================
   About Section
   ======================================== */
.about {
  background: var(--light-bg);
  position: relative;
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-heavy);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-color);
  z-index: -1;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  z-index: -2;
  opacity: 0.3;
}

.experience-badge {
  position: absolute;
  bottom: 40px;
  right: -40px;
  background: var(--primary-color);
  padding: 30px 40px;
  text-align: center;
}

.experience-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
}

.experience-text {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
}

.about-content .section-subtitle {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-content .section-title::after {
  left: 0;
  transform: none;
}

.about-text {
  margin-bottom: 30px;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--text-light);
}

.feature-text {
  font-weight: 500;
  color: var(--text-dark);
}

/* ========================================
   Stats Section
   ======================================== */
.stats {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--text-light);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
}

/* ========================================
   Team Section
   ======================================== */
.team {
  background: var(--light-bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.team-member {
  position: relative;
  overflow: hidden;
  background: var(--text-light);
  box-shadow: var(--shadow-light);
}

.team-image {
  position: relative;
  overflow: hidden;
}

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

.team-social {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(13, 13, 13, 0.9));
  transition: var(--transition-medium);
}

.team-member:hover .team-image img {
  transform: scale(1.1);
}

.team-member:hover .team-social {
  bottom: 0;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--text-light);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--text-light);
  transition: var(--transition-fast);
}

.social-link:hover svg {
  fill: var(--primary-color);
}

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

.team-name {
  font-size: 1.5rem;
  margin-bottom: 5px;
  transition: var(--transition-fast);
}

.team-member:hover .team-name {
  color: var(--primary-color);
}

.team-role {
  font-size: 0.875rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '"';
  position: absolute;
  top: 50px;
  left: 50px;
  font-family: var(--font-heading);
  font-size: 25rem;
  color: rgba(201, 165, 108, 0.05);
  line-height: 1;
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-item {
  text-align: center;
  padding: 0 40px;
}

.testimonial-content {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 40px;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.testimonial-info h4 {
  color: var(--text-light);
  margin-bottom: 5px;
}

.testimonial-info span {
  color: var(--primary-color);
  font-size: 0.875rem;
}

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

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

.dot.active,
.dot:hover {
  background: var(--primary-color);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  background: var(--light-bg);
  position: relative;
}

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

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--text-light);
}

.contact-details h4 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.contact-details p {
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-details a {
  color: var(--text-muted);
}

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

/* Contact Form */
.contact-form {
  background: var(--text-light);
  padding: 50px;
  box-shadow: var(--shadow-medium);
}

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

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--light-bg);
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(201, 165, 108, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--secondary-color);
  color: var(--text-light);
  border: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.form-submit:hover {
  background: var(--primary-color);
}

/* Form Messages */
.form-message {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  display: none;
}

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

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

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter {
  background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 165, 108, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newsletter h3 {
  color: var(--text-light);
  margin-bottom: 15px;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 18px 25px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 0;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
  padding: 18px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  background: var(--primary-dark);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--dark-bg);
  padding: 80px 0 30px;
  position: relative;
}

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

.footer-brand .logo {
  margin-bottom: 25px;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 25px;
  max-width: 300px;
}

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

.footer-social .social-link {
  background: rgba(255, 255, 255, 0.1);
}

.footer-social .social-link:hover {
  background: var(--primary-color);
}

.footer-social .social-link svg {
  fill: var(--text-light);
}

.footer-title {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 30px;
  position: relative;
}

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

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-color);
  margin-top: 3px;
  flex-shrink: 0;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
  font-size: 0.875rem;
}

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

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

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

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  z-index: 999;
  box-shadow: var(--shadow-medium);
}

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

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

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: var(--text-light);
}

/* ========================================
   Preloader
   ======================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.preloader-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(201, 165, 108, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

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

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991px) {
  :root {
    --section-padding: 80px 0;
  }
  
  .container {
    max-width: 720px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--dark-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: var(--transition-medium);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-image {
    order: -1;
  }
  
  .experience-badge {
    right: 20px;
    bottom: 20px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Devices (Landscape phones, less than 768px) */
@media (max-width: 767px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    padding: 14px 30px;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .stat-number {
    font-size: 3rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 30px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input,
  .newsletter-btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-content {
    font-size: 1.25rem;
  }
  
  .scroll-indicator {
    display: none;
  }
}

/* Extra Small Devices (Portrait phones, less than 576px) */
@media (max-width: 575px) {
  .logo {
    font-size: 1.25rem;
    letter-spacing: 2px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .portfolio-filters {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.75rem;
  }
  
  .team-image img {
    height: 350px;
  }
  
  .team-info {
    padding: 20px;
  }
  
  .team-name {
    font-size: 1.25rem;
  }
  
  .experience-badge {
    padding: 20px;
  }
  
  .experience-number {
    font-size: 2.5rem;
  }
  
  .experience-text {
    font-size: 0.75rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .back-to-top,
  .preloader,
  .hero-background {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 50px 0;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #c9a56c;
    --text-dark: #000000;
    --text-light: #ffffff;
  }
}
