/* ===== Base & Utilities ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: rgba(114, 47, 55, 0.15);
    color: #722F37;
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(254, 253, 251, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(114, 47, 55, 0.06);
}

/* ===== Floating Cards ===== */
.floating-card-1 {
    animation: float-slow 6s ease-in-out infinite;
}

.floating-card-2 {
    animation: float-medium 5s ease-in-out infinite 0.5s;
}

.floating-card-3 {
    animation: float-fast 4.5s ease-in-out infinite 1s;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== Service Cards ===== */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Frame Cards ===== */
.frame-card {
    cursor: pointer;
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== Mobile Menu ===== */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Form Focus ===== */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ===== Smooth hover for links ===== */
a {
    text-decoration: none;
}

/* ===== Custom scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fefdfb;
}

::-webkit-scrollbar-thumb {
    background: #f2a5ac;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e86f7a;
}

/* ===== Mobile responsive ===== */
@media (max-width: 768px) {
    #hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        display: none;
    }

    .main-photo-card {
        width: 100% !important;
        max-width: 100%;
    }
}
