/* CSS Custom Properties for Dynamic Theming */
:root {
    --theme-primary: rgba(26, 26, 26, 0.7);
    --theme-secondary: rgba(45, 35, 25, 0.6);
    --theme-accent: rgba(35, 25, 45, 0.6);
}

/* Body arka plan - Dinamik Kahve teması */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    background: #ffffff;
    overflow-x: hidden;
    transition: all 0.4s ease-in-out; /* DEĞİŞTİ: 0.8s'den 0.4s'ye hızlandırıldı */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/kahve_yani/AKK0200.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.08;
    z-index: -2;
    filter: sepia(20%) contrast(1.1) brightness(0.9);
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--theme-primary) 0%,
        var(--theme-secondary) 25%,
        var(--theme-primary) 50%,
        var(--theme-accent) 75%,
        var(--theme-primary) 100%
    );
    z-index: -1;
    pointer-events: none;
    transition: all 0.4s ease-in-out; /* DEĞİŞTİ: 0.8s'den 0.4s'ye hızlandırıldı */
}

/* Tema sınıfları */
body.theme-cover::after {
    background: linear-gradient(
        135deg,
        rgba(20, 30, 40, 0.8) 0%,
        rgba(30, 25, 35, 0.7) 25%,
        rgba(20, 30, 40, 0.8) 50%,
        rgba(40, 35, 25, 0.6) 75%,
        rgba(20, 30, 40, 0.8) 100%
    );
}

body.theme-product::after {
    background: linear-gradient(
        135deg,
        rgba(45, 35, 25, 0.8) 0%,
        rgba(55, 45, 35, 0.7) 25%,
        rgba(45, 35, 25, 0.8) 50%,
        rgba(35, 45, 55, 0.6) 75%,
        rgba(45, 35, 25, 0.8) 100%
    );
}

body.theme-about::after {
    background: linear-gradient(
        135deg,
        rgba(35, 45, 55, 0.8) 0%,
        rgba(25, 35, 45, 0.7) 25%,
        rgba(35, 45, 55, 0.8) 50%,
        rgba(45, 55, 65, 0.6) 75%,
        rgba(35, 45, 55, 0.8) 100%
    );
}

body.theme-default::after {
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.7) 0%,
        rgba(45, 35, 25, 0.6) 25%,
        rgba(26, 26, 26, 0.8) 50%,
        rgba(35, 25, 45, 0.6) 75%,
        rgba(26, 26, 26, 0.7) 100%
    );
}

/* Ana container */
.container, .main-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(1px);
    border-radius: 8px;
    margin: 10px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Genel düzen */
#flipbook .page {
    background: linear-gradient(135deg, #f8f9fb 0%, #f0f2f5 100%);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

#flipbook .page-content {
    box-sizing: border-box;
    padding: 4.5px 26px;
    width: 100%;
    height: 100%;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    display: flex;
    flex-direction: column;
}

/* Flipbook container responsive - Enhanced with theme */
#flipbook {
    max-width: 100vw;
    max-height: 100vh;
    margin: 0 auto;
    overflow: visible !important;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.4s ease-in-out; /* DEĞİŞTİ: 0.8s'den 0.4s'ye hızlandırıldı */
    position: relative;
    padding-bottom: 60px;
}

/* PageFlip kütüphanesinin oluşturduğu sayfaların top pozisyonunu override et */
#flipbook .stf__item {
    top: 0px !important;
}

/* PageFlip animasyon wrapper'ını görünür yap */
#flipbook .stf__wrapper,
#flipbook .stf__block {
    overflow: visible !important;
}

/* Tema bazlı flipbook stilleri */
body.theme-product #flipbook {
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.15);
}

body.theme-cover #flipbook {
    box-shadow: 0 8px 32px rgba(25, 25, 112, 0.15);
}

body.theme-about #flipbook {
    box-shadow: 0 8px 32px rgba(70, 130, 180, 0.15);
}

