/* ======================================
   Modern Beauty Salon - CSS Redesign
   Rose Beauty Salon
   ====================================== */

/* Root Variables */
:root {
  --primary-color: #d63384;
  --primary-dark: #a61e4d;
  --primary-light: #e8749c;
  --secondary-color: #fff5f7;
  --accent-color: #ff6b9d;
  --text-dark: #212529;
  --text-light: #495057;
  --text-muted: #6c757d;
  --border-color: #dee2e6;
  --light-bg: #f8f9fa;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;
  --spacing-unit: 8px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(214, 51, 132, 0.95) 0%, rgba(166, 30, 77, 0.95) 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(214, 51, 132, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(166, 30, 77, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 107, 157, 0.02) 0%, transparent 50%);
  background-attachment: fixed;
  background-size: cover;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Trebuchet MS', sans-serif;
  font-weight: 400;
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 2);
  line-height: 1.3;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: calc(var(--spacing-unit) * 2.5);
  color: var(--text-light);
  line-height: 1.8;
}

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

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

a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 2px;
}

a:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

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

/* ====== LAYOUT ====== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 2);
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
}

/* 4K Displays (2560px and up) */
@media (min-width: 2560px) {
  .container {
    max-width: 1600px;
  }
  
  h1 { font-size: 4rem; }
  h2 { font-size: 3rem; }
  h3 { font-size: 2rem; }
  h4 { font-size: 1.75rem; }
  h5 { font-size: 1.5rem; }
  h6 { font-size: 1.25rem; }
  
  body {
    font-size: 18px;
  }
}

/* Ultra-wide 4K (3840px and up) */
@media (min-width: 3840px) {
  .container {
    max-width: 2000px;
    padding: 0 calc(var(--spacing-unit) * 4);
  }
  
  h1 { font-size: 5rem; }
  h2 { font-size: 3.5rem; }
  h3 { font-size: 2.5rem; }
  h4 { font-size: 2rem; }
  h5 { font-size: 1.75rem; }
  h6 { font-size: 1.5rem; }
  
  body {
    font-size: 20px;
  }
  
  .row {
    grid-template-columns: repeat(4, minmax(350px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
  }
  
  .row.hero {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 3);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 calc(var(--spacing-unit) * 1.5);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 calc(var(--spacing-unit) * 1);
  }
}

.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 4);
  align-items: stretch;
  justify-items: center;
  width: 100%;
  justify-content: center;
}

.row.hero {
  grid-template-columns: 1fr;
  gap: calc(var(--spacing-unit) * 2);
}

.col {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.col-span-2 {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .col-span-2 {
    grid-column: span 1;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  .container {
    padding: 0 calc(var(--spacing-unit) * 1.5);
  }
}

/* ====== HEADER & NAVIGATION ====== */
header {
  background: white;
  color: var(--text-dark);
  padding: calc(var(--spacing-unit) * 2) 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 2);
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
  .header-content {
    max-width: 1400px;
  }
}

/* 4K Displays (2560px and up) */
@media (min-width: 2560px) {
  .header-content {
    max-width: 1600px;
    padding: 0 calc(var(--spacing-unit) * 3);
  }
}

/* Ultra-wide 4K (3840px and up) */
@media (min-width: 3840px) {
  .header-content {
    max-width: 2000px;
    padding: 0 calc(var(--spacing-unit) * 4);
  }
}

.logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-color);
}

.logo img {
  max-width: 150px;
  height: auto;
  display: block;
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
  .logo img {
    max-width: 180px;
  }
}

/* 4K Displays (2560px and up) */
@media (min-width: 2560px) {
  .logo img {
    max-width: 200px;
  }
}

/* Ultra-wide 4K (3840px and up) */
@media (min-width: 3840px) {
  .logo img {
    max-width: 250px;
  }
}

.contact-info {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1);
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
  .contact-info {
    font-size: 1.1rem;
    gap: calc(var(--spacing-unit) * 1.5);
  }
}

/* 4K Displays (2560px and up) */
@media (min-width: 2560px) {
  .contact-info {
    font-size: 1.2rem;
    gap: calc(var(--spacing-unit) * 2);
  }
}

/* Ultra-wide 4K (3840px and up) */
@media (min-width: 3840px) {
  .contact-info {
    font-size: 1.4rem;
    gap: calc(var(--spacing-unit) * 2.5);
  }
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 0.5);
}

