/* ========================================
   Kwantum Tattoo Gallery - Clean Modern CSS
   ======================================== */

/* CSS Custom Properties (Variables) */
:root {
    /* Color Palette */
    --primary-color: #1ecbe1;
    --accent-color: #ffffff;
    --dark-color: #000000;
    --light-color: #ffffff;
    --background-dark: #000000;
    --card-background: #163d4e;
    
    /* Typography */
    --font-family-headings: 'Oswald', sans-serif;
    --font-family-body: 'Roboto Condensed', sans-serif;
    --base-font-size: 16px;
    --heading-line-height: 1.2;
    --body-line-height: 1.6;
    
    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 0 20px;
    --section-padding: 60px;
    --grid-gap: 30px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s ease;
    
    /* Shadows */
    --shadow-small: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 6px 20px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --border-radius-small: 5px;
    --border-radius-medium: 10px;
    --border-radius-large: 15px;
    /* Reviews */
    --review-card-height: 220px;
}

    /* Managers Section */
    .managers {
        padding: 40px 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.06), transparent);
    }
    .managers .managers-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 24px;
        align-items: stretch;
    }
    .manager-card {
        background: linear-gradient(135deg, rgba(30,203,225,0.06), rgba(255,255,255,0.02));
        border: 1px solid rgba(30,203,225,0.12);
        padding: 18px;
        border-radius: var(--border-radius-medium);
        display: flex;
        gap: 12px;
        align-items: center;
        box-shadow: var(--shadow-small);
    }
    .manager-avatar {
        width: 72px;
        height: 72px;
        border-radius: 12px;
        overflow: hidden;
        flex: 0 0 72px;
    }
    .manager-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .manager-info h4 { margin-bottom: 6px; font-size: 1rem; }
    .manager-info p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

    .manager-card.alt {
        background: rgba(255,255,255,0.02);
        border: 1px dashed rgba(255,255,255,0.06);
    }

/* ========================================
   CSS Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--base-font-size);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-body);
    background-color: var(--dark-color);
    color: var(--light-color);
    line-height: var(--body-line-height);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 700;
    text-transform: uppercase;
    line-height: var(--heading-line-height);
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   Header Styles
   ======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 36, 58, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background var(--transition-normal);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: block;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 80px;
    max-width: 240px;
    object-fit: contain;
}

/* Navigation */
nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    color: var(--accent-color);
    text-shadow: 0 2px 16px rgba(30,203,225,0.18), 0 1px 0 #000;
    font-weight: 700;
    font-family: var(--font-family-headings);
    transition: all var(--transition-normal);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

nav a:hover {
    color: #fff;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 12px rgba(30,203,225,0.18), 0 1px 0 #000;
}

nav a:hover::after {
    transform: scaleX(1);
}

/* Social Header Icons */
.social-header a {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-left: 20px;
    transition: all var(--transition-normal);
}

.social-header a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

/* Branches section styles */
.branches {
    padding: 40px 0 20px;
}
.branches #branches-title {
    margin-top: -18px; /* hafifçe yukarı taşı */
    margin-bottom: 18px;
    text-align: center;
}
.branches-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.branch-item {
    padding: 20px 24px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-small);
}
/* vertical separator between the two columns */
.branch-item:first-child {
    position: relative;
}
.branch-item:first-child::after {
    content: '';
    position: absolute;
    top: 16px;
    right: -12px;
    width: 2px;
    height: calc(100% - 32px);
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
}

@media (max-width: 800px) {
    .branches-grid {
        grid-template-columns: 1fr;
    }
    .branch-item:first-child::after {
        display: none; /* mobilde ayırıcıyı gizle */
    }
    .branches #branches-title {
        margin-top: -8px; /* mobilde hafif düzeltme */
    }
}

