/* ============================================
   CliksArt Picture - Main Stylesheet
   Theme: Dark Vintage Photography
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #d4a843;
  --gold-light: #e8c96a;
  --dark: #0d0d0d;
  --dark-card: rgba(30, 30, 30, 0.85);
  --dark-overlay: rgba(13, 13, 13, 0.7);
  --white: #ffffff;
  --gray: #b0b0b0;
  --red: #e74c3c;
  --green: #27ae60;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Page Loader ---------- */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-camera {
  width: 60px;
  height: 60px;
  border: 4px solid var(--gold);
  border-radius: 12px;
  position: relative;
  animation: cameraShutter 1.4s ease-in-out infinite;
}

.loader-camera::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.loader-camera::after {
  content: '';
  position: absolute;
  top: -10px;
  right: 8px;
  width: 16px;
  height: 8px;
  background: var(--gold);
  border-radius: 4px 4px 0 0;
}

.loader-text {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 3px;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes cameraShutter {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.9); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- Background ---------- */
.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(13,13,13,0.92) 0%, rgba(30,25,15,0.88) 50%, rgba(13,13,13,0.95) 100%),
    url('https://images.unsplash.com/photo-1452587925148-ce544e77e70d?w=1920&q=80') center/cover no-repeat;
  z-index: -1;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
  transition: background 0.4s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.97);
  padding: 10px 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-icon {
  width: 46px;
  height: 46px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  position: relative;
}

.nav-logo-icon::before {
  content: '';
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 6px;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.1;
}

.nav-logo-text span {
  color: var(--gold);
  font-weight: 700;
}

.nav-logo-sub {
  font-size: 0.55rem;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  position: relative;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  opacity: 0;
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.4s ease;
  opacity: 0;
}

.hero-btn:hover {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.3);
}

/* ---------- Section Styles ---------- */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 15px;
  color: var(--white);
}

.section-divider {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 50px;
}

/* ---------- Gallery / Slider ---------- */
.gallery-section {
  padding: 80px 20px;
  text-align: center;
}

.slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-slide {
  min-width: 100%;
  position: relative;
}

.slider-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: rgba(0,0,0,0.5);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

/* ---------- Booking Form ---------- */
.booking-section {
  padding: 120px 20px 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.booking-info {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.booking-info h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 15px;
}

.booking-info p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.booking-map {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(212, 168, 67, 0.3);
}

.booking-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.5) contrast(1.1);
}

.office-hours {
  background: var(--dark-card);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(212, 168, 67, 0.2);
}

.office-hours h3 {
  font-family: var(--font-heading);
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.office-hours p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gold);
  color: var(--dark);
}

.booking-form-wrap {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
}

.form-group select option {
  background: #1a1a1a;
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  display: inline-block;
  padding: 14px 50px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.4s ease;
}

.submit-btn:hover {
  background: var(--gold-light);
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.3);
  transform: translateY(-2px);
}

.or-separator {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
  color: var(--gray);
}

.or-separator::before,
.or-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.contact-alt {
  display: flex;
  gap: 20px;
  align-items: center;
}

.contact-alt a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.3rem;
}

.contact-alt a:hover {
  border-color: var(--gold);
  background: rgba(212, 168, 67, 0.1);
}

/* ---------- Review Cards ---------- */
.reviews-section {
  padding: 120px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.review-card {
  background: var(--dark-card);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  width: 320px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 168, 67, 0.1);
}

.review-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.15);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
}

.review-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.review-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.review-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- About Section ---------- */
.about-section {
  padding: 120px 40px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.team-member {
  text-align: center;
  max-width: 350px;
}

.team-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  overflow: hidden;
  margin: 0 auto 20px;
  background: var(--dark-card);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.team-member p {
  color: var(--gold);
  font-style: italic;
  font-size: 0.95rem;
}

.about-story {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-story-img {
  flex: 0 0 350px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 67, 0.2);
}

.about-story-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.about-story-text {
  flex: 1;
  min-width: 300px;
}

.about-story-text p {
  color: var(--gray);
  line-height: 1.9;
  font-size: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  background: rgba(10, 10, 10, 0.95);
  border-top: 1px solid rgba(212, 168, 67, 0.15);
  padding: 60px 40px 30px;
  margin-top: 60px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--white);
}

.footer-col p,
.footer-col a {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col a {
  display: block;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--gray);
  font-size: 0.8rem;
}

/* ---------- Login Page ---------- */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-card {
  background: var(--dark-card);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 16px;
  padding: 50px 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.login-card h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 8px;
}

.login-card .login-sub {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 35px;
}

.login-card .form-group {
  text-align: left;
}

.login-card .submit-btn {
  width: 100%;
  margin-top: 10px;
}

.login-back {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold);
  font-size: 0.85rem;
  transition: opacity 0.3s;
}

.login-back:hover {
  opacity: 0.7;
}

/* ---------- Utility ---------- */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(13, 13, 13, 0.98);
    flex-direction: column;
    padding: 80px 30px 40px;
    gap: 25px;
    transition: right 0.4s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }

  .booking-section {
    flex-direction: column;
    align-items: center;
    padding: 120px 20px 40px;
  }

  .booking-info,
  .booking-form-wrap {
    max-width: 100%;
    width: 100%;
  }

  .team-grid {
    gap: 40px;
  }

  .about-story {
    flex-direction: column;
  }

  .about-story-img {
    flex: none;
    width: 100%;
  }

  .slider-slide img {
    height: 280px;
  }

  .reviews-grid {
    flex-direction: column;
    align-items: center;
  }

  .review-card {
    width: 100%;
    max-width: 400px;
  }

  .footer-grid {
    flex-direction: column;
  }

  .navbar {
    padding: 12px 20px;
  }

  .section {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .team-avatar {
    width: 120px;
    height: 120px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
