/* =============================================
   Zirve Kuyumculuk - Boho-Modern Lüks Tema
   Mat antrasit, yumuşak altın, fildişi, zümrüt
   ============================================= */

/* === BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: rgba(212,175,55,0.25);
    color: #1A1A1F;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F5F5F0; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D4AF37, #8B7500);
    border-radius: 10px;
}

/* === KONTRAST & OKUNABİLİRLİK === */
/* Mat antrasit üzerine yumuşak fildişi/altın - göz yormayan kombinasyon */
.text-readable-light { color: #E8E4D9; } /* Fildişi - koyu zemin üzerinde */
.text-readable-gold { color: #C9A84C; } /* Yumuşak altın - koyu zemin üzerinde */
.text-readable-muted { color: #9B978E; } /* Soluk fildişi - ikincil metin */

/* === NAV LINKS === */
.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3D3D42;
    transition: all 0.3s ease;
    position: relative;
}
.nav-link:hover {
    color: #B8960C;
    background-color: rgba(212,175,55,0.06);
}
.nav-active {
    color: #B8960C !important;
    background-color: rgba(212,175,55,0.08);
}

/* === MARBLE TEXTURE === */
.marble-bg {
    background-color: #FAF9F6;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(45,106,79,0.02) 0%, transparent 50%);
}

/* === HERO SECTION === */
.hero-gradient {
    background: linear-gradient(135deg, #1A1A1F 0%, #1B4332 30%, #2D6A4F 50%, #1B4332 70%, #1A1A1F 100%);
}

.hero-pattern {
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(45,106,79,0.12) 0%, transparent 50%);
}

/* Slider/hero üzerindeki yazıları okunur kıl */
.hero-overlay {
    background: linear-gradient(135deg, rgba(26,26,31,0.75) 0%, rgba(26,26,31,0.45) 50%, rgba(26,26,31,0.6) 100%);
}

.slider-overlay {
    background: linear-gradient(to right, rgba(26,26,31,0.85) 0%, rgba(26,26,31,0.5) 50%, transparent 100%);
}

.slider-overlay-center {
    background: radial-gradient(ellipse at center, rgba(26,26,31,0.3) 0%, rgba(26,26,31,0.7) 100%);
}

/* === PRODUCT CARD === */
.product-card {
    background: white;
    border-radius: 0.875rem;
    overflow: hidden;
    transition: all 0.35s ease;
    border: 1px solid rgba(0,0,0,0.06);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08), 0 0 0 1px rgba(212,175,55,0.15);
}
.product-card .product-image {
    overflow: hidden;
    position: relative;
    background: #F5F4F0;
}
.product-card .product-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-card .product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    transition: bottom 0.3s ease;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(to top, rgba(26,26,31,0.6), transparent);
}
.product-card:hover .product-actions {
    bottom: 0;
}

/* === GOLD SHIMMER === */
.gold-shimmer {
    background: linear-gradient(110deg, #C9A84C 0%, #E8D48B 20%, #C9A84C 40%, #A68B2E 60%, #C9A84C 80%, #E8D48B 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* === DECORATIVE BORDERS === */
.botanical-border { position: relative; }
.botanical-border::before, .botanical-border::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 5C30 5 15 25 15 50s15 45 35 45c-10-15-15-30-15-45S40 15 50 5z' fill='%232D6A4F'/%3E%3Cpath d='M50 5c20 0 35 20 35 45S70 95 50 95c10-15 15-30 15-45S60 15 50 5z' fill='%232D6A4F'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}
.botanical-border::before { top: -30px; left: -30px; transform: rotate(-30deg); }
.botanical-border::after { bottom: -30px; right: -30px; transform: rotate(150deg); }

/* === SECTION DIVIDER === */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}
.section-divider::before, .section-divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(to right, transparent, rgba(212,175,55,0.4), transparent);
}

/* === CATEGORY CARD === */
.category-card {
    position: relative;
    border-radius: 0.875rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}
.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,31,0.85) 0%, rgba(26,26,31,0.3) 40%, transparent 100%);
    transition: all 0.4s ease;
}
.category-card:hover::after {
    background: linear-gradient(to top, rgba(27,67,50,0.9) 0%, rgba(45,106,79,0.4) 40%, transparent 100%);
}
.category-card:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.category-card .cat-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem;
    transform: translateY(8px);
    transition: transform 0.4s ease;
}
.category-card:hover .cat-content { transform: translateY(0); }

