/* Variables */
:root {
    --neon-blue: #00F0FF;
    --deep-space: #0A0F1A;
    --blood-red: #FF0A3D;
    --pure-white: #FFFFFF;
    --glow-effect: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
}

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

body {
    font-family: 'Syne', sans-serif;
    background-color: var(--deep-space);
    color: var(--pure-white);
    overflow-x: hidden;
}
.d-none{
    display: none;
}
/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    z-index: 100;
    background-color: var(--deep-space);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-family: 'Great Vibes', cursive;
    font-style: italic;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    color: var(--pure-white);
    text-decoration: none;
    text-shadow: var(--glow-effect);
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 50px; /* Sabit yükseklik */
    width: auto; /* Orantılı genişlik */
    transition: all 0.3s ease;
}

.logo-img:hover > img{
    opacity: 0.8;
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: width 0.3s ease;
}

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

/* Footer */
.main-footer {
    padding: 5rem 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--neon-blue), var(--blood-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.footer-link {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 1rem;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon-blue);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* Page Specific Styles */
/* Home Page */
.catalog-container {
    min-height: 100vh;
    padding: 10rem 3rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.catalog-item {
    position: relative;
    height: 80vh;
    border-radius: 1rem;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.catalog-item:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 50px rgba(0, 240, 255, 0.2);
}

.item-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.catalog-item:hover .item-media {
    transform: scale(1.05);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 15, 26, 0.9), transparent);
}

.item-number {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
}

.item-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--neon-blue), var(--pure-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.item-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--neon-blue);
    border-radius: 2rem;
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.item-cta:hover {
    background: var(--neon-blue);
    color: var(--deep-space);
    box-shadow: var(--glow-effect);
}

/* About Page */
.about-container {
    min-height: 100vh;
    padding: 10rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--neon-blue), var(--blood-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    line-height: 1.6;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Collections Page */
.collections-container {
    min-height: 100vh;
    padding: 10rem 3rem;
}

.collections-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--neon-blue), var(--blood-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.collection-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.collection-category {
    position: relative;
    height: 300px;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.collection-category:hover {
    transform: translateY(-10px);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(10, 15, 26, 0.9), transparent);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--pure-white);
}

/* Contact Page */
.contact-container {
    min-height: 100vh;
    padding: 10rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--neon-blue), var(--blood-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 1rem;
    font-weight: 700;
}

.form-input,
.form-textarea {
    padding: 1rem;
    border: 2px solid var(--neon-blue);
    border-radius: 0.5rem;
    background-color: rgba(10, 15, 26, 0.5);
    color: var(--pure-white);
    font-family: 'Syne', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--blood-red);
    box-shadow: var(--glow-effect);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 1rem 2rem;
    background-color: var(--neon-blue);
    color: var(--deep-space);
    border: none;
    border-radius: 2rem;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-btn:hover {
    background-color: var(--blood-red);
    color: var(--pure-white);
    box-shadow: var(--glow-effect);
}

.contact-info {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.info-icon {
    color: var(--neon-blue);
    font-size: 1.5rem;
}

/* Product Page */
.product-container {
    padding: 10rem 3rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.product-gallery {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--neon-blue);
}

.thumbnail.active {
    border-color: var(--blood-red);
}

.main-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--neon-blue), var(--pure-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neon-blue);
}

.product-description {
    line-height: 1.6;
    opacity: 0.9;
}

.size-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.size-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.size-option {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option:hover {
    border-color: var(--neon-blue);
}

.size-option.selected {
    background-color: var(--neon-blue);
    color: var(--deep-space);
    border-color: var(--neon-blue);
}

.color-options {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border-color: var(--pure-white);
    box-shadow: 0 0 0 2px var(--neon-blue);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--pure-white);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: var(--neon-blue);
    color: var(--deep-space);
}

.quantity-input {
    width: 50px;
    text-align: center;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--pure-white);
    padding: 0.5rem;
}

