/* Custom Styles for Sonia Avni Portfolio */

/* Import custom font - Using a blocky, bold font */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
  /* Define color palette based on the references */
  --dark-green: #1b342e;
  --olive-green: #50583c;
  --sage-green: #7a9e7e;
  --gold: #c9ad6a;
  --mauve: #8d6a78;
  --deep-purple: #3a2449;
  --light-gray: #e4e4e4;
  --custom-cream: #fcd1d7;
}

/* Base styles */
body {
  font-family: 'Bebas Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--custom-cream);
}

/* Full-height sections */
section {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Overlay to darken the background image */
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* Blurred background for images */
.bg-blur {
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
}

.bg-blur::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  background-attachment: fixed;
  filter: blur(8px);
  z-index: -1;
}

/* Transitions for menu items */
#mobile-menu ul li a {
  display: block;
  transition: transform 0.3s ease, color 0.3s ease;
}

#mobile-menu ul li a:hover {
  transform: translateX(10px);
}

/* PhotoSwipe customizations */
.pswp__img {
  object-fit: contain;
}

/* Desktop gallery enhancements */
.gallery-item {
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

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

/* Custom button styling */
.custom-button {
  background-color: var(--dark-green);
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-button:hover {
  background-color: var(--sage-green);
}

/* Mobile menu animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#mobile-menu:not(.hidden) {
  animation: fadeIn 0.3s ease-in-out;
  display: flex;
}

#close-menu {
  z-index: 60;
  position: absolute;
  top: 1rem;
  left: 1rem;
  cursor: pointer;
}

/* Social media hover effects */
footer a {
  transition: transform 0.3s ease;
}

footer a:hover {
  transform: translateY(-5px);
}

/* Media Queries */
@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }
  
  /* Centered text styles for laptop */
  h1, h2 {
    text-align: center;
    letter-spacing: 2px;
  }
  
  p {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 1023px) {
  /* Mobile-specific styles */
  header h1 {
    font-size: 1.75rem;
  }
}

/* Custom text color class */
.text-cream {
  color: var(--custom-cream);
}

.bg-cream {
  background-color: var(--custom-cream);
}

a:hover {
  color: #e8b89e;
  text-shadow: 0 0 1px rgba(0,0,0,0.4);
  outline: none;
  border-bottom: 1px solid rgba(232,184,158,0.3);
  transition: all 0.2s ease;
}
