/* 
 * Naya Çiçekçilik - Tüm Çiçekler Sayfası
 * Premium 2026 Design System
 * 100% Responsive
 */

.products-page {
    background: #020406;
    color: var(--text-primary);
    padding-top: 80px; /* Space for fixed header */
}

/* Hero Section - Minimal - Navigasyon ve Başlık */
.products-hero {
    display: none; /* Removed - using standard header */
}

.products-bg-animation {
    display: none;
}

/* Old nav removed - using standard header */

.products-center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    position: relative;
    padding: 0;
    margin-top: 20px;
}

.products-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #FFFFFF;
    margin-bottom: 0;
}

.products-main-title span {
    display: inline;
}

.products-subtitle,
.products-stats {
    display: none;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
}

/* Products Grid Section */
.products-grid-section {
    padding: 3vh 0 15vh;
    background: #020406;
}

.products-header {
    margin-bottom: 60px;
    text-align: left;
    padding: 0 5vw;
}

/* Premium Category Filter */
.category-filter-wrapper {
    position: relative;
    margin-bottom: 60px;
    padding: 0 5vw;
    width: 100%;
    overflow: visible;
}

.category-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
    position: relative;
    width: 100%;
}

.category-filter-container::-webkit-scrollbar {
    display: none;
}

.category-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
    user-select: none;
    -webkit-user-select: none;
}

.category-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.category-filter-btn:hover::before {
    left: 100%;
}

.category-filter-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.category-filter-btn.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--accent);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.category-filter-btn.active .filter-icon {
    transform: scale(1.1);
}

.filter-icon {
    font-size: 1.1rem;
    transition: transform 0.3s;
    display: inline-block;
}

.filter-text {
    font-weight: 500;
}

.filter-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.category-filter-btn.active .filter-count {
    background: rgba(212, 175, 55, 0.3);
    color: var(--accent);
}

.category-filter-scroll-indicator {
    display: none;
}

/* 4 Sütunlu Grid Layout */
.products-masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 0 5vw;
    grid-auto-rows: 450px;
}

.grid-large {
    grid-column: span 2;
    grid-row: span 2;
}

.grid-tall {
    grid-row: span 2;
}

.grid-normal {
    grid-column: span 1;
    grid-row: span 1;
}

/* Product Card */
.product-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Mobilde direkt görünsün */
@media (max-width: 768px) {
    .product-item {
        opacity: 1 !important;
        transform: translateY(0) !important;
        animation: none;
    }
    
    .product-item.is-inview {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item.is-inview {
    opacity: 1;
    transform: translateY(0);
}

.product-card {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

@media (max-width: 768px) {
    .product-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .product-card {
        padding: 18px;
    }
}

.product-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: grayscale(0.2) brightness(0.8);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.05);
    display: block;
}

/* Mobilde direkt canlı renkte göster */
@media (max-width: 768px) {
    .product-img {
        opacity: 1 !important;
        filter: grayscale(0) brightness(1) !important;
        transform: scale(1) !important;
    }
    
    .product-item:hover .product-img,
    .product-item .product-img {
        opacity: 1 !important;
        filter: grayscale(0) brightness(1) !important;
    }
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 30%, rgba(2, 4, 6, 0.9) 100%);
    z-index: 1;
    transition: opacity 0.6s;
}

.product-hover-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

/* Product Info */
.product-info {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
}

.product-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-link svg {
    transition: transform 0.3s;
}

/* Hover Effects */
.product-item:hover .product-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.product-item:hover .product-img {
    opacity: 1;
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
}

