/* Ana Stanciu Photography - Custom Styles */

:root {
  --background: #ffffff;
  --navy: #1F2937;
  --golden: #FBBF24;
  --coral: #FB7185;
  --sage: #FFF1F2;
  /* Used for background sections now (Blush) */
  --navbar-bg: rgba(255, 255, 255, 0.9);
  --services-bg: #FFF1F2;
  --contact-bg: #FFF1F2;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: white;
  color: #1f2937;
  line-height: 1.5;
}

/* Utility Classes */
.font-light {
  font-weight: 300;
}

.font-medium {
  font-weight: 500;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

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

.btn-navy:hover {
  background-color: rgba(61, 70, 84, 0.9);
}

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

.btn-golden:hover {
  background-color: rgba(245, 201, 96, 0.9);
}

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

.btn-coral:hover {
  background-color: rgba(229, 135, 106, 0.9);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #4b5563;
  color: var(--navy);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

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

.btn-white:hover {
  background-color: #f3f4f6;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f3f4f6;
  z-index: 50;
  background-color: var(--navbar-bg);
}

.nav-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem;
}

@media (min-width: 768px) {
  .nav-container {
    padding: 1rem 0;
  }
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 3rem;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: #4b5563;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #111827;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #4b5563;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid #f3f4f6;
  margin-top: 1rem;
}

.mobile-menu.open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.mobile-menu-links a {
  color: #4b5563;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}

/* Hero Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .carousel-container {
    height: 750px;
  }
}

@media (min-width: 1024px) {
  .carousel-container {
    height: 900px;
  }
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s;
}

.carousel-container:hover .carousel-nav-btn {
  opacity: 1;
}

.carousel-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background-color: black;
  width: 2rem;
}

/* Testimonial Carousel */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-out;
}

.testimonial-slide {
  flex-shrink: 0;
  width: 100%;
  padding: 0 1rem;
}

.testimonial-card {
  background-color: #f9fafb;
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 3rem;
  }
}

.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.testimonial-nav-btn:hover {
  background-color: #f9fafb;
}

.testimonial-prev {
  left: -3rem;
}

.testimonial-next {
  right: -3rem;
}

@media (max-width: 768px) {

  .testimonial-prev,
  .testimonial-next {
    display: none;
  }
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(249, 250, 251, 0.98);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 101;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 101;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1f2937;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
}

/* Portfolio Filters */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background-color: white;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 300;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* Footer */
.footer {
  background-color: var(--navy);
  color: white;
  padding: 2rem 1rem;
}

.footer-light {
  background-color: var(--contact-bg);
}

.footer-content {
  max-width: 72rem;
  margin: 0 auto;
}

.footer-divider {
  border-top: 1px solid #374151;
  margin-bottom: 2rem;
}

.footer-light .footer-divider {
  border-color: #9ca3af;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-light .footer-links a {
  color: #4b5563;
}

.footer-light .footer-links a:hover {
  color: #111827;
}

/* Sections */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: #111827;
  border-radius: 9999px;
}

.section-label-text {
  font-size: 0.875rem;
  color: #4b5563;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: #111827;
}

.form-textarea {
  border-radius: 1rem;
  resize: none;
}

/* Client Logos */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .client-logos {
    gap: 3rem;
  }
}

.client-logo {
  filter: grayscale(100%);
  height: 1.5rem;
}

@media (min-width: 768px) {
  .client-logo {
    height: 2.5rem;
  }
}

/* Grayscale utility */
.grayscale {
  filter: grayscale(100%);
}



/* Aspect Ratio */
.aspect-3-4 {
  aspect-ratio: 3/4;
}

/* Image galleries */
.gallery-image {
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-image:hover {
  opacity: 0.9;
}

/* Fix for bold hover shift */
.hover-bold-fix {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hover-bold-fix::after {
  content: attr(data-text);
  height: 0;
  visibility: hidden;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

.animate-marquee {
  animation: marquee 80s linear infinite;
}

.group:hover .animate-marquee {
  animation-play-state: paused;
}
