/* 1. Genel Ayarlar ve Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
    overflow: hidden;
    background-color: #f6b0bf;
    transition: background-color 0.6s ease;
}

.page-wrapper {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* =======================================================
   2. SOL SÜTUN: Sayfa Boyunca Full Alan ve Renk Blokları
   ======================================================= */
.left-column {
    flex: 1;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3C1518;
    overflow: hidden;
    z-index: 1;
    transition: background-color 0.6s ease;
}

/* Menü ve Butonlar */
.top-nav {
    position: absolute;
    top: 40px;
    left: 40px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Space Grotesk', 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 24px;
    border: 1px solid #ffffff;
    background-color: transparent;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background-color: #ffffff;
    color: #3C1518;
}

.product-switcher {
    position: absolute;
    top: 110px;
    left: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 50%;
    z-index: 10;
}

.switch-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 14px;
    font-family: 'Space Grotesk', 'Arial', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.switch-btn.active, .switch-btn:hover {
    background-color: #ffffff;
    color: #3C1518;
    border-color: #ffffff;
}

/* Alt Renk Blokları */
.color-block-orange, .color-block-green {
    position: absolute;
    bottom: 0;
    width: 50%;
    height: 35%;
    z-index: 1;
    opacity: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, background-color 0.6s ease;
}

.color-block-orange {
    left: 0;
    background-color: #A44200;
}

.color-block-green {
    right: 0;
    background-color: #69140E;
}

/* Ürün Görseli */
.product-image-container {
    width: 90%;
    max-width: 560px;
    z-index: 2;
    margin-top: 40px;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

/* =======================================================
   3. SAĞ SÜTUN WRAPPER: Sabit Çizgili Kart ve Bottom Bar
   ======================================================= */
.right-column-wrapper {
    flex: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f6b0bf;
    transition: background-color 0.6s ease;
}

.right-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.tea-card {
    width: 100%;
    max-width: 740px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Kart Alanı Animasyon Efekti */
.animated-content {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card-changing {
    opacity: 0;
    transform: scale(0.97);
}

/* Ortak Çizgili Kutuların Stili */
.category-tag,
.title-block,
.masonry-item,
.weight-tag {
    border: 1px solid #232b38;
    background-color: #f6b0bf;
    transition: background-color 0.6s ease, border-color 0.6s ease;
}

.category-tag {
    font-family: 'Space Grotesk', 'Arial', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 8px 32px;
    text-transform: uppercase;
    color: #232b38;
    z-index: 3;
    margin-bottom: -1px;
}

.title-block {
    width: 75%;
    text-align: center;
    padding: 30px 20px;
    margin-bottom: -1px;
    z-index: 2;
}

.title-block h1 {
    font-family: 'DM Serif Display', 'Impact', 'Arial Black', serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 0.95;
    color: #232b38;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* Masonry Grid Alanı */
.masonry-container {
    display: grid;
    width: 100%;
    grid-template-columns: 1.1fr 1fr 1fr;
    grid-auto-rows: min-content;
    z-index: 2;
}

.masonry-item {
    padding: 24px;
}

.desc-block {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    border-right: 1px solid #232b38;
    margin-right: -1px;
}

.desc-block p {
    font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif;
    font-size: 17px;
    line-height: 1.35;
    color: #232b38;
    text-align: justify;
}

.spec-label {
    font-family: 'Space Grotesk', 'Impact', 'Arial Black', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #232b38;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.spec-value {
    font-family: 'DM Serif Display', 'Arial Narrow', serif;
    font-size: 18px;
    line-height: 1.3;
    color: #232b38;
    font-style: italic;
}

.spec-taste {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    border-left: 1px solid #232b38;
    border-bottom: 1px solid #232b38;
    margin-left: -1px;
    margin-bottom: -1px;
}

.spec-aroma {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    border-left: 1px solid #232b38;
    margin-left: -1px;
}

.spec-mouthfeel {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    border-left: 1px solid #232b38;
    margin-left: -1px;
}

.weight-tag {
    align-self: flex-start;
    margin-left: 44.4%;
    padding: 8px 22px;
    font-family: 'Space Grotesk', 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #232b38;
    margin-top: -1px;
    z-index: 3;
}

/* =======================================================
   4. SADECE SAĞDAKİ ALT ŞERİT (BOTTOM BAR)
   ======================================================= */
.bottom-bar {
    width: 100%;
    height: 100px;
    background-color: #f6b0bf;
    border-top: 1.5px solid #232b38;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 60px;
    gap: 30px;
    z-index: 10;
    transition: background-color 0.6s ease;
}

.price-text {
    font-family: 'DM Serif Display', 'Impact', serif;
    font-size: 34px;
    color: #232b38;
    letter-spacing: 1px;
}

.action-btn {
    color: #ffffff;
    font-family: 'Space Grotesk', 'Arial', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    transition: background-color 0.6s ease;
    background-color: #3C1518;
}

.action-btn:hover {
    opacity: 0.9;
}

.action-btn.out-of-stock {
    background-color: #b299a5;
    cursor: not-allowed;
}

/* Swiper Carousel */
.product-swiper {
    width: 100%;
    padding-bottom: 44px !important;
    overflow: visible !important;
}

.slide-img-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* 9:16 portrait aspect ratio (mobile screen) */
    overflow: hidden;
    border-radius: 12px;
    filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.slide-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.product-swiper .swiper-slide-active .slide-img-wrapper {
    filter: drop-shadow(0px 20px 40px rgba(0, 0, 0, 0.5));
    transform: scale(1);
    opacity: 1;
}

.product-swiper .swiper-slide:not(.swiper-slide-active) .slide-img-wrapper {
    opacity: 0.55;
    transform: scale(0.88);
}

/* Swiper Navigation Arrows */
.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
    color: rgba(255, 255, 255, 0.7) !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.product-swiper .swiper-button-next::after,
.product-swiper .swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: bold;
}

.product-swiper .swiper-button-next:hover,
.product-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff !important;
    transform: scale(1.1);
}

/* Swiper Pagination Dots */
.product-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.35) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.product-swiper .swiper-pagination-bullet-active {
    background: #ffffff !important;
    transform: scale(1.3);
}

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Overlay Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 150;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 24px;
}

.mobile-menu-content a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.mobile-menu-content a:hover {
    background: #ffffff;
    color: #1A0E0A;
}

/* Mobile Footer - Product buttons */
.mobile-footer-wrapper {
    display: none;
    position: sticky;
    bottom: 0;
    width: 100%;
    background-color: #232b38;
    border-top: 1px solid #3a4555;
    z-index: 50;
}

.mobile-footer {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background-color: #232b38;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.mobile-footer::-webkit-scrollbar {
    display: none;
}

.mobile-footer-inner {
    display: flex;
    gap: 8px;
    width: max-content;
}

.mobile-footer-btn {
    flex-shrink: 0;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 18px;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    scroll-snap-align: center;
}

.mobile-footer-btn.active {
    background: #ffffff;
    color: #232b38;
    border-color: #ffffff;
}

.mobile-footer-arrow {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.mobile-footer-arrow:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Mobil Uyum */
@media (max-width: 900px) {
    .hamburger-btn { display: flex; }
    .mobile-menu-overlay { display: block; }
    .top-nav { display: none; }
    .left-column { position: relative; z-index: 60; }
    .page-wrapper { flex-direction: column; height: auto; }
    body { overflow: auto; }
    .left-column { height: 55vh; min-height: 400px; }
    .product-switcher { top: 20px; left: 20px; max-width: 80%; }
    .right-column-wrapper { height: auto; }
    .right-column { padding: 20px; }
    .title-block { width: 100%; }
    .title-block h1 { font-size: 36px; }
    .masonry-container { grid-template-columns: 1fr; }
    .desc-block { grid-column: 1 / 2; grid-row: auto; border-right: 1px solid #232b38; margin-bottom: -1px; }
    .spec-taste, .spec-aroma, .spec-mouthfeel { grid-column: 1 / 2; grid-row: auto; border-left: 1px solid #232b38; border-bottom: 1px solid #232b38; text-align: left; margin-left: 0; }
    .weight-tag { margin-left: 0; }
    .bottom-bar { padding: 0 20px; height: 80px; justify-content: space-between; }
    .price-text { font-size: 26px; }
    .action-btn { padding: 12px 20px; font-size: 11px; }
    .product-image-container { margin-top: 60px; }
    .product-switcher { display: none; }
    .mobile-footer-wrapper { display: flex !important; align-items: center; }
    .mobile-footer { display: block !important; flex: 1; }
}
