/* ============================================
   FAISAL TOWN REAL ESTATE - PREMIUM DESIGN SYSTEM
   ============================================ */

/* ============================================
   GOOGLE FONTS IMPORT
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
  /* Color Palette - Luxurious & Premium */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gold: #D4AF37;
  --color-gold-light: #F4E4B8;
  --color-gold-dark: #B8941F;
  --color-charcoal: #1A1A1A;
  --color-charcoal-light: #2A2A2A;
  --color-gray-100: #F5F5F5;
  --color-gray-200: #E5E5E5;
  --color-gray-300: #D4D4D4;
  --color-gray-400: #A3A3A3;
  --color-gray-500: #737373;
  --color-gray-600: #525252;
  --color-gray-700: #404040;
  --color-gray-800: #262626;
  --color-gray-900: #171717;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4E4B8 100%);
  --gradient-dark: linear-gradient(135deg, #000000 0%, #1A1A1A 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
  --gradient-overlay-light: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
  --gradient-gold-overlay: linear-gradient(135deg, rgba(212, 175, 55, 0.9) 0%, rgba(244, 228, 184, 0.7) 100%);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-lg: 1.125rem;
  /* 18px */
  --text-xl: 1.25rem;
  /* 20px */
  --text-2xl: 1.5rem;
  /* 24px */
  --text-3xl: 1.875rem;
  /* 30px */
  --text-4xl: 2.25rem;
  /* 36px */
  --text-5xl: 3rem;
  /* 48px */
  --text-6xl: 3.75rem;
  /* 60px */
  --text-7xl: 4.5rem;
  /* 72px */

  /* Font Weights */
  --weight-light: 300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* Spacing Scale */
  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.25rem;
  /* 20px */
  --space-6: 1.5rem;
  /* 24px */
  --space-8: 2rem;
  /* 32px */
  --space-10: 2.5rem;
  /* 40px */
  --space-12: 3rem;
  /* 48px */
  --space-16: 4rem;
  /* 64px */
  --space-20: 5rem;
  /* 80px */
  --space-24: 6rem;
  /* 96px */
  --space-32: 8rem;
  /* 128px */

  /* Shadows - Elevation System */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.3);
  --shadow-gold-lg: 0 20px 40px rgba(212, 175, 55, 0.4);

  /* Border Radius */
  --radius-sm: 0.25rem;
  /* 4px */
  --radius-md: 0.5rem;
  /* 8px */
  --radius-lg: 0.75rem;
  /* 12px */
  --radius-xl: 1rem;
  /* 16px */
  --radius-2xl: 1.5rem;
  /* 24px */
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 700ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: 1.2;
  color: var(--color-black);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-6xl);
  font-weight: var(--weight-extrabold);
}

h2 {
  font-size: var(--text-5xl);
}

h3 {
  font-size: var(--text-4xl);
}

h4 {
  font-size: var(--text-3xl);
}

h5 {
  font-size: var(--text-2xl);
}

h6 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-gray-700);
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-gold-dark);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Section Spacing */
.section {
  padding: var(--space-20) 0;
}

.section-lg {
  padding: var(--space-32) 0;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.text-gold {
  color: var(--color-gold);
}

.text-white {
  color: var(--color-white);
}

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   GLASSMORPHISM EFFECTS
   ============================================ */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.glass-card-dark {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}

.glossy-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.glossy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left var(--transition-slow);
}

.glossy-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold-lg);
}

.glossy-card:hover::before {
  left: 100%;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width var(--transition-slow), height var(--transition-slow);
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-black);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-black);
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-ghost:hover {
  background: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
}

.btn-xl {
  padding: var(--space-6) var(--space-12);
  font-size: var(--text-xl);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-black);
  text-decoration: none;
}

.nav-logo span {
  color: var(--color-gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

.nav-link {
  font-weight: var(--weight-medium);
  color: var(--color-charcoal);
  transition: color var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-black);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--color-white);
  max-width: 900px;
  padding: 0 var(--space-6);
  z-index: 1;
}