/* Kapak sayfaları */
.page--front-cover .page-content,
.page--cover .page-content {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    background: #111;
}

/* Hakkımızda sayfası için özel düzen */
.page--about-us .page-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 7.5px;
    text-align: left;
}

.page--about-us .logo {
    max-width: 200px;
    width: 80%;
    height: auto;
    margin-bottom: 20px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
    transition: all 0.3s ease;
}

.page--about-us h2 {
    align-self: flex-start;
    margin-top: 0;
    margin-bottom: 15px;
}

.page--about-us p {
    align-self: flex-start;
    text-align: left;
    width: 100%;
}

.page--front-cover .logo {
    max-width: 300px;
    width: 90%;
    height: auto;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* Tablet için logo boyutu */
@media (max-width: 1300px) {
    .page--front-cover .logo {
        max-width: 250px;
    }
    .page--about-us .logo {
        max-width: 180px;
    }
    .page--about-us .page-content {
        padding-top: 6.25px;
    }
    
    /* Tablet için flipbook'u tam ekran yap */
    #flipbook {
        width: 100% !important;
        height: auto !important;
        max-width: calc(100vw - 40px);
    }
    
    #flipbook .page {
        width: 100% !important;
        max-width: 700px !important;
    }
    
    /* Tablet için top pozisyonunu ayarla */
    #flipbook .stf__item {
        top: 30px !important;
        left: 0 !important;
    }
}

/* Mobil için logo boyutu */
@media (max-width: 900px) {
    .page--front-cover .logo {
        max-width: 350px;
        margin-bottom: 25%;

    }
    .page--about-us .logo {
        max-width: 250px;
        margin-bottom: 25%;
    }
    .page--about-us .page-content {
        padding-top: 3.75px;
    }
}

/* Küçük mobil için logo boyutu */
@media (max-width: 480px) {
    .page--front-cover .logo {
        max-width: 150px;
    }
    .page--about-us .logo {
        max-width: 120px;
        margin-bottom: 10px;
    }
    .page--about-us .page-content {
        padding-top: 2.5px;
    }
}
.page--cover .page-content {
    background-size: contain !important;
    background-position: center !important;
}
.page--cover h1 {
    font-size: 2rem;
    margin: 0;
    letter-spacing: 1px;
}
.page--cover h4 {
    margin: .4rem 0 0;
    font-weight: 400;
    opacity: .85;
}

/* Ürün kartı */
.product-card {
    display: flex;
    gap: 22px;
    width: 100%;
    height: 100%;
    background: #ffffffcc;
    backdrop-filter: blur(3px);
    border: 1px solid #e3e7ec;
    border-radius: 14px;
    padding: 4px 20px;
    box-shadow: 0 4px 10px -2px rgba(0,0,0,.08);
     align-items: stretch;
}

.product-media {
    flex: 0 0 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform .35s ease, filter .35s;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
}

.product-media img:hover {
    transform: scale(1.04);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
}

.product-info h3 {
    margin: 0 0 2px;
    font-size: 1.3rem;
    line-height: 1.15;
    color: #1b2735;
}
.product-info h5 {
    margin: 0 0 10px;
    font-weight: 400;
    letter-spacing: .5px;
    color: #6a7684;
}
.product-info p {
    margin: 0 0 .65rem;
    line-height: 1.3;
    font-size: .85rem;
    color: #2f3a45;
}
.product-info p.p-alt {
    font-style: italic;
    color: #566370;
}
.product-info .sku {
    margin-top: auto;
    font-size: .7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a97a5;
}

/* Aktif kategori menü vurgusu */
#category-list li.active {
    background: linear-gradient(90deg,#252525,#39393a);
    color: #fff;
    font-weight: 600;
}

/* Image Viewer (Lightbox) - IMPROVED */
.image-viewer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.image-viewer.hidden {
    display: none;
}

