@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Outfit:wght@100..900&family=Orbitron:wght@400..900&display=swap');

:root {
    --background: #09090b;
    --foreground: #fafafa;
    --primary: #d97706;
    /* amber-600 */
    --primary-hover: #b45309;
    /* amber-700 */
    --amber-400: #fbbf24;
    --whatsapp-green: #25D366;
    --ice-blue: #00f2ff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--foreground);
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('media__1773077516221.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.dev-credit {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.6em;
    font-size: 9px;
    font-weight: 500;
    opacity: 0.7;
}

.font-premium {
    font-family: 'Outfit', sans-serif;
}

/* LED & Glow Animations */
@keyframes ice-glow {
    0% {
        text-shadow: 0 0 5px var(--ice-blue), 0 0 10px var(--ice-blue);
        color: #fff;
    }

    100% {
        text-shadow: 0 0 15px var(--ice-blue), 0 0 25px var(--ice-blue);
        color: var(--ice-blue);
    }
}

.ice-glow-hover {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    color: #888;
}

.ice-glow-hover:hover {
    color: var(--ice-blue) !important;
    text-shadow: 0 0 15px var(--ice-blue), 0 0 30px var(--ice-blue);
    letter-spacing: 0.7em;
    opacity: 1;
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-header {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

/* Catalog Menu (Floating) */
.catalog-menu {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle {
    display: none;
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary);
    border: none;
    border-radius: 1rem;
    z-index: 110;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.catalog-item {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    position: relative;
}

.catalog-item:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1) translateX(-5px);
}

.catalog-item:hover .catalog-label {
    opacity: 1;
    transform: translateX(-10px);
}

.catalog-label {
    position: absolute;
    right: 100%;
    margin-right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateX(10px);
}

/* Responsive Grid Adjustments */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 1024px) {
    .responsive-grid {
        grid-template-columns: 1fr;
    }

    .catalog-menu {
        position: fixed !important;
        right: -100% !important;
        left: auto !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        width: 300px !important;
        background: rgba(0, 0, 0, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        transform: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        justify-content: center !important;
        padding: 4rem 2rem !important;
        border-left: 1px solid var(--glass-border) !important;
        z-index: 1000 !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .catalog-menu.active {
        right: 0 !important;
        opacity: 1 !important;
        pointer-events: all !important;
    }

    .menu-toggle {
        display: flex !important;
        z-index: 1001 !important;
    }

    .catalog-item {
        width: 100% !important;
        height: auto !important;
        padding: 1.25rem 1.5rem !important;
        background: rgba(255, 255, 255, 0.05) !important;
        justify-content: flex-start !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 1rem !important;
    }

    .catalog-label {
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin-left: 1rem !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        pointer-events: all !important;
        color: white !important;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }
}

/* Lightbox Simple Override */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 0.5rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

/* TikTok Icon Fix */
.tiktok-icon {
    transform: translateY(1px);
    /* Hizalama düzeltme */
}

/* Developer Credit Style */
.dev-credit {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

/* Admin Styling for Separate Page */
.admin-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.admin-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    width: 100%;
}