/* =========================
   SHAYA UDOFF - REWRITTEN STYLESHEET
   Glassmorphism (iOS-like) theme
   Clean, organized, responsive, mobile-first
   Background image: img/AZ_sunset.jpeg
   ========================= */

:root{
  --glass-bg: rgba(255,255,255,0.12);
  --glass-bg-strong: rgba(255,255,255,0.22);
  --glass-border: rgba(255,255,255,0.28);
  --text: #0b0b0b;
  --muted: rgba(11,11,11,0.65);
  --accent: rgba(255,255,255,0.85);
  --shadow: 0 14px 40px rgba(12,12,16,0.28);
  --radius: 16px;
  --backdrop: blur(14px);
}

/* -------------------------
   RESET + BASE
   ------------------------- */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background: url('img/AZ_sunset.jpeg') center center / cover no-repeat fixed;
  background-color: rgba(255, 255, 255, 0.05);
  padding-top: 100px;
}

/* Utility containers */
.container{width:min(1150px,94%);margin:0 auto}
.center{display:flex;align-items:center;justify-content:center}
.column{display:flex;flex-direction:column}

/* -------------------------
   NAVBAR (desktop + mobile)
   - hamburger top-left on mobile
   - slide-in panel from left
   ------------------------- */
/* === NAVBAR (Refined Float & Consistency) === */
.navbar {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 92%);
  z-index: 1200;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 12px 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  transition: all 0.3s ease;
}

/* Desktop menu */
/* Nav links container - centered alignment */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center; /* centers the nav links horizontally */
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

/* Nav links */
.navbar a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.navbar a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.navbar a.active {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Mobile hamburger adjustments */
@media (max-width: 768px) {
  .navbar {
    left: 16px;
    transform: none;
    top: 22px; /* same floating feeling on mobile */
    width: auto;
  }

  .mobile-toggle {
    display: flex;
    position: fixed;
    left: 20px;
    top: 22px; /* matches navbar drop */
    z-index: 1500;
  }

  .navbar ul {
    display: none;
  }

  .navbar-inner {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
}

/* slide-in side panel */
.side-panel{
  position:fixed;top:0;left:0;height:100vh;width:320px;max-width:85vw;
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.06));
  border-right:1px solid rgba(255,255,255,0.12);
  box-shadow: 8px 0 40px rgba(12,12,16,0.35);
  transform:translateX(-105%);
  transition:transform .36s cubic-bezier(.2,.9,.2,1);
  backdrop-filter: var(--backdrop);
  z-index:1400;
  padding:70px 20px 20px 20px; /* leave space for top */
}
.side-panel.open{transform:translateX(0)}
.side-panel nav ul{display:flex;flex-direction:column;gap:12px}
.side-panel nav a{padding:12px 14px;border-radius:12px;font-size:1.05rem;color:var(--text)}
.side-panel .close-btn{position:absolute;top:14px;right:12px;background:transparent;border:none;font-size:20px;color:var(--text);cursor:pointer}

/* -------------------------
   PAGE CONTENT CENTERING
   ------------------------- */
.page-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: calc(100vh - 160px);
  padding: 60px 20px;
  box-sizing: border-box;
  width: 100%;
}
.page-content > *{max-width:920px;width:100%}
.page-content p, .page-content h1, .page-content h2, .page-content h3, .page-content h4{max-width:760px;margin:10px auto;line-height:1.6}

/* -------------------------
   GLASS CARDS / BOXES
   ------------------------- */
.card{
  background: var(--glass-bg);
  border:1px solid var(--glass-border);
  border-radius: calc(var(--radius) - 2px);
  padding:18px;
  box-shadow:var(--shadow);
  backdrop-filter: var(--backdrop);
}

.card-strong{background:var(--glass-bg-strong)}

/* homepage boxes */
.about-me-box, .social-media-box, .name, .quote-card, #contact-form, footer {
  margin: 18px auto;
  padding: 24px;
  border-radius: 16px;
  width: min(600px, 94%);
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.about-me-box:hover {
  transform: scaleX(1.02);
}

.about-me-box,
.name {
  margin: 18px auto;
  padding: 24px;
  border-radius: 16px;
  width: min(600px, 94%);
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: shadow-drop-2-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  -webkit-animation: shadow-drop-2-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}


.about-me-box h2{font-size:1.6rem;margin-bottom:8px}

.about-text-box {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
  backdrop-filter: none;
  text-align: left;
  line-height: 1.7;
}

/* contact form tweaks */
#contact-form{display:flex;flex-direction:column;gap:12px}
#contact-form input, #contact-form textarea{padding:12px;border-radius:10px;border:1px solid rgba(255,255,255,0.14);background:rgba(255,255,255,0.04);color:var(--text)}
#contact-form button{padding:12px;border-radius:10px;border:none;background:rgba(0,0,0,0.8);color:#fff;font-weight:700;cursor:pointer}

/* projects */
.projects-container{min-height:60vh;display:flex;align-items:center;justify-content:center;padding:40px 18px}
.projects-container .under-construction{max-width:720px;padding:36px;border-radius:18px}
.road-block{font-size:5.5rem;opacity:0.06;pointer-events:none}

/* quotes */
.quote-card{background:linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));padding:26px;border-radius:14px;max-width:700px;margin:16px auto;box-shadow:0 8px 30px rgba(0,0,0,0.12)}
.quote-text{font-style:italic;color:var(--muted);font-size:1.1rem}
.quote-author{text-align:right;font-weight:700;color:var(--text);margin-top:12px}

