/* ================================
   Laf Atölyesi - Modern White Theme
   ================================ */

/* CSS Variables */
:root {
    --primary: #FF6B35;
    --primary-dark: #e55a2b;
    --secondary: #D4A574;
    --accent: #2C3E50;

    /* Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #8a8a8a;
    --border: #e5e5e5;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.12);

    /* Dimensions */
    --sidebar-width: 320px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #252525;
    --text-primary: #ffffff;
    --text-secondary: #c0c0c0;
    --text-muted: #707070;
    --border: #333333;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.5);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

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

/* ================================
   LAYOUT - Split Screen
   ================================ */

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ================================
   LEFT SIDEBAR (SABİT ALAN)
   ================================ */

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-primary);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-header {
    padding: 40px 30px 30px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: block;
    margin-bottom: 16px;
}

.logo img {
    max-width: 160px;
    height: auto;
}

.logo-placeholder {
    width: 120px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--border-radius);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.slogan {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    min-height: 24px;
}

.typing-cursor {
    animation: blink 0.7s infinite;
    color: var(--primary);
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Navigation Menu */
.nav-menu {
    flex: 1;
    padding: 20px 0;
}

.nav-list {
    list-style: none;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--primary);
    border-radius: 0 4px 4px 0;
    transition: height 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

.nav-link:hover::before,
.nav-link.active::before {
    height: 24px;
}

.nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.nav-link .arrow {
    margin-left: auto;
    font-size: 0.7rem;
    transition: transform 0.3s;
}

/* Dropdown Menu */
.has-dropdown .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-tertiary);
}

.has-dropdown.open .dropdown-menu {
    max-height: 500px;
}

.has-dropdown.open .arrow {
    transform: rotate(180deg);
}

.dropdown-menu .nav-link {
    padding-left: 60px;
    font-size: 0.9rem;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 30px;
    border-top: 1px solid var(--border);
}

.theme-toggle i {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.theme-toggle-btn {
    width: 50px;
    height: 26px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 13px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.theme-toggle-btn::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px var(--shadow);
    transition: left 0.3s;
}

[data-theme="dark"] .theme-toggle-btn {
    background: var(--primary);
}

[data-theme="dark"] .theme-toggle-btn::after {
    left: 27px;
}

/* ================================
   MAIN CONTENT (SAĞA AKAN İÇERİK)
   ================================ */

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Header Bar */
.top-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.auth-link:hover {
    color: var(--primary);
}

.auth-link.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.auth-link.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ================================
   STORIES SECTION (HİKAYE BÖLÜMÜ)
   ================================ */

.stories-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: var(--primary);
}

.stories-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.stories-wrapper::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex-shrink: 0;
    cursor: pointer;
    text-align: center;
}

.story-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), #9b59b6);
    margin-bottom: 8px;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-primary);
}

.story-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 3px solid var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
}

/*.story-title {
    display: none;
}*/

/* Modal Story Title */
.modal-story-title {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 10;
}

/* ================================
   MAIN LAYOUT (FEED + RIGHT SIDEBAR)
   ================================ */

.main-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* ================================
   FEED SECTION (AKIŞ PAYLAŞIMI)
   ================================ */

.feed-section {
    margin-bottom: 40px;
}

.posts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* ================================
   RIGHT SIDEBAR (SAĞ TARAF)
   ================================ */

.right-sidebar {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.right-sidebar::-webkit-scrollbar {
    width: 4px;
}

.right-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.right-sidebar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

/* Sidebar Wrapper - Tek Kart */
.sidebar-wrapper {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--shadow);
    overflow: hidden;
}

/* Sidebar Section */
.sidebar-section {
    padding: 20px;
}

.sidebar-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.sidebar-section-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
}

.sidebar-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.sidebar-section-link {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

.sidebar-section-link:hover {
    text-decoration: underline;
}

/* Sidebar Divider */
.sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 0 20px;
}

/* Quote Items */
.sidebar-section-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quote-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    transition: all 0.2s;
}

.quote-item:hover {
    background: var(--bg-secondary);
    transform: translateX(4px);
}

.quote-number {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.quote-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-style: italic;
}

/* Ad Banner */
.sidebar-ad-area {
    margin-top: 12px;
}

.ad-banner {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
}

.ad-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.ad-banner-content i {
    font-size: 1.5rem;
}

.ad-banner-content span {
    font-size: 0.85rem;
    font-weight: 500;
}

.ad-link img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Products List */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    transition: all 0.2s;
}

.product-item:hover {
    background: var(--bg-secondary);
    transform: translateX(4px);
}

.product-item-image {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.product-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item-image i {
    font-size: 1rem;
    color: var(--text-muted);
}

.product-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.product-item-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-item-price {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

/* Post Card */
.post-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.post-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    max-height: 280px;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.post-media img,
.post-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
}

.post-watermark {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Post Content */
.post-content {
    padding: 16px;
}

.post-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 12px;
    font-family: 'Playfair Display', Georgia, serif;
}

.post-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 16px;
}

