/* 
 * Consolidated CSS file for Jagdish Ayer Portfolio
 * Features:
 * - Modern color scheme with better contrast
 * - Responsive design for all devices
 * - Smooth animations and transitions
 * - Optimized for performance
 */

/* ===== VARIABLES ===== */
:root {
  /* New Color Scheme */
  --primary: #2A6EBB;         /* Deep blue - primary brand color */
  --primary-light: #4A8FDB;   /* Lighter blue for hover states */
  --secondary: #FF6B35;       /* Orange - accent color */
  --dark: #1A2A3A;            /* Dark blue-gray for text */
  --light: #F7F9FC;           /* Off-white for backgrounds */
  --gray: #8494A4;            /* Medium gray for secondary text */
  --gray-light: #E1E5EA;      /* Light gray for borders */
  --success: #2ECC71;         /* Green for success states */
  --warning: #F39C12;         /* Amber for warning states */
  --danger: #E74C3C;          /* Red for error states */
  
  /* Typography */
  --font-primary: 'Segoe UI', 'Roboto', sans-serif;
  --font-heading: 'Segoe UI', 'Roboto', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
  color: var(--primary);
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: var(--spacing-sm);
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-md);
}

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

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

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

ul, ol {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

.text-right {
  text-align: right;
}

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.hidden {
  display: none !important;
}

.visible-md-up {
  display: none;
}

@media (min-width: 768px) {
  .visible-md-up {
    display: block;
  }
}

/* ===== BUTTONS ===== */
.btn, .cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.btn:hover, .cta-button:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

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

.btn-secondary:hover {
  background-color: #ff8255;
}

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

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

/* ===== NAVIGATION ===== */
.nav-container {
  position: fixed;
  width: 100%;
  max-width: 1000px;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius-lg);
  margin: 20px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.nav-menu {
  display: flex;
  width: 100%;
  justify-content: space-around;
  list-style: none;
  padding: 0 20px;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  padding: 10px 15px;
  transition: var(--transition-normal);
  border-radius: var(--border-radius-md);
  display: block;
}

.nav-link:hover {
  color: var(--primary);
  transform: translateY(-2px);
  background: rgba(42, 110, 187, 0.1);
}

.nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  z-index: 1001;
}

@media (max-width: 768px) {
  .nav-container {
    height: 60px;
    border-radius: var(--border-radius-md);
    margin-top: 10px;
  }
  
  .mobile-nav-toggle {
    display: block;
    position: absolute;
    right: 20px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    width: 100%;
    margin: 10px 0;
  }
  
  .nav-link {
    width: 100%;
    padding: 15px 20px;
    border-radius: 0;
  }
  
  .nav-link.active::after {
    display: none;
  }
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 20px;
  min-height: 100vh;
  scroll-margin-top: 80px;
}

@media (max-width: 768px) {
  section {
    padding: 80px 15px;
    min-height: auto;
  }
}

/* ===== HOME SECTION ===== */
.home-section {
  background-color: var(--light);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.home-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background-color: rgba(42, 110, 187, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.home-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
  border: 5px solid white;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.home-image:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

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

.home-text {
  text-align: center;
  max-width: 800px;
}

.subtitle {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: var(--spacing-md);
  font-weight: 500;
}

@media (min-width: 992px) {
  .home-content {
    flex-direction: row;
    text-align: left;
    gap: var(--spacing-xl);
  }
  
  .home-text {
    text-align: left;
  }
  
  .home-image {
    margin-bottom: 0;
  }
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background-color: var(--dark);
  position: relative;
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  z-index: 1;
}

.gallery-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  z-index: 1;
}

.gallery-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.gallery-react-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.gallery-slider {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-item {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: var(--shadow-lg);
}

.gallery-item.active {
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md);
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.gallery-item.active .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-indicator {
  font-size: 0.9rem;
  font-weight: 300;
}

.current-index {
  font-weight: 600;
  color: var(--secondary);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0.7;
}

.gallery-nav:hover {
  background-color: var(--primary);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.gallery-nav.prev {
  left: 20px;
}

.gallery-nav.next {
  right: 20px;
}

.gallery-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  background-color: var(--secondary);
  transform: scale(1.2);
}

.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: white;
  gap: var(--spacing-sm);
}

.loading-indicator i {
  font-size: 2rem;
  color: var(--secondary);
  animation: spin 1.5s infinite linear;
}

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

@media (max-width: 768px) {
  .gallery-react-container {
    height: 400px;
  }
  
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .gallery-dots {
    bottom: 10px;
  }
  
  .gallery-dot {
    width: 8px;
    height: 8px;
  }
}

/* ===== BLOG SECTION ===== */
.blog-section {
  background-color: var(--light);
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-article {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-xl);
  transition: var(--transition-normal);
}

.featured-article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.article-header {
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--gray-light);
}

.article-meta {
  display: flex;
  gap: var(--spacing-md);
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: var(--spacing-sm);
}

.article-content {
  padding: var(--spacing-lg);
}

.pull-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--primary);
  border-left: 3px solid var(--secondary);
  padding-left: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.author-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  box-shadow: var(--shadow-md);
}

.author-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--spacing-md);
  border: 3px solid var(--primary-light);
}

blockquote {
  font-style: italic;
  border-left: 3px solid var(--secondary);
  padding-left: var(--spacing-md);
  margin: var(--spacing-md) 0;
  color: var(--gray);
}

.article-grid {
  margin-top: var(--spacing-xl);
}

.article-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.read-more {
  display: inline-block;
  margin-top: var(--spacing-sm);
  font-weight: 600;
  color: var(--secondary);
}

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

.social-embed {
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg);
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .author-highlight {
    flex-direction: row;
    gap: var(--spacing-lg);
    text-align: left;
  }
  
  .author-image {
    margin-bottom: 0;
  }
  
  .article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
  }
}

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

.contact-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background-color: white;
  color: var(--dark);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-form input,
.contact-form textarea {
  padding: var(--spacing-md);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-md);
  font-family: var(--font-primary);
  transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(42, 110, 187, 0.2);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.social-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--gray-light);
  border-radius: var(--border-radius-md);
  transition: var(--transition-fast);
}

.social-item:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.social-icon {
  font-size: 1.2rem;
}

.publications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.publication-card {
  background-color: var(--gray-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  transition: var(--transition-fast);
}

.publication-card:hover {
  background-color: var(--primary-light);
  color: white;
}

.email-section {
  margin-top: var(--spacing-xl);
  text-align: center;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.1rem;
  color: var(--primary);
}

.email-link:hover {
  color: var(--secondary);
}

@media (min-width: 768px) {
  .contact-container {
    flex-direction: row;
  }
  
  .contact-card {
    flex: 1;
  }
  
  .publications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 100%;
  animation: gradientFlow 5s ease infinite;
}

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

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-logo {
  text-align: center;
}

.footer-logo h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: var(--spacing-xs);
}

.footer-logo p {
  color: var(--gray);
  font-size: 1rem;
}

.footer-links h4, .footer-contact h4 {
  color: var(--secondary);
  margin-bottom: var(--spacing-md);
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--gray-light);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  color: var(--gray-light);
}

.footer-contact i {
  color: var(--secondary);
  font-size: 1.1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--secondary);
  transform: translateY(-5px);
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-logo {
    text-align: left;
    flex: 1;
  }
  
  .footer-links, .footer-contact {
    flex: 1;
  }
}

/* ===== SOCIAL MEDIA FLOATING ===== */
.social-media-floating {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.social-media-floating a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  opacity: 0.7;
}

.social-media-floating a:hover {
  transform: scale(1.2);
  opacity: 1;
  color: white;
}

.social-media-floating a:nth-child(1):hover {
  background-color: #3b5998; /* Facebook */
}

.social-media-floating a:nth-child(2):hover {
  background-color: #1da1f2; /* Twitter */
}

.social-media-floating a:nth-child(3):hover {
  background-color: #0077b5; /* LinkedIn */
}

@media (max-width: 768px) {
  .social-media-floating {
    position: fixed;
    left: 0;
    top: auto;
    bottom: 0;
    transform: none;
    flex-direction: row;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    justify-content: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .social-media-floating a {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    box-shadow: none;
  }
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px 15px;
  z-index: 9999;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

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

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

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

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 1s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 1s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 2s ease infinite;
}

/* Animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  section {
    padding: 60px 15px;
  }
  
  .home-image {
    width: 200px;
    height: 200px;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .nav-container,
  .gallery-nav,
  .cta-button,
  .contact-form {
    display: none !important;
  }
  
  body {
    background-color: white;
    color: black;
  }
  
  section {
    padding: 20px 0;
    min-height: auto;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}