/* 
 * About Page Specific Styles 
 * Requires Bootstrap 5 and base style.css
 */

/* Color Overrides (matching original design intent) */
.bg-dark-custom { background-color: #0e150e; }
.bg-surface { background-color: #161d16; }
.bg-surface-alt { background-color: #091009; }
.bg-darker { background-color: #0B0B0B; }
.text-primary { color: #4be277 !important; }
.btn-primary { 
    background-color: #22c55e; 
    border-color: #22c55e; 
    color: #fff;
}
.btn-primary:hover, .btn-primary:active {
    background-color: #1ea34d !important;
    border-color: #1ea34d !important;
}

/* Utilities */
.tracking-wide { letter-spacing: 0.05em; }
.min-vh-25 { min-height: 250px; }
.shadow-glow:hover { box-shadow: 0 0 20px rgba(34,197,94,0.25); transition: box-shadow 0.3s ease; }

@media (min-width: 768px) {
    .border-md-end { border-right: 1px solid rgba(255,255,255,0.1); }
}

/* Hero Section */
.about-hero {
    min-height: 400px;
    height: 60vh;
}
.hero-bg-image {
    background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuAwZf2x842Usd3PMCqhiIaZsTKMHcLIuJJGpkcNv4TvqQlalecDxqw1cjsywhjeqGiI_pQe8aJOWO4o77PsDUu1DcUtkiOLCfBnwBtrgeMyvwUw7AyGgkZtaA5gJMeUXm_h_5OFRBby1c8j-yCmoNdfcFsFn4hG4MCJXh1astNSNitXoFyGso3l_ON4BffjK9-PPcVh06VH6p6bfkCKvv9tTcvRyOA2BtXdo-0HwrQbS48xcksdKJM9rg');
    background-size: cover;
    background-position: center;
}

/* Owner Image Wrapper */
.owner-img-wrapper {
    width: 250px;
    height: 250px;
    overflow: hidden;                 /* Prevent image overflow */
    border-radius: 50%;               /* Perfect circle */
    background: #0B0B0B;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 0 40px rgba(34,197,94,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desktop */
@media (min-width: 768px) {
    .owner-img-wrapper {
        width: 350px;
        height: 350px;
    }
}

/* owner Image */
.owner-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* Makes any image fit perfectly */
    object-position: center;    /* Keep subject centered */
    display: block;
    filter: grayscale(100%);
    transition: filter .7s ease, transform .4s ease;
}

/* Hover Effect */
.owner-img-wrapper:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Features List Cards */
.diff-card {
    background-color: #0B0B0B;
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.diff-card:hover {
    border-color: rgba(34,197,94,0.4);
}

/* Certification Image */
.cert-img-wrapper{
    width:100%;
    max-width:520px;
    height:420px;
    margin:auto;
    background:#0B0B0B;
    border:1px solid rgba(255,255,255,.1);
    border-radius:20px;
    overflow:hidden;
    position:relative;
}

.cert-img-wrapper img{
    width:100%;
    height:100%;
    object-fit:contain;   /* Shows full certificate */
    object-position:center;
    padding:20px;
}

.cert-overlay{
    background:linear-gradient(to top,rgba(0,0,0,.75),transparent);
    pointer-events:none;
}

.cert-overlay .badge{
    backdrop-filter:blur(8px);
}

/* Visit Us Section */
.visit-card { background-color: #0B0B0B; }
.map-bg {
    background-image: url('https://www.gstatic.com/labs-code/stitch/stitch-placeholder-300x300.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    background-color: #2f372e;
    mix-blend-mode: screen;
}
.location-icon-glow { filter: drop-shadow(0 0 15px rgba(34,197,94,0.5)); }
.icon-box {
    width: 40px;
    height: 40px;
    background-color: #242c24;
}

/* Footer links */
.footer-link:hover { color: #4be277 !important; transition: color 0.3s ease; }
/* =========================================
   PREMIUM APPLE/STARTUP HERO SECTION (UPDATED)
   ========================================= */

.premium-about-hero {
  min-height: max(700px, 85vh);
  display: flex;
  align-items: center;
  background-color: #08110D;
  overflow: hidden;
  font-family: 'Be Vietnam Pro', -apple-system, sans-serif;
}

/* Background Gradients & Effects */
.hero-bg-gradient {
  background: linear-gradient(135deg, #08110D 0%, #0d1420 100%);
}

.hero-green-glow {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0) 65%);
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-grid-pattern {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), 
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Particles */
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 12px #22C55E;
  opacity: 0.4;
}
.p1 { top: 25%; left: 15%; animation: float 7s infinite ease-in-out; }
.p2 { top: 65%; left: 40%; animation: float 9s infinite ease-in-out reverse; }
.p3 { top: 35%; right: 45%; animation: float 6s infinite ease-in-out 1s; }
.p4 { bottom: 25%; right: 15%; animation: float 8s infinite ease-in-out 2s; }

/* Typography */
.premium-heading {
  font-size: clamp(40px, 5vw, 68px); /* Responsive sizing built-in */
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
}
.text-gradient-green {
  background: linear-gradient(135deg, #22C55E 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.premium-desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 85%;
}
.tracking-wide { letter-spacing: 1.5px; }

/* Left Side Elements */
.badge-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
}
.premium-highlights span.material-symbols-outlined {
  font-size: 20px;
}
.stats-glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* Right Side Collage */
.collage-wrapper {
  position: relative;
  height: 550px;
  width: 100%;
}
.collage-img {
  position: absolute;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  object-fit: cover;
  animation: floatImg 5s ease-in-out infinite;
}

/* Image Positioning */
.img-shop { width: 60%; height: 250px; top: 0; right: 0; z-index: 1; animation-delay: 0s; }
.img-owner { width: 50%; height: 270px; top: 120px; left: 0; z-index: 2; animation-delay: -1.5s; }
.img-repair { width: 55%; height: 230px; bottom: 30px; right: 5%; z-index: 3; animation-delay: -3s; }

/* Floating Review & Feature Cards */
.float-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
  z-index: 5;
  animation: floatImg 6s ease-in-out infinite reverse;
}
.icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-apollo { top: -10px; right: 15px; animation-delay: -1s; }
.fc-customers { bottom: 100px; left: -10px; animation-delay: -2s; }
.fc-privacy { bottom: -5px; right: 15%; animation-delay: -4s; }

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-15px) scale(1.1); opacity: 0.8; }
}
@keyframes floatImg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
  .collage-wrapper { height: 480px; }
  .img-shop { height: 200px; }
  .img-owner { height: 220px; }
  .img-repair { height: 180px; }
}

@media (max-width: 991px) {
  .premium-about-hero { min-height: auto; padding: 100px 0; text-align: center; }
  .premium-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .premium-highlights { align-items: center; }
  .collage-wrapper { height: 500px; margin-top: 60px; margin-bottom: 20px; }
  .fc-customers { left: 5%; bottom: 80px; }
  .fc-privacy { right: 5%; bottom: -10px; }
  .img-owner { top: 100px; }
}

@media (max-width: 575px) {
  .collage-wrapper { height: 400px; }
  .img-shop { height: 160px; width: 70%; }
  .img-owner { height: 170px; width: 65%; top: 80px; }
  .img-repair { height: 140px; width: 75%; bottom: 40px; }
  .float-card { transform: scale(0.85); transform-origin: center; }
}


/*=========================
Instagram Reel Showcase
=========================*/

.reel-showcase{
    background:#0b1110;
    position:relative;
    overflow:hidden;
}

.reel-showcase::before{

    content:"";

    position:absolute;

    width:700px;
    height:700px;

    background:radial-gradient(circle,
    rgba(34,197,94,.08),transparent 70%);

    top:-200px;
    right:-250px;
}

.reel-tag{

    display:inline-flex;

    gap:8px;

    align-items:center;

    padding:10px 18px;

    border-radius:40px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    color:#22c55e;

    font-weight:600;

}

.reel-card{

    background:#101818;

    border:1px solid rgba(255,255,255,.08);

    border-radius:28px;

    overflow:hidden;

    transition:.4s;

}

.reel-card:hover{

    transform:translateY(-10px);

    border-color:#22c55e;

    box-shadow:0 25px 60px rgba(34,197,94,.18);

}

.reel-phone{

    width:100%;

    display:flex;

    justify-content:center;

    padding:30px;

}

.reel-phone video{

    width:260px;

    aspect-ratio:9/16;

    object-fit:cover;

    border-radius:35px;

    border:8px solid #222;

    background:#000;

    box-shadow:0 20px 50px rgba(0,0,0,.5);

}

.instagram-btn{

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#22c55e;

    color:white;

    font-size:22px;

    text-decoration:none;

    transition:.3s;

}

.instagram-btn:hover{

    transform:rotate(10deg) scale(1.1);

    background:#18a34a;

}

@media(max-width:768px){

.reel-phone video{

    width:220px;

}

}

.reel-video:fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    border-radius: 0;
    background: #000;
}

/* Safari / older WebKit browsers */
.reel-video:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    border-radius: 0;
    background: #000;
}