/* ================================================
   4K MULTIMEDIA STUDIO - ADVANCED CSS ARCHITECTURE
   DamilanTech Standard: Motion-First Interactive Design
   ================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Colors - Gold & Cyan Palette */
  --gold-base: #D4AF37;
  --gold-light: #FFD700;
  --gold-dark: #B8941F;
  --cyan-base: #00D9FF;
  --cyan-light: #33E3FF;
  --cyan-dark: #00B8D4;
  
  /* Neutrals */
  --black: #0A0A0A;
  --dark: #1A1A1A;
  --gray-900: #2A2A2A;
  --gray-700: #505050;
  --gray-500: #B0B0B0;
  --gray-300: #D0D0D0;
  --white: #FFFFFF;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--gold-base), var(--gold-light));
  --gradient-accent: linear-gradient(135deg, var(--cyan-base), var(--cyan-light));
  --gradient-overlay: linear-gradient(180deg, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.7));
  
  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --radius-full: 50rem;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-elastic: 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.4);
  
  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-fixed: 1000;
  --z-modal: 2000;
  --z-cursor: 3000;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  background-color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== CUSTOM CURSOR ===== */
.cursor,
.cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  mix-blend-mode: difference;
  transition: transform 0.15s ease-out, opacity 0.3s ease;
}

.cursor {
  width: 10px;
  height: 10px;
  background: var(--white);
  transform: translate(-50%, -50%);
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold-base);
  transform: translate(-50%, -50%) scale(1);
}

body.cursor-hover .cursor-follower {
  transform: translate(-50%, -50%) scale(1.5);
  border-color: var(--gold-light);
}

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

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

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

.preloader-rings {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--gold-base);
  animation: rotate 2s linear infinite;
}

.ring:nth-child(1) {
  width: 80px;
  height: 80px;
  margin-top: -40px;
  margin-left: -40px;
}

.ring:nth-child(2) {
  width: 60px;
  height: 60px;
  margin-top: -30px;
  margin-left: -30px;
  border-top-color: var(--cyan-base);
  animation-duration: 1.5s;
  animation-direction: reverse;
}

.ring:nth-child(3) {
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-top-color: var(--gold-light);
  animation-duration: 1s;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preloader-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--dark);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}

.preloader-progress {
  height: 100%;
  background: var(--gradient-primary);
  width: 0;
  transition: width 0.3s ease;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: var(--z-fixed);
  transition: padding 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  padding: 1rem 0;
  box-shadow: var(--shadow-lg);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
  z-index: calc(var(--z-fixed) + 10);
}

.logo-4k {
  font-size: 2rem;
  letter-spacing: -2px;
}

.logo-text {
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
  z-index: calc(var(--z-fixed) + 10);
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: var(--radius-sm);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

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

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

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: calc(var(--z-fixed) + 5);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  text-align: center;
}

.mobile-menu-list {
  margin-bottom: 3rem;
}

.mobile-menu-link {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-500);
  padding: 1rem 0;
  transition: color 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.active .mobile-menu-link {
  animation: fadeInUp 0.6s ease forwards;
}

.mobile-menu-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu-link:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu-link:nth-child(5) { animation-delay: 0.5s; }

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

.mobile-menu-link:hover {
  color: var(--white);
  transform: translateX(10px);
}

.mobile-menu-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.mobile-menu-social a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold-base);
  transition: all 0.3s ease;
}

.mobile-menu-social a:hover {
  background: var(--gradient-primary);
  color: var(--black);
  transform: translateY(-5px);
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: var(--z-sticky);
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.phone-btn {
  background: var(--gradient-primary);
  animation-delay: 0.5s;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.1);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== SECTIONS BASE ===== */
section {
  padding: 7.5rem 0;
  position: relative;
}

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

.section-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-base);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

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

.btn:hover::before {
  width: 300px;
  height: 300px;
}

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

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

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

.btn-secondary:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-3px);
}

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

.btn-outline:hover {
  background: var(--gradient-primary);
  color: var(--black);
  border-color: transparent;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 10rem 5% 6rem;
  position: relative;
  overflow: hidden;
}

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

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

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-subtitle {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-base);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 2rem;
}

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