/* Post Actions */
.post-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.post-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.post-action-btn:hover {
    background: var(--primary);
    color: white;
}

.post-action-btn.liked {
    background: #e74c3c;
    color: white;
}

.post-action-btn i {
    font-size: 0.9rem;
}

.post-action-btn.customize-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    flex: 1;
    justify-content: center;
}

.post-action-btn.customize-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* ================================
   SIDEBAR WIDGETS (SAĞ ALT BÖLÜMLER)
   ================================ */

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

/* Widget Card */
.widget-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: 0 4px 20px var(--shadow);
}

.widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i {
    color: var(--primary);
}

/* Popular Quotes Widget */
.popular-quote-item {
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    border-left: 3px solid var(--primary);
}

.popular-quote-item:last-child {
    margin-bottom: 0;
}

/* Ad Widget */
.ad-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.ad-image {
    width: 100%;
    border-radius: var(--border-radius);
}

/* Popular Products Widget */
.product-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    transition: all 0.3s;
}

.product-mini-card:last-child {
    margin-bottom: 0;
}

.product-mini-card:hover {
    transform: translateX(4px);
}

.product-mini-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-secondary);
}

.product-mini-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.product-mini-price {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 24px 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: auto;
}

/* ================================
   MOBILE HEADER & RESPONSIVE
   ================================ */

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 200;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
}

.mobile-logo {
    height: 36px;
}

.theme-toggle-btn-mobile {
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s;
}

.overlay.open {
    display: block;
    opacity: 1;
}

/* Story Modal */
.story-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.story-modal.open {
    opacity: 1;
    visibility: visible;
}

.story-modal-content {
    max-width: 500px;
    max-height: 90vh;
    position: relative;
}

.story-modal-content img,
.story-modal-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--border-radius);
}

.story-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1400px) {
    .main-layout {
        grid-template-columns: 1fr 320px;
    }

    .posts-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .widgets-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-layout {
        grid-template-columns: 1fr;
    }

    .right-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .mobile-header {
        display: flex;
    }

    .content-area {
        padding-top: 80px;
    }

    .top-header {
        display: none;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .widgets-grid {
        grid-template-columns: 1fr;
    }

    .right-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-area {
        padding: 70px 16px 20px;
    }

    .post-actions {
        flex-direction: column;
    }

    .post-action-btn {
        justify-content: center;
    }

    .right-sidebar {
        grid-template-columns: 1fr;
    }
}

/* ================================
   EMPTY STATES
   ================================ */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--border);
}

.empty-state h3 {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 0.95rem;
}

/* ================================
   PAGINATION
   ================================ */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    gap: 8px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ================================
   PAGES (SAYFALAR)
   ================================ */

.page-container {
    padding: 0;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
}

/* About Page */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.8;
}

.about-text h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--bg-primary);
    padding: 24px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Mission & Vision */
.mission-section,
.vision-section,
.team-section {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 40px;
    text-align: center;
}

.mission-section h2,
.vision-section h2,
.team-section h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.mission-section h2 i,
.vision-section h2 i,
.team-section h2 i {
    color: var(--primary);
}

.mission-section p,
.vision-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--bg-secondary);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-muted);
    border: 2px solid var(--primary);
}

