/* ============================================
   OMNI INTERIORS & DECORS - LUXURY DESIGN SYSTEM
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
  /* Color Palette */
  --color-primary: #1C1C1C;        /* Deep Charcoal */
  --color-background: #F6F4EF;     /* Warm Ivory */
  --color-accent: #C6A75E;         /* Champagne Gold */
  --color-text: #1C1C1C;
  --color-text-light: #5A5A5A;
  --color-border: #E0DDD5;
  
  /* 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 */
  
  /* Spacing */
  --space-xs: 0.5rem;      /* 8px */
  --space-sm: 1rem;        /* 16px */
  --space-md: 1.5rem;      /* 24px */
  --space-lg: 2rem;        /* 32px */
  --space-xl: 3rem;        /* 48px */
  --space-2xl: 4rem;       /* 64px */
  --space-3xl: 6rem;       /* 96px */
  --space-4xl: 8rem;       /* 128px */
  
  /* Section Padding */
  --section-padding: 7.5rem;  /* 120px */
  --section-padding-mobile: 4rem;  /* 64px */
  
  /* Layout */
  --max-width: 1280px;
  --content-width: 960px;
  
  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-6xl);
  line-height: 1.1;
}

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-md);
  color: var(--color-text-light);
  font-size: var(--text-lg);
  line-height: 1.8;
}

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

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

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--section-padding) 0;
}

.section-sm {
  padding: var(--space-4xl) 0;
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

/* ============================================
   FLEXBOX UTILITIES
   ============================================ */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.flex-column {
  display: flex;
  flex-direction: column;
}

/* ============================================
   TEXT UTILITIES
   ============================================ */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-accent);
}

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

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

/* ============================================
   IMAGE STYLES
   ============================================ */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
   RESPONSIVE TYPOGRAPHY
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --text-6xl: 3rem;      /* 48px */
    --text-5xl: 2.5rem;    /* 40px */
    --text-4xl: 2rem;      /* 32px */
  }
}