/* Navigation */
nav {
  background: var(--primary-color);
  padding: calc(var(--spacing-unit) * 1) 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
  .nav-container {
    max-width: 1400px;
    padding: 0 calc(var(--spacing-unit) * 3);
  }
}

/* 4K Displays (2560px and up) */
@media (min-width: 2560px) {
  .nav-container {
    max-width: 1600px;
    padding: 0 calc(var(--spacing-unit) * 3);
  }
}

/* Ultra-wide 4K (3840px and up) */
@media (min-width: 3840px) {
  .nav-container {
    max-width: 2000px;
    padding: 0 calc(var(--spacing-unit) * 4);
  }
}

.nav-links {
  display: flex;
  gap: calc(var(--spacing-unit) * 3);
  list-style: none;
}

.nav-links a {
  color: white;
  font-weight: 500;
  padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1.5);
  border-radius: 4px;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-decoration: none;
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
  .nav-links {
    gap: calc(var(--spacing-unit) * 4);
  }
  
  .nav-links a {
    font-size: 1rem;
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
  }
}

/* 4K Displays (2560px and up) */
@media (min-width: 2560px) {
  .nav-links {
    gap: calc(var(--spacing-unit) * 5);
  }
  
  .nav-links a {
    font-size: 1.1rem;
    padding: calc(var(--spacing-unit) * 1.2) calc(var(--spacing-unit) * 2.5);
  }
}

/* Ultra-wide 4K (3840px and up) */
@media (min-width: 3840px) {
  .nav-links {
    gap: calc(var(--spacing-unit) * 6);
  }
  
  .nav-links a {
    font-size: 1.3rem;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
  }
}

.nav-links a:hover,
.nav-links a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: calc(var(--spacing-unit) * 0.5);
  border-radius: 4px;
}

.menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1.5);
    margin-bottom: calc(var(--spacing-unit) * 1);
    padding: calc(var(--spacing-unit) * 1) 0;
  }

  .logo img {
    max-width: 120px;
  }

  .contact-info {
    flex-direction: row;
    gap: calc(var(--spacing-unit) * 1);
    font-size: 0.85rem;
    justify-content: center;
  }

  .nav-links {
    gap: calc(var(--spacing-unit) * 1);
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    padding: calc(var(--spacing-unit) * 0.7) calc(var(--spacing-unit) * 0.9);
    font-size: 0.8rem;
  }

  .menu-toggle {
    display: block;
  }

  nav.mobile-open .nav-links {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-md);
    padding: calc(var(--spacing-unit) * 2);
    gap: calc(var(--spacing-unit) * 1);
    z-index: 1000;
  }

  nav:not(.mobile-open) .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  header {
    padding: calc(var(--spacing-unit) * 1) 0;
  }

  .header-top {
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1);
    margin-bottom: calc(var(--spacing-unit) * 0.8);
    padding: calc(var(--spacing-unit) * 0.8) 0;
    border-bottom-width: 0px;
  }

  .logo img {
    max-width: 100px;
  }

  .contact-info {
    flex-direction: row;
    gap: calc(var(--spacing-unit) * 0.5);
    font-size: 0.75rem;
  }

  nav {
    flex-direction: column-reverse;
  }

  .nav-links {
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: calc(var(--spacing-unit) * 0.5);
  }

  .nav-links a {
    padding: calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit) * 0.7);
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .menu-toggle {
    font-size: 1.3rem;
  }
}

/* ====== HERO SECTION ====== */
.hero {
  color: white;
  padding: calc(var(--spacing-unit) * 15) calc(var(--spacing-unit) * 2);
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(214, 51, 132, 0.8) 0%, rgba(166, 30, 77, 0.8) 100%), url('../images/2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: calc(var(--spacing-unit) * 2);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* Ensure all text in hero section is white */
.hero * {
  color: white !important;
}

.hero .btn-hero {
  color: var(--primary-color) !important;
}

.hero h1.hero-main {
  font-size: 4rem;
}

.hero p.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: calc(var(--spacing-unit) * 3);
  font-weight: 300;
  line-height: 1.5;
}

.hero-quote {
  margin: calc(var(--spacing-unit) * 4) 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  padding: calc(var(--spacing-unit) * 2);
  border-left: 3px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  line-height: 1.6;
}