/* Reviews section basic styles */
.reviews {
    padding: 40px 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.02), transparent);
}
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* container shows exactly one card at a time */
    height: var(--review-card-height);
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    padding-right: 6px;
}
.review-item {
    background: linear-gradient(180deg, rgba(16,36,46,0.65), rgba(8,18,24,0.6));
    padding: 18px 22px;
    border-radius: 14px;
    width: 100%;
    max-width: 760px;
    height: var(--review-card-height);
    box-sizing: border-box;
    scroll-snap-align: start;
    border: 2px solid rgba(30,203,225,0.18);
    box-shadow: 0 6px 20px rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.reviews-slider { display:flex; flex-direction:column; align-items: center; gap:14px; width:100%; max-width:800px; margin:0 auto; }
.reviews-prev, .reviews-next {
    background: rgba(6,8,10,0.9);
    color: var(--light-color);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border: 1px solid rgba(30,203,225,0.12);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
.reviews-prev:hover, .reviews-next:hover { background: rgba(6,8,10,0.78); }

/* hide native scrollbar for WebKit */
.reviews-list::-webkit-scrollbar { width: 12px; }
.reviews-list::-webkit-scrollbar-track { background: transparent; }
.reviews-list::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.55); border-radius: 8px; border-left: 3px solid rgba(30,203,225,0.06); }

.reviews-list { transition: height 260ms ease; }
.review-item blockquote { white-space: normal; word-break: break-word; }
.review-item {
    position: relative;
}
.review-item::before { display: none; }
.review-meta { display:flex; justify-content:flex-start; align-items:center; gap:12px; }
.review-rating { position: absolute; right: 22px; top: 18px; color: #ffcf40; }
.review-body {
    /* take remaining space inside the fixed card */
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 6px;
}

blockquote { font-style: normal; color: rgba(255,255,255,0.95); margin: 10px 0 6px; line-height:1.5; }
.review-source { font-size: 0.9rem; color: var(--primary-color); }

.review-author { text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.6px; }
.review-meta { display:flex; justify-content:space-between; align-items:center; gap:12px; }

@media (max-width:600px) {
    .review-item { padding-left: 18px; }
    .review-item::before { left: 12px; top: 12px; width: 40px; height: 40px; }
}
.review-author {
    font-size: 1rem;
    margin-bottom: 6px;
}
.review-date { font-weight: 400; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.review-rating { color: #ffc107; margin-bottom: 8px; }
.review-source { display: inline-block; margin-top: 8px; color: var(--primary-color); }

/* Underline for first review only: width follows text width */
.reviews-list .review-item:first-child blockquote {
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}
.reviews-list .review-item:first-child blockquote::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: rgba(30,203,225,0.22);
    border-radius: 2px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light-color);
    transition: all var(--transition-normal);
}

/* ========================================
   Hero Section Styles
   ======================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    min-height: 600px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/tattoo-bg.jpeg') no-repeat center center/cover;
    filter: brightness(0.3);
    z-index: -1;
    transition: filter var(--transition-slow);
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    text-shadow: 2px 2px 10px rgba(20, 36, 58, 0.5);
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-family: var(--font-family-body);
    opacity: 0.9;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.stat:nth-child(1) { animation-delay: 0.2s; }
.stat:nth-child(2) { animation-delay: 0.4s; }
.stat:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.stat h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: all var(--transition-normal);
}

.stat p {
    font-size: 1rem;
    font-family: var(--font-family-headings);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Counter Animation Styles */
.stat h3.counting {
    transform: scale(1.1);
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    animation: numberGlow 1s ease-in-out infinite;
}

.stat h3.completed {
    transform: scale(1);
    animation: completePulse 0.6s ease-out;
}

@keyframes completePulse {
    0% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes numberGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(0, 255, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.8); }
}

/* ========================================
   Button Styles
   ======================================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: var(--border-radius-small);
    font-weight: 700;
    font-family: var(--font-family-headings);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid var(--primary-color);
    letter-spacing: 1px;
    margin: 0 10px;
}

.btn-primary {
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    background: #000;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 8px 22px;
    border-radius: 0 7px 7px 0;
    position: relative;
    z-index: 1;
    margin: 0;
}

.btn-primary:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 16px rgba(30,203,225,0.18);
}

.btn-tertiary {
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    background: #000;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 8px 22px;
    border-radius: 0 7px 7px 0;
    position: relative;
    z-index: 1;
    margin: 0;
}

.btn-tertiary:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    box-shadow: 0 2px 16px rgba(30,203,225,0.18);
    transform: translateY(-2px);
}

/* ========================================
   Section Styles
   ======================================== */
