/* ==========================================================================
   FRAMES PAGE STYLES (frames.css)
   - Interactive Eyewear Gallery (Basic, Trendy, Designer, Children's)
   - Fullscreen 4-Video Modal
   - 2-Column Dark Navy Footer (Left: Contact Info | 80px Gap | Right: Navigation)
   - Social Media Button Grid (Telegram, Facebook, TikTok, Instagram)
   - Circular Broader Footer Brand Image & Slogan
   ========================================================================== */

/* ================= 1. GALLERY GRID ================= */
.frames-gallery { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); 
  gap: 22px; 
}

.frame-box {
  background: #ffffff;
  border: 1px solid var(--slate-border);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.frame-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.frame-visual {
  height: 150px;
  background: var(--slate-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.frame-brand-label { 
  color: var(--primary); 
  font-size: 0.78rem; 
  font-weight: 700; 
  text-transform: uppercase; 
}

.frame-box h4 { 
  font-size: 1.18rem; 
  color: var(--dark-navy); 
  margin: 6px 0 12px; 
  font-weight: 700; 
}

.interactive-badge {
  display: inline-block;
  background: #e0f2fe;
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ================= 2. VIDEO FULLSCREEN MODAL ================= */
.modal-3d {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.98);
  z-index: 2000;
  flex-direction: column;
}
.modal-3d.active { display: flex; }

.modal-header {
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.modal-close {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#video-container { 
  flex: 1; 
  width: 100%; 
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 5% 95px;
  overflow: hidden;
}

.frame-video {
  display: none;
  width: 100%;
  max-width: 900px;
  max-height: 100%;
  border-radius: 16px;
  background: #000000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  object-fit: contain;
  pointer-events: none;
}

.frame-video.active {
  display: block;
}

.modal-toolbar {
  position: absolute;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 20;
  max-width: 92%;
}

.color-swatch { 
  width: 28px; 
  height: 28px; 
  border-radius: 50%; 
  border: 2px solid #fff; 
  flex-shrink: 0;
  pointer-events: none;
  cursor: default;
}
.swatch-gold { background: #d97706; }
.swatch-black { background: #18181b; }
.swatch-blue { background: #0284c7; }
.swatch-green { background: #10b981; }

/* ================= 3. FOOTER 2-COLUMN LAYOUT ================= */
.site-footer {
  background: var(--dark-navy);
  color: #94a3b8;
  padding: 45px 5% 20px;
  margin-top: auto;
  text-align: left;
}

.footer-grid-container {
  display: grid;
  /* Left column: Contact Info | Right column: Navigation */
  grid-template-columns: 1fr 300px;
  gap: 80px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 35px;
  align-items: start;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
  text-align: left;
}

/* Left Contact Column */
.footer-info-col {
  grid-column: 1 / 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 540px;
  text-align: left;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: #cbd5e1;
  text-align: left;
}

.footer-info-item p {
  margin: 0;
  line-height: 1.5;
}

.footer-info-item iconify-icon {
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-info-item a {
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
}

.footer-info-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Social Media Button Grid (Dark Navy Footer) */
.social-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1 !important;
  transition: all 0.2s ease;
}

.social-btn iconify-icon {
  font-size: 1.1rem;
}

.social-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
}

.social-btn.telegram:hover {
  border-color: #38bdf8;
  color: #38bdf8 !important;
}

.social-btn.facebook:hover {
  border-color: #60a5fa;
  color: #60a5fa !important;
}

.social-btn.tiktok:hover {
  border-color: #f8fafc;
  color: #ffffff !important;
}

.social-btn.instagram:hover {
  border-color: #f472b6;
  color: #f472b6 !important;
}

/* Right Navigation Column */
.footer-nav-col {
  grid-column: 2 / 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
  justify-self: end;
}

.footer-bottom-nav {
  width: 100%;
}

.footer-bottom-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.b-nav-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.02);
}

.b-nav-link iconify-icon {
  font-size: 1.15rem;
  color: var(--accent);
}

.b-nav-link:hover {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.15);
  transform: translateX(4px);
}

.b-nav-link.active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.25);
  font-weight: 700;
  border-left: 3px solid var(--primary);
}

.b-nav-link.b-nav-cta {
  background: var(--primary);
  color: #ffffff;
  justify-content: center;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.b-nav-link.b-nav-cta iconify-icon {
  color: #ffffff;
}

.b-nav-link.b-nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ================= 4. CIRCULAR BOTTOM LOGO & MOTTO ================= */
.footer-bottom-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  gap: 10px;
}

.footer-bottom-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  background-color: #ffffff;
}

.footer-bottom-slogan {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
  margin: 0;
}

/* Subfooter Copyright */
.footer-bottom-bar {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #64748b;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================= 5. RESPONSIVE ================= */
@media (max-width: 868px) {
  .footer-grid-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-info-col, 
  .footer-nav-col {
    grid-column: 1 / 2;
    grid-row: auto;
    max-width: 100%;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .modal-toolbar {
    border-radius: 18px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 12px;
    gap: 8px;
  }

  .footer-bottom-img {
    width: 86px;
    height: 86px;
  }
}

/* Kodak Lens Note Style */
.kodak-footer-note {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  margin: 2px 0 0 0;
  letter-spacing: -0.2px;
}