.hero .btn-hero {
  display: inline-block;
  margin-top: calc(var(--spacing-unit) * 3);
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
  font-size: 1rem;
  border-radius: 6px;
  background: white;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .hero {
    padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 2);
    min-height: 90vh;
  }

  .hero h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  }

  .hero h1.hero-main {
    font-size: 3.5rem;
  }

  .hero p.hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-quote {
    margin: calc(var(--spacing-unit) * 3) 0;
    padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 2);
    font-size: 1rem;
  }

  .hero .btn-hero {
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    font-size: 1rem;
  }

  .service-card {
    padding: calc(var(--spacing-unit) * 3);
  }

  .service-icon {
    width: 80px;
    height: 80px;
    font-size: 3rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
  }

  .service-card h3 {
    font-size: 1.4rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }

  .feature-card {
    margin-bottom: calc(var(--spacing-unit) * 2);
  }

  .feature-icon {
    height: 140px;
  }

  .feature-icon div {
    font-size: 3rem;
  }

  .feature-title {
    font-size: 1.2rem;
  }

  .feature-text {
    font-size: 0.95rem;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .cta-description {
    font-size: 1.1rem;
  }

  .cta-contact {
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
  }

  .cta-phone {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 1.5);
    min-height: 80vh;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2.2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  }

  .hero h1.hero-main {
    font-size: 2.5rem;
  }

  .hero p.hero-subtitle {
    font-size: 1rem;
  }

  .hero-quote {
    margin: calc(var(--spacing-unit) * 2) 0;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 1.5);
    font-size: 0.9rem;
    border-left: 3px solid rgba(255, 255, 255, 0.8);
    border-right: 3px solid rgba(255, 255, 255, 0.8);
    line-height: 1.6;
  }

  .hero .btn-hero {
    padding: calc(var(--spacing-unit) * 1.2) calc(var(--spacing-unit) * 2.5);
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
  }

  .service-card {
    padding: calc(var(--spacing-unit) * 2.5);
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
  }

  .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .feature-icon {
    height: 120px;
  }

  .feature-icon div {
    font-size: 2.5rem;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-text {
    font-size: 0.9rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-phone {
    font-size: 1rem;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2);
  }

  .cta-button {
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2.5);
    font-size: 0.95rem;
    width: 100%;
    max-width: 250px;
  }
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-block;
  padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 2.5);
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  position: relative;
}

.btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:focus:not(:focus-visible) {
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
}

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

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

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

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

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

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

.btn-white:hover {
  background: var(--secondary-color);
}

.btn-large {
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3.5);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .btn {
    padding: calc(var(--spacing-unit) * 1.1) calc(var(--spacing-unit) * 2.2);
    font-size: 0.9rem;
  }

  .btn-large {
    padding: calc(var(--spacing-unit) * 1.3) calc(var(--spacing-unit) * 3);
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 1.8);
    font-size: 0.85rem;
  }

  .btn-large {
    padding: calc(var(--spacing-unit) * 1.2) calc(var(--spacing-unit) * 2.5);
    font-size: 0.9rem;
    width: 100%;
    max-width: 100%;
  }
}

/* ====== CARDS ====== */
.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.card-content {
  padding: calc(var(--spacing-unit) * 2);
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .card {
    border-radius: 6px;
  }

  .card-image {
    height: 200px;
  }

  .card-content {
    padding: calc(var(--spacing-unit) * 1.5);
  }
}

@media (max-width: 480px) {
  .card-image {
    height: 180px;
  }

  .card-content {
    padding: calc(var(--spacing-unit) * 1);
  }
}

.card-title {
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 1);
  font-size: 1.3rem;
}

.card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  flex: 1;
}

.card-footer {
  padding: 0 calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 2);
}

/* ====== SERVICES SECTION ====== */
.services {
  padding: calc(var(--spacing-unit) * 10) 0;
  background: var(--light-bg);
}

.services .row {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: calc(var(--spacing-unit) * 3);
  margin-top: calc(var(--spacing-unit) * 4);
}

.service-card {
  background: white;
  padding: calc(var(--spacing-unit) * 3);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--primary-color);
  display: inline-block;
  width: 80px;
  height: 80px;
  background: rgba(214, 51, 132, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
}

.service-card p {
  margin-bottom: 0;
  text-align: center;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1rem;
}

/* ====== SECTION HEADER ====== */
.section-header {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 6);
}

.section-header h2 {
  position: relative;
  padding-bottom: calc(var(--spacing-unit) * 2);
  font-size: 2.5rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.section-header p {
  max-width: 600px;
  margin: calc(var(--spacing-unit) * 2) auto 0;
  font-size: 1.1rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: calc(var(--spacing-unit) * 4);
  }

  .section-header h2 {
    font-size: 2rem;
    padding-bottom: calc(var(--spacing-unit) * 1.5);
  }

  .section-header p {
    font-size: 1rem;
    margin-top: calc(var(--spacing-unit) * 1.5);
  }
}

@media (max-width: 480px) {
  .section-header {
    margin-bottom: calc(var(--spacing-unit) * 3);
  }

  .section-header h2 {
    font-size: 1.6rem;
    padding-bottom: calc(var(--spacing-unit) * 1);
  }

  .section-header h2::after {
    width: 40px;
    height: 2px;
  }

  .section-header p {
    font-size: 0.95rem;
    margin-top: calc(var(--spacing-unit) * 1);
  }
}

/* ====== TEAM SECTION ====== */
.team {
  padding: calc(var(--spacing-unit) * 8) 0;
  background: white;
}

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

.team-member img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.team-member h3 {
  font-size: 1.3rem;
  margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.team-member .role {
  color: var(--primary-color);
  font-size: 0.95rem;
  margin-bottom: calc(var(--spacing-unit) * 1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ====== PORTFOLIO/GALLERY ====== */
.gallery {
  padding: calc(var(--spacing-unit) * 8) 0;
  background: #f9f7f4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: calc(var(--spacing-unit) * 2);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  height: 300px;
  transform: translateZ(0);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(214, 51, 132, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(214, 51, 132, 0.85) 0%, rgba(139, 0, 0, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(2px);
}

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

.gallery-overlay-icon {
  font-size: 2.5rem;
  color: white;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  padding: 0 20px;
}

.gallery-item:hover .gallery-overlay-icon {
  transform: translateY(0);
}

/* ====== CONTACT FORM ====== */
.contact {
  padding: calc(var(--spacing-unit) * 8) 0;
  background: white;
}

.form-group {
  margin-bottom: calc(var(--spacing-unit) * 2.5);
}

.form-group label {
  display: block;
  margin-bottom: calc(var(--spacing-unit) * 1);
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 1.5);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #e74c3c;
  background-color: #fdf2f2;
}

.form-group input.error:focus,
.form-group textarea.error:focus,
.form-group select.error:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(196, 30, 94, 0.1);
}

.form-group input:focus:not(:focus-visible),
.form-group textarea:focus:not(:focus-visible),
.form-group select:focus:not(:focus-visible) {
  box-shadow: none;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(196, 30, 94, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: calc(var(--spacing-unit) * 2);
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: calc(var(--spacing-unit) * 0.8) calc(var(--spacing-unit) * 1.2);
    font-size: 16px;
  }

  .form-group textarea {
    min-height: 120px;
  }
}

/* ====== FOOTER ====== */
footer {
  background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
  color: white;
  padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 3);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-color) 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.footer-content.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 4);
}

@media (max-width: 768px) {
  footer {
    padding: calc(var(--spacing-unit) * 5) 0 calc(var(--spacing-unit) * 2);
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 3);
  }

  .footer-section h3 {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    font-size: 1.2rem;
  }

  .social-links {
    gap: calc(var(--spacing-unit) * 1.5);
  }

  .social-links a {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: calc(var(--spacing-unit) * 3) 0 calc(var(--spacing-unit) * 1.5);
  }

  footer::before {
    height: 2px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
  }

  .footer-section h3 {
    margin-bottom: calc(var(--spacing-unit) * 1);
    font-size: 1.1rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.9rem;
    margin-bottom: calc(var(--spacing-unit) * 0.7);
  }

  .social-links {
    gap: calc(var(--spacing-unit) * 1);
    margin-top: calc(var(--spacing-unit) * 1.5);
  }

  .social-links a {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  .footer-bottom {
    padding-top: calc(var(--spacing-unit) * 2);
    font-size: 0.85rem;
  }
}

.footer-section h3 {
  color: white;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: calc(var(--spacing-unit) * 1);
}

.footer-section a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: calc(var(--spacing-unit) * 3);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
  margin-top: calc(var(--spacing-unit) * 2);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

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

/* ====== PRICING TABLE ====== */
.pricing {
  padding: calc(var(--spacing-unit) * 8) 0;
  background: #f9f7f4;
}