.hero-title {
  font-size: var(--text-7xl);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: var(--text-2xl);
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  color: var(--color-gold-light);
  margin-bottom: var(--space-10);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: var(--text-3xl);
  color: var(--color-white);
}

/* ============================================
   PAGE HEADER (for sub-pages)
   ============================================ */
.page-header {
  position: relative;
  padding: var(--space-32) 0 var(--space-20);
  margin-top: 80px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: var(--text-6xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  animation: fadeInUp 0.6s ease-out;
}

.page-subtitle {
  font-size: var(--text-xl);
  color: var(--color-gold-light);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-gray-300);
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.breadcrumb a {
  color: var(--color-gold-light);
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb span {
  color: var(--color-gray-400);
}

/* Active navigation link */
.nav-link.active {
  color: var(--color-gold);
}

.nav-link.active::after {
  width: 100%;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  max-width: 700px;
  margin: var(--space-8) auto 0;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.feature-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all var(--transition-base);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-gold-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-gold);
  border-radius: var(--radius-xl);
  font-size: var(--text-4xl);
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
}

.feature-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  color: var(--color-black);
}

.feature-description {
  font-size: var(--text-base);
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-2xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: var(--text-4xl);
  color: var(--color-white);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: none;
  color: var(--color-white);
  font-size: var(--text-3xl);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  top: var(--space-6);
  right: var(--space-6);
}

.lightbox-prev {
  left: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-gold);
  transform: scale(1.1);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.pricing-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(212, 175, 55, 0.2);
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: var(--color-gold);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-gold-lg);
}

.pricing-badge {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  background: var(--gradient-gold);
  color: var(--color-black);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
}

.pricing-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.pricing-price {
  font-size: var(--text-5xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.pricing-period {
  font-size: var(--text-base);
  color: var(--color-gray-500);
  margin-bottom: var(--space-8);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-8);
  text-align: left;
}

.pricing-features li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-gray-200);
  color: var(--color-gray-700);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--color-gold);
  margin-right: var(--space-3);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  max-width: 700px;
  margin: var(--space-12) auto 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: all var(--transition-base);
  background: var(--color-white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-error {
  color: #EF4444;
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  display: none;
}

.form-input.error,
.form-textarea.error {
  border-color: #EF4444;
}

.form-input.error+.form-error,
.form-textarea.error+.form-error {
  display: block;
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */
.floating-buttons {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  z-index: var(--z-fixed);
}

.fab {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--color-white);
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-2xl);
}

.fab-whatsapp {
  background: #25D366;
}

.fab-phone {
  background: var(--gradient-gold);
}

.fab-email {
  background: var(--color-charcoal);
}


.footer-logo {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 1rem !important;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gradient-dark);
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-section h3 {
  color: var(--color-gold);
  margin-bottom: var(--space-6);
  font-size: var(--text-2xl);
}

.footer-section p,
.footer-section a {
  color: var(--color-gray-300);
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--color-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--color-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gray-400);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-20px) translateX(-50%);
  }

  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Scroll Animation Classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.slide-in-left {
  opacity: 0;
  animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
  opacity: 0;
  animation: slideInRight 1s ease-out forwards;
}

/* ============================================
   BRUTAL 100% RESPONSIVE - ALL DEVICES
   ============================================ */

