
/* ==============================
   TANVIR CREATIONS
   Orange + White Tech Theme
================================ */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #252525;
    background: #fffdf9;
    line-height: 1.8;
    min-height: 100vh;
    padding: 50px 7%;
    overflow-x: hidden;
    position: relative;
    isolation: isolate;
}

/* Fluid orange background effects */
body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
    animation: fluidMove 12s ease-in-out infinite alternate;
}

body::before {
    width: 320px;
    height: 320px;
    background: rgba(255, 132, 35, 0.16);
    top: -100px;
    right: -90px;
}

body::after {
    width: 260px;
    height: 260px;
    background: rgba(255, 183, 77, 0.16);
    bottom: -90px;
    left: -90px;
    animation-delay: -5s;
}

@keyframes fluidMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-35px, 30px) scale(1.15);
    }

    100% {
        transform: translate(25px, -20px) scale(0.95);
    }
}

/* Main headings */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1.8px;
    margin-bottom: 25px;

    background: linear-gradient(
        100deg,
        #ff7a18,
        #ff4d00,
        #d93800
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    animation: fadeUp 0.8s ease both;
}

h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #252525;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 15px;
}

h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-top: 8px;
    border-radius: 20px;
    background: linear-gradient(90deg, #ff7a18, #ffb347);
    transition: width 0.35s ease;
}

h2:hover::after {
    width: 90px;
}

/* Paragraphs */
p {
    max-width: 900px;
    margin-bottom: 22px;
    font-size: 1rem;
    color: #55565d;
    line-height: 1.95;
}

/* Images */
img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 20px 0;
    border-radius: 18px;

    border: 1px solid rgba(255, 122, 24, 0.2);

    box-shadow:
        0 10px 30px rgba(40, 30, 20, 0.08),
        0 0 0 5px rgba(255, 122, 24, 0.04);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

img:hover {
    transform: translateY(-5px) scale(1.02);

    box-shadow:
        0 18px 40px rgba(255, 122, 24, 0.18),
        0 0 0 6px rgba(255, 122, 24, 0.07);
}

/* Modern buttons */
button {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    border-radius: 12px;

    padding: 13px 27px;
    margin: 5px 0 20px;

    color: #ffffff;
    background: linear-gradient(
        110deg,
        #ff7a18,
        #ff4d00
    );

    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;

    box-shadow: 0 7px 20px rgba(255, 100, 20, 0.22);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    transform: skewX(-25deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
}

button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(255, 100, 20, 0.35);
    filter: saturate(1.15);
}

button:hover::before {
    left: 150%;
}

button:active {
    transform: translateY(-1px) scale(0.98);
}

/* Bold text */
b,
strong {
    color: #292929;
    font-weight: 700;
}

/* Copyright footer */
body > p:last-of-type {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 122, 24, 0.2);
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Smooth entrance */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2,
img,
button {
    animation: fadeUp 0.8s ease both;
}

/* Mobile responsive */
@media (max-width: 600px) {
    body {
        padding: 30px 6%;
    }

    h1 {
        letter-spacing: -1px;
    }

    p {
        font-size: 0.94rem;
        line-height: 1.85;
    }

    img {
        border-radius: 14px;
    }

    button {
        padding: 12px 22px;
    }

    body::before {
        width: 220px;
        height: 220px;
    }

    body::after {
        width: 180px;
        height: 180px;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* =========================================
   TANVIR CREATIONS - FLUID NAVBAR
========================================= */

.navbar {
    position: relative;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

    width: 100%;
    padding: 16px 24px;
    margin: 0 0 45px;

    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 122, 24, 0.22);
    border-radius: 20px;

    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);

    box-shadow:
        0 8px 32px rgba(40, 30, 20, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    animation: navAppear 0.8s ease both;
}

/* Logo */
.navbar .logo {
    display: inline-flex;
    align-items: center;

    color: #242424;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;

    transition: transform 0.3s ease;
}

.navbar .logo span {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-left: 3px;

    background: #ff650e;
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(255, 101, 14, 0.55);
}

.navbar .logo:hover {
    transform: translateY(-2px);
}

/* Navigation links */
.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;
    overflow: hidden;

    color: #555;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;

    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

/* Soft fluid glow */
.nav-links a::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        rgba(255, 122, 24, 0.12),
        rgba(255, 183, 77, 0.04),
        rgba(255, 122, 24, 0.12)
    );

    opacity: 0;
    transform: translateX(-20%);
    transition:
        opacity 0.35s ease,
        transform 0.45s ease;
}

.nav-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.nav-links a:hover {
    color: #f15a0a;
    border-color: rgba(255, 122, 24, 0.16);
    transform: translateY(-2px);
}

/* Current page indicator */
.nav-links a.active {
    color: #fff;
    background: linear-gradient(
        120deg,
        #ff8a24,
        #ff5708
    );

    border-color: transparent;

    box-shadow:
        0 5px 16px rgba(255, 101, 14, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nav-links a.active::before {
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.22),
        transparent
    );
}

.nav-links a.active:hover {
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 101, 14, 0.32);
}

/* Entrance animation */
@keyframes navAppear {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 600px) {
    .navbar {
        padding: 14px 16px;
        margin-bottom: 32px;
        gap: 12px;
        border-radius: 16px;
    }

    .navbar .logo {
        font-size: 1.35rem;
    }

    .nav-links {
        gap: 5px;
    }

    .nav-links a {
        padding: 9px 12px;
        font-size: 0.84rem;
    }
}

@media (max-width: 360px) {
    .navbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
    }
}