.why-us {
    padding: 100px 0;
    text-align: center;
    background-color: var(--background-dark);
}

.why-us h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
}

.why-us h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    padding: 30px;
    transition: transform var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform var(--transition-normal);
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.feature-item p {
    line-height: var(--body-line-height);
    opacity: 0.9;
}

/* ========================================
   CTA Section Styles
   ======================================== */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('images/cta-bg.jpg') no-repeat center center/cover;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

/* ========================================
   Gallery Section Styles
   ======================================== */
.gallery {
    padding: 100px 0;
    text-align: center;
}

.gallery h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
}

.gallery h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal),
                filter var(--transition-normal);
    filter: grayscale(50%);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}

/* ========================================
   Artists Section Styles
   ======================================== */
.artists {
    padding: 60px 0;
    background: var(--background-dark);
    text-align: center;
}

.artists-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.artist-item {
    background: #1a3a47;
    border-radius: 18px;
    padding: 38px 24px 32px 24px;
    width: 320px;
    box-shadow: 0 4px 24px rgba(30,203,225,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s cubic-bezier(.77,0,.18,1), box-shadow 0.3s;
    margin-bottom: 20px;
}
        .artist-item.clickable {
            cursor: pointer;
        }

/* Artist-specific background styles */
.artist-arif {
    background: #18344a;
    position: relative;
    overflow: hidden;
}

.artist-arif::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/artist1.jpg') center center/cover no-repeat;
    filter: blur(18px) brightness(0.7);
    z-index: 0;
}

.artist-arif img,
.artist-arif h3,
.artist-arif p {
    position: relative;
    z-index: 1;
}

.artist-serhat {
    background: #44484d;
    position: relative;
    overflow: hidden;
}

.artist-serhat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/artist2.jpg') center center/cover no-repeat;
    filter: blur(18px) brightness(0.7);
    z-index: 0;
}

.artist-serhat img,
.artist-serhat h3,
.artist-serhat p {
    position: relative;
    z-index: 1;
}

/* Generic blurred background for dynamically rendered artists */
.artist-item {
    position: relative;
    overflow: hidden;
}

.artist-item .artist-bg-blur {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(18px) brightness(0.7);
    z-index: 0;
}

.artist-item > img,
.artist-item > h3,
.artist-item > p {
    position: relative;
    z-index: 1;
}

.artist-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 32px rgba(30,203,225,0.18);
}

.artist-item img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 18px;
    background: #222;
    border: 5px solid #fff;
    box-shadow: 0 4px 18px rgba(30,203,225,0.13);
}

.artist-item h3 {
    margin-bottom: 6px;
    font-size: 1.35rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    font-weight: 900;
}

.artist-item p {
    font-size: 1.05rem;
    color: var(--primary-color);
    opacity: 0.92;
    font-weight: 500;
}

/* ========================================
   Contact Section Styles
   ======================================== */
.contact-section {
    background: var(--background-dark);
    padding: 80px 0 60px 0;
    text-align: center;
}

.contact-section h2 {
    color: var(--accent-color);
    font-size: 2.3rem;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.contact-section p {
    color: var(--light-color);
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.85;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: var(--primary-color);
    border: 2.5px solid var(--primary-color);
    font-weight: 900;
    font-size: 1.1rem;
    padding: 12px 28px;
    border-radius: 7px;
    transition: all 0.25s;
    box-shadow: none;
    outline: none;
    margin: 0 6px;
    text-shadow: none;
    text-decoration: none;
}

.btn-contact i {
    font-size: 1.3em;
}

.btn-contact:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 2px 16px rgba(30,203,225,0.18);
    transform: translateY(-2px);
}

