/* NAIL ART STUDIO - GLOSSY & NEON THEME */
:root {
    --bg-color: #0F0518;
    /* Derin Erik/Mor */
    --primary-neon: #FF00CC;
    /* Hot Pink */
    --secondary-neon: #00FFFF;
    /* Electric Cyan */
    --accent-gold: #FFD700;
    /* Lüks Altın Detaylar */
    --text-color: #FFFFFF;

    /* GLOSSY GLASS EFFECT VARS */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    color: var(--bg-color);
    background: var(--primary-neon);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    cursor: default;
    /* Özel cursor istenirse tekrar eklenebilir, şimdilik temiz */
}

a,
button,
.service-card,
.gallery-grid img,
.close-button {
    cursor: pointer;
}

/* NAVBAR - FROSTED GLOSS */
#main-nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;

    background: rgba(15, 5, 24, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#main-nav .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
}

#main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
}

#main-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
}

#main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-neon);
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--primary-neon);
}

#main-nav a:hover,
#main-nav a.active {
    color: #fff;
}

#main-nav a:hover::after,
#main-nav a.active::after {
    width: 100%;
}

/* WRAPPERS */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
    z-index: -1;
}

#content-main {
    width: 100%;
    position: relative;
    z-index: 1;
}

.content-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 10% 80px;
}

/* TYPOGRAPHY & HERO */
#home {
    text-align: center;
}

.hero-text {
    margin-bottom: 5rem;
    position: relative;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 0, 204, 0.4);
    opacity: 0;
    /* JS animasyon için başlangıç */
    transform: translateY(30px);
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--secondary-neon);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-text p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transform: translateY(30px);
}

/* GLOSSY CARDS (SERVICES) */
.service-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    width: 100%;
    justify-content: center;
}

.service-card {
    width: 320px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Glass Effect 2.0 - Glossy */
.glass-effect {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.service-card:hover::before {
    left: 150%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 0, 204, 0.15);
    border-color: rgba(255, 0, 204, 0.3);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* GALLERY */
#gallery {
    text-align: center;
}

#gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #fff, var(--accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.gallery-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    border: none;
    transition: all 0.5s ease;
    filter: grayscale(20%) brightness(0.8);
    position: relative;
    z-index: 1;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    filter: grayscale(0%) brightness(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

#load-more-btn {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--primary-neon);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 3rem;
    transition: all 0.3s;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

#load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-neon);
    z-index: -1;
    transition: width 0.3s ease;
}

#load-more-btn:hover {
    color: #fff;
    box-shadow: 0 0 20px var(--primary-neon);
    border-color: transparent;
}

#load-more-btn:hover::before {
    width: 100%;
}

.hidden {
    display: none;
}

/* MODALS */
.modal-container,
.lightbox-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 2, 15, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(8px);
}

.modal-container.active,
.lightbox-container.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    position: relative;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
    background: #1a0826;
    border: 1px solid var(--primary-neon);
    border-radius: 30px;
    box-shadow: 0 0 50px rgba(255, 0, 204, 0.2);
}

.modal-content h3 {
    color: var(--primary-neon);
    margin-bottom: 1rem;
    font-family: 'Playfair Display';
}

.close-button {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: #fff;
    transition: transform 0.3s;
    line-height: 0.5;
}

.close-button:hover {
    transform: rotate(90deg);
    color: var(--primary-neon);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

/* BOOKING & FOOTER */
#booking {
    position: relative;
}

.booking-container {
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

footer#contact {
    background:
        radial-gradient(900px 380px at 30% 15%, rgba(160, 0, 255, 0.18), transparent 60%),
        radial-gradient(700px 280px at 80% 35%, rgba(0, 220, 255, 0.12), transparent 60%),
        linear-gradient(to top, #000, #0F0518);
    padding: 6rem 10% 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    min-height: auto;
}

.contact-info h3 {
    color: var(--secondary-neon);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---- İLETİŞİM METNİ (GÖRSELDEKİ GİBİ HİZALAMA) ---- */
.contact-title {
    margin: 0 0 18px 0;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #22e6ff;
    text-shadow:
        0 0 10px rgba(34, 230, 255, 0.35),
        0 0 26px rgba(34, 230, 255, 0.20);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: grid;
    grid-template-columns: 28px 92px 1fr;
    column-gap: 14px;
    align-items: start;

    font-size: 1.15rem;
    line-height: 1.55;
}

.contact-icon {
    transform: translateY(2px);
    filter: drop-shadow(0 0 10px rgba(255, 0, 170, 0.35));
}

.contact-label {
    font-weight: 800;
    color: #d8dbe2;
    opacity: 0.95;
}

.contact-value {
    color: #c3c7d1;
}

.contact-link {
    color: #c3c7d1;
    text-decoration: none;
    border-bottom: 1px solid rgba(34, 230, 255, 0.25);
    padding-bottom: 2px;
}

.contact-link:hover {
    color: #22e6ff;
    border-bottom-color: rgba(34, 230, 255, 0.65);
}

/* SOCIAL SIDEBAR (FIXED LEFT) */
#social-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 90;
    padding: 1rem 0.5rem;
    background: rgba(15, 5, 24, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-neon);
    box-shadow: 0 0 20px var(--primary-neon);
    transform: scale(1.1);
    border-color: transparent;
}

.map-container {
    flex: 1;
    min-width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    filter: invert(90%) hue-rotate(180deg);
    /* Haritayı koyu tema yapmak için basit trick */
    transition: filter 0.3s;
}

.map-container:hover {
    filter: invert(0%);
}

@media(max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #social-sidebar {
        left: 10px;
        transform: translateY(-50%) scale(0.8);
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    #main-nav {
        padding: 1rem;
    }

    #main-nav ul {
        display: none;
    }
}

