:root {
  --primary-color: #e11d48;
  --primary-light: #fecdd3;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --border-color: #e5e7eb;
  --nav-bg: #ffffff;
  --nav-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  padding-top: 70px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================
   NAVIGATION STYLES
   ====================== */

.simple-nav {
  background: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.5rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  flex-shrink: 0;
}

.nav-brand a {
  text-decoration: none !important;
}

.nav-brand a:hover {
  text-decoration: none !important;
}

.logo {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  text-decoration: none !important;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none !important;
}

.logo-main {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.15em;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  margin-top: -1px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  display: block;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
  background: var(--bg-light);
}

.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--primary-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.nav-toggle:hover {
  background: var(--bg-light);
}

/* ======================
   HOME PAGE STYLES
   ====================== */

.photo-carousel {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: -70px;
}

.carousel-container {
  position: relative;
  height: 100%;
}

.carousel-slides {
  position: relative;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 100%;
}

.text-background h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  color: white;
}

.text-background p {
  font-size: 1.5rem;
  text-shadow: 4px 4px 8px rgba(2, 3, 2, 0.9);
  color: white;
  margin: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-btn.prev {
  left: 2rem;
}

.carousel-btn.next {
  right: 2rem;
}

.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: white;
  width: 30px;
  border-radius: 6px;
}

.testimonials-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.author {
  color: var(--primary-color);
  font-weight: 600;
}

.video-preview-section {
  padding: 5rem 0;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
}

/* ======================
   ABOUT PAGE STYLES
   ====================== */

.about-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #fecdd3, #fbcfe8);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.about-hero .lead {
  font-size: 1.3rem;
  color: var(--text-light);
  line-height: 1.6;
}

.our-story {
  padding: 5rem 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.story-content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

.story-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
}

.approach-section {
  padding: 5rem 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.approach-item {
  text-align: center;
}

.approach-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.approach-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.approach-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.approach-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ======================
   PHOTOGRAPHY PAGE STYLES
   ====================== */

.portfolio-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #fecdd3, #fbcfe8);
  text-align: center;
}

.portfolio-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.portfolio-header p {
  font-size: 1.3rem;
  color: var(--text-light);
}

.photo-gallery {
  padding: 3rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.photo-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay i {
  color: white;
  font-size: 2rem;
}

/* ======================
   LIGHTBOX STYLES
   ====================== */

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  animation: scaleIn 0.3s ease;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10002;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 10001;
  pointer-events: none;
}

.lightbox-nav-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  pointer-events: all;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-nav-btn:active {
  transform: scale(0.95);
}

/* ======================
   VIDEOS PAGE STYLES
   ====================== */

.video-gallery {
  padding: 3rem 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.video-item {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: white;
  transition: transform 0.3s ease;
}

.video-item:hover {
  transform: translateY(-5px);
}

.video-player {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info-small {
  padding: 1.5rem;
}

.video-info-small h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.video-info-small p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ======================
   CONTACT PAGE STYLES
   ====================== */

.contact-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #fecdd3, #fbcfe8);
  text-align: center;
}

.contact-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-header p {
  font-size: 1.3rem;
  color: var(--text-light);
}

.contact-form-section {
  padding: 3rem 0 5rem;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 0.75rem 2rem;
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
  font-size: 1rem;
}

.btn-primary:hover {
  background: #be123c;
}

/* ======================
   FOOTER STYLES
   ====================== */

.footer {
  background: #1f2937;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-item {
  text-align: center;
}

.footer-item i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-item span {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-item a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-item a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* ======================
   ANIMATIONS
   ====================== */

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* ======================
   RESPONSIVE DESIGN
   ====================== */

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.active {
    max-height: 400px;
  }

  .nav-link {
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    background: var(--primary-light);
    color: var(--primary-color);
  }

  /* Home Page Mobile */
  .text-background {
    padding: 1.5rem rem;
    margin: 0 1rem;
  }

  .text-background h1 {
    font-size: 2.5rem;
  }

  .text-background p {
    font-size: 1.2rem;
  }

  .carousel-btn {
    padding: 0.75rem;
  }

  .carousel-btn.prev {
    left: 1rem;
  }

  .carousel-btn.next {
    right: 1rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* About Page Mobile */
  .about-hero {
    padding: 6rem 0 3rem;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-hero .lead {
    font-size: 1.1rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-content h2 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .approach-icon {
    width: 70px;
    height: 70px;
  }

  .approach-icon i {
    font-size: 1.7rem;
  }

  /* Photography Page Mobile */
  .portfolio-header h1 {
    font-size: 2.2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Videos Page Mobile */
  .video-grid {
    grid-template-columns: 1fr;
  }

  /* Contact Page Mobile */
  .contact-header h1 {
    font-size: 2.2rem;
  }

  .contact-form {
    padding: 2rem;
    margin: 0 1rem;
  }

  /* Lightbox Mobile */
  .lightbox-nav-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .lightbox-nav {
    padding: 0 10px;
  }

  .lightbox-close {
    top: -40px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  /* Logo Mobile */
  .logo-main {
    font-size: 1.4rem;
  }

  .logo-sub {
    font-size: 0.55rem;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .text-background {
    padding: 1rem 1.5rem;
  }

  .text-background h1 {
    font-size: 2rem;
  }

  .text-background p {
    font-size: 1rem;
  }

  .contact-form-section .contact-form {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
}

@media (min-width: 769px) {
  .nav-menu {
    position: static;
    flex-direction: row;
    max-height: none;
    overflow: visible;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .video-item:hover,
  .video-player:hover,
  .testimonial-card:hover {
    transform: none;
  }
}
/* ======================
   CONTACT FORM ENHANCEMENTS
   ====================== */

.contact-inputs {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: var(--bg-light);
}

.contact-inputs:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.contact-inputs::placeholder {
  color: #a9a9a9;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ======================
   THANK YOU MESSAGE STYLES
   ====================== */

.thank-you-message {
  display: none;
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  animation: fadeIn 0.6s ease;
}

.thank-you-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.thank-you-icon {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.thank-you-message h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.thank-you-message p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 2rem 0;
}

/* ======================
   BUTTON LOADING STATES
   ====================== */

.btn-primary {
  position: relative;
  transition: all 0.3s ease;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading {
  display: none;
}

/* ======================
   ANIMATIONS
   ====================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================
   RESPONSIVE DESIGN
   ====================== */

@media (max-width: 768px) {
  .thank-you-message {
    padding: 2rem;
    margin: 1rem;
  }

  .thank-you-message h3 {
    font-size: 1.5rem;
  }

  .thank-you-message p {
    font-size: 1rem;
  }

  .thank-you-icon {
    font-size: 2.5rem;
  }
}
/* Debug styles */
.debug-info {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 2rem;
  font-family: "Courier New", monospace;
}

.debug-info h3 {
  color: #495057;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

#debugStatus {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Photo number indicator */
.photo-number {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: bold;
  z-index: 2;
}

/* Error state for photos */
.photo-item img[style*="border: 2px solid #e11d48"] {
  background: #fecdd3;
}
/* Photo badge */
.photo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(225, 29, 72, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 2;
  pointer-events: none;
}

/* Error state */
.photo-item img[style*="border: 2px solid red"] {
  background: #fecdd3;
  opacity: 0.7;
}

/* Loading state */
.photo-item img:not([src]) {
  background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
  min-height: 300px;
}