.btn-contact.whatsapp {
    border-color: #25d366;
    color: #25d366;
}

.btn-contact.whatsapp:hover {
    background: #25d366;
    color: #fff;
}

.btn-contact.instagram {
    border-color: #e1306c;
    color: #e1306c;
}

.btn-contact.instagram:hover {
    background: #e1306c;
    color: #fff;
}

/* ========================================
   FAQ Section with Carousel Styles
   ======================================== */
.faq {
    padding: 60px 0;
    background: var(--background-dark);
    text-align: center;
}

.faq-carousel {
    position: relative;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden; /* Ana container'da overflow gizle */
}

.faq-container {
    overflow: hidden;
    position: relative;
    margin: 0 60px;
    padding: 20px 0; /* Kartların üst-alt nefes alması için */
}

.faq-list {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 30px;
    align-items: stretch; /* Kartların eşit yükseklikte olması için */
}

.faq-item {
    background: var(--card-background);
    border-radius: 15px;
    padding: 30px 25px;
    min-width: 350px;
    max-width: 350px; /* Sabit genişlik */
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(30, 203, 225, 0.1);
    text-align: left;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.7;
    transform: scale(0.95);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    min-height: 200px; /* Minimum yükseklik */
}

.faq-item.active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--primary-color);
    box-shadow: 0 12px 35px rgba(30, 203, 225, 0.2);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: var(--font-family-headings);
    font-weight: 600;
}

.faq-item p {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: var(--dark-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(30, 203, 225, 0.3);
}

.faq-nav-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 203, 225, 0.4);
}

.faq-prev {
    left: 0;
}

.faq-next {
    right: 0;
}

.faq-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.faq-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ========================================
   Blog Section with Carousel Styles
   ======================================== */
.blog {
    padding: 60px 0;
    background: var(--background-dark);
    text-align: center;
}

.blog-carousel {
    position: relative;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.blog-container {
    overflow: hidden;
    position: relative;
    margin: 0 60px;
    padding: 20px 0;
}

.blog-list {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 30px;
    align-items: stretch;
}

.blog-item {
    background: var(--card-background);
    border-radius: 15px;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(30, 203, 225, 0.1);
    text-align: left;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.7;
    transform: scale(0.95);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.blog-item.active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--primary-color);
    box-shadow: 0 12px 35px rgba(30, 203, 225, 0.2);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-item:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-bottom: 15px;
}

.blog-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-family: var(--font-family-headings);
    font-weight: 600;
    line-height: 1.3;
}

.blog-item p {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.blog-read-more:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.blog-read-more i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

.blog-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: var(--dark-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(30, 203, 225, 0.3);
}

.blog-nav-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 203, 225, 0.4);
}

.blog-prev {
    left: 0;
}

.blog-next {
    right: 0;
}

.blog-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.blog-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.faq-item h3, .blog-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.faq-item p, .blog-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ========================================
   Services Section Styles
   ======================================== */
.services {
    padding: 100px 0;
    background-color: var(--background-dark);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.4s; }

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 500px;
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    border: 5px solid #222;
    transition: transform var(--transition-normal);
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
}

.service-content span {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.8;
    display: block;
    margin-bottom: 10px;
}