/* Mobilde hover efektlerini devre dışı bırak, zaten canlı renkte */
@media (max-width: 768px) {
    .product-item:hover .product-img {
        opacity: 1 !important;
        filter: grayscale(0) brightness(1) !important;
        transform: scale(1) !important;
    }
    
    .product-item:hover .product-card {
        transform: none !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
    
    .product-item:hover .product-overlay {
        opacity: 0.9 !important;
    }
}

.product-item:hover .product-overlay {
    opacity: 0.7;
}

.product-item:hover .product-hover-effect {
    width: 150%;
    height: 150%;
}

.product-item:hover .product-info {
    transform: translateY(0);
    opacity: 1;
}

.product-item:hover .product-link {
    opacity: 1;
    transform: translateY(0);
}

.product-item:hover .product-link svg {
    transform: translateX(5px);
}

/* CTA Section */
.products-cta-section {
    padding: 20vh 0;
    background: #020406;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5vw;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 30px;
}

.cta-title em {
    font-style: italic;
    color: var(--accent);
}

.cta-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 18px 60px;
    border-radius: 100px;
    color: white;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* Responsive Design */
/* Scroll Trigger (Görünmez) */
.scroll-trigger {
    height: 1px;
    width: 100%;
    margin: 0;
    padding: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
    min-height: 200px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-indicator.show {
    display: flex !important;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-indicator p {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .products-masonry-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        grid-auto-rows: 420px;
        padding: 0 4vw;
    }

    .grid-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .products-stats {
        gap: 50px;
    }

    .products-header {
        padding: 0 4vw;
    }

    .products-main-title {
        font-size: clamp(4rem, 9vw, 7rem);
    }

    .products-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
    }
}

/* Category Filter Responsive */
@media (max-width: 768px) {
    .category-filter-wrapper {
        padding: 0 4px;
        margin-bottom: 40px;
        overflow: visible;
        width: 100%;
    }

    .category-filter-container {
        gap: 8px;
        padding: 8px 0;
        flex-wrap: wrap;
        width: 100%;
    }

    .category-filter-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .filter-icon {
        font-size: 1rem;
    }

    .filter-count {
        padding: 2px 6px;
        font-size: 0.7rem;
        min-width: 20px;
    }

    .category-filter-scroll-indicator {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .category-filter-wrapper {
        padding: 0 3px;
        margin-bottom: 30px;
    }

    .category-filter-btn {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .filter-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    /* Old nav removed - using standard header */
    
    .products-center {
        margin-top: 10px;
    }
    
    .products-main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 0;
    }

    /* Old nav styles removed - using standard header */

    .products-main-title {
        font-size: 11vw;
        margin-bottom: 25px;
        line-height: 0.9;
    }

    .products-subtitle {
        font-size: 0.95rem;
        margin-bottom: 35px;
        padding: 0 15px;
        line-height: 1.5;
    }

    .products-stats {
        gap: 35px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 30px;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Grid Section */
    .products-grid-section {
        padding: 10vh 0;
    }

    .products-header {
        padding: 0 4px;
        margin-bottom: 40px;
    }

    .section-tag {
        font-size: 0.7rem;
        margin-bottom: 15px;
    }

    .display-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        line-height: 1.1;
    }

    .products-masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 380px;
        gap: 15px;
        padding: 0 4px;
    }

    .grid-large,
    .grid-tall,
    .grid-normal {
        grid-column: span 1;
        grid-row: span 1;
    }

    .product-item {
        border-radius: 20px;
    }

    .product-card {
        min-height: 380px;
        padding: 20px;
    }

    .product-img {
        opacity: 1 !important;
        filter: grayscale(0) brightness(1) !important;
    }

    .product-info {
        transform: translateY(10px);
    }

    .product-cat {
        font-size: 0.65rem;
        margin-bottom: 6px;
    }

    .product-title {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .product-desc {
        font-size: 0.8rem;
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .product-link {
        font-size: 0.75rem;
        padding-bottom: 4px;
    }

    /* CTA Section */
    .products-cta-section {
        padding: 15vh 0;
    }

    .cta-content {
        padding: 0 15px;
    }

    .cta-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 25px;
    }

    .cta-desc {
        font-size: 0.95rem;
        margin-bottom: 40px;
        line-height: 1.6;
    }

    .cta-button {
        padding: 15px 45px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Old nav removed - using standard header */
    
    .products-center {
        margin-top: 5px;
    }
    
    .products-main-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: 0;
    }

    .products-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    /* Grid optimizations for small mobile */
    .products-grid-section {
        padding: 8vh 0;
    }

    .products-header {
        padding: 0 3px;
        margin-bottom: 35px;
    }

    .products-masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 460px;
        gap: 12px;
        padding: 0 3px;
    }

    .product-card {
        min-height: 360px;
        padding: 18px;
        border-radius: 18px;
    }

    .product-title {
        font-size: clamp(1rem, 4.5vw, 1.25rem);
    }

    .product-desc {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .product-link {
        font-size: 0.7rem;
    }

    /* CTA */
    .products-cta-section {
        padding: 12vh 0;
    }

    .cta-content {
        padding: 0 12px;
    }

    .cta-title {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
        margin-bottom: 20px;
    }

    .cta-desc {
        font-size: 0.85rem;
        margin-bottom: 35px;
    }

    .cta-button {
        padding: 14px 40px;
        font-size: 0.85rem;
    }
}

/* Loading Animation */
.products-page.loading {
    overflow: hidden;
}

.fade-up {
    opacity: 0;
    transform: translateY(50px);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}
