/* ════════════════════════════════════════════════
   santoriniphotographers.com — Main Stylesheet
   Dark luxury design · Alexandros Sirigos
   ════════════════════════════════════════════════ */

/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #080808;
  --surface:    #0f0f0f;
  --surface2:   #161616;
  --border:     #1c1c1c;
  --accent:     #c9a96e;
  --accent-d:   #a8833f;
  --text:       #f0ece4;
  --muted:      #888;
  --white:      #fff;
  --nav-h:      80px;
  --max:        1300px;
  --r:          3px;
  --ease:       0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  color: var(--white);
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; }
h3 { font-size: 1.45rem; font-weight: 600; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  border-radius: var(--r);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary  { background: var(--accent); color: #080808; }
.btn-primary:hover { background: var(--accent-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.25); }
.btn-outline  { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.7); }
.btn-full     { width: 100%; }

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  padding: 10px 26px;
  border-radius: var(--r);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: all var(--ease);
  background: transparent;
}
.btn-outline-sm:hover { background: var(--accent); color: #080808; }

/* ── Section commons ── */
section { padding: 110px 28px; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--muted);
  max-width: 540px;
  margin: 18px auto 0;
  line-height: 1.75;
  font-size: 0.95rem;
}
.section-cta { text-align: center; margin-top: 64px; }

/* ════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--ease), box-shadow var(--ease);
}
#navbar.scrolled {
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
}

.nav-logo { display: flex; flex-direction: column; gap: 3px; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
}
.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: #080808 !important;
  padding: 10px 26px !important;
  border-radius: var(--r) !important;
}
.nav-cta:hover { background: var(--accent-d) !important; color: #080808 !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.32s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8,8,8,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 44px;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; letter-spacing: 0.16em; }
  .nav-cta { padding: 14px 40px !important; }
}

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,0.28) 0%,
    rgba(8,8,8,0.18) 40%,
    rgba(8,8,8,0.72) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.hero-subtitle {
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.22em;
  margin-bottom: 52px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  z-index: 2;
  opacity: 0.7;
  transition: opacity var(--ease);
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2.2s ease infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }

/* ════════════════════════════════════════════════
   PORTFOLIO
   ════════════════════════════════════════════════ */
#portfolio { background: var(--bg); }

.portfolio-wrap {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
}
.portfolio-wrap.collapsed {
  max-height: 900px;
  overflow: hidden;
}
@media (max-width: 640px) {
  .portfolio-wrap.collapsed { max-height: 600px; }
}

.portfolio-grid {
  columns: 3 260px;
  column-gap: 6px;
}
.portfolio-item {
  break-inside: avoid;
  margin-bottom: 6px;
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
}
.portfolio-item img {
  width: 100%;
  display: block;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-item .p-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.38);
  opacity: 0;
  transition: opacity var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-item:hover .p-overlay { opacity: 1; }
.p-overlay span {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
}

/* Show more fade */
.portfolio-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 280px;
  background: linear-gradient(to bottom, transparent 0%, rgba(8,8,8,0.85) 55%, rgba(8,8,8,1) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
  pointer-events: none;
}
.portfolio-fade.hidden { display: none; }

.show-more-btn {
  pointer-events: all;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 40px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all var(--ease);
  backdrop-filter: blur(8px);
}
.show-more-btn:hover {
  background: rgba(201,169,110,0.15);
  border-color: var(--accent);
  color: var(--accent);
}
.show-more-btn svg { flex-shrink: 0; margin-top: -3px; }

/* Floating show less button */
.show-less-btn {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8,8,8,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
}
.show-less-btn.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.show-less-btn:hover {
  background: rgba(201,169,110,0.15);
  border-color: var(--accent);
  color: var(--accent);
}
.show-less-btn svg { flex-shrink: 0; margin-bottom: -3px; }

/* ════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════ */
#services { background: var(--surface); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  max-width: var(--max);
  margin: 0 auto;
}
.service-card { background: var(--bg); }

.service-img {
  height: 320px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  overflow: hidden;
}
.service-card:hover .service-img { transform: scale(1.02); }

.service-body { padding: 38px 36px; }
.service-body h3 { margin-bottom: 16px; color: var(--white); }
.service-body > p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.service-body ul {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-body li {
  font-size: 0.83rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.service-body li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-img { height: 260px; }
}

/* ════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════ */
#about { background: var(--bg); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -24px; left: -24px;
  right: 24px; bottom: 24px;
  border: 1px solid rgba(201,169,110,0.3);
  pointer-events: none;
}
.about-img {
  height: 640px;
  background-size: cover;
  background-position: center top;
}

.about-text .section-eyebrow { text-align: left; }
.about-text h2 { margin-bottom: 6px; }
.about-tagline {
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  margin-bottom: 30px;
  display: block;
}
.about-text p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 18px;
  font-size: 0.93rem;
}

.about-stats {
  display: flex;
  gap: 44px;
  margin: 40px 0;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 5px; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 52px; }
  .about-img { height: 440px; }
  .about-img-wrap::before { display: none; }
}

/* ════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════ */
#testimonials { background: var(--surface); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  max-width: 1300px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--bg);
  padding: 42px 36px;
}
.stars {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 5px;
  margin-bottom: 22px;
}
.testimonial-card > p {
  color: var(--muted);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 30px;
  font-size: 0.88rem;
}
.testimonial-author strong {
  display: block;
  color: var(--white);
  font-size: 0.88rem;
  margin-bottom: 5px;
  font-family: 'Playfair Display', serif;
}
.testimonial-author span {
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

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

/* ════════════════════════════════════════════════
   CONTACT / BOOKING
   ════════════════════════════════════════════════ */
#contact { background: var(--bg); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 90px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-text .section-eyebrow { text-align: left; }
.contact-text h2 { margin-bottom: 22px; }
.contact-text > p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 38px;
  font-size: 0.93rem;
}

.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}
.detail-icon { font-size: 1rem; flex-shrink: 0; }

/* Form */
.booking-form { display: flex; flex-direction: column; gap: 22px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-group { display: flex; flex-direction: column; gap: 9px; }

.form-group label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  border-radius: var(--r);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #444; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.08);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--surface2); }
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

#form-status {
  text-align: center;
  font-size: 0.86rem;
  min-height: 22px;
  transition: all var(--ease);
}
#form-status.success { color: #4ade80; }
#form-status.error   { color: #f87171; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 52px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 88px 28px 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto 72px;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.75;
  margin-top: 14px;
  max-width: 230px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li, .footer-col a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.footer-badges span {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 36px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom p:first-child { font-size: 0.78rem; color: var(--muted); }
.footer-bottom p:last-child  { font-size: 0.66rem; color: #333; }

@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════
   LIGHTBOX
   ════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-img-wrap {
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lb-img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  user-select: none;
}

.lb-close {
  position: absolute;
  top: 22px; right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color var(--ease);
  line-height: 1;
}
.lb-close:hover { color: var(--white); }

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  width: 54px; height: 54px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
  user-select: none;
}
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lb-prev:hover, .lb-next:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

/* ════════════════════════════════════════════════
   RESPONSIVE — Mobile
   ════════════════════════════════════════════════ */
@media (max-width: 640px) {
  section { padding: 76px 18px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .about-stats { gap: 28px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .nav-inner { padding: 0 20px; }
}