.service-content h3 {
    font-size: 2.5rem;
    margin: 10px 0;
    position: relative;
    padding-bottom: 15px;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.service-content p {
    line-height: var(--body-line-height);
    opacity: 0.9;
}

/* ========================================
   Appointment Section Styles
   ======================================== */
.appointment {
    padding: 60px 0;
    background: var(--background-dark);
    text-align: center;
}

.appointment .whatsapp-btn {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 15px 35px;
    font-weight: 700;
    font-family: var(--font-family-headings);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    text-decoration: none;
}

.appointment .whatsapp-btn:hover {
    background: #128c7e;
}

/* ========================================
   Map Section Styles
   ======================================== */
.map {
    padding: 60px 0;
    background: var(--background-dark);
    text-align: center;
}

.map iframe {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

/* ========================================
   Footer Styles
   ======================================== */
footer {
    background-color: #14243a;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col a {
    transition: color var(--transition-normal);
}

.footer-col a:hover {
    color: var(--primary-color);
}

.social-footer {
    display: flex;
    gap: 15px;
}

.social-footer a {
    font-size: 1.5rem;
    transition: all var(--transition-normal);
}

.social-footer a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #22345a;
    font-size: 0.9rem;
    color: #e8e6e3;
}

/* ========================================
   Language Switch Styles
   ======================================== */
.lang-switch {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2000;
    background: rgba(18,18,18,0.8);
    padding: 5px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.lang-switch button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    margin-right: 5px;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-switch button:hover {
    background: var(--accent-color);
    color: var(--dark-color);
}

/* ========================================
   Scroll to Top Button
   ======================================== */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: none;
}

#scrollTopBtn:hover {
    background: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .why-us h2,
    .gallery h2,
    .cta h2 {
        font-size: 2.5rem;
    }
    
    .service-image {
        flex: 0 0 350px;
    }
}