/* photo gallery */
.photo-gallery{padding:30px 18px;max-width:1200px;margin:0 auto}
.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}
.photo-grid img{width:100%;height:180px;object-fit:cover;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,0.12)}

/* footer */
footer {
  padding: 18px 10px;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.28); /* increased opacity for a whiter look */
  color: var(--text);
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* -------------------------
   RESPONSIVE RULES
   Mobile-first; then scale up
   ------------------------- */
@media (max-width: 980px){
  body{padding-top:72px}
  .navbar-inner{padding:8px 14px}
}


@media (min-width: 769px){
  /* desktop layout show full navbar */
  .mobile-toggle{display:none}
  .side-panel{display:none}
  .navbar ul{display:flex}
  .navbar{left:50%;transform:translateX(-50%)}
  .page-content{min-height:calc(100vh - 120px)}
}

/* small tweaks for very small phones */
@media (max-width:420px){
  .photo-grid img{height:120px}
  .quote-text{font-size:1rem}
  .about-me-box, .name{padding:14px}
}

/* Accessibility helpers */
.sr-only{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* End of stylesheet */
/* Social media box - new style */
/* Social media box - updated style */
.social-media-box {
  margin: 18px auto;
  padding: 16px 20px;
  border-radius: 12px;
  width: min(380px, 90%);
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.social-media-box h4 {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.social-icons a i {
  font-size: 1.4rem;
  color: var(--color);
}

.social-icons a:hover {
  transform: scale(1.15);
  background: var(--color);
  box-shadow: 0 0 18px var(--color);
}

.social-icons a:hover i {
  color: #fff;
}
/* Contact Page Styling */
.contact-header.card,
#contact-form.card {
  max-width: 600px;
  width: 90%;
  margin: 18px auto;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.25);
  text-align: center;
}

/* WhatsApp link styling - no card, greenish-blue gradient, hover effect */
.whatsapp a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: #25D366; /* default WhatsApp greenish-blue */
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  border: none; /* remove outer box style */
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.whatsapp a:hover {
  background: #128C7E; /* darker WhatsApp green-blue on hover */
  transform: translateY(-1px);
}

/* Contact form input and textarea - subtle recessed shadow */
#contact-form input,
#contact-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.08); /* small inward shadow for depth */
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* Remove the glass card styling around WhatsApp button */
.whatsapp.card {
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

/* -------------------------
   PHOTO PAGE STYLING
   ------------------------- */

/* Photo gallery container */
.photo-gallery.card {
  padding: 32px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  text-align: center;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

/* Individual images */
.photo-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.photo-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

/* Lightbox overlay */
#lightboxOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1200;
}

#lightboxImage {
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
  transition: transform 0.25s ease;
}

#lightboxImage:hover {
  transform: scale(1.02);
}

/* Lock overlay */
.lock-overlay {
  position: fixed;
  top: 80px; /* leave space for navbar */
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
}

.lock-box {
  background: rgba(255,255,255,0.10);
  padding: 36px 48px;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease;
}

.lock-box h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #fff;
}

.lock-box input {
  padding: 12px;
  font-size: 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  color: #fff;
  text-align: center;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.12);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lock-box input:focus {
  outline: none;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

.lock-box button {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #00000084; /* WhatsApp-style green for unlock button */
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lock-box button:hover {
  background: #ffffff9d;
  transform: translateY(-1px);
}

.lock-message {
  font-size: 0.95rem;
  color: #ff2121;
  margin-top: 4px;
  min-height: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .photo-gallery.card {
    padding: 24px 16px;
  }

  .photo-grid img {
    height: 140px;
  }

  .lock-box {
    padding: 28px 24px;
  }

  .lock-box h2 {
    font-size: 1.4rem;
  }
}
/* -------------------------
   PROJECTS PAGE STYLING
   ------------------------- */

.projects-page .page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  min-height: calc(100vh - 160px);
}

/* Glass box for under-construction message */
.projects-box {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 40px 30px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  backdrop-filter: blur(16px);
}

.projects-box h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text);
}

.projects-box p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Button inside the projects box */
.projects-box a.button {
  display: inline-block;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.projects-box a.button:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
}

/* Icon / emoji overlay style */
.road-block {
  font-size: 5rem;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .projects-box {
    padding: 30px 20px;
  }

  .projects-box h2 {
    font-size: 1.5rem;
  }

  .road-block {
    font-size: 4rem;
  }
}
/* --- FIX MOBILE NAVBAR INTERACTION --- */

/* Ensure the hamburger button is visible and clickable */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 2000;
  pointer-events: auto;
}

.mobile-toggle .bar {
  height: 3px;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Ensure side panel sits on top of all content when open */
.side-panel {
  z-index: 1900 !important;
}

/* When open, allow full interaction */
.side-panel.open {
  transform: translateX(0);
  pointer-events: auto;
}

/* When closed, prevent accidental clicks */
.side-panel:not(.open) {
  pointer-events: none;
}
/* --- NAVBAR BRAND + MOBILE VISIBILITY FIX --- */

/* Hide brand text completely */
.navbar .brand {
  display: none;
}

/* Show hamburger only on mobile screens */
@media (min-width: 769px) {
  .mobile-toggle {
    display: none !important;
  }
}
.road-block {
  font-size: 8rem;
  opacity: 1;
  text-align: center;
}

.quotes-header-container {
  text-align: center;
  margin-bottom: 40px;
}
@-webkit-keyframes shadow-drop-2-center {
  0% {
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
            box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  }
}

@keyframes shadow-drop-2-center {
  0% {
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
            box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  }
}
