:root {
    --primary-teal: #1BA098;
    --accent-teal: #20C4BA;
    --light-teal: #E0F7F5;
    --dark-teal: #127A73;
    --warm-beige: #F5F1E8;
    --dark-text: #1A1A1A;
    --light-text: #666666;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Archivo', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 140px;
}

.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-teal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 160px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    height: 120px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

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

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

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

/* Dropdown Menu */
.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    height: 100%;
}

.dropdown-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 1rem;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.dropdown-menu a:hover {
    background: var(--light-teal);
    color: var(--primary-teal);
}

.dropdown-menu a::after {
    display: none;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-teal));
    color: white !important;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button::after {
    display: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 160, 152, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-teal);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Page Header */
.page-header {
    margin-top: 140px;
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--warm-beige) 100%);
    text-align: center;
}

.page-header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

/* Filter Section */
.filter-section {
    padding: 2rem 5%;
    background: white;
    border-bottom: 1px solid var(--light-teal);
}

.filter-container {
    max-width: 1400px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--light-teal);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    box-shadow: 0 4px 20px rgba(27, 160, 152, 0.2);
    background: white;
    border: 2px solid var(--accent-teal);
    padding: calc(1rem - 2px) calc(1.5rem - 2px);
}

.search-bar svg {
    stroke: var(--primary-teal);
    flex-shrink: 0;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    color: var(--dark-text);
}

.search-bar input::placeholder {
    color: var(--light-text);
}

.category-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--primary-teal);
    background: white;
    color: var(--primary-teal);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Archivo', sans-serif;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-teal);
    color: white;
}

/* Products Grid */
.products-section {
    padding: 4rem 5%;
    background: white;
    min-height: 60vh;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 280px;
    background: linear-gradient(135deg, var(--light-teal), var(--warm-beige));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 3'lü Görsel Grid */
.product-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #E0F7F5 0%, #B2EBE6 100%);
    cursor: pointer;
    text-decoration: none;
}

.product-image-item {
    overflow: hidden;
    position: relative;
}

.product-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.product-image-item:hover img {
    transform: scale(1.15);
    filter: brightness(1.05);
}

.product-image-grid:hover .product-image-item:not(:hover) img {
    filter: brightness(0.7);
}

.product-card .product-image-grid + .product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

/* Coming Soon Cards */
.product-card.coming-soon {
    cursor: default;
}

.product-card.coming-soon:hover {
    transform: translateY(-5px);
}

.coming-soon-image {
    background: linear-gradient(135deg, #E0F7F5 0%, #B2EBE6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27, 160, 152, 0.1) 0%, rgba(32, 196, 186, 0.2) 100%);
}

.coming-soon-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-teal);
    padding: 1rem 2rem;
    border: 3px dashed var(--primary-teal);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-teal);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: var(--accent-teal);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-info h3 {
    font-size: 1.4rem;
    color: var(--primary-teal);
    margin-bottom: 0.8rem;
}

.product-info p {
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--primary-teal);
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-teal);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-teal);
    transform: translateY(-3px);
}

/* Product Detail Page */
.product-detail {
    margin-top: 140px;
    padding: 4rem 5%;
    background: white;
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.detail-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--light-teal);
}

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

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail {
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--accent-teal);
}

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

.detail-info h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.detail-category {
    color: var(--accent-teal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.detail-description {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.detail-features {
    background: var(--light-teal);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.detail-features h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

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

.detail-features li {
    padding: 0.5rem 0;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-features li::before {
    content: '✓';
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 1.2rem;
}

.detail-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-teal));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(27, 160, 152, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-teal);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid var(--primary-teal);
    cursor: pointer;
}

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

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-modal.active {
    display: block;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoomIn 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-teal);
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    font-weight: bold;
    transition: 0.3s;
    user-select: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-teal);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 20px;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    font-size: 1.1rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
}

/* Make product images clickable */
.main-image img,
.thumbnail img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.thumbnail img:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 140px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
        padding: 2rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        height: auto;
    }

    .nav-links li,
    .nav-links a {
        height: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        margin-top: 0.5rem;
        background: var(--light-teal);
    }

    .dropdown.active .dropdown-menu {
        transform: translateY(0);
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2rem;
    }

    .detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

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

    .detail-info h1 {
        font-size: 2rem;
    }

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

    /* Lightbox mobile adjustments */
    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 35px;
        width: 40px;
        height: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-caption {
        width: 90%;
        font-size: 0.95rem;
        padding: 15px;
        bottom: 60px;
    }

    .lightbox-counter {
        font-size: 0.9rem;
        padding: 8px 15px;
        bottom: 15px;
    }
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4rem auto 2rem;
    gap: 0.5rem;
}

.pagination-btn {
    padding: 0.8rem 1.2rem;
    background: white;
    border: 2px solid var(--light-teal);
    border-radius: 8px;
    color: var(--primary-teal);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--light-teal);
    border-color: var(--primary-teal);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-teal));
    color: white;
    border-color: var(--primary-teal);
}

.pagination-info {
    padding: 0 1rem;
    color: var(--light-text);
    font-weight: 500;
}

@media (max-width: 640px) {
    .pagination-container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .pagination-info {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
}