/* CREDITS */
.credits {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

/* LIGHTBOX NAVIGATION */
.lightbox-nav {
    position: fixed;
    /* Changed to fixed to ensure screen-relative positioning */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 3rem;
    /* Much bigger */
    padding: 1rem;
    cursor: pointer;
    z-index: 2000;
    /* Increased Z-Index */
    border-radius: 50%;
    transition: all 0.3s ease;
    user-select: none;
    line-height: 1;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    /* Make sure it's visible */
}

.lightbox-nav:hover {
    background: var(--primary-neon);
    border-color: var(--primary-neon);
    box-shadow: 0 0 20px var(--primary-neon);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
    /* Further to the side */
}

.next-btn {
    right: 20px;
    /* Further to the side */
}

/* RESPONSIVE DESIGN */
@media(max-width: 992px) {
    #main-nav {
        padding: 1rem 2rem;
    }

    #main-nav ul {
        gap: 1.5rem;
    }
}

@media(max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-nav {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        padding: 0;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    #social-sidebar {
        left: 10px;
        top: auto;
        bottom: 20px;
        transform: none;
        flex-direction: row;
        width: calc(100% - 40px);
        justify-content: center;
        background: rgba(15, 5, 24, 0.8);
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    /* Mobile Nav - Simplified for static site */
    #main-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        background: rgba(15, 5, 24, 0.95);
    }

    #main-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    #main-nav ul li a {
        font-size: 0.9rem;
    }

    .service-container {
        gap: 1.5rem;
    }

    .contact-info,
    .map-container {
        flex: 100%;
        min-width: 100%;
    }

    .contact-item {
        grid-template-columns: 28px 84px 1fr;
    }
}

@media(max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .service-card {
        width: 100%;
    }

    /* Slightly smaller but still accessible on mobile */
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.whatsapp-float i {
    font-size: 1.5rem;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 5px 30px rgba(37, 211, 102, 0.6);
    background: #1faf53;
}

@media(max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .whatsapp-float span {
        display: none;
        /* Mobile optimization: just icon on mobile */
    }

    .whatsapp-float {
        padding: 15px;
        /* circular on mobile */
        border-radius: 50%;
    }
}

/* CUSTOM CURSOR */
/* CUSTOM CURSOR GLOBALLY VISIBLE */
body {
    color: #fff;
    cursor: none;
    /* Hide default cursor */
}

/* CUSTOM NEON CURSOR */
.neon-cursor {
    width: 24px;
    height: 24px;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 9999px;
    pointer-events: none;
    z-index: 999999;
    color: #00ffff;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.0) 60%);
    border: 2px solid currentColor;
    box-shadow: 0 0 8px currentColor, 0 0 18px currentColor, 0 0 36px currentColor;
    animation: neonShift 2.2s linear infinite;
    will-change: transform;
    transition: opacity 0.2s ease;
}

.neon-cursor.cursor-hidden {
    opacity: 0;
}

/* IFRAME / BOOKING FIX: Force system cursor */
.booking-container,
iframe {
    cursor: auto !important;
}

.neon-cursor::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: inherit;
    background: radial-gradient(circle, currentColor 0%, transparent 65%);
    filter: blur(10px);
    opacity: 0.65;
}

@keyframes neonShift {
    0% {
        color: #00ffff;
    }

    20% {
        color: #ff00ff;
    }

    40% {
        color: #00ff6a;
    }

    60% {
        color: #ffe600;
    }

    80% {
        color: #ff5a00;
    }

    100% {
        color: #00ffff;
    }
}

a:hover,
button:hover,
.service-card,
.gallery-grid img,
.social-icon,
.close-button,
.lightbox-nav,
.whatsapp-float {
    cursor: none;
}
