/* 
  MARTMUT PICTURE & SMILE BOOTH 
  Global Stylesheet (Quiet Luxury Editorial System)
*/

:root {
  --accent-color: #007aff;
  --accent-hover: #0056b3;
  --text-primary: #1d1d1f;
  --text-secondary: #666666;
  --bg-color: #ffffff;
  --card-bg: #f8f8f8;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Bento Portfolio Layout (Editorial/Studio Style) */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Asset Protection */
img, video {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
  user-drag: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
}

/* Header Minimalist (Shared) */
.header-minimal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  background: transparent;
  transition: var(--transition);
}

.header-minimal.scrolled {
  padding: 15px 60px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.header-minimal.light-hero:not(.scrolled) .logo-editorial,
.header-minimal.light-hero:not(.scrolled) .nav-editorial a {
  color: #000;
}

.logo-editorial {
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -2px;
  color: #fff;
  text-transform: uppercase;
  transition: color 0.3s;
}

.header-minimal.scrolled .logo-editorial,
.header-minimal.scrolled .nav-editorial a {
  color: #000;
}

.nav-editorial {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-editorial a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.btn-get-touch {
  background: #fff;
  color: #000;
  padding: 12px 30px;
  border-radius: 50px; /* Capsule shape */
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}

.header-minimal.scrolled .btn-get-touch {
  background: #000;
  color: #fff;
}

.section {
  padding: 140px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
}

/* Global Typography Components */
.section-title {
  text-align: center;
  margin-bottom: 100px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(32px, 5vw, 48px);
}

.massive-branding {
  font-size: clamp(60px, 12vw, 180px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--bg-color);
}

/* Utility Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .header-minimal {
    padding: 15px 30px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .logo-editorial {
    font-size: 20px;
    color: #000 !important;
    z-index: 10001;
  }

  .hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10001;
    color: #000 !important;
    font-size: 24px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10000;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu .nav-editorial {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .nav-menu .nav-editorial a {
    color: #000 !important;
    font-size: 24px;
    font-weight: 700;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}

@media (min-width: 992px) {
  .hamburger {
    display: none;
  }

  .mobile-only {
    display: none !important;
  }
}

.mobile-only {
  display: none;
}

@media (max-width: 991px) {
  .nav-menu .nav-editorial a:hover {
    color: var(--accent-hover) !important;
    opacity: 0.7;
    transform: scale(1.05);
  }
}

/* --- SHARED COMPONENTS (FOOTER, WA, SOCIAL) --- */

.main-footer {
  padding: 100px 0 40px;
  background-color: #f8f9fb;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-brand {
  max-width: 450px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 55px;
  width: auto;
  filter: brightness(0);
}

.footer-logo span {
  font-weight: 800;
  font-size: 28px;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.brand-desc {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.social-icon {
  width: 54px;
  height: 54px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.02);
}

.social-icon:hover {
  transform: translateY(-8px); /* Subtle lift without zoom */
  color: #007aff;
  box-shadow: 0 15px 30px rgba(0,122,255,0.18);
  border-color: rgba(0,122,255,0.1);
}

.footer-contact {
  text-align: right;
}

.footer-contact h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #1d1d1f;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.contact-item:hover {
  color: #007aff;
}

.contact-item i {
  color: #007aff;
  font-size: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
  color: #86868b;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: #86868b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: #007aff;
  border-bottom-color: #007aff;
}

.btn-get-touch {
  background: #fff;
  color: #000;
  padding: 12px 30px;
  border-radius: 50px; /* Capsule shape consistency */
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}

.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: #fff;
  width: 65px;
  height: 65px;
  border-radius: 50%; /* Rounded back to full circle as requested */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa:hover {
  transform: scale(1.1) rotate(5deg);
}

.btn-pill-white {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #000000 !important;
  padding: 10px 25px;
  border-radius: 50px; /* Rounded back to pill shape as requested */
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.btn-pill-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  background: #f8f8f8;
}

@media (max-width: 991px) {
  .footer-grid {
    flex-direction: column;
    gap: 50px;
  }
  .footer-contact {
    text-align: left;
  }
  .contact-info {
    align-items: flex-start;
  }
}

/* --- ADVANCED ANIMATIONS (WA & REVEAL) --- */

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes tooltipShow {
  0%, 15% { opacity: 0; transform: translateX(20px); }
  20%, 45% { opacity: 1; transform: translateX(0); }
  50%, 100% { opacity: 0; transform: translateX(20px); }
}

.floating-wa {
  animation: waPulse 2s infinite;
}

.wa-tooltip {
  position: absolute;
  right: 75px;
  background: #ffffff;
  color: #1d1d1f;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
  pointer-events: none;
  border: 1px solid rgba(0,0,0,0.1);
  animation: tooltipShow 6s infinite;
}

.wa-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #ffffff;
}

.floating-wa:hover .wa-tooltip {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Automated Desktop View Notice */
.desktop-view-notice {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  width: auto;
  min-width: 320px;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.desktop-view-notice.is-visible {
  top: 30px;
  pointer-events: auto;
}

.notice-container {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.notice-icon {
  background: var(--text-primary);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.notice-text {
  display: flex;
  flex-direction: column;
}

.notice-text strong {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.2;
}

.notice-text span {
  font-size: 11px;
  color: var(--text-secondary);
}

.notice-close {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 5px;
  margin-left: 10px;
  display: flex;
  align-items: center;
}

.desktop-view-notice.fade-out {
  top: -100px;
  opacity: 0;
}

@media (max-width: 768px) {
  .desktop-view-notice {
    width: 90%;
    min-width: auto;
  }
}