.hero-description {
  font-size: 1.2rem;
  color: var(--gray-500);
  line-height: 1.8;
  max-width: 650px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.service-card {
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 2px solid transparent;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  border-color: var(--gold-base);
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 2rem;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-features {
  margin-bottom: 2rem;
}

.service-features li {
  color: var(--gray-500);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.3s ease;
}

.service-features li:hover {
  color: var(--white);
}

.service-features i {
  color: var(--gold-base);
}

.service-price {
  margin-bottom: 1.5rem;
  padding: 1.25rem 0;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.price-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  display: block;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 2rem;
  background: var(--dark);
  color: var(--gray-500);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: var(--black);
  border-color: var(--gold-base);
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-image {
  width: 100%;
  height: 100%;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.portfolio-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  color: var(--black);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  width: fit-content;
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.portfolio-view {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

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

.about-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: center;
}

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

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform 0.6s ease;
}

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

.about-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--black);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid var(--gold-base);
}

.badge-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.badge-text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--gray-500);
}

.about-content {
  max-width: 600px;
}

.about-text p {
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-features {
  margin: 2.5rem 0;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.feature-item i {
  font-size: 2rem;
  color: var(--gold-base);
  flex-shrink: 0;
}

.feature-item h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== FAQ SECTION ===== */
.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--dark);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: var(--gold-base);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  color: var(--white);
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--gold-base);
}

.faq-question i {
  font-size: 1.2rem;
  color: var(--gold-base);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  color: var(--gray-500);
  line-height: 1.8;
}

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

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.contact-card {
  background: var(--gray-900);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  margin-bottom: 1rem;
}

.contact-card:hover {
  border-color: var(--gold-base);
  transform: translateY(-5px);
}

.contact-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--black);
  flex-shrink: 0;
}

.contact-details {
  flex: 1;
  min-width: 0;
}

.contact-details h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.contact-details p,
.contact-details a {
  color: var(--gray-500);
  line-height: 1.6;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.contact-details a {
  word-break: break-word;
}

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

.contact-social h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--gold-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold-base);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gradient-primary);
  color: var(--black);
  transform: translateY(-5px);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: var(--gray-900);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--dark);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold-base);
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  color: var(--gray-500);
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group input:focus + label,
.form-group textarea:focus + label {
  top: -0.5rem;
  left: 1rem;
  font-size: 0.75rem;
  color: var(--gold-base);
  background: var(--gray-900);
  padding: 0 0.5rem;
}

/* Select label - hidden because select shows its own option text */
.form-group select ~ label {
  display: none;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  display: none;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid #22c55e;
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid #ef4444;
  display: block;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-tagline {
  color: var(--gray-500);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links li,
.footer-contact li,
.footer-schedule li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
  color: var(--gray-500);
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold-base);
}

.footer-contact li,
.footer-schedule li {
  color: var(--gray-500);
  display: flex;
  gap: 0.75rem;
  align-items: start;
}

.footer-contact i {
  color: var(--gold-base);
  margin-top: 0.25rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--gray-500);
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: calc(var(--z-modal) + 1);
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.1);
}

.modal-image {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .about-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .hero {
    padding: 8rem 5% 4rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .floating-buttons {
    right: 1rem;
    bottom: 1rem;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .contact-card {
    padding: 1.75rem 1.25rem;
    gap: 1.25rem;
  }
  
  .contact-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    font-size: 1.6rem;
  }
  
  .contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
  }
  
  .contact-details p,
  .contact-details a {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .mobile-menu-link {
    font-size: 2rem;
  }
  
  .contact-card {
    padding: 1.5rem 1rem;
  }
  
  .contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 1.4rem;
  }
  
  .contact-details h3 {
    font-size: 1.1rem;
  }
  
  .contact-card {
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    font-size: 1.1rem;
  }
  
  .contact-details h3 {
    font-size: 0.95rem;
  }
  
  .contact-details p,
  .contact-details a {
    font-size: 0.85rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hide cursor on touch devices */
@media (hover: none) {
  .cursor,
  .cursor-follower {
    display: none;
  }
}