@media (max-width: 768px) {
    header .container {
        height: 70px;
    }
    
    .logo img {
        height: 60px;
        max-width: 180px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Mobile Navigation */
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 70vw;
        height: calc(100vh - 70px);
        background: rgba(20, 36, 58, 0.98);
        backdrop-filter: blur(10px);
        transition: left var(--transition-normal);
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }
    
    nav a {
        font-size: 1.2rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Hamburger Menu */
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Grid adjustments */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-item,
    .service-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .service-image {
        flex: none;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-contact {
        width: 250px;
        justify-content: center;
    }
    
    .lang-switch {
        top: 80px;
        left: 10px;
    }
    
    /* FAQ Carousel Mobile Styles */
    .faq-carousel {
        margin-top: 30px;
    }
    
    .faq-container {
        margin: 0 50px;
    }
    
    .faq-item {
        min-width: 300px;
        max-width: 300px;
        padding: 25px 20px;
        min-height: 180px;
    }
    
    .faq-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .faq-prev {
        left: 5px;
    }
    
    .faq-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .logo img {
        height: 50px;
        max-width: 150px;
    }
    
    .artist-item,
    .faq-item,
    .blog-item {
        width: 90vw;
        max-width: 300px;
    }
    
    .faq-item {
        min-width: 260px;
        max-width: 260px;
        padding: 20px 15px;
        min-height: 160px;
    }
    
    .blog-item {
        min-width: 280px;
        max-width: 280px;
        padding: 0;
        min-height: 320px;
    }
    
    .blog-content {
        padding: 15px;
    }
    
    .blog-item h3 {
        font-size: 1.1em;
    }
    
    .blog-item p {
        font-size: 0.9em;
    }
    
    .faq-container {
        margin: 0 40px;
    }
    
    .faq-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    
    .blog-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    
    .blog-navigation {
        gap: 15px;
        margin-top: 20px;
    }
    
    .lang-switch {
        top: 70px;
        left: 5px;
        padding: 3px 6px;
    }
    
    .lang-switch button {
        padding: 3px 6px;
        font-size: 0.8rem;
    }
    
    #scrollTopBtn {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ========================================
   Accessibility & Performance
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Remove focus outline from logo */
.logo:focus {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #00ffff;
        --accent-color: #ffffff;
        --dark-color: #000000;
        --light-color: #ffffff;
    }
}

/* Print styles */
@media print {
    header,
    .lang-switch,
    #scrollTopBtn,
    .lightbox {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-bg {
        display: none;
    }
    
    a {
        text-decoration: underline;
    }
}

/* Utility classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Blog Detail Pages Styles
   ======================================== */

/* Blog Post Layout */
.blog-post {
    background-color: var(--background-dark);
    color: var(--light-color);
    padding: 80px 0 60px;
    min-height: 100vh;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 30px;
    padding: 10px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--light-color);
}

.breadcrumb span {
    margin: 0 10px;
    color: #666;
}

/* Blog Header */
.blog-header {
    margin-bottom: 40px;
    text-align: center;
}

.blog-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.blog-category {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: var(--border-radius-small);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-date {
    color: #999;
    font-size: 14px;
}

.blog-header h1 {
    color: var(--light-color);
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.blog-featured-image {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Blog Content */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
}

.blog-intro {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    background: rgba(30, 203, 225, 0.1);
    border-radius: var(--border-radius-small);
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    color: var(--light-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.content-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.content-section h4 {
    color: var(--light-color);
    font-size: 1.2rem;
    margin: 20px 0 10px;
}

.content-section ul,
.content-section ol {
    margin: 15px 0;
    padding-left: 30px;
}

.content-section li {
    margin-bottom: 8px;
}

.content-section p {
    margin-bottom: 15px;
    color: #ddd;
}

/* Special Content Elements */
.trend-grid,
.quality-features,
.indicator-list,
.red-flags,
.consultation-guide,
.studio-checklist,
.pricing-guide,
.final-tips,
.care-timeline,
.warning-grid,
.jewelry-materials,
.preparation-checklist,
.research-steps,
.quality-indicators,
.sterilization-guide,
.auxiliary-equipment,
.standards-guide,
.documentation-system {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.trend-grid,
.quality-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.trend-item,
.feature-item,
.indicator-item,
.flag-item,
.tip-item,
.warning-item,
.material-item,
.prep-category,
.step-item,
.equipment-item {
    background: var(--card-background);
    padding: 20px;
    border-radius: var(--border-radius-medium);
    border-left: 4px solid var(--primary-color);
}

.trend-item h3,
.feature-item h4,
.indicator-item h4,
.tip-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Timeline Styles */
.care-timeline,
.protocol-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item,
.protocol-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--card-background);
    padding: 20px;
    border-radius: var(--border-radius-medium);
}

.timeline-period,
.step-number {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
}

.timeline-content,
.step-content {
    flex: 1;
}

.timeline-content h4,
.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Warning and Danger Items */
.warning-item.infection,
.warning-item.allergic,
.warning-item.rejection,
.flag-item.danger {
    border-left-color: #ff4757;
}

.warning-item.infection i,
.warning-item.allergic i,
.warning-item.rejection i,
.flag-item.danger i {
    color: #ff4757;
}

/* CTA Section */
.blog-cta {
    background: linear-gradient(135deg, var(--primary-color), #17a2b8);
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    text-align: center;
    margin: 50px 0;
}

.blog-cta h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.blog-cta p {
    color: var(--dark-color);
    margin-bottom: 25px;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--card-background);
}

.related-posts h3 {
    color: var(--light-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-item {
    background: var(--card-background);
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    transition: var(--transition-normal);
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.related-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-item h4 {
    color: var(--primary-color);
    padding: 15px 15px 10px;
    font-size: 1.1rem;
}

.related-item p {
    padding: 0 15px 15px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Design for Blog Posts */
@media (max-width: 768px) {
    .blog-post {
        padding: 60px 0 40px;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-content {
        font-size: 15px;
    }
    
    .trend-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item,
    .protocol-step {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Ensure blog pages use consistent color palette */
.blog-detail {
    background-color: var(--background-dark);
    color: var(--light-color);
}

.blog-detail h1,
.blog-detail h2,
.blog-detail h3,
.blog-detail .blog-category,
.blog-detail .breadcrumb a,
.blog-detail .btn,
.blog-detail .footer-col h4,
.blog-detail .footer-col a,
.blog-detail .social-footer a,
.blog-detail nav a:hover {
    color: var(--primary-color) !important;
}

.blog-detail .blog-category,
.blog-detail .contact-cta {
    background: var(--primary-color) !important;
}

.blog-detail .warning-box,
.blog-detail .info-box {
    background: rgba(30, 203, 225, 0.1) !important;
    border-color: var(--primary-color) !important;
}

.blog-detail .btn {
    background: var(--light-color) !important;
    color: var(--primary-color) !important;
}

.blog-detail .hamburger span {
    background: var(--primary-color) !important;
}
