/* 2026 Modern Trend Design - Fishpoint */
:root {
    --color-primary: #036EB5; /* New Darker Blue */
    --color-secondary: #00A0E3; /* New Vibrant Blue */
    --color-accent: #00A0E3; /* Match vibrant blue for accents */
    --color-text: #333333;
    --color-text-light: #ffffff;
    --color-bg: #ffffff; /* White background */
    --color-bg-alt: #f8f9fc;
    
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(3, 110, 181, 0.1);
    --shadow-soft: 0 10px 30px rgba(3, 110, 181, 0.08);
    --shadow-hover: 0 15px 40px rgba(3, 110, 181, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header & Navigation (Glassmorphism) */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 55px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logo span { color: var(--color-accent); }

.main-logo-img {
    height: 55px;
    transform: scale(1.1);
    transform-origin: center;
    position: relative;
    margin-bottom: -5px;
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    color: var(--color-primary);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 34, 68, 0.7), rgba(0, 34, 68, 0.7)), url('../img/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: fadeInUp 1s ease forwards;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-text-light);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(255, 107, 53, 0.5);
}

/* Floating Bubbles on Right Frame */
.bubbles-container {
    position: absolute;
    right: 0;
    top: 80px; /* Start below header */
    bottom: 0; /* Stretch to bottom */
    width: 60px; /* Same as the left frame width */
    z-index: 999;
    pointer-events: none;
    /* overflow: hidden; */
}
.bubble {
    position: absolute;
    bottom: -50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(0, 69, 138, 0.4); /* Water-like bubble border using primary color */
    border-radius: 50%;
    animation: rise 8s infinite ease-in;
    opacity: 0; /* Let animation handle opacity */
}
.bubble:nth-child(1) { width: 20px; height: 20px; left: 10px; animation-duration: 7s; animation-delay: 0s; }
.bubble:nth-child(2) { width: 12px; height: 12px; left: 30px; animation-duration: 5s; animation-delay: 2s; }
.bubble:nth-child(3) { width: 18px; height: 18px; left: 45px; animation-duration: 9s; animation-delay: 4s; }
.bubble:nth-child(4) { width: 15px; height: 15px; left: 20px; animation-duration: 6s; animation-delay: 1s; }
.bubble:nth-child(5) { width: 10px; height: 10px; left: 40px; animation-duration: 8s; animation-delay: 3s; }

@keyframes rise {
    0% {
        bottom: -20px;
        transform: translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateX(15px) scale(1);
    }
    85% {
        opacity: 1;
        transform: translateX(-15px) scale(1);
    }
    95% {
        bottom: 95%;
        opacity: 1;
        transform: translateX(0) scale(1.2);
    }
    100% {
        bottom: 95%;
        opacity: 0;
        transform: translateX(0) scale(2.5); /* Cartoon pop effect */
    }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Category Slide Animations */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.product-slide {
    opacity: 0; 
    padding-top: 10px; 
}
.product-slide.show-anim {
    animation: slideInRight 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.product-card {
    background: transparent;
    border-radius: 20px;
    padding: 0px;
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.product-card:hover {
    /* Hover'da sadece görselin büyümesi istendi */
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 15px; 
    transition: transform 0.3s;
    transform-origin: center;
    transform: scale(1.1); /* Sadece hafif bir büyüklük, taşma yok */
}

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

.product-category {
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.product-title {
    font-size: 1.05rem;
    color: var(--color-primary);
    margin: 0px 0 10px 0; /* Remove top margin */
    font-weight: 800;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem;
}

/* Discover Link for Blog Slider */
.discover-link {
    color: var(--color-secondary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}
.discover-link .line {
    width: 50px;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}
.discover-link:hover .line {
    width: 80px;
}
.blog-pagination {
    position: absolute;
    bottom: 20px !important;
    text-align: right;
    padding-right: 50px;
    z-index: 10;
}

/* Blog Slider Hover Animations */
.blog-content-side {
    background-color: transparent;
    transition: background-color 0.4s ease;
}
.blog-title {
    color: var(--color-primary);
    transition: color 0.4s ease;
}
.blog-text {
    color: #555;
    transition: color 0.4s ease;
}

.blog-swiper:hover .blog-content-side {
    background-color: var(--color-primary);
}
.blog-swiper:hover .blog-title,
.blog-swiper:hover .blog-text,
.blog-swiper:hover .discover-link {
    color: #fff;
}
.blog-swiper:hover .discover-link .line {
    background-color: #fff;
}

.blog-cover-img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.blog-swiper:hover .blog-cover-img {
    transform: scale(1.05);
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text);
}

/* Footer */
footer {
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dynamic Page Content */
.page-content {
    background: var(--color-bg-alt);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    margin-top: 40px;
}
.page-content h2, .page-content h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* Hamburger Menu & Offcanvas */
.hamburger {
    font-size: 24px;
    color: var(--color-primary);
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-weight: 600;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s 0.6s;
}

.offcanvas-menu.active {
    pointer-events: auto;
    visibility: visible;
    transition: visibility 0s 0s;
}

.offcanvas-left {
    position: relative;
    width: 50vw;
    height: 100vh;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

.offcanvas-right {
    width: 50vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.offcanvas-menu.active .offcanvas-left,
.offcanvas-menu.active .offcanvas-right {
    transform: translateX(0);
}

.offcanvas-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.2);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.offcanvas-menu.active .offcanvas-bg {
    transform: scale(1);
}

@media (max-width: 992px) {
    .offcanvas-left { width: 100vw; }
    .offcanvas-right { display: none; }
}

.offcanvas-arrow {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid var(--color-primary);
}
@media (max-width: 992px) {
    .offcanvas-arrow { display: none; }
}

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu {
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 28px;
    color: var(--color-primary);
    cursor: pointer;
    background: none;
    border: none;
    font-weight: 300;
}
.close-menu:hover {
    color: var(--color-accent);
}

.offcanvas-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 40px 0 80px;
}
@media (max-width: 576px) {
    .offcanvas-content-wrapper {
        padding: 0 30px;
    }
}

.offcanvas-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offcanvas-links a {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 1px;
    transition: var(--transition);
}

.offcanvas-links a:hover {
    color: var(--color-accent);
}

.offcanvas-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offcanvas-social a {
    color: var(--color-primary);
    font-size: 16px;
    text-align: center;
    transition: var(--transition);
    opacity: 0.8;
}
.offcanvas-social a:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* Category Filter Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 0px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.cat-tab {
    padding: 10px 5px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    text-transform: uppercase;
}

.cat-tab.active, .cat-tab:hover {
    background: transparent;
    color: var(--color-secondary);
    border-bottom: 2px solid var(--color-secondary);
}

/* Footer Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}
.social-icon:hover {
    background-color: #fff;
    color: var(--color-primary);
    transform: scale(1.1);
}

/* Swiper Adjustments */
.hero-swiper {
    width: 100%;
    height: 100vh;
    min-height: 600px;
}
.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Offcanvas Menu Slider Effects */
.menu-side-swiper .swiper-slide .zoom-effect {
    transform: scale(1);
    transition: transform 1.5s ease;
}
.menu-side-swiper .swiper-slide-active .zoom-effect {
    transform: scale(1.1);
    transition: transform 15s linear;
}

.swiper-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.product-swiper {
    padding-bottom: 50px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}
.swiper-pagination-bullet-active {
    background: var(--color-secondary) !important;
}

/* Video Module Base (Desktop) */
.video-grid-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: nowrap;
    padding-bottom: 20px;
    width: 100%;
}

.video-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 280px;
    height: 460px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    background: #000;
}

/* =========================================
   MOBILE APP-LIKE OVERHAUL (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    .hide-on-mobile { display: none !important; }
    
    /* Video Module - Instagram Reels Style */
    .video-grid-container {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 10px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        
        /* Hide scrollbar */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .video-grid-container::-webkit-scrollbar {
        display: none;
    }
    .video-item {
        flex: 0 0 auto !important;
        width: 38vw !important; /* Shows roughly 2.5 items per screen (100vw / 2.5) */
        height: 67vw !important; /* 9:16 aspect ratio */
        max-width: 200px !important; 
        max-height: 350px !important;
        scroll-snap-align: start !important;
    }
    
    /* Global Spacing - App Style (Tight) */
    section { padding: 25px 0 !important; }
    .container { padding-left: 12px !important; padding-right: 12px !important; }
    
    /* Typography */
    h1, .hero-content h1 { font-size: 1.8rem !important; margin-bottom: 10px !important; line-height: 1.2 !important; }
    h2, .section-title h2 { font-size: 1.5rem !important; margin-bottom: 20px !important; }
    .hero-content p { font-size: 0.95rem !important; margin-bottom: 15px !important; line-height: 1.4 !important; }
    
    /* Header (App Toolbar Style) */
    header { padding: 4px 12px !important; box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important; }
    .logo { font-size: 1.5rem !important; }
    .main-logo-img { height: 42px !important; margin-bottom: 0 !important; transform: none !important; }

    /* Hero Area */
    .hero { height: 50vh !important; min-height: 350px !important; padding-top: 60px !important; }
    .hero-swiper { height: 50vh !important; min-height: 350px !important; }
    .hero-content { padding: 0 15px !important; }
    
    /* Product Grid - 2 columns side-by-side like Trendyol/Amazon apps */
    .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .product-grid > * {
        min-width: 0; /* Allow item to shrink below content size */
    }
    .product-card {
        padding: 10px !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    }
    .product-image {
        height: 120px !important;
        margin-bottom: 8px !important;
        border-radius: 8px !important;
        transform: scale(1) !important;
        width: 100% !important;
        object-fit: contain !important;
    }
    .product-card h3 {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-price {
        font-size: 0.95rem !important;
    }
    
    /* Buttons */
    .btn { padding: 8px 16px !important; font-size: 0.85rem !important; }

    /* Footer adjustments */
    footer { margin-top: 30px !important; padding-bottom: 40px !important; } /* Space for FAB */
    footer .container { 
        padding: 15px 15px 0px !important; 
        display: grid !important; 
        grid-template-columns: 1fr !important; 
        gap: 15px !important; 
    }
    footer h3 { font-size: 1.5rem !important; margin-bottom: 5px !important; }
    footer h4 { font-size: 1.1rem !important; margin-bottom: 5px !important; }
    footer img { height: 35px !important; margin-bottom: 5px !important; }
    .footer-bottom { padding: 15px 0 !important; }
    
    /* Blog List */
    .blog-grid-item {
        flex-direction: column !important;
        min-height: auto !important;
        border-radius: 12px !important;
    }
    .blog-grid-item > div {
        flex: none !important;
        width: 100% !important;
    }
    .blog-grid-item .blog-img {
        position: relative !important;
        height: 180px !important;
    }
    .blog-grid-item > div:last-child {
        padding: 15px !important;
    }
    .blog-grid-item h3 { font-size: 1.3rem !important; margin-bottom: 10px !important; line-height: 1.3 !important; }
    .blog-grid-item p { font-size: 0.9rem !important; margin-bottom: 15px !important; line-height: 1.4 !important; }
    
    /* Popups (Product Detail) */
    .product-popup-content {
        flex-direction: column !important;
        width: 95% !important;
        max-height: 90vh !important;
        border-radius: 12px !important;
    }
    .product-popup-content > div:first-child {
        flex: none !important;
        height: 200px !important;
    }
    .product-popup-content > div:last-child {
        padding: 15px !important;
        min-width: 0 !important;
    }
    .product-popup-content h1 { font-size: 1.5rem !important; margin-bottom: 10px !important; line-height: 1.2 !important; }
    .product-popup-content p { font-size: 0.9rem !important; margin-bottom: 15px !important; line-height: 1.4 !important; }
    .popup-close-btn { top: 10px !important; right: 15px !important; font-size: 1.8rem !important; }
    .product-popup-content > div:last-child > div:first-child { display: none !important; }
}
