:root {
    --bg-dark: #0b0f1a;
    --bg-soft: #131a2d;
    --text-light: #f7f8fc;
    --accent: #6bb8ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--site-font), sans-serif;
    font-size: var(--base-font-size, 16px);
    line-height: var(--base-line-height, 1.6);
    letter-spacing: var(--base-letter-spacing, 0px);
    background: #fff;
    color: #141414;
}

body,
h1, h2, h3, h4, h5, h6,
p, a, span, small,
button, input, textarea, select {
    font-family: var(--site-font), sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font, var(--site-font)), sans-serif;
}

#preloader {
    position: fixed;
    inset: 0;
    background: #070a12;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.camera-loader {
    text-align: center;
    color: #fff;
}

.camera-body {
    width: 150px;
    height: 95px;
    background: #121a2d;
    border: 2px solid #2c3a63;
    border-radius: 16px;
    margin: 0 auto 14px;
    position: relative;
    animation: cameraShake 1s ease-in-out infinite;
}

.camera-lens {
    width: 56px;
    height: 56px;
    border: 3px solid #6bb8ff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(107, 184, 255, 0.5);
    animation: lensRotate 1.6s linear infinite;
}

.camera-flash {
    width: 28px;
    height: 10px;
    border-radius: 8px;
    background: #2c3a63;
    position: absolute;
    top: 14px;
    right: 14px;
}

.flash-screen {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
}

.flash-screen.active {
    animation: flashBurst 0.35s ease;
}

@keyframes cameraShake {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(-2deg) translateY(-2px); }
}

@keyframes lensRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    70% { transform: translate(-50%, -50%) rotate(250deg) scale(1); }
    85% { transform: translate(-50%, -50%) rotate(320deg) scale(0.85); }
    100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

@keyframes flashBurst {
    0% { opacity: 0; }
    20% { opacity: 1; }
    100% { opacity: 0; }
}

.custom-nav {
    background: rgba(7, 10, 18, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-nav .navbar-brand {
    font-size: 1.12rem;
    letter-spacing: 0.2px;
}

.custom-nav.nav-layout-logo-below .nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.custom-nav.nav-layout-logo-below .desktop-nav-wrap {
    margin-left: 0 !important;
    width: 100%;
    justify-content: center;
}

.custom-nav .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    padding: 0.38rem 0.52rem;
}

.custom-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.custom-nav .nav-link:hover,
.custom-nav .nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.menu-shell {
    background: rgba(14, 20, 35, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.2rem 0.45rem;
}

.menu-shell.menu-style-minimal {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.menu-shell.menu-style-boxed {
    border-radius: 14px;
    padding: 0.35rem 0.55rem;
}

.desktop-nav-wrap {
    align-items: center;
    gap: 0.7rem;
}

.menu-social {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.menu-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
}

.menu-social a:hover {
    background: rgba(122, 183, 255, 0.25);
}

.btn-menu-action {
    border-radius: 999px;
    background: linear-gradient(135deg, #4f89ff, #6ebfff);
    border: 0;
    color: #fff;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
}

.btn-menu-action:hover {
    color: #fff;
    filter: brightness(1.05);
}

.mobile-nav {
    background: linear-gradient(180deg, #0a1020, #121f3d);
}

.mobile-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.04);
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link:focus {
    color: #fff;
    background: rgba(120, 178, 255, 0.18);
}

.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
}

.hero-section .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(7, 10, 18, 0.8), rgba(17, 26, 45, 0.5));
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
}

.hero-section p {
    max-width: 640px;
    font-size: 1.1rem;
}

.section-block {
    padding: 90px 0;
}

.section-block.dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.service-box {
    background: #f4f6fb;
    border-radius: 12px;
    padding: 14px;
    min-height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-box img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 10px;
}

.service-box h5 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.service-box p {
    margin-bottom: 0;
    color: #4a4f59;
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-card {
    background: var(--bg-soft);
    color: var(--text-light);
    border-radius: 12px;
    padding: 18px;
    height: 100%;
}

.studio-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.studio-list li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.studio-card {
    border: 1px solid rgba(143, 191, 255, 0.3);
    border-radius: 16px;
    padding: 22px;
    background: rgba(14, 23, 40, 0.85);
}

.studio-card p {
    margin-bottom: 0;
    color: #d6e4ff;
}

.faq-item {
    border: 1px solid #d9e0f3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.faq-item .accordion-button {
    font-weight: 600;
}

.faq-item .accordion-button:not(.collapsed) {
    background: #e9f1ff;
    color: #1f3f69;
}

.contact-form-box,
.appointment-form-box {
    background: #f6f9ff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.appointment-section h2 {
    font-weight: 700;
}

/* Sabit menu altinda randevu geri bildirimi gorunsun */
#randevu {
    scroll-margin-top: 96px;
}

html.skip-site-preloader #preloader {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.floating-panel {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 990;
}

.floating-toggle {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.25rem;
}

.floating-links {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.floating-links.show {
    display: flex;
}

.floating-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: #1f2a44;
    text-decoration: none;
}

.footer {
    background: #06080e;
}

.footer a {
    color: #8fbfff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .section-block {
        padding: 72px 0;
    }

    .hero-section {
        min-height: 85vh;
        text-align: center;
    }

    .hero-section p {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    .custom-nav .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1rem;
        max-width: 70%;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .custom-nav .navbar-toggler {
        margin-right: auto;
        z-index: 2;
    }

    .desktop-nav-wrap {
        display: none !important;
    }

    .portfolio-card {
        height: 220px;
    }
}
