/* =========================
   GENERAL
========================= */
body {
    scroll-behavior: smooth;
    padding-top: 100px;
}

/* =========================
   NAVBAR (PREMIUM + SHRINK)
========================= */
.custom-navbar {
    background: #0b0f19;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* NAV LINKS */
.custom-navbar .navbar-nav .nav-link {
    color: #ffffff !important;
    position: relative;
}

/* BRAND */
.custom-navbar .navbar-brand {
    color: #ffffff !important;
}

/* LOGO */
.logo-img {
    height: 45px !important;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 12px rgba(77,166,255,0.4));
    border-radius: 15px;
}

/* SHRINK NAVBAR */
.navbar.shrink {
    background: #0a1931 !important;
    padding: 5px 0;
}

/* SHRINK LOGO */
.navbar.shrink .logo-img {
    height: 80px;
}

/* TOGGLER FIX (for dark navbar) */
.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* NAV LINK HOVER LINE */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: 0;
    background: #4da6ff;
    transition: 0.3s;
}

/* HOVER EFFECT */
.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ACTIVE LINK */
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* =========================
   IMAGES
========================= */
.hero-img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}

.about-img {
    width: 100%;
    max-width: 500px;
    height: 280px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* =========================
   WHATSAPP FLOAT BUTTON
========================= */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 26px;
    line-height: 55px;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =========================
   CARDS & BUTTONS
========================= */
.card {
    border-radius: 12px;
    animation: fadeIn 0.5s ease-in-out;
}

.shadow-sm,
.card {
    transition: all 0.3s ease;
}

.card:hover,
.shadow-sm:hover {
    transform: translateY(-5px);
}

/* BUTTON EFFECT */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}

/* =========================
   SCROLL ANIMATIONS
========================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: 0.8s;
}

.fade-left.show {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: 0.8s;
}

.fade-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* =========================
   GALLERY
========================= */
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* OVERLAY EFFECT */
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* =========================
   LINKS (GLOBAL)
========================= */
a {
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    text-decoration: none;
    opacity: 0.85;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
