/* Genel Ayarlar */
:root {
    --primary-green: #2d5a27;
    --soft-pink: #f4aeba;
    --paper-white: #faf9f6;
    --primary-color: #2d5a27;
    --accent-color: #f4aeba;
    --bg-color: #faf9f6;
    --text-main: #333333;
    --transition: all 0.3s ease;
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--paper-white);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, .brand-font { 
    font-family: 'Playfair Display', serif; 
}

/* Ürün Kartı Efektleri */
.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.image-zoom {
    transition: transform 0.6s ease;
}

.product-card:hover .image-zoom {
    transform: scale(1.1);
}

/* Zarif Buton */
.btn-order {
    background-color: var(--primary-green);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-green);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
}

.btn-order:hover {
    background-color: transparent;
    color: var(--primary-green);
    letter-spacing: 1px;
}

/* Özel Kaydırma Çubuğu */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

/* Mobil Menü */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 100;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    nav .hidden.md\:flex {
        display: none !important;
    }
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    z-index: 10;
}

.close-modal:hover {
    color: var(--primary-green);
}

/* Favoriler listesi stilleri (cart-* stilleri kaldırıldı) */
.favorite-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #f1f1f1;
}
.favorite-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
}
.favorite-item-info { flex: 1; }
.favorite-item-controls { display: flex; gap: 8px; margin-top: 8px; }

/* Ürün Detay Modal */
.product-detail-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Arama ve Filtreleme */
.search-filter-section {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
}

.nav-search-input {
    width: 100%;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding-left: 16px;
    padding-right: 16px;
}

@media (max-width: 768px) {
    .nav-search-input {
        display: none;
    }
}

/* Center desktop nav absolutely so it's perfectly centered in header */
@media (min-width: 768px) {
    nav { position: relative; }
    nav .nav-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        pointer-events: auto;
    }
}

/* Brand + search pill */
.brand-search { gap: 12px; }
.brand-search-pill {
    background: rgba(255,255,255,0.98);
    padding: 6px 10px;
    border-radius: 9999px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}
.inside-pill {
    width: 220px;
    height: 36px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 9999px;
}

@media (max-width: 768px) {
    .brand-search-pill { display: none; }
    .inside-pill { width: 100%; }
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* Favoriler */
.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    z-index: 5;
}

.favorite-btn.active {
    color: #ff4757;
}

.favorite-btn:hover {
    background: white;
    transform: scale(1.1);
}

/* Loading State */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

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

/* Form Stilleri */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-green);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Checkout styles removed (feature disabled) */

/* Footer İyileştirmeleri */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: white;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Polished footer social block: centered heading + balanced icon sizing */
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding-top: 6px;
}
.footer-social h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1;
    color: #f3f7f6;
    font-weight: 600;
    display: inline-block;
    margin-left: 6px;
}
.footer-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .footer-social h3 {
        margin-left: 0;
    }
    .footer-social .social-icons a {
        width: 40px;
        height: 40px;
    }
}
.footer-social .social-icons a {
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    border: 1px solid rgba(255,255,255,0.04);
}
.footer-social .social-icons a i {
    color: rgba(255,255,255,0.85);
}
.footer-social .social-icons a:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Duygular Kartları */
.emotion-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.emotion-card:hover {
    transform: translateY(-10px);
}

/* Scroll to Top Button */
#scrollTopBtn {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Auth Tabs */
.auth-tab {
    color: #666;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.auth-tab.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

/* Admin Tabs */
.admin-tab {
    color: #666;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.admin-tab.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

/* User Menu */
#userMenu {
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#userMenu a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

#userMenu a:hover {
    background: #f3f4f6;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        text-align: center;
    }
    
    .search-filter-section {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 10px;
    }
    
    #scrollTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Duygu Butonları */
.emotion-btn {
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.emotion-btn:hover {
    border-color: var(--primary-green) !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.emotion-btn.selected,
.emotion-btn:active {
    border-color: var(--primary-green) !important;
    background: rgba(45, 90, 39, 0.1) !important;
    transform: scale(0.98);
}

.emotion-btn span:first-child {
    font-size: 1.75rem;
    line-height: 1;
}

.emotion-btn span:last-child {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Duygu Butonları */
@media (max-width: 640px) {
    .emotion-btn {
        padding: 8px !important;
    }
    
    .emotion-btn span:first-child {
        font-size: 1.5rem;
    }
    
    .emotion-btn span:last-child {
        font-size: 0.6rem;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
/*chat mobil uyum calısması 2 */
    @media (max-width:768px){

nav{
    min-height:72px;
}

.brand-font{
    font-size:1.35rem;
}

#userButtonText{
    display:none;
}

#adminPanelLink{
    display:none !important;
}










@media (max-width:768px){

#userButtonText{
    display:none;
}

#userName{
    display:none !important;
}

#adminPanelLink{
    display:none !important;
}

#favorites-count{
    width:16px;
    height:16px;
    font-size:9px;
    top:-4px;
    right:-4px;
}














@media (max-width:768px){

nav{
    padding:12px 16px;
}

.brand-font{
    font-size:1.55rem;
}

#userButtonText,
#userName,
#adminPanelLink{
    display:none !important;
}

#favorites-count{
    width:16px;
    height:16px;
    font-size:9px;
}

.hamburger{
    margin-left:2px;
}



}
