/* AsalFish Public Website — Custom Styles */

/* Float animation for hero card */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* ========================================
   Navbar — Navy angled panel
   ======================================== */

#navbar {
    position: relative;
}

.navbar-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: -24px; /* extend below to cover logo overflow */
    width: 32%;
    background-color: #0f172a; /* slate-900 */
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
    z-index: 1;
}

/* Mobile menu — thin navy left accent strip */
.navbar-mobile-accent {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background-color: #0f172a;
}

/* Navbar scroll state — shadow only, bg stays white */
#navbar.scrolled {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: rgba(26, 143, 255, 0.15);
    color: #111827;
}

/* Custom focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 143, 255, 0.15);
    border-color: #1A8FFF;
}

/* Gradient radial for hero glow */
.bg-gradient-radial {
    background: radial-gradient(circle, rgba(26, 143, 255, 0.25) 0%, rgba(26, 143, 255, 0.08) 40%, transparent 70%);
}

/* Smooth page transitions */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* AOS overrides for smoother feel */
[data-aos] {
    pointer-events: auto !important;
}

/* ========================================
   Decorative background shapes
   ======================================== */

/* Hero section — soft abstract circular background */
.hero-bg {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

/* Ring 1 — upper-center, behind hero image area */
.hero-bg::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    border: 90px solid rgba(75, 183, 238, 0.22);
    border-radius: 50%;
    top: -220px;
    right: 280px;
    z-index: 0;
    pointer-events: none;
}

/* Ring 2 — right side, overlapping the hero image */
.hero-bg::after {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    border: 100px solid rgba(75, 183, 238, 0.18);
    border-radius: 50%;
    top: 40px;
    right: -260px;
    z-index: 0;
    pointer-events: none;
}

/* Ring — single large circle, thick stroke, partially off-canvas right */
.bg-ring {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 70px solid rgba(100, 190, 255, 0.18);
    border-radius: 50%;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

/* Star — four-pointed sparkle, rotated 45° */
.bg-star {
    position: absolute;
    width: 28px;
    height: 28px;
    z-index: 0;
    pointer-events: none;
    transform: rotate(45deg);
}

.bg-star::before,
.bg-star::after {
    content: '';
    position: absolute;
    background: rgba(100, 190, 255, 0.45);
    border-radius: 2px;
}

.bg-star::before {
    width: 4px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.bg-star::after {
    height: 4px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

/* Star size variants */
.bg-star-sm { width: 16px; height: 16px; }
.bg-star-sm::before { width: 3px; }
.bg-star-sm::after { height: 3px; }

.bg-star-lg { width: 42px; height: 42px; }
.bg-star-lg::before { width: 5px; }
.bg-star-lg::after { height: 5px; }

/* Form select styling */
select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}
