/* =============================================
   Helvacı - Premium Kurumsal Stiller
   ============================================= */

/* ---- Genel Sıfırlama ---- */
*, *::before, *::after { box-sizing: border-box; }

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

/* ---- Seçim Rengi ---- */
::selection {
    background-color: #003B25;
    color: #F7F3EB;
}

/* ---- Scroll Çubuğu ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FCFAF6; }
::-webkit-scrollbar-thumb { background: #E7DED0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #C7A85A; }

/* ---- Hero Animasyonları ---- */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes subtlePulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

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

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-fade-up {
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-fade-up-delay {
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
    opacity: 0;
}

.hero-fade-up-delay-2 {
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
    opacity: 0;
}

.hero-fade-in-slow {
    animation: heroFadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

.float-slow {
    animation: floatSlow 6s ease-in-out infinite;
}

/* ---- Altın Çizgi Efekti ---- */
.altin-cizgi {
    position: relative;
    display: inline-block;
}
.altin-cizgi::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C7A85A, transparent);
}

/* ---- Premium Kartlar ---- */
.urun-kart {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #FCFAF6;
    border: 1px solid #E7DED0;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.urun-kart:hover {
    border-color: #C7A85A;
    box-shadow: 0 20px 40px -12px rgba(0, 59, 37, 0.08), 0 0 0 1px rgba(199, 168, 90, 0.2);
    transform: translateY(-4px);
}

.urun-kart .gorsel-alan {
    overflow: hidden;
    position: relative;
}

.urun-kart .gorsel-alan img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.urun-kart:hover .gorsel-alan img {
    transform: scale(1.05);
}

.urun-kart .gorsel-alan::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,59,37,0.04), transparent 50%);
    pointer-events: none;
}

/* ---- Özellik Kutuları ---- */
.ozellik-kutu {
    position: relative;
    padding: 2rem;
    background: #FCFAF6;
    border: 1px solid #E7DED0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ozellik-kutu:hover {
    border-color: #C7A85A;
    background: white;
    box-shadow: 0 8px 30px -8px rgba(0, 59, 37, 0.06);
}

.ozellik-kutu .ikon-alan {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #003B25, #0F2E25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C7A85A;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.ozellik-kutu:hover .ikon-alan {
    transform: scale(1.05);
}

/* ---- Bayilik CTA Arka Plan ---- */
.bayilik-cta-bg {
    background: linear-gradient(135deg, #003B25 0%, #0F2E25 60%, #003B25 100%);
    position: relative;
    overflow: hidden;
}

.bayilik-cta-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(199,168,90,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.bayilik-cta-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(199,168,90,0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- İstatistik Kutuları ---- */
.istatistik-kutu {
    text-align: center;
    padding: 1.5rem;
}

.istatistik-kutu .sayi {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.istatistik-kutu .etiket {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---- Buton Stilleri ---- */
.btn-marka {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: #003B25;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-marka:hover {
    background: #0F2E25;
    box-shadow: 0 4px 12px rgba(0, 59, 37, 0.2);
    transform: translateY(-1px);
}

.btn-marka-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: #003B25;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    border: 1.5px solid #003B25;
    cursor: pointer;
}

.btn-marka-outline:hover {
    background: #003B25;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 59, 37, 0.15);
}

.btn-altin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #C7A85A, #b8993f);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-altin:hover {
    box-shadow: 0 4px 16px rgba(199, 168, 90, 0.3);
    transform: translateY(-1px);
}

/* ---- Doku Arkaplanı ---- */
.doku-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3Ccircle cx='20' cy='20' r='0.5' fill='%23C7A85A' opacity='0.1'/%3E%3C/svg%3E");
}

/* ---- Form Stilleri ---- */
.form-input-premium {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    background: #FCFAF6;
    border: 1px solid #E7DED0;
    border-radius: 8px;
    color: #1E1E1E;
    transition: all 0.2s ease;
    outline: none;
}

.form-input-premium:focus {
    border-color: #C7A85A;
    box-shadow: 0 0 0 3px rgba(199, 168, 90, 0.12);
    background: white;
}

.form-input-premium::placeholder {
    color: #5C5C5C;
    opacity: 0.6;
}

.form-label-premium {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1E1E1E;
    margin-bottom: 0.375rem;
    letter-spacing: 0.01em;
}

/* ---- Bölüm Başlık ---- */
.bolum-baslik {
    text-align: center;
    margin-bottom: 3rem;
}

.bolum-baslik h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #1E1E1E;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.bolum-baslik p {
    font-size: 1rem;
    color: #5C5C5C;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.bolum-baslik .ust-etiket {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C7A85A;
    margin-bottom: 0.75rem;
}

.bolum-baslik .ust-etiket::before,
.bolum-baslik .ust-etiket::after {
    content: '';
    width: 24px;
    height: 1px;
    background: #C7A85A;
    opacity: 0.5;
}

/* ---- Scroll Reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Admin / Bayi Panel Stilleri ---- */
.panel-sidebar {
    background: linear-gradient(180deg, #003B25 0%, #0F2E25 100%);
    min-height: 100vh;
}

.panel-sidebar .menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    margin: 0 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    transition: all 0.2s ease;
}

.panel-sidebar .menu-link:hover {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
}

.panel-sidebar .menu-link.aktif {
    background: rgba(199,168,90,0.15);
    color: #C7A85A;
}

.panel-sidebar .menu-link i {
    font-size: 1.125rem;
    width: 1.25rem;
    text-align: center;
}

.panel-kart {
    background: white;
    border: 1px solid #E7DED0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease;
}

.panel-kart:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.panel-tablo {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.panel-tablo thead th {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5C5C5C;
    background: #F7F3EB;
    border-bottom: 1px solid #E7DED0;
    text-align: left;
}

.panel-tablo thead th:first-child { border-radius: 8px 0 0 0; }
.panel-tablo thead th:last-child { border-radius: 0 8px 0 0; }

.panel-tablo tbody td {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    border-bottom: 1px solid #F7F3EB;
    color: #1E1E1E;
}

.panel-tablo tbody tr:hover td {
    background: #FCFAF6;
}

.panel-tablo tbody tr:last-child td {
    border-bottom: none;
}

/* ---- Harita iframe Responsive ---- */
.aspect-\[4\/3\] iframe,
.aspect-square iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
    object-fit: cover;
}

/* ---- Responsif ---- */
@media (max-width: 768px) {
    .bolum-baslik h2 {
        font-size: 1.75rem;
    }
    
    .istatistik-kutu .sayi {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .bolum-baslik h2 {
        font-size: 1.5rem;
    }
}