/* Extra Small Devices (320px - 480px) - Phones */
@media (max-width: 480px) {
  :root {
    --text-7xl: 2.5rem;
    /* 40px */
    --text-6xl: 2rem;
    /* 32px */
    --text-5xl: 1.75rem;
    /* 28px */
    --text-4xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.25rem;
    /* 20px */
  }

  .container {
    padding: 0 var(--space-4);
    max-width: 100%;
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section-lg {
    padding: var(--space-16) 0;
  }

  /* Navigation */
  .nav-logo {
    font-size: var(--text-xl) !important;
  }

  .nav-logo img {
    height: 35px !important;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-8);
    transition: left var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: var(--space-3) 0;
    width: 100%;
  }

  .nav-menu .nav-link {
    display: block;
    padding: var(--space-3);
    text-align: center;
  }

  .nav-toggle {
    display: flex !important;
  }

  /* Hero Section */
  .hero {
    min-height: 60vh;
    padding: var(--space-16) 0;
  }

  .hero-title {
    font-size: var(--text-4xl) !important;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: var(--text-base) !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Buttons */
  .btn {
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
  }

  .btn-lg {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
  }

  .btn-xl {
    padding: var(--space-5) var(--space-8);
    font-size: var(--text-lg);
  }

  /* Grids */
  .gallery-grid,
  .features-grid,
  .pricing-grid,
  .dashboard-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-4);
  }

  /* Cards */
  .feature-card,
  .pricing-card,
  .glossy-card,
  .stat-card,
  .project-card {
    padding: var(--space-6);
  }

  .pricing-card.featured {
    transform: scale(1) !important;
  }

  /* Page Header */
  .page-header {
    padding: var(--space-16) 0 var(--space-12);
  }

  .page-title {
    font-size: var(--text-4xl) !important;
  }

  .page-subtitle {
    font-size: var(--text-base) !important;
  }

  /* Section Headers */
  .section-title {
    font-size: var(--text-3xl) !important;
  }

  .section-subtitle {
    font-size: var(--text-sm) !important;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: var(--space-8);
  }

  .footer-section h3 {
    font-size: var(--text-xl);
  }

  .footer-section h3 img {
    height: 40px !important;
  }

  .footer-links {
    font-size: var(--text-sm);
  }

  /* Floating Buttons */
  .floating-buttons {
    bottom: var(--space-4);
    right: var(--space-4);
    gap: var(--space-2);
  }

  .fab {
    width: 45px !important;
    height: 45px !important;
    font-size: var(--text-lg) !important;
  }

  /* Forms */
  .contact-form {
    padding: var(--space-6);
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: var(--text-base);
    padding: var(--space-3);
  }

  /* Tables */
  .table-container {
    overflow-x: auto;
  }

  table {
    font-size: var(--text-sm);
  }

  th,
  td {
    padding: var(--space-2) var(--space-3);
  }

  /* Gallery */
  .gallery-item {
    aspect-ratio: 16/9;
  }

  /* Lightbox */
  .lightbox-content {
    max-width: 95%;
    max-height: 85%;
  }

  .lightbox-close {
    top: var(--space-4);
    right: var(--space-4);
  }

  /* Breadcrumb */
  .breadcrumb {
    font-size: var(--text-sm);
  }
}

/* Small Devices (481px - 768px) - Tablets Portrait */
@media (min-width: 481px) and (max-width: 768px) {
  :root {
    --text-7xl: 3rem;
    /* 48px */
    --text-6xl: 2.5rem;
    /* 40px */
    --text-5xl: 2rem;
    /* 32px */
    --text-4xl: 1.75rem;
    /* 28px */
  }

  .container {
    padding: 0 var(--space-6);
  }

  /* Navigation */
  .nav-logo img {
    height: 40px !important;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-8);
    transition: left var(--transition-base);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex !important;
  }

  /* Hero */
  .hero-title {
    font-size: var(--text-5xl);
  }

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Grids */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .floating-buttons {
    bottom: var(--space-6);
    right: var(--space-6);
  }

  .fab {
    width: 50px;
    height: 50px;
    font-size: var(--text-xl);
  }
}

/* Medium Devices (769px - 1024px) - Tablets Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 960px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large Devices (1025px - 1440px) - Laptops */
@media (min-width: 1025px) and (max-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

/* Extra Large Devices (1441px+) - Desktops */
@media (min-width: 1441px) {
  .container {
    max-width: 1600px;
  }

  :root {
    --text-7xl: 5rem;
    /* 80px */
    --text-6xl: 4rem;
    /* 64px */
  }
}

/* Landscape Orientation Fix */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }

  .nav-menu {
    height: 100vh;
    overflow-y: auto;
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print Styles */
@media print {

  .navbar,
  .floating-buttons,
  .hero-buttons,
  .btn {
    display: none !important;
  }

  .hero {
    min-height: auto;
    page-break-after: always;
  }
}