/* Packages section specific rules */
.pricing .row:nth-of-type(2) {
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 4);
  align-items: stretch;
  justify-items: stretch;
}

.pricing .row:nth-of-type(2) .col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pricing .row:nth-of-type(2) .card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 325px !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 325px !important;
  max-height: 325px !important;
}

.pricing .row:nth-of-type(2) .card-content {
  padding: calc(var(--spacing-unit) * 2);
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.pricing .row:nth-of-type(2) .card-title {
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 1);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.pricing .row:nth-of-type(2) .card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  flex: 1;
  width: 100%;
  display: block;
  height: 100%;
}

.pricing .row {
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 4);
  align-items: stretch;
  justify-items: stretch;
}

/* Center single cards in pricing rows */
.pricing .row:has(.col:only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
}

.pricing .row:has(.col:only-child) .col {
  max-width: 400px;
}

.pricing .col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pricing .card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 325px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.pricing .card > div:first-child {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 100% !important;
  box-sizing: border-box;
}

.pricing .card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing .card-content {
  padding: calc(var(--spacing-unit) * 2);
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  height: calc(100% - 100px);
}

.pricing .card-title {
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 1);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.pricing .card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-table th {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: calc(var(--spacing-unit) * 2.5);
  text-align: left;
  font-weight: 600;
  border-bottom: none;
}

.pricing-table td {
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2.5);
  border-bottom: 1px solid var(--border-color);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: #f9f7f4;
}

.price {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.3rem;
}

@media (max-width: 768px) {
  .pricing-table th {
    padding: calc(var(--spacing-unit) * 1.5);
    font-size: 0.95rem;
  }

  .pricing-table td {
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 1.5);
    font-size: 0.95rem;
  }

  .price {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .pricing-table {
    font-size: 0.9rem;
  }

  .pricing-table th {
    padding: calc(var(--spacing-unit) * 1.2);
    font-size: 0.85rem;
  }

  .pricing-table td {
    padding: calc(var(--spacing-unit) * 0.8) calc(var(--spacing-unit) * 1);
    font-size: 0.85rem;
  }

  .price {
    font-size: 1rem;
  }
}

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

.mt-1 { margin-top: calc(var(--spacing-unit) * 1); }
.mt-2 { margin-top: calc(var(--spacing-unit) * 2); }
.mt-3 { margin-top: calc(var(--spacing-unit) * 3); }
.mt-4 { margin-top: calc(var(--spacing-unit) * 4); }
.mb-1 { margin-bottom: calc(var(--spacing-unit) * 1); }
.mb-2 { margin-bottom: calc(var(--spacing-unit) * 2); }
.mb-3 { margin-bottom: calc(var(--spacing-unit) * 3); }
.mb-4 { margin-bottom: calc(var(--spacing-unit) * 4); }
.p-1 { padding: calc(var(--spacing-unit) * 1); }
.p-2 { padding: calc(var(--spacing-unit) * 2); }
.p-3 { padding: calc(var(--spacing-unit) * 3); }
.p-4 { padding: calc(var(--spacing-unit) * 4); }

.hidden { display: none; }
.visible { display: block; }

.section-padding {
  padding: calc(var(--spacing-unit) * 8) 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -20px, 0);
  }
  70% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.bounce-in {
  animation: bounce 1s ease-out;
}

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

.shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .row {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .row {
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-unit) * 2);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: calc(var(--spacing-unit) * 5) 0;
  }
  
  .services {
    padding: calc(var(--spacing-unit) * 5) 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 2);
  }
}

@media (max-width: 480px) {
  .row {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }

  .hero {
    padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 1.5);
    min-height: 400px;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2.2rem !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  }

  .hero p {
    font-size: 1rem !important;
  }

  .hero-quote {
    font-size: 0.9rem;
  }

  .nav-links {
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1);
  }

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

/* ====== LIGHTBOX MODAL ====== */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

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

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.lightbox-image {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.7);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.95);
  transform: scale(1.1);
}

.gallery-clickable {
  cursor: pointer;
}

.gallery-clickable:hover img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
    margin: 20px;
  }

  .lightbox-image {
    max-height: 70vh;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .lightbox-content {
    max-width: 98%;
  }

  .lightbox-image {
    max-height: 60vh;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 2);
  }

  .gallery-overlay-icon {
    font-size: 1rem !important;
  }
}