.iv-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.92); /* DEĞİŞTİ: Daha koyu */
    backdrop-filter: blur(6px); /* DEĞİŞTİ: Daha fazla blur */
    animation: fadeIn .35s ease;
}

.iv-body {
    position: relative;
    max-width: min(95vw, 1200px); /* DEĞİŞTİ: Daha geniş */
    max-height: 95vh; /* DEĞİŞTİ: Daha yüksek */
    background: #0a0f18; /* DEĞİŞTİ: Daha koyu */
    padding: 12px 16px 20px; /* DEĞİŞTİ: Padding azaltıldı */
    border-radius: 16px;
    box-shadow: 0 15px 45px -8px rgba(0,0,0,.7);
    display: flex;
    flex-direction: column;
    animation: popIn .35s ease;
    overflow: hidden;
}

/* Zoom kontrolleri */
.iv-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    background: rgba(255,255,255,.08);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    align-self: center;
}

.iv-controls button {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255,255,255,.15);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    transition: all .2s ease;
}

.iv-controls button:hover {
    background: rgba(255,255,255,.25);
    transform: scale(1.05);
}

.iv-zoom-level {
    min-width: 50px;
    text-align: center;
    font-size: .8rem;
    color: #e0e8f0;
    font-weight: 500;
}

/* Resim konteyneri */
.iv-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255,255,255,.02);
    position: relative;
}

.iv-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform .15s ease-out;
    transform-origin: center;
}

.iv-img[style*="scale"] {
    cursor: grab;
}

.iv-caption {
    margin-top: 10px; /* DEĞİŞTİ: Margin azaltıldı */
    font-size: .85rem;
    letter-spacing: .5px;
    color: #d0d7df;
    text-align: center;
    background: rgba(255,255,255,.05);
    padding: 8px 12px;
    border-radius: 8px;
}

.iv-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 36px; /* DEĞİŞTİ: Biraz küçültüldü */
    height: 36px;
    border: 0;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 22px; /* DEĞİŞTİ: Font küçültüldü */
    border-radius: 10px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all .25s ease;
    z-index: 10;
}
.iv-close:hover {
    background: rgba(255,255,255,.25);
    transform: scale(1.1);
}

