/* ==================== WO-PF-02: PHOTOGRAPHER PORTFOLIO ==================== */
/* Maya Photography - Elegant Photography Template */
/* Color Palette: Deep Purple, Rose Gold, Cream */

:root {
  --primary: #6b46c1;
  --primary-dark: #553c9a;
  --secondary: #d97706;
  --accent: #fbbf24;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #faf5ff;
  --bg-cream: #fef3c7;
  --white: #ffffff;
}

/* Override base colors */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(107, 70, 193, 0.4);
}

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

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

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

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

.section-badge {
  background: rgba(107, 70, 193, 0.1);
  color: var(--primary);
}

/* Typography */
body {
  font-family: 'Quicksand', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

/* Navbar Dark */
.navbar-dark {
  background: transparent;
}

.navbar-dark.scrolled {
  background: rgba(31, 41, 55, 0.95);
}

.navbar-dark .navbar-brand,
.navbar-dark .navbar-link {
  color: var(--white);
}

.navbar-dark .navbar-link:hover,
.navbar-dark .navbar-link.active {
  color: var(--secondary);
}

.navbar-dark .navbar-link::after {
  background: var(--secondary);
}

.navbar-dark .navbar-toggle span {
  background: var(--white);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
}

.navbar-brand span {
  color: var(--secondary);
}

/* Hero Photography */
.hero-photography {
  min-height: 100vh;
  background: url('https://images.pexels.com/photos/1024989/pexels-photo-1024989.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-photography .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.7) 0%, rgba(107, 70, 193, 0.5) 100%);
}

.hero-photography .container {
  position: relative;
  z-index: 1;
}

.hero-photography .hero-content {
  max-width: 700px;
  color: var(--white);
  text-align: center;
  margin: 0 auto;
}

.hero-photography .hero-badge {
  background: rgba(217, 119, 6, 0.3);
  color: var(--white);
}

.hero-photography .hero-title {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero-photography .hero-title span {
  color: var(--secondary);
}

.hero-photography .hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.hero-photography .hero-buttons {
  justify-content: center;
}

.hero-photography .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.hero-photography .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--secondary), transparent);
  margin: 12px auto 0;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.portfolio-large {
  grid-row: span 2;
}

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

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 41, 55, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(217, 119, 6, 0.3);
  color: var(--secondary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.portfolio-overlay h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  margin: 0;
}

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .portfolio-item {
    height: 250px;
  }

  .portfolio-large {
    grid-row: span 1;
    grid-column: span 2;
    height: 350px;
  }
}

@media (max-width: 576px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-large {
    grid-column: span 1;
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Muse Grid */
.muse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.muse-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(107, 70, 193, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(107, 70, 193, 0.08);
}

.muse-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
}

.muse-card h3 {
  margin: 8px 0 4px;
  font-size: 1.25rem;
}

.muse-card p {
  margin: 0;
  color: var(--text-light);
}

/* Boutique Grid */
.boutique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: 22px;
  border: 1px solid rgba(107, 70, 193, 0.15);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
}

.product-image {
  position: relative;
  height: 220px;
}

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

.product-badges {
  position: absolute;
  top: 16px;
  left: 16px;
}

.badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
}

.badge-primary {
  background: var(--primary);
}

.badge-success {
  background: var(--accent);
  color: var(--text-dark);
}

.product-content {
  padding: 24px;
}

.product-category {
  font-size: 0.85rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-content h3 {
  margin: 10px 0;
  font-size: 1.3rem;
}

.product-content p {
  color: var(--text-light);
  line-height: 1.6;
}

.product-footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Boutique Grid */
.boutique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: 22px;
  border: 1px solid rgba(107, 70, 193, 0.15);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
}

.product-image {
  position: relative;
  height: 220px;
}

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

.product-badges {
  position: absolute;
  top: 16px;
  left: 16px;
}

.badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
}

.badge-primary {
  background: var(--primary);
}

.badge-success {
  background: var(--accent);
  color: var(--text-dark);
}

.product-content {
  padding: 24px;
}

.product-category {
  font-size: 0.85rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-content h3 {
  margin: 10px 0;
  font-size: 1.3rem;
}

.product-content p {
  color: var(--text-light);
  line-height: 1.6;
}

.product-footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-light);
}

.service-features {
  margin-bottom: 20px;
}

.service-features li {
  padding: 6px 0;
  color: var(--text-light);
  font-size: 0.875rem;
  position: relative;
  padding-left: 20px;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--primary-dark);
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-icon {
  font-size: 2rem;
}

.about-badge strong {
  display: block;
  font-size: 1.125rem;
  color: var(--primary);
}

.about-badge span {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-achievements {
  display: flex;
  gap: 30px;
  margin: 32px 0;
}

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

.achievement-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

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

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-badge {
    left: 20px;
  }
}

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 60px;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
}

.testimonial-rating {
  color: var(--secondary);
}

/* CTA Photography */
.cta-photography {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-photography .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.cta-photography .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Instagram Grid */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.instagram-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
}

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

.instagram-item:hover img {
  transform: scale(1.1);
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 41, 55, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

@media (max-width: 992px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer */
.footer-brand {
  font-family: 'Playfair Display', serif;
}

.footer-brand span {
  color: var(--secondary);
}

.footer-social a:hover {
  background: var(--primary);
}

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

/* Section Alt */
.section-alt {
  background: var(--bg-light);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(107, 70, 193, 0.4);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

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