/* === PRICE TAG === */
.price-tag {
    background: linear-gradient(135deg, #B8960C, #8B7500);
    color: #FFF9E6;
    padding: 0.4rem 1.1rem;
    border-radius: 2rem;
    font-weight: 700;
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* === BUTTONS === */
.btn-luxury {
    background: linear-gradient(135deg, #C9A84C 0%, #A68B2E 50%, #C9A84C 100%);
    background-size: 200% 100%;
    color: #1A1A1F;
    padding: 0.8rem 2rem;
    border-radius: 0.625rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}
.btn-luxury:hover {
    background-position: 100% 0;
    box-shadow: 0 6px 24px rgba(201,168,76,0.35);
    transform: translateY(-2px);
}

.btn-emerald {
    background: linear-gradient(135deg, #2D6A4F, #1B4332);
    color: #E8E4D9;
    padding: 0.8rem 2rem;
    border-radius: 0.625rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-emerald:hover {
    box-shadow: 0 6px 24px rgba(45,106,79,0.35);
    transform: translateY(-2px);
}

/* === TESTIMONIAL === */
.testimonial-card {
    background: white;
    border-radius: 0.875rem;
    padding: 1.75rem;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: rgba(212,175,55,0.12);
    position: absolute;
    top: -5px;
    left: 15px;
    line-height: 1;
}
.testimonial-card:hover {
    border-color: rgba(212,175,55,0.25);
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}

/* === STAR RATING === */
.star-rating { display: inline-flex; gap: 2px; }
.star-rating .star { color: #D4AF37; font-size: 0.85rem; }
.star-rating .star.empty { color: #D4D4C8; }

/* === REVIEW CARD === */
.review-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.review-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

/* === ANIMATIONS === */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.3); }
    50% { box-shadow: 0 0 0 12px rgba(212,175,55,0); }
}

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

.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-gold { animation: pulse-gold 2s ease-in-out infinite; }

/* === LOADER === */
.page-loader {
    position: fixed;
    inset: 0;
    background: #FAF9F6;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}
.page-loader.hide { opacity: 0; pointer-events: none; }
.loader-ring {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(212,175,55,0.15);
    border-top-color: #C9A84C;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === BADGE === */
.badge-new {
    background: linear-gradient(135deg, #2D6A4F, #52B788);
    color: white;
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.badge-featured {
    background: linear-gradient(135deg, #B8960C, #8B7500);
    color: #FFF9E6;
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* === QUANTITY SELECTOR === */
.qty-btn {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E0E0E2;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}
.qty-btn:hover {
    background: rgba(212,175,55,0.06);
    border-color: #C9A84C;
    color: #B8960C;
}
.qty-input {
    width: 2.75rem;
    height: 2.25rem;
    text-align: center;
    border-top: 1px solid #E0E0E2;
    border-bottom: 1px solid #E0E0E2;
    border-left: none;
    border-right: none;
    outline: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* === TAB STYLES === */
.tab-btn {
    padding: 0.6rem 1.25rem;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    color: #66666E;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}
.tab-btn:hover { color: #B8960C; }
.tab-btn.active { color: #B8960C; border-bottom-color: #C9A84C; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeInUp 0.3s ease; }

/* === GALLERY === */
.gallery-item {
    border-radius: 0.625rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* === SLIDER/CAROUSEL === */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}
.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.slider-slide {
    min-width: 100%;
    position: relative;
}
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1rem;
}
.slider-nav-btn:hover {
    background: rgba(212,175,55,0.3);
    border-color: rgba(212,175,55,0.5);
}
.slider-nav-btn.prev { left: 1rem; }
.slider-nav-btn.next { right: 1rem; }

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.slider-dot.active {
    background: #D4AF37;
    transform: scale(1.2);
}

/* === AUTH FORMS === */
.auth-container {
    max-width: 480px;
    margin: 0 auto;
}
.auth-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem !important; line-height: 1.2 !important; }
    .section-title { font-size: 1.5rem !important; }
    .slider-nav-btn { width: 36px; height: 36px; font-size: 0.8rem; }
    .slider-nav-btn.prev { left: 0.5rem; }
    .slider-nav-btn.next { right: 0.5rem; }
    .product-card .product-actions { bottom: 0; background: linear-gradient(to top, rgba(26,26,31,0.5), transparent); }
    .auth-card { padding: 1.5rem; margin: 0 1rem; }
    .btn-luxury, .btn-emerald { padding: 0.7rem 1.5rem; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem !important; }
    .slider-dots { bottom: 0.75rem; }
    .slider-dot { width: 8px; height: 8px; }
}

/* === MAP CONTAINER === */
.map-container {
    border-radius: 0.875rem;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