body.no-scroll {
    overflow: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
}
@keyframes popIn {
    from { transform: translateY(18px) scale(.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* YENİ: Ürün Sayfası Blur Cover Efekti */
.product-page .page-content {
    position: relative;
    padding: 0;
    display: flex;
    min-height: 100%;
    isolation: isolate;
    cursor: default;
    overflow: hidden;
}

/* Overlay artık blur'lu arka plan üzerinde - ORTALANMIŞ */
.product-overlay {
    position: absolute;
    bottom: 25% !important;
    left: 50% !important;
    transform: translate(-50%, 50%);
    z-index: 2;
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    max-width: 80%;
    backdrop-filter: blur(4px);
    cursor: default;
    border-radius: 8px;
}

.po-title {
    margin: 0;
    font-size: clamp(0.8rem, 1.5vw, 1.6rem);  /* DEĞİŞTİ: Biraz küçültüldü */
    font-weight: 700;
    letter-spacing: .4px;
    line-height: 1;
}

.po-sub {
    margin: 0 0 2px;  /* DEĞİŞTİ: Margin azaltıldı */
    font-size: clamp(.7rem, .9vw, .85rem);  /* DEĞİŞTİ: Küçültüldü */
    font-weight: 400;
    font-style: italic;  /* YENİ: İngilizce başlık eğik */
    letter-spacing: .6px;
    opacity: .85;
    color: #e0e8f0;  /* DEĞİŞTİ: Biraz farklı renk */
}

.po-desc {
    margin: 0 0 2px;  /* DEĞİŞTİ: Margin azaltıldı */
    font-size: clamp(.72rem, .8vw, .82rem);  /* DEĞİŞTİ: Küçültüldü */
    line-height: 1.38;
    max-width: 50ch;  /* DEĞİŞTİ: 60ch'den 50ch'ye */
    color: #f5f8ff;
}

.po-desc.alt {
    font-style: italic;  /* Zaten italic */
    opacity: .75;  /* DEĞİŞTİ: Daha soluk */
    color: #d5dde8;  /* DEĞİŞTİ: Daha soluk renk */
    font-size: clamp(.65rem, .75vw, .75rem);  /* YENİ: Daha küçük font */
    margin-top: -1px;  /* YENİ: Türkçe'nin hemen altında */
}

.po-sku {
    margin-top: 6px;  /* DEĞİŞTİ: Margin azaltıldı */
    font-size: clamp(.55rem, .65vw, .65rem);  /* DEĞİŞTİ: Küçültüldü */
    letter-spacing: 1.1px;
    opacity: .75;
    color: #c5d0db;
    font-weight: 500;
}

/* Tam ekran butonu - Overlay içinde */
.fullscreen-btn {
    margin-top: 8px;
    padding: 8px 12px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    align-self: center;
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.fullscreen-btn svg {
    pointer-events: none;
    flex-shrink: 0;
}

/* YENİ: Ürün Sayfası Blur Cover Efekti */
.product-page .page-content {
    position: relative;
    padding: 0;
    display: flex;
    min-height: 100%;
    isolation: isolate;
    cursor: default;
    overflow: hidden;
}

/* Blur'lu arka plan cover */
.product-bg-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(15px) brightness(0.7);
    transform: scale(1.1);
    z-index: 0;
}

/* Ana ürün resmi */
.product-main-image {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* Overlay artık blur'lu arka plan üzerinde */
.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    max-width: 45%;
    backdrop-filter: blur(4px);
    cursor: default;
}

/* Mobil uyarlamalar */
@media (max-width: 900px) {
    body {
        transition: all 0.3s ease-in-out; /* DEĞİŞTİ: 0.6s'den 0.3s'ye hızlandırıldı */
    }
    
    body::before {
        background-attachment: scroll;
        background-size: cover;
    }
    
    body::after {
        transition: all 0.3s ease-in-out; /* DEĞİŞTİ: 0.6s'den 0.3s'ye hızlandırıldı */
    }
    
    .container, .main-content {
        margin: 5px;
        padding: 15px;
    }

    /* Mobilde top pozisyonunu daha da düşür */
    #flipbook .stf__item {
        top: 5px !important;
        left: 10px !important;
    }

    /* Mobilde flipbook padding'i azalt */
    #flipbook {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .product-card {
        flex-direction: column;
        padding: 14px 14px 10px;
        gap: 12px;
    }
    .product-media {
        flex: 0 0 auto;
        max-height: 260px;
    }
    .product-info h3 {
        font-size: 1.05rem;
    }
    .product-info h5 {
        font-size: .8rem;
    }
    .product-info p {
        font-size: .72rem;
    }
    .iv-img {
        max-height: 70vh; /* DEĞİŞTİ: Mobilde daha yüksek */
    }
    
    /* Tam ekran ürün mobil uyarlama */
    .product-main-image {
        width: 90%;
        height: 80%;
    }
    
    .product-bg-cover {
        filter: blur(10px) brightness(0.8);
    }
    
    .product-overlay {
        padding: 16px 12px 20px;
        max-width: 85%;
        gap: 3px;
        background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.5));
    }
    
    .po-title {
        font-size: 1.1rem;  /* DEĞİŞTİ: Daha küçük */
        font-weight: 600;
    }
    .po-sub {
        font-size: .68rem;  /* DEĞİŞTİ: Daha küçük */
        margin-bottom: 2px;
    }
    .po-desc {
        font-size: .66rem;  /* DEĞİŞTİ: Daha küçük */
        line-height: 1.3;
        margin-bottom: 2px;
        max-width: 45ch;  /* DEĞİŞTİ: Daha dar */
    }
    .po-desc.alt {
        font-size: .6rem;  /* DEĞİŞTİ: Daha küçük */
        margin-top: -1px;
    }
    .po-sku {
        font-size: .54rem;  /* DEĞİŞTİ: Daha küçük */
        margin-top: 4px;
    }

    .fullscreen-btn {
        margin-top: 6px;
        padding: 6px 10px;
        font-size: .62rem;
        gap: 4px;
    }
    
    .fullscreen-btn svg {
        width: 12px;
        height: 12px;
    }

    #flipbook {
        width: 100% !important;
        height: auto !important;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 40px);
    }
    
    #flipbook .page {
        max-width: 100%;
        height: auto;
        min-height: calc(100vh - 100px);
    }

    .iv-body {
        max-width: 98vw;
        max-height: 98vh;
        padding: 8px 12px 16px;
        border-radius: 12px;
    }
    
    .iv-controls {
        gap: 6px;
        padding: 4px 8px;
    }
    
    .iv-controls button {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .iv-zoom-level {
        font-size: .7rem;
        min-width: 40px;
    }
    
    .iv-close {
        width: 32px;
        height: 32px;
        font-size: 18px;
        top: 6px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    body {
        transition: all 0.2s ease-in-out; /* DEĞİŞTİ: 0.4s'den 0.2s'ye hızlandırıldı */
    }
    
    body::before {
        opacity: 0.05;
        filter: sepia(15%) contrast(1.05) brightness(0.85);
    }
    
    .container, .main-content {
        margin: 2px;
        padding: 10px;
    }

    /* Küçük mobilde top pozisyonunu minimum yap */
    #flipbook .stf__item {
        top: 3px !important;
        left: 0 !important;
    }

    /* Küçük mobilde flipbook padding'i minimal yap */
    #flipbook {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .product-overlay {
        padding: 12px 8px 16px;  /* DEĞİŞTİ: Daha compact */
        max-width: 90%;  /* DEĞİŞTİ: Daha geniş */
        width: max-content;
    }
    .po-title {
        font-size: .95rem;  /* DEĞİŞTİ: Daha küçük */
    }
    .po-desc {
        max-width: none;
    }

    .fullscreen-btn {
        padding: 5px 8px;
        font-size: .58rem;
        gap: 3px;
    }
    
    .fullscreen-btn svg {
        width: 10px;
        height: 10px;
    }

    #flipbook {
        max-width: calc(100vw - 10px);
        max-height: calc(100vh - 30px);
    }
    
    #flipbook .page {
        min-height: calc(100vh - 60px);
    }

    .iv-body {
        padding: 6px 8px 12px;
    }
    
    .iv-controls button {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    
    .iv-img {
        max-height: 65vh;
    }
    
    /* Küçük ekranlarda ipuçları biraz daha küçük */
    #flipbook::before,
    #flipbook::after {
        font-size: 20px;
        left: 10px;
    }
    
    #flipbook::after {
        right: 10px;
        left: auto;
    }
}

