/* ------------------------------ */
/* GLOBAL STYLES */
/* ------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wght@400..700&family=Goudy+Bookletter+1911&display=swap');
:root {
    --primary: #0f3460;
    --secondary: #16213e;
    --accent: #4cc9f0;
    --accent-dark: #3a86ff;
    --light: #e0e1dd;
    --dark: #0d1b2a;
    --success: #4ade80;
    --warning: #facc15;
    --danger: #f87171;
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    --glass-bg: rgba(26, 33, 62, 0.6);
    --glass-border: rgba(76, 201, 240, 0.2);
    --glass-accent: rgba(76, 201, 240, 0.3);
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* font-family: "DynaPuff", system-ui; */
    /* font-weight: 400; */
    font-style: normal;
    display: flex;
    flex-direction: column;
}

body {
    position: relative;
    flex: 1 0 auto;
}

h1,h2,h3,h4,h5,h6, #mbEtiket {
    font-family: "DynaPuff", system-ui;
    font-weight: 400;
    font-style: normal;
}

.form-control {
    background-color: #17171769;
}

.form-control:focus {
    background-color: #17171769;
    border-color: var(--bronze);
}

.modal {
    --x-modal-bg: #171717b8;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    border: 0;
}

.table {
    --x-table-bg: #17171763;
    --x-table-th-color: #b3b3b3ad;
    --x-table-th-bg: #17171794;
    --x-table-hover-bg: rgba(245, 245, 245, 0.07);
    border-color: #40404066;
}

#cardImg {
    min-height: 100vh;
}

#cardImg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.70);
    border-radius: inherit;
    z-index: 0;
}

#cardImg>* {
    position: relative;
    z-index: 1;
}

.glass-card {
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    border: 0;
}

.glass-input {
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    border: 0;
}

.glass-input:focus {
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    border: 1px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--bronze);
}

.mb-mb-20 {
    margin-bottom: 20px;
}

#downloadCard {
    transition: all 0.3s ease;
    animation: slideUp 0.8s forwards;
}

#downloadCard:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* ------------------------------ */
/* NAVBAR GLASS EFFECT */
/* ------------------------------ */
.navbar {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.navbar .nav-link,
.navbar .navbar-brand {
    color: #fff;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #f9ad55;
}

.navbar .nav-link.active {
    font-weight: 500;
    color: #f9ad55;
}

.navbar-toggler:hover {
    filter: brightness(1.2);
}

.nav-item {
    padding: 5px;
}

.glass-navbar {
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
}

.glass-navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.dropdown-menu {
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    border: 0;
}

/* ------------------------------ */
/* DROPDOWN HOVER */
/* ------------------------------ */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        transition: opacity 0.3s ease, transform 0.3s ease;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar-nav .dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
    }
}

/* ------------------------------ */
/* HERO SECTION */
/* ------------------------------ */
.hero {
    padding-top: 80px;
    position: relative;
    margin-top: -90px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomEffect 25s infinite alternate;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
    z-index: 1;
}

.hero-content h1,
.hero-content p,
.hero-btns,
.etkinlik-content h1 {
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1,
.etkinlik-content h1 {
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-content p {
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.hero-btns {
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

/* Zoom efekt */
@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Button hover efekti */
.hero-btns .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-btns .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

/* ------------------------------ */
/* Dashboard */
/* ------------------------------ */
.status-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.status-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.status-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.status-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
}

.status-power {
    font-size: 1rem;
    /* color: #0dff73; */
    font-weight: 500;
}

/* ------------------------------ */
/* YUKLEME */
/* ------------------------------ */
.yukleme-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.yukleme-card {
    /* background: rgba(17, 34, 64, 0.6); */
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 209, 102, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* transform: translateY(50px); */
    /* opacity: 0; */
    animation: slideUp 0.8s forwards;
}

.yukleme-card:nth-child(1) {
    animation-delay: 0.2s;
}

.yukleme-card:nth-child(2) {
    animation-delay: 0.4s;
}

.yukleme-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.yukleme-card i {
    font-size: 3rem;
    color: var(--bronze);
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.yukleme-card img {
    width: 90px;
    height: 90px;
    animation: bounce 2s infinite;
}

/* ------------------------------ */
/* FOOTER */
/* ------------------------------ */
footer {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    background-color: #111;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer-content .footer-links a,
.footer-content a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content .footer-links a:hover,
.footer-content a:hover {
    color: #f9ad55;
}

.social-links .social-icon {
    transition: all 0.3s ease;
}

.social-links .social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    text-shadow: 0 0 10px #f9ad55;
    color: #f9ad55;
}

/* ------------------------------ */
/* RESPONSIVE ADJUSTMENTS */
/* ------------------------------ */
@media (max-width: 768px) {
    .footer-content {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}