@media (max-width: 768px) {
  :root {
    --text-6xl: 2.5rem;    /* 40px */
    --text-5xl: 2rem;      /* 32px */
    --text-4xl: 1.75rem;   /* 28px */
    --text-3xl: 1.5rem;    /* 24px */
    --section-padding: var(--section-padding-mobile);
  }
  
  .container, .container-narrow {
    padding: 0 var(--space-md);
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --text-6xl: 2rem;      /* 32px */
    --text-5xl: 1.75rem;   /* 28px */
    --text-lg: 1rem;       /* 16px */
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

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

.fade-in {
  animation: fadeIn var(--transition-slow) ease-out;
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background-color: var(--color-accent);
  color: var(--color-background);
}

::-moz-selection {
  background-color: var(--color-accent);
  color: var(--color-background);
}



/* ============================================
   Contact icons (circular, spaced, responsive)
   ============================================ */
.contact-icons{
  display:flex;
  gap:14px;
  margin-top:14px;
  align-items:center;
}

.contact-icon{
  width:52px;
  height:52px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#ffffff;
  background:linear-gradient(135deg,#2b2b2b,#111);
  box-shadow:0 8px 22px rgba(16,16,16,0.18);
  transition:transform .22s cubic-bezier(.2,.9,.3,1), box-shadow .22s ease, opacity .22s ease;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}

.contact-icon i{ font-size:20px; }

.contact-icon:hover,
.contact-icon:focus{
  transform:translateY(-4px) scale(1.08);
  box-shadow:0 18px 40px rgba(16,16,16,0.28);
  outline: none;
}

.contact-icon:active{ transform:scale(0.98); }

/* Brand accent backgrounds */
.contact-icon[href*="wa.me"]{ background:linear-gradient(135deg,#25D366,#128C7E); }
.contact-icon[href^="tel:"]{ background:linear-gradient(135deg,#3AA0FF,#165DDE); }
.contact-icon[href^="mailto:"]{ background:linear-gradient(135deg,#7C3AED,#5A2D9A); }
.contact-icon[href*="instagram.com"]{ background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); }

.contact-icon:focus-visible{ box-shadow:0 0 0 4px rgba(0,0,0,0.12), 0 18px 40px rgba(16,16,16,0.28); }

@media (max-width:480px){
  .contact-icons{ gap:12px; }
  .contact-icon{ width:44px; height:44px; }
  .contact-icon i{ font-size:18px; }
}

/* ============================================
   PROJECTS PAGE STYLES
   ============================================ */

/* Hero Section for Projects */
.hero-projects {
  position: relative;
  height: 50vh;
  min-height: 200px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-projects-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(28, 28, 28, 0.3), rgba(28, 28, 28, 0.5));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-background);
  max-width: 900px;
  padding: 0 var(--space-lg);
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: var(--text-7xl);
  color: var(--color-background);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-background);
  margin-bottom: var(--space-2xl);
  opacity: 0.95;
}

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

/* Projects Section */
.projects-section {
  background-color: var(--color-background);
  padding: var(--section-padding) 0;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

/* Project Card */
.project-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 280px;
  background-color: #f0f0f0;
}

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

.project-card:hover .project-image {
  transform: scale(1.12);
}

.project-card-content {
  padding: var(--space-lg);
}

.project-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.project-card-description {
  font-size: var(--text-base);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.project-btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.project-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-background);
  transform: translateX(4px);
}

/* Video Section */
.video-section {
  background-color: #fff;
  padding: var(--section-padding) 0;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.video-card {
  background-color: var(--color-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-responsive-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
}

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

.video-card-content {
  padding: var(--space-lg);
}

.video-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-primary);
  margin-bottom: 0;
}

/* Before & After Section */
.before-after-section {
  background-color: var(--color-background);
  padding: var(--section-padding) 0;
}

.before-after-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-4xl);
  align-items: center;
}

.before-after-item {
  text-align: center;
}

.before-after-label {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  font-weight: 500;
  font-size: 25px;
}

.before-after-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.before-after-image {
  display: block;
}

.before-after-image:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* CTA Section */
.cta-section-projects {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a2a2a 100%);
  padding: var(--space-4xl);
  margin: var(--space-3xl) 0;
  border-radius: 12px;
}

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

.cta-title {
  font-size: var(--text-5xl);
  color: var(--color-background);
  margin-bottom: var(--space-lg);
}

.cta-description {
  font-size: var(--text-lg);
  color: var(--color-background);
  margin-bottom: var(--space-2xl);
  opacity: 0.95;
}

.cta-btn {
  display: inline-block;
  padding: var(--space-lg) var(--space-2xl);
  background-color: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.cta-btn:hover {
  background-color: var(--color-background);
  color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .hero-title {
    font-size: var(--text-5xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  .before-after-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .cta-section-projects {
    padding: var(--space-2xl);
    margin: var(--space-2xl) 0;
  }

  .cta-title {
    font-size: var(--text-4xl);
  }

  .cta-description {
    font-size: var(--text-base);
  }

  .project-image-wrapper {
    height: 240px;
  }

  .projects-section {
    padding: var(--section-padding-mobile) 0;
  }

  .before-after-section {
    padding: var(--section-padding-mobile) 0;
  }

  .video-section {
    padding: var(--section-padding-mobile) 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: 0.875rem;
  }

  .projects-grid {
    gap: var(--space-md);
  }

  .cta-section-projects {
    padding: var(--space-lg);
  }

  .cta-title {
    font-size: var(--text-3xl);
  }

  .cta-btn {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-sm);
  }

  .project-image-wrapper {
    height: 200px;
  }

  .before-after-image {
    border-radius: 8px;
  }

  .project-card {
    border-radius: 8px;
  }

  .video-card {
    border-radius: 8px;
  }
}
