/* JA Beauty Center - Enhanced CSS Styles */

/* =============== VARIABLES =============== */
:root {
  /* Colors - Beige & White Theme */
  --primary-color: #D4B896;
  --primary-dark: #C4A676;
  --primary-light: #E8D5B7;
  --secondary-color: #F5F1E8;
  --accent-color: #B8860B;
  --white: #FFFFFF;
  --black: #2C2C2C;
  --gray-light: #F8F6F0;
  --gray-medium: #E0D5C7;
  --gray-dark: #8B7355;
  --text-dark: #3C3C3C;
  --text-light: #6B6B6B;
  --border-color: #E8D5B7;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #D4B896 0%, #C4A676 100%);
  --gradient-secondary: linear-gradient(135deg, #F5F1E8 0%, #E8D5B7 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(212, 184, 150, 0.9) 0%, rgba(196, 166, 118, 0.9) 100%);
  
  /* Typography */
  --font-arabic: 'Noto Sans Arabic', sans-serif;
  --font-english: 'Inter', sans-serif;
  
  /* Spacing */
  --header-height: 4rem;
  --section-padding: 5rem 0;
  --container-padding: 0 1rem;
  --border-radius: 0.75rem;
  --border-radius-large: 1.5rem;
  
  /* Shadows */
  --shadow-light: 0 2px 12px rgba(212, 184, 150, 0.1);
  --shadow-medium: 0 4px 20px rgba(212, 184, 150, 0.15);
  --shadow-heavy: 0 8px 32px rgba(212, 184, 150, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: var(--font-arabic);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

body.en {
  font-family: var(--font-english);
}

/* Arabic text improvements */
body.ar {
  font-family: var(--font-arabic);
  text-align: right;
}

body.ar * {
  font-family: var(--font-arabic) !important;
}

/* =============== TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

ul {
  list-style: none;
}

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

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

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

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-medium);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

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

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

.btn--primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-medium);
}

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

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

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

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* =============== HEADER =============== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition-medium);
  border-bottom: 1px solid var(--border-color);
}

.nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-circle {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

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

.logo-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  gap: 2rem;
  margin-right: 2rem;
}

.nav__link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
}

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

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__lang {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.nav__cta {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition-medium);
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* =============== HERO SECTION =============== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-secondary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23D4B896" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23C4A676" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content {
  animation: fadeInUp 1s ease;
}

.hero__welcome {
  display: inline-block;
  background: var(--white);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-light);
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero__description {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__features {
  margin-bottom: 2.5rem;
}

.hero__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  font-weight: 500;
}

.hero__features i {
  color: var(--accent-color);
  font-size: 0.875rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  animation: fadeInRight 1s ease 0.3s both;
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

.hero__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.hero__image-wrapper:hover .hero__img {
  transform: scale(1.05);
}

.hero__stats {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
}

.stat {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: var(--border-radius);
  flex: 1;
  text-align: center;
  box-shadow: var(--shadow-light);
}

.stat__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.stat__number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

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

.stat__text {
  font-size: 0.875rem;
  color: var(--text-light);
}

.stat__icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

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

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

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about__description {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about__stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-light);
  border-radius: var(--border-radius);
  transition: var(--transition-medium);
}

.about__stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.about__stat-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.about__stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
}

.about__stat-text {
  font-size: 0.875rem;
  color: var(--text-light);
}

.about__image {
  position: relative;
}

.about__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
}

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

.value {
  text-align: center;
  padding: 2rem;
  background: var(--gray-light);
  border-radius: var(--border-radius-large);
  transition: var(--transition-medium);
}

.value:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.value__icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

.value__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.value__description {
  color: var(--text-light);
  line-height: 1.6;
}

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

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

.service {
  background: var(--white);
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition-medium);
}

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

.service__image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

.service:hover .service__img {
  transform: scale(1.1);
}

.service__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-medium);
}

.service:hover .service__overlay {
  opacity: 1;
}

.service__title {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.service__content {
  padding: 2rem;
}

.service__description {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.service__features {
  margin-bottom: 2rem;
}

.service__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.service__features i {
  color: var(--primary-color);
  font-size: 0.875rem;
}

.service__actions {
  display: flex;
  gap: 1rem;
}

.services__cta {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
}

.services__cta-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.services__cta-description {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =============== GALLERY SECTION =============== */
.gallery {
  background: var(--white);
}

.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.gallery__filter {
  background: var(--gray-light);
  color: var(--text-dark);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.gallery__filter:hover,
.gallery__filter.active {
  background: var(--gradient-primary);
  color: var(--white);
}

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

.gallery__item {
  position: relative;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition-medium);
}

.gallery__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.gallery__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery__item:hover .gallery__img {
  transform: scale(1.1);
}

.gallery__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-medium);
  padding: 2rem;
  text-align: center;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__overlay h4 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery__overlay p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.gallery__view {
  background: var(--white);
  color: var(--primary-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact__item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition-medium);
}

.contact__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.contact__icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact__value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.contact__description {
  color: var(--text-light);
  font-size: 0.875rem;
}

.contact__methods {
  margin-top: 2rem;
}

.contact__methods h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact__btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-light);
}

.contact__btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateX(5px);
}

.contact__form-container {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
}

.contact__form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact__form-description {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-fast);
  background: var(--white);
}

.form__input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 184, 150, 0.1);
}

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

.contact__rating {
  margin-top: 2rem;
  text-align: center;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: var(--border-radius);
}

.rating__stars {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact__rating span {
  display: block;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* =============== FOOTER =============== */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer__link:hover {
  color: var(--primary-color);
}

.footer__info p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer__info i {
  color: var(--primary-color);
  width: 1rem;
}

.footer__social-links {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.125rem;
  transition: var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

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

.modal__content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  top: 50%;
  transform: translateY(-50%);
  animation: slideIn 0.3s ease;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  color: var(--white);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  transition: var(--transition-fast);
}

.modal__close:hover {
  color: var(--primary-color);
}

.modal__image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.modal__caption {
  text-align: center;
  color: var(--white);
  padding: 1rem;
  font-size: 1.125rem;
}

/* =============== ANIMATIONS =============== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

/* =============== RESPONSIVE DESIGN =============== */
@media screen and (max-width: 1024px) {
  .hero__container,
  .about__container,
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero__image {
    order: -1;
  }
  
  .services__container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  :root {
    --header-height: 3.5rem;
    --section-padding: 3rem 0;
  }
  
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-medium);
    z-index: 1001;
  }
  
  .nav__menu.show-menu {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    margin: 0;
  }
  
  .nav__link {
    font-size: 1.25rem;
  }
  
  .nav__close,
  .nav__toggle {
    display: block;
  }
  
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__subtitle {
    font-size: 1.25rem;
  }
  
  .hero__actions {
    flex-direction: column;
  }
  
  .hero__stats {
    position: static;
    margin-top: 2rem;
  }
  
  .section__title {
    font-size: 2rem;
  }
  
  .about__stats {
    grid-template-columns: 1fr;
  }
  
  .services__container,
  .gallery__container {
    grid-template-columns: 1fr;
  }
  
  .gallery__filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  
  .contact__buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .service__actions {
    flex-direction: column;
  }
  
  .hero__stats {
    flex-direction: column;
  }
  
  .modal__content {
    width: 95%;
  }
  
  .modal__close {
    top: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
  }
}

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

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

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

/* =============== PRINT STYLES =============== */
@media print {
  .header,
  .nav__toggle,
  .nav__close,
  .modal {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}