/* Landscape mobile orientation */
@media (max-width: 900px) and (orientation: landscape) {
    body::before {
        background-size: cover;
        background-position: center center;
    }

    #flipbook {
        max-height: calc(100vh - 40px);
    }
    
    #flipbook .page {
        min-height: calc(100vh - 80px);
    }
    
    .product-overlay {
        padding: 10px 8px 14px;
        max-width: 70%;
    }
    
    .po-title {
        font-size: .9rem;
    }
    
    .po-sub {
        font-size: .6rem;
    }
    
    .po-desc {
        font-size: .58rem;
        line-height: 1.25;
    }
    
    .po-desc.alt {
        font-size: .54rem;
    }
    
    .po-sku {
        font-size: .5rem;
    }

    .fullscreen-btn {
        margin-top: 4px;
        padding: 4px 6px;
        font-size: .52rem;
    }
}

/* SU SETLERİ İÇİN BASİT SATIR TASARIMI */
.water-simple-page .page-content {
    padding: 10px 30px;
    background: #ffffff;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.simple-product-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 25px;
    padding: 12px 0;
    align-items: flex-start;
}

/* Ortadaki ürün için ters düzen: yazı sol, resim sağ */
.simple-product-row.reverse {
    grid-template-columns: 1fr 180px;
}