.team-member h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-member p {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-info h2 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Contact Social */
.social-links-contact {
    display: flex;
    gap: 12px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-form-wrapper h2 {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-error {
    display: block;
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 6px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Responsive Pages */
@media (max-width: 992px) {

    .about-section,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   PRODUCTS PAGE (ÜRÜNLER)
   ================================ */

.products-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-secondary);
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
}

/* Product Grid Adjustments */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-lg);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-view-btn {
    background: white;
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.product-card:hover .product-view-btn {
    transform: translateY(0);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex: 1;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.current-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-btn {
    width: 100%;
    padding: 12px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.product-btn:hover {
    background: var(--primary);
    color: white;
}

/* Product Detail Page */
.product-detail-container {
    padding: 20px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.3s;
}

.thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

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

.product-title {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.product-pricing {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.discount-badge {
    background: var(--danger);
    color: white;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.product-description,
.product-features {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.product-description h3,
.product-features h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.product-features li i {
    color: var(--success);
}

.product-actions-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.btn-customize {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s;
}

.btn-customize:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.quick-actions {
    display: flex;
    gap: 10px;
}

.quick-btn {
    width: 50px;
    height: 50px;
    /* matched height with btn-customize rough estimate */
    background: var(--bg-tertiary);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-btn:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.product-meta-info {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tabs */
.product-tabs {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px var(--shadow);
}

.tab-buttons {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

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

.tab-content.hidden {
    display: none;
}

/* Customize Page */
.customize-container {
    padding: 20px 0;
}

.customize-header {
    text-align: center;
    margin-bottom: 40px;
}

.customize-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.customize-preview {
    position: sticky;
    top: 100px;
}

.preview-wrapper {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
}

.preview-product {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
    overflow: hidden;
}

.preview-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.customize-options form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.option-section {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 15px var(--shadow);
}

.option-section h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.product-select-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.product-select-item {
    cursor: pointer;
    position: relative;
}

.product-select-item input {
    position: absolute;
    opacity: 0;
}

.product-select-content {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.product-select-item input:checked+.product-select-content {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

.product-select-placeholder {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-select-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.product-select-price {
    color: var(--primary);
    font-weight: 600;
}

.quote-input-area textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
    margin-top: 8px;
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.style-options {
    display: grid;
    gap: 20px;
}

.style-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.font-select,
.color-select {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.font-option,
.color-option {
    cursor: pointer;
}

.font-option input,
.color-option input {
    display: none;
}

.font-option span {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s;
}

.font-option input:checked+span {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid transparent;
    box-shadow: 0 2px 5px var(--shadow);
}

.color-option input:checked+.color-swatch {
    transform: scale(1.2);
    box-shadow: 0 0 0 2px var(--primary);
}

.order-summary {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.summary-row.total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-dark);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.btn-order {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

@media (max-width: 992px) {

    .product-detail-grid,
    .customize-grid {
        grid-template-columns: 1fr;
    }

    .customize-preview {
        position: static;
        margin-bottom: 30px;
    }
}

/* ================================
   GALLERY PAGE (GALERİ)
   ================================ */

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

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

.gallery-item {
    break-inside: avoid;
    margin-bottom: 24px;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.gallery-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    /* Kare format */
    background: var(--bg-tertiary);
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s, background 0.3s;
    transform: translateY(20px);
}

.gallery-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px) !important;
}

.gallery-item:hover .gallery-btn {
    transform: translateY(0);
}

.gallery-info {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.gallery-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.gallery-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

/* ================================
   AUTH PAGES (GİRİŞ/KAYIT)
   ================================ */

.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px var(--shadow-lg);
    border: 1px solid var(--border);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.auth-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color 0.3s;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s;
}

.input-with-icon input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    outline: none;
}

.input-with-icon input:focus+i {
    color: var(--primary);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.form-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-check label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.forgot-link {
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ================================
   PROFILE PAGE (KULLANICI PANELİ)
   ================================ */

.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 60px;
}

.profile-header {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px var(--shadow);
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
}

.profile-avatar img,
.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-secondary);
    box-shadow: 0 4px 15px var(--shadow);
}

.avatar-placeholder {
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    border: 3px solid var(--bg-primary);
}

.avatar-edit-btn:hover {
    transform: scale(1.1);
}

.profile-info h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.profile-email {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.profile-date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.profile-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.profile-tab {
    padding: 12px 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    white-space: nowrap;
}

.profile-tab:hover,
.profile-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.profile-content {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--shadow);
    animation: fadeIn 0.3s ease;
}

.profile-content.hidden {
    display: none;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* My Posts Item */
.my-post-item {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.my-post-item:hover {
    border-color: var(--primary);
    background: var(--bg-secondary);
}

.my-post-content p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.post-status {
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-status.approved {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.post-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.post-status.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.my-post-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
    color: var(--text-muted);
}

/* Order Item */
.order-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.order-header {
    background: var(--bg-secondary);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-id {
    font-weight: 700;
    color: var(--text-primary);
}

.order-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.order-status {
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

.order-details {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.empty-state.small {
    padding: 40px;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .my-post-item {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .my-post-stats {
        flex-direction: row;
        text-align: center;
    }
}

/* ================================
   POST FEED STYLES (AKIŞ)
   ================================ */

.post-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    background: var(--bg-primary);
}

.post-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar,
.user-avatar-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-secondary);
}

.user-avatar-placeholder {
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.user-meta {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.2;
}

.post-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.post-category-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border);
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.empty-state p {
    margin-bottom: 20px;
    max-width: 300px;
}

.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* ================================
   REFACTORED POST CARD (V3)
   ================================ */

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 8px;
    /* Slight bottom padding */
    overflow: hidden;
    /* Ensure rounded corners */
}

/* 1. Header Overlay (Category) */
.post-header-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    pointer-events: none;
}

.post-category-badge {
    pointer-events: auto;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 2. Media */
.post-media {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* 3. Action Bar (Between Media and Content) */
.post-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    /* Subtle divider */
    background: var(--bg-primary);
}

.action-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    /* Plenty of space between icons */
}

.action-icon-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    /* Larger icons */
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.action-icon-btn:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.action-icon-btn.active {
    color: #ed4956;
    /* Instagram red/pink like color */
}

.action-icon-btn .count {
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 6px;
    color: var(--text-primary);
}

.product-btn-sm {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    /* Softer background */
    color: var(--text-primary);
    /* Dark text for readability */
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.product-btn-sm:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    border-color: var(--primary);
}

/* 4. Content */
.post-content {
    padding: 16px 20px 8px;
}

.post-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 400;
}

/* 5. Footer Info (User) */
.post-footer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 16px;
    margin-top: auto;
}

.footer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.footer-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    overflow: hidden;
    flex: 1;
    /* Take remaining space */
}

.footer-username {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    /* Ensure truncated name fix */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.footer-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .action-icons {
        gap: 12px;
    }
}