.add-to-cart {
    padding: 1rem 2rem;
    background-color: var(--neon-blue);
    color: var(--deep-space);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.add-to-cart:hover {
    background-color: var(--blood-red);
    color: var(--pure-white);
    box-shadow: var(--glow-effect);
}

.product-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.details-title {
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.details-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    opacity: 0.7;
}

.related-products {
    padding: 5rem 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--neon-blue), var(--blood-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

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

.related-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-10px);
}

.related-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.related-info {
    padding: 1rem;
    background-color: rgba(10, 15, 26, 0.7);
}

.related-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.related-price {
    color: var(--neon-blue);
    font-weight: 700;
}

/* Alert Box Styles - Güncellenmiş Versiyon */
.alert-box {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 1.5rem;
    background-color: #0A1A3F; /* Daha koyu arkaplan */
    color: var(--pure-white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3); /* Neon efekti */
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1000;
    max-width: 400px;
    transform: translateX(150%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Bounce efekti */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.alert-box.show {
    transform: translateX(0);
}

.alert-box.success {
    background-color: #0A3F2A; /* Koyu yeşil */
    border-left: 4px solid #00FF7F;
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.2);
}

.alert-box.error {
    background-color: #3F0A1A; /* Koyu kırmızı */
    border-left: 4px solid var(--blood-red);
    box-shadow: 0 10px 30px rgba(255, 10, 61, 0.2);
}

.alert-message {
    flex: 1;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.alert-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--pure-white);
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.alert-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Animasyon için ekstra detay */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.alert-box.success {
    animation: pulse 2s infinite; /* Sadece success'te pulse efekti */
}

/* Category Page Styles */
.category-header {
    margin-top: 80px;
}

.category-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--pure-white);
    position: relative;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 15, 26, 0.9), transparent);
}

.category-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.category-hero p {
    font-size: 1.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Product Filters */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background-color: rgba(10, 15, 26, 0.7);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-select {
    padding: 0.5rem 1rem;
    background-color: var(--deep-space);
    color: var(--pure-white);
    border: 1px solid var(--neon-blue);
    border-radius: 4px;
    cursor: pointer;
}

/* Product Grid */
.category-container {
    padding: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.product-card {
    position: relative;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-link {
    text-decoration: none;
    color: var(--pure-white);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--neon-blue);
    color: var(--deep-space);
    padding: 0.3rem 0.8rem;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 4px;
    z-index: 2;
}

.product-badge.sale {
    background-color: var(--blood-red);
}

.product-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-info {
    padding: 0 0.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 0.8rem;
}

.old-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 0.5rem;
}

.color-options {
    display: flex;
    gap: 0.5rem;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
}

.page-link {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background-color: var(--neon-blue);
    color: var(--deep-space);
}
.no-product {
    padding: 20px;
    text-align: center;
    color: #666;
    border: 1px dashed #ddd;
    margin: 20px 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .product-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-gallery {
        grid-template-columns: 80px 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
    .footer-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .catalog-container,
    .about-container,
    .collections-container,
    .contact-container,
    .product-container {
        padding: 14rem 1.5rem 3rem;
    }

    .catalog-item {
        height: 60vh;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .thumbnail-list {
        flex-direction: row;
        order: 2;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .product-title,
    .about-title,
    .collections-title,
    .contact-title {
        font-size: 2rem;
    }

    .related-grid,
    .collection-categories {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    .main-nav {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .logo {
        font-size: 1.5rem;
    }
    .footer-title {
        font-size: 3rem;
    }
    .category-hero {
        height: 300px;
    }

    .category-hero h1 {
        font-size: 2.5rem;
    }

    .product-filters {
        flex-direction: column;
        align-items: center;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .product-image {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .related-grid,
    .collection-categories {
        grid-template-columns: 1fr;
    }

    .product-title,
    .about-title,
    .collections-title,
    .contact-title {
        font-size: 1.8rem;
    }

    .product-price {
        font-size: 1.5rem;
    }
    .footer-title {
        font-size: 2rem;
    }
}
