/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #F7F3F0;
  --primary-color: #4b4744;
  --secondary-color: #7a746e;
  --card-bg: #FFFFFF;
  --btn-hover: #353230;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--primary-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
  padding: 1.5rem 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(75, 71, 68, 0.08);
}

.logo img {
  height: 70px;
  object-fit: contain;
}

.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 2rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero p {
  color: var(--secondary-color);
  font-size: 1.15rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* Photographers Section */
.photographers-section {
  padding: 2rem 5% 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--bg-color);
  border: 1px solid rgba(75, 71, 68, 0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(75, 71, 68, 0.08);
}

.card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background-color: #eaddd3;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  will-change: transform;
}

.card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(to bottom, rgba(247, 243, 240, 0) 0%, rgba(247, 243, 240, 1) 15%);
}

.card-content h3 {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.bio {
  color: var(--secondary-color);
  font-size: 1rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.contact-info {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-weight: 400;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.8;
  stroke-width: 1.5;
}

.card-content .social-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(75, 71, 68, 0.08);
  align-items: center;
}

.social-links .social-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(75, 71, 68, 0.05);
  color: var(--secondary-color);
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

.social-links .social-icon:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 1.1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(75, 71, 68, 0.08);
  color: var(--secondary-color);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 1.5rem 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .cards-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .card-img-wrapper {
    aspect-ratio: 1/1;
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) backwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