.simple-product-row.reverse .simple-image-section {
    order: 2;
}

.simple-product-row.reverse .simple-info-section {
    order: 1;
}

.simple-image-section {
    position: relative;
    display: flex;
    justify-content: center;
}

.simple-product-image {
    width: 160px;
    height: 160px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.2s ease;
}

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

.simple-fullscreen-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.simple-image-section:hover .simple-fullscreen-btn {
    opacity: 1;
}

.simple-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.simple-info-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 0;
}

.simple-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.simple-title-en {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    font-style: italic;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.simple-description {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.4;
    margin: 0 0 3px 0;
}

.simple-description-en {
    font-size: 0.8rem;
    color: #777;
    font-style: italic;
    line-height: 1.3;
    margin: 0 0 8px 0;
}

.simple-code {
    font-size: 0.75rem;
    color: #555;
    font-weight: 600;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    align-self: center;
    border: 1px solid #e9ecef;
}

.product-separator {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #666 20%, #333 50%, #666 80%, transparent 100%);
    margin: 8px 0;
    opacity: 0.7;
}

/* Mobil uyarlama */
@media (max-width: 900px) {
    .water-simple-page .page-content {
        padding: 5px 15px;
        gap: 0;
        min-height: 120vh;
        justify-content: flex-start;
    }
    
    .simple-product-row {
        grid-template-columns: 120px 1fr;
        gap: 12px;
        padding: 4px 0;
        margin-bottom: 0;
    }
    
    .simple-product-row.reverse {
        grid-template-columns: 1fr 120px;
    }
    
    .simple-product-image {
        width: 110px;
        height: 110px;
    }
    
    .simple-title {
        font-size: 0.9rem;
        line-height: 1.1;
    }
    
    .simple-title-en {
        font-size: 0.75rem;
        margin-bottom: 3px;
    }
    
    .simple-description {
        font-size: 0.7rem;
        line-height: 1.2;
        margin-bottom: 2px;
    }
    
    .simple-description-en {
        font-size: 0.65rem;
        line-height: 1.2;
        margin-bottom: 5px;
    }
    
    .simple-code {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .product-separator {
        margin: 8px 0;
        height: 1px;
    }
    
    .simple-info-section {
        gap: 4px;
        padding-top: 0;
    }
}

@media (max-width: 700px) {
    .water-simple-page .page-content {
        padding: 5px 12px;
        min-height: 130vh;
    }
    
    .simple-product-row {
        grid-template-columns: 100px 1fr;
        gap: 10px;
        padding: 6px 0;
    }
    
    .simple-product-row.reverse {
        grid-template-columns: 1fr 100px;
    }
    
    .simple-product-image {
        width: 95px;
        height: 95px;
    }
    
    .simple-title {
        font-size: 0.85rem;
    }
    
    .simple-title-en {
        font-size: 0.7rem;
    }
    
    .simple-description {
        font-size: 0.65rem;
    }
    
    .simple-description-en {
        font-size: 0.6rem;
    }
    
    .simple-code {
        font-size: 0.6rem;
    }
    
    .product-separator {
        margin: 6px 0;
    }
}

@media (max-width: 600px) {
    .water-simple-page .page-content {
        padding: 3px 10px;
        min-height: 140vh;
    }
    
    .simple-product-row {
        grid-template-columns: 90px 1fr;
        gap: 8px;
        padding: 5px 0;
    }
    
    .simple-product-row.reverse {
        grid-template-columns: 1fr 90px;
    }
    
    .simple-product-image {
        width: 85px;
        height: 85px;
    }
    
    .simple-title {
        font-size: 0.8rem;
    }
    
    .simple-title-en {
        font-size: 0.68rem;
    }
    
    .simple-description {
        font-size: 0.62rem;
        line-height: 1.15;
    }
    
    .simple-description-en {
        font-size: 0.58rem;
        line-height: 1.15;
    }
    
    .simple-code {
        font-size: 0.58rem;
        padding: 2px 5px;
    }
    
    .product-separator {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .water-simple-page .page-content {
        padding: 3px 8px;
        min-height: 150vh;
    }
    
    .simple-product-row {
        grid-template-columns: 80px 1fr;
        gap: 6px;
        padding: 4px 0;
    }
    
    .simple-product-row.reverse {
        grid-template-columns: 1fr 80px;
    }
    
    .simple-product-image {
        width: 75px;
        height: 75px;
    }
    
    .simple-title {
        font-size: 0.75rem;
        line-height: 1.05;
    }
    
    .simple-title-en {
        font-size: 0.64rem;
        margin-bottom: 2px;
    }
    
    .simple-description {
        font-size: 0.6rem;
        line-height: 1.1;
        margin-bottom: 1px;
    }
    
    .simple-description-en {
        font-size: 0.56rem;
        line-height: 1.1;
        margin-bottom: 3px;
    }
    
    .simple-code {
        font-size: 0.55rem;
        padding: 2px 4px;
    }
    
    .product-separator {
        margin: 4px 0;
    }
}

/* Dark theme enhancements */
@media (prefers-color-scheme: dark) {
    body::before {
        opacity: 0.12;
        filter: sepia(25%) contrast(1.15) brightness(0.8) hue-rotate(15deg);
    }
    
    body::after {
        background: linear-gradient(
            135deg,
            rgba(15, 15, 15, 0.8) 0%,
            rgba(35, 25, 15, 0.7) 25%,
            rgba(15, 15, 15, 0.9) 50%,
            rgba(25, 15, 35, 0.7) 75%,
            rgba(15, 15, 15, 0.8) 100%
        );
    }
}
    

#flipbook {
  width: 400px;
  height: 600px;
  position: relative;
  perspective: 2000px;
}

/* Hover efekti (sağ alt köşe) */
#flipbook.hover-right::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(0,0,0,0.1));
  transform-origin: bottom right;
  transform: rotateY(-15deg);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 0 0 20px 0;
  pointer-events: none;
  opacity: 1;
}

/* Hover efekti (sol alt köşe) */
#flipbook.hover-left::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 50%;
  background: linear-gradient(225deg, rgba(255,255,255,0.2), rgba(0,0,0,0.1));
  transform-origin: bottom left;
  transform: rotateY(15deg);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 0 0 0 20px;
  pointer-events: none;
  opacity: 1;
}

/* Mobil görünümde sayfa çevirme ipuçları */
@media (max-width: 900px) {
    #flipbook::before {
        content: "◀";
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, 0.4);
        font-size: 24px;
        font-weight: 700;
        pointer-events: none;
        z-index: 5;
        transition: all 0.3s ease;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        animation: hintPulse 2s ease-in-out 3;
    }
    
    #flipbook::after {
        content: "▶";
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, 0.4);
        font-size: 24px;
        font-weight: 700;
        pointer-events: none;
        z-index: 5;
        transition: all 0.3s ease;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        animation: hintPulse 2s ease-in-out 3;
        animation-delay: 0.3s;
    }
    
    /* Tıklama animasyonu için */
    #flipbook.tapping-left::before {
        animation: tapFlash 0.3s ease;
    }
    
    #flipbook.tapping-right::after {
        animation: tapFlash 0.3s ease;
    }
}

@keyframes hintPulse {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50%) scale(1.1);
    }
}

@keyframes tapFlash {
    0% {
        opacity: 0.3;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: translateY(-50%) scale(1);
    }
}