/* 
    Front Photobooth - Premium Playful Theme
    Based on Bootstrap 5
*/

:root {
    --fp-primary: #F77B0F;
    --fp-primary-light: #FFAF32;
    --fp-secondary: #FFA161;
    --fp-bg: #FFFFFF;
    --fp-bg-alt: #FFF4EB;
    /* Very light soft orange */
    --fp-text-main: #212529;
    --fp-text-muted: #555555;

    --fp-gradient: linear-gradient(180deg, #f77b0f 0%, #ffaf32 100%);
    --fp-shadow-soft: 0 16px 40px rgba(247, 123, 15, 0.08);
    --fp-shadow-polaroid: 0 10px 30px rgba(0, 0, 0, 0.08);

    --fp-font-heading: 'Outfit', sans-serif;
    --fp-font-body: 'Outfit', sans-serif;
    --fp-font-handwritten: 'Kalam', cursive;

    --fp-radius: 24px;
    --fp-section-space: clamp(4rem, 8vw, 6rem);
    --fp-media-height: clamp(190px, 22vw, 260px);
}

html,
body {
    background: linear-gradient(180deg, #f77b0f 0%, #fb8e1f 45%, #ffaf32 100%);
}

body {
    color: var(--fp-text-main);
    font-family: var(--fp-font-body);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--fp-font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--fp-text-main);
    line-height: 1.2;
}

/* Typography Helpers */
.font-handwritten {
    font-family: var(--fp-font-handwritten);
    font-weight: 700;
}

/* Typography Helpers */
.text-orange {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: #2c1a08;
}

.text-muted-custom {
    color: #2f2418 !important;
    font-weight: 500;
}

.text-shadow-hero {
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.text-shadow-sm {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Backgrounds & Transitions */
.bg-orange-gradient {
    background: var(--fp-gradient);
}

.bg-alt {
    background-color: var(--fp-bg-alt);
}

.bg-white {
    background-color: #FFFFFF;
}

/* Keep full orange background across the whole page layout */
section.bg-white,
section.bg-alt,
section.bg-orange-gradient {
    background: transparent !important;
}

/* Remove visual section dividers so gradient stays seamless */
.wave-divider,
hr {
    display: none !important;
}

.section-padding {
    padding: var(--fp-section-space) 0;
}

.section-padding-top-0 {
    padding-top: 0;
    padding-bottom: var(--fp-section-space);
}

.section-padding-bottom-0 {
    padding-top: var(--fp-section-space);
    padding-bottom: 0;
}

.page-hero {
    padding: clamp(5rem, 8vw, 6rem) 0 clamp(4rem, 7vw, 6rem) 0;
}

.page-hero .lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-intro {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.media-uniform {
    height: var(--fp-media-height);
    overflow: hidden;
    background: #ececec;
}

.media-uniform img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Buttons */
.btn-playful {
    background: var(--fp-gradient);
    color: #111111;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.8rem;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(247, 123, 15, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-playful:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 12px 28px rgba(247, 123, 15, 0.4);
    color: #111111;
}

.btn-outline-playful {
    background: transparent;
    color: var(--fp-primary);
    border: 2px solid var(--fp-primary);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-playful:hover {
    background: var(--fp-bg-alt);
    transform: translateY(-2px);
    color: var(--fp-primary);
}

.btn-outline-dark-playful {
    background: transparent;
    color: #111111;
    border: 2px solid #111111;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-outline-dark-playful:hover {
    background: #111111;
    border-color: #111111;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Navbar */
.navbar-playful {
    background: transparent;
    border-bottom: 1px solid transparent;
    padding: 0.9rem 0;
    transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, padding 0.28s ease;
    width: 100%;
    top: 0;
    z-index: 1030;
}

.navbar-playful.is-scrolled {
    background: rgba(255, 255, 255, 0.86) !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.62rem 0;
}

.navbar-playful .nav-link {
    font-family: var(--fp-font-heading);
    font-weight: 700;
    color: var(--fp-text-muted);
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.navbar-playful .nav-link:hover,
.navbar-playful .nav-link.active {
    color: var(--fp-primary);
    background: var(--fp-bg-alt);
}

@media (max-width: 991.98px) {
    .navbar-playful {
        padding: 0.72rem 0;
    }

    .navbar-playful .navbar-collapse {
        margin-top: 0.7rem;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 16px;
        padding: 0.75rem;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

.btn-outline-oval {
    background: transparent;
    color: var(--fp-primary);
    border: 1.5px solid var(--fp-primary);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.btn-outline-oval:hover {
    background: var(--fp-bg-alt);
    transform: translateY(-2px);
}

.btn-solid-oval {
    background: var(--fp-gradient);
    color: #FFFFFF !important;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.btn-solid-oval:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 123, 15, 0.3);
}

.hover-orange:hover {
    color: var(--fp-primary) !important;
}

/* Icons styling */
.ph-icon {
    font-size: 1.5rem;
    display: inline-block;
    vertical-align: middle;
}

.ph-icon-lg {
    font-size: 2.5rem;
}

.ph-icon-xl {
    font-size: 3.5rem;
}

/* Cards & Layout */
.card-playful {
    background: #FFFFFF;
    border-radius: var(--fp-radius);
    padding: clamp(1.4rem, 2.8vw, 2.2rem);
    box-shadow: var(--fp-shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    height: 100%;
    position: relative;
    z-index: 2;
}

.testimonial-ig-card {
    padding: clamp(1rem, 2.2vw, 1.25rem);
    border-radius: 22px;
}

.instagram-embed-frame {
    width: 100%;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}

.instagram-embed-frame .instagram-media {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.testimonial-ig-caption {
    margin: 0;
    color: var(--fp-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    .instagram-embed-frame {
        min-height: 360px;
    }
}

.card-playful:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    z-index: 10;
}

.card-playful::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: #fff;
    border-radius: calc(var(--fp-radius) + 8px);
    z-index: -1;
    transform: rotate(-1.5deg);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: var(--fp-bg-alt);
    color: var(--fp-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

/* Photobooth Aesthetics */
.photo-strip {
    background: #FFFFFF;
    padding: 12px 12px 40px 12px;
    box-shadow: var(--fp-shadow-polaroid);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: fit-content;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.polaroid {
    background: #FFFFFF;
    padding: 14px 14px 50px 14px;
    box-shadow: var(--fp-shadow-polaroid);
    border-radius: 6px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.polaroid-text {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Outfit', cursive, sans-serif;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    opacity: 0.8;
}

.tape {
    position: absolute;
    top: -12px;
    left: 50%;
    width: 100px;
    height: 28px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateX(-50%) rotate(-3deg);
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Plain image mode: remove decorative frame/tape styling */
.photo-strip,
.polaroid {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.tape,
.polaroid-text,
.photo-strip > .mt-1,
.photo-strip > .mt-2 {
    display: none !important;
}

.photo-strip .rounded,
.photo-strip .rounded-1,
.photo-strip .rounded-2,
.polaroid .rounded,
.polaroid .rounded-1,
.polaroid .rounded-2 {
    border-radius: 0 !important;
}

.photo-strip img,
.polaroid img,
.client-logo-item img {
    background: #ececec;
    filter: none !important;
    opacity: 1 !important;
}

/* Floating Animations */
@keyframes floatY {
    0% {
        transform: translateY(0px) rotate(var(--rot, 0deg));
    }

    50% {
        transform: translateY(-12px) rotate(calc(var(--rot, 0deg) + 1deg));
    }

    100% {
        transform: translateY(0px) rotate(var(--rot, 0deg));
    }
}

.float-anim {
    animation: floatY 6s ease-in-out infinite;
}

.float-anim-delay {
    animation: floatY 7s ease-in-out infinite 1.5s;
}

/* Blob Elements */
.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    min-height: 95vh;
    display: flex;
    align-items: center;    
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
    padding-top: 100px;
    padding-bottom: 8rem;
    /* Space for wave */
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Sticky Corner Placeholders */
.hero-sticky-corners {
    position: sticky;
    top: calc(100vh - 120px);
    height: 0;
    width: 100%;
    z-index: 6;
    pointer-events: none;
}

.hero-photo-column {
    position: absolute;
    bottom: -300px;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
}

.hero-photo-column-left {
    left: 16px;
    align-items: flex-start;
}

.hero-photo-column-right {
    right: 16px;
    align-items: flex-end;
}

.hero-photo-placeholder {
    box-sizing: border-box;
    position: relative;
    background: linear-gradient(145deg, #fff4e9 0%, #ffe4cd 100%);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-transform: none;
    letter-spacing: 0.03em;
    color: #7b4009;
    font-weight: 600;
    text-align: center;
    padding: 0.65rem;
    overflow: hidden;
    opacity: 0.8;
}

.hero-photo-placeholder::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px dashed rgba(123, 64, 9, 0.22);
    pointer-events: none;
}

.hero-photo-placeholder i {
    font-size: 1.2rem;
    opacity: 0.55;
}

.hero-photo-placeholder span {
    font-size: 0.62rem;
    text-transform: uppercase;
    font-weight: 700;
}

.size-2r {
    width: 88px;
    aspect-ratio: 5 / 7;
}

.size-3r {
    width: 104px;
    aspect-ratio: 7 / 10;
}

.size-4r {
    width: 122px;
    aspect-ratio: 2 / 3;
}

.size-5r {
    width: 132px;
    aspect-ratio: 5 / 7;
}

.size-6r {
    width: 144px;
    aspect-ratio: 3 / 4;
}

.size-8r {
    width: 162px;
    aspect-ratio: 4 / 5;
}

/* Package Badge */
.package-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--fp-primary);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(247, 123, 15, 0.35);
    white-space: nowrap;
}

/* Checklist */
.checklist-custom li {
    position: relative;
    padding-left: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--fp-text-main);
}

.checklist-custom li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--fp-primary);
    font-size: 1.2rem;
}

/* Screen Flash Interaction */
.screen-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #FFFFFF;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-out;
}

.screen-flash.active {
    opacity: 0.7;
}

/* Scroll Anim */
.js-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.tilt-1 {
    --rot: -2deg;
    transform: rotate(-2deg);
}

.tilt-2 {
    --rot: 2deg;
    transform: rotate(2deg);
}

.tilt-3 {
    --rot: -4deg;
    transform: rotate(-4deg);
}

.tilt-4 {
    --rot: 4deg;
    transform: rotate(4deg);
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

/* Client Logos */
.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

@media (min-width: 576px) {
    .client-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .client-logos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 1399.98px) {
    .hero-sticky-corners {
        transform: scale(0.88);
        transform-origin: center bottom;
    }
}

@media (max-width: 1199.98px) {
    .hero-sticky-corners {
        transform: scale(0.78);
        transform-origin: center bottom;
    }
}

@media (max-width: 991.98px) {
    .hero-sticky-corners {
        display: none;
    }
}

.client-logo-item img {
    max-height: 50px;
    width: auto;
    max-width: 100%;
    filter: grayscale(100%) contrast(0%) brightness(1.5);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo-item:hover img {
    filter: grayscale(0%) contrast(100%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}
