:root {
    --bg-dark: #111111;
    --bg-panel: #1a1a1a;
    --bg-card: #0d0d0d;
    --neon-pink: #ff00ff;
    --neon-cyan: #00ffff;
    --neon-green: #00ff41; /* Hacker Green */
    --med-green: #2ecc71; /* Clean Medical Green */
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --text-green: #4ade80;
    --font-mono: 'Share Tech Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-mono);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    transition: background-color 1s ease;
}

/* Background Shift Element */
#bg-shift {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at bottom, rgba(0, 255, 255, 0.08) 0%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: all 1s ease;
}
body.rentals-active #bg-shift { opacity: 1; background: radial-gradient(circle at bottom, rgba(0, 255, 255, 0.08) 0%, transparent 60%); }
body.pharmacy-active #bg-shift { opacity: 1; background: radial-gradient(circle at bottom, rgba(46, 204, 113, 0.08) 0%, transparent 60%); }

/* CRT Scanline Effect */
.crt-effect::after { content: " "; display: block; position: fixed; top: 0; left: 0; bottom: 0; right: 0; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%); z-index: 9999; background-size: 100% 4px; pointer-events: none; }

.app-container { display: grid; grid-template-columns: 150px 1fr 120px; flex: 1; max-width: 1600px; margin: 0 auto; width: 100%; border-left: 1px solid #333; border-right: 1px solid #333; }

/* Left Sidebar */
.left-sidebar { border-right: 1px solid #333; padding: 2rem 1rem; display: flex; flex-direction: column; position: fixed; top: 0; left: calc(50% - 800px); width: 150px; height: 100vh; }
@media (max-width: 1600px) { .left-sidebar { left: 0; } }
.status-block { margin-bottom: 2rem; }
.status-text { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.status-ok { color: var(--text-green); font-weight: bold; }
.status-bars { display: flex; gap: 4px; }
.status-bars span { display: inline-block; width: 15px; height: 8px; background-color: var(--text-green); transform: skewX(-20deg); }
.grid-decoration { flex: 1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 15px 15px; margin: 2rem 0; border: 1px solid #333; opacity: 0.5; }
.bottom-status { position: absolute; bottom: 100px; left: 1rem; transform: rotate(-90deg); transform-origin: left bottom; width: 200px; margin: 0; }

/* Right Sidebar */
.right-sidebar { border-left: 1px solid #333; display: flex; flex-direction: column; align-items: center; padding-top: 2rem; position: fixed; top: 0; right: calc(50% - 800px); width: 120px; height: 100vh; z-index: 50; background: var(--bg-dark); }
@media (max-width: 1600px) { .right-sidebar { right: 0; } }
.nav-logo { margin-bottom: 3rem; }
.hexagon { width: 70px; height: 80px; background-color: var(--bg-card); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; justify-content: center; align-items: center; border: 2px solid var(--neon-cyan); position: relative; }
.hexagon::before { content: ''; position: absolute; top: 2px; left: 2px; right: 2px; bottom: 2px; background-color: #111; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); z-index: 1; }
.hexagon span { position: relative; z-index: 2; font-size: 2.5rem; color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }
.side-nav { display: flex; flex-direction: column; width: 100%; gap: 2.5rem; }
.nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--neon-cyan); font-size: 0.9rem; font-weight: bold; transition: all 0.3s; cursor: pointer; border: none; background: transparent; font-family: var(--font-mono); }
.nav-item i { font-size: 1.8rem; margin-bottom: 0.5rem; }
.nav-item.active, .nav-item:hover { color: var(--neon-pink); text-shadow: 0 0 10px var(--neon-pink); transform: scale(1.1); }

/* Main Content */
.main-content { grid-column: 2; display: flex; flex-direction: column; }

/* Page Sections */
.page-section { min-height: 100vh; padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; border-bottom: 1px dashed #333; }

/* Header */
.main-header { text-align: center; margin-bottom: 3rem; }
.main-header h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--neon-cyan); text-shadow: 0 0 15px var(--neon-cyan); letter-spacing: 4px; margin-bottom: 10px; }
.header-underline { width: 70%; max-width: 500px; height: 6px; background-color: var(--neon-pink); margin: 0 auto; box-shadow: 0 0 15px var(--neon-pink); }

/* Hero Banner */
.hero-banner { background: linear-gradient(135deg, rgba(0,255,255,0.1) 0%, rgba(255,0,255,0.1) 100%); border: 2px solid #333; padding: clamp(2rem, 5vw, 4rem); position: relative; min-height: 350px; display: flex; align-items: center; margin-bottom: 4rem; box-shadow: inset 0 0 30px rgba(0,0,0,0.5); border-radius: 8px; }
.hero-grid-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 40px 40px; z-index: 1; border-radius: 8px; }
.hero-text { position: relative; z-index: 2; font-size: clamp(1.5rem, 4vw, 2.8rem); line-height: 1.5; color: #fff; white-space: pre-wrap; text-shadow: 0 0 8px rgba(255,255,255,0.8); }
.cursor { position: relative; z-index: 2; font-size: clamp(2rem, 5vw, 3rem); animation: blink 1s step-end infinite; }

.pharmacy-banner { background: linear-gradient(135deg, rgba(46,204,113,0.1) 0%, rgba(10,30,15,0.8) 100%); border-color: var(--med-green); justify-content: center; text-align: center; }
.pharmacy-header-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.pharmacy-header-content h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--med-green); text-shadow: 0 0 15px var(--med-green); margin-bottom: 1.5rem; }
.pharmacy-header-content p { font-size: clamp(1rem, 2vw, 1.4rem); color: #fff; margin-bottom: 2rem; max-width: 800px; line-height: 1.5; }

/* Sections General */
.section { width: 100%; margin-bottom: 4rem; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.section-header h2 { color: var(--neon-pink); font-size: clamp(1.8rem, 3vw, 2.5rem); text-shadow: 0 0 12px var(--neon-pink); letter-spacing: 2px; }
.header-decor { color: var(--neon-pink); font-size: 1.5rem; opacity: 0.7; }

/* Venues Grid */
.venues-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 1400px) { .venues-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .venues-grid { grid-template-columns: 1fr; } }

.venue-card { border: 2px solid var(--neon-pink); border-radius: 8px; padding: 1rem; background-color: var(--bg-card); box-shadow: inset 0 0 20px rgba(255,0,255,0.1); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.venue-card:hover { transform: translateY(-10px); box-shadow: 0 0 35px var(--neon-pink); }
.venue-img-container { width: 100%; height: clamp(150px, 20vw, 220px); position: relative; overflow: hidden; margin-bottom: 1.5rem; border: 2px solid #444; border-radius: 4px; }
.venue-img { width: 100%; height: 100%; background-color: #222; background-size: cover; background-position: center; filter: grayscale(80%) brightness(0.6); transition: filter 0.4s, transform 0.4s; }
.venue-card:hover .venue-img { filter: grayscale(0%) brightness(1); transform: scale(1.1); }
.venue-hover-info { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s; }
.venue-card:hover .venue-hover-info { opacity: 1; }
.venue-title { color: var(--neon-cyan); font-size: 1.6rem; margin-bottom: 0.8rem; font-weight: bold; text-transform: uppercase;}
.venue-location { font-size: 1rem; color: #ddd; margin-bottom: 0.8rem; }
.venue-tags { font-size: 0.9rem; color: var(--text-muted); margin-top: auto; }

/* Rentals & Pharmacy Grid */
.rentals-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (max-width: 1200px) { .rentals-grid { grid-template-columns: 1fr; } }

.rental-card { display: flex; border: 2px solid #444; background-color: var(--bg-card); padding: 1.5rem; gap: 2rem; transition: transform 0.3s, box-shadow 0.3s; border-radius: 8px; }
.rental-card:hover { transform: translateY(-5px); border-color: var(--neon-cyan); box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2); }
.rental-img { flex: 0 0 clamp(150px, 30%, 250px); min-height: 160px; background-color: #222; background-size: cover; background-position: center; border: 2px solid #333; align-self: stretch; border-radius: 4px; }
.rental-info { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.rental-title { color: var(--neon-cyan); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: bold; text-transform: uppercase;}
.rental-specs { font-size: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.spec-row { display: flex; justify-content: space-between; border-bottom: 1px solid #222; padding-bottom: 0.3rem; }
.spec-label { color: var(--text-muted); }
.spec-val { color: #fff; font-weight: bold; }
.status-green { color: var(--text-green); }
.rental-action { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; flex-wrap: wrap; gap: 1rem; }
.price { color: var(--neon-pink); font-size: 1.6rem; font-weight: bold; }

/* Buttons */
.btn { background: rgba(0,0,0,0.6); border: 2px solid; padding: 0.6rem 1.5rem; font-family: var(--font-mono); font-size: 1rem; color: #fff; cursor: pointer; border-radius: 4px; font-weight: bold; transition: all 0.3s; backdrop-filter: blur(2px); text-transform: uppercase; letter-spacing: 1px; }
.btn-cyan { border-color: var(--neon-cyan); box-shadow: inset 0 0 8px var(--neon-cyan); }
.btn-cyan:hover { background-color: var(--neon-cyan); color: #000; box-shadow: 0 0 20px var(--neon-cyan); }
.btn-pink { border-color: var(--neon-pink); box-shadow: inset 0 0 8px var(--neon-pink); }
.btn-pink:hover { background-color: var(--neon-pink); color: #000; box-shadow: 0 0 20px var(--neon-pink); }
.btn-green { border-color: var(--neon-green); box-shadow: inset 0 0 8px var(--neon-green); color: var(--neon-green); }
.btn-green:hover { background-color: var(--neon-green); color: #000; box-shadow: 0 0 20px var(--neon-green); }
.btn-medical { border-color: var(--med-green); box-shadow: inset 0 0 8px var(--med-green); color: var(--med-green); }
.btn-medical:hover { background-color: var(--med-green); color: #000; box-shadow: 0 0 20px var(--med-green); }

/* --- MODAL (POP-UP) STYLES --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 1000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; backdrop-filter: blur(4px); }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: var(--bg-panel); border: 2px solid var(--neon-cyan); width: 90%; max-width: 500px; padding: 2rem; border-radius: 8px; box-shadow: 0 0 30px rgba(0, 255, 255, 0.2); transform: translateY(-30px); transition: transform 0.3s ease; position: relative; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: #fff; cursor: pointer; transition: color 0.3s; }
.modal-close:hover { color: #ff3333; }
.modal-title { color: var(--neon-cyan); font-size: 1.8rem; margin-bottom: 1.5rem; text-shadow: 0 0 8px var(--neon-cyan); border-bottom: 1px dashed #444; padding-bottom: 0.5rem; }
.modal-form { display: flex; flex-direction: column; gap: 1.2rem; }
.modal-form label { color: #ccc; font-weight: bold; font-size: 0.9rem; }
.modal-form input, .modal-form textarea { width: 100%; background: #000; border: 1px solid #444; color: #fff; padding: 12px; font-family: var(--font-mono); font-size: 1rem; border-radius: 4px; }
.modal-form input:focus, .modal-form textarea:focus { outline: none; border-color: var(--neon-cyan); box-shadow: 0 0 10px rgba(0,255,255,0.3); }
.modal-form textarea { resize: vertical; min-height: 100px; }
.product-ref-display { background: rgba(0,255,255,0.1); border: 1px solid var(--neon-cyan); padding: 10px; border-radius: 4px; color: var(--neon-cyan); font-weight: bold; display: none; margin-bottom: 10px; }
/* Eczane Modal Colors */
body.pharmacy-active .modal-content { border-color: var(--med-green); box-shadow: 0 0 30px rgba(46, 204, 113, 0.2); }
body.pharmacy-active .modal-title { color: var(--med-green); text-shadow: 0 0 8px var(--med-green); }
body.pharmacy-active .modal-form input:focus, body.pharmacy-active .modal-form textarea:focus { border-color: var(--med-green); box-shadow: 0 0 10px rgba(46, 204, 113, 0.3); }
/* --- PREMIUM PHARMACY INTRO (SPLASH SCREEN) --- */
#pharmacy-intro {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000000; /* Tamamen Siyah Arka Plan */
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s ease-in-out;
}
.intro-grid-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}
.intro-content-box {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 90%;
    max-width: 800px;
}
.intro-header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.intro-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: bold;
}
.intro-underline {
    width: 150px;
    height: 4px;
    background-color: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink);
}
.intro-huge-logo-img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
    animation: floatLogo 4s ease-in-out infinite;
}
.intro-terminal-box {
    width: 100%;
    background: linear-gradient(135deg, rgba(0,255,255,0.05) 0%, rgba(255,0,255,0.05) 100%);
    border: 2px solid #333;
    border-radius: 8px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
    padding: 3rem;
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.intro-terminal-text {
    color: #fff;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-family: var(--font-mono); /* Resimdeki Orijinal Font */
    line-height: 1.8;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
    white-space: pre-wrap;
}
/* Intro yanıp sönen ince imleç */
.intro-terminal-text::after {
    content: "_";
    animation: blink 1s step-end infinite;
    color: #fff;
    margin-left: 5px;
}
.intro-loader {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 2rem;
}
.loader-bar {
    height: 100%;
    width: 0%;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: width 0.2s ease;
}
@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Scroll Reveal Animations (AOS Style) */
.reveal { opacity: 0; transform: translateY(60px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Global Footer */
.global-footer { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 3rem; border-top: 1px solid #333; font-size: 1rem; color: var(--text-muted); z-index: 10; position: relative; background: var(--bg-dark); flex-wrap: wrap; gap: 2rem; }
.socials { display: flex; gap: 2rem; font-weight: bold; flex-wrap: wrap; }
.footer-logos { display: flex; gap: 1.5rem; }
.logo-box { width: 40px; height: 40px; font-size: 1.2rem; border: 2px solid #555; display: flex; justify-content: center; align-items: center; border-radius: 6px; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Mobile & Tablet Responsiveness */
@media (max-width: 1024px) {
    .app-container { grid-template-columns: 1fr; }
    .left-sidebar { display: none; }
    .right-sidebar { position: static; width: 100%; height: auto; flex-direction: row; justify-content: center; padding: 1rem; border-left: none; border-bottom: 2px solid var(--neon-cyan); position: sticky; top: 0; z-index: 100; }
    .nav-logo { display: none; }
    .side-nav { flex-direction: row; justify-content: center; gap: 2rem; width: auto; }
    .nav-item i { font-size: 1.2rem; }
    .nav-item span { display: none; }
    .main-content { grid-column: 1; }
}

@media (max-width: 768px) {
    .rental-card { flex-direction: column; gap: 1rem; }
    .rental-img { flex: 0 0 200px; width: 100%; }
    .page-section { padding: 3rem 1.5rem; }
    .global-footer { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .side-nav { gap: 1rem; }
    .btn { padding: 0.5rem 1rem; font-size: 0.9rem; }
}
