/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FAF3E0;
}

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

/* Header */
.header {
    background: #8D6E63;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    height: 50px;
    width: auto;
    filter: none;
    transition: transform 0.3s ease;
}

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

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-count {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    position: absolute;
    top: -8px;
    right: -8px;
}

.cart-btn {
    position: relative;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.login-btn, .register-btn {
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn {
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.login-btn:hover {
    background: rgba(255,255,255,0.1);
}

.register-btn {
    background: rgba(255,255,255,0.2);
    color: white;
}

.register-btn:hover {
    background: rgba(255,255,255,0.3);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-menu span {
    color: white;
    font-weight: 500;
}

.logout-btn {
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.3);
}

.search-btn, .cart-btn {
    color: white;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.search-btn:hover, .cart-btn:hover {
    background-color: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background: #FAF3E0;
    color: #8D6E63;
    padding: 1.5rem 0;
    text-align: center;
    overflow: hidden;
}

.hero-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.shoe-animation {
    position: relative;
    height: 80px;
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
}

.footprints {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
}

.left-footprint, .right-footprint {
    font-size: 3rem;
    color: #8D6E63;
    text-shadow: none;
    z-index: 10;
    will-change: transform;
}

.left-footprint {
    animation: leftFootWalk 4s ease-in-out infinite, leftOpacity 4s linear infinite;
    transform: translateX(0) translateY(0);
}

.right-footprint {
    animation: rightFootWalk 4s ease-in-out infinite, rightOpacity 4s linear infinite;
    transform: translateX(0) translateY(0);
}

.hidden-slogan {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: #8D6E63;
    font-weight: 500;
    opacity: 0.1;
    transition: opacity 0.5s ease;
    z-index: 5;
}



@keyframes leftFootWalk {
    0% { 
        transform: translateX(0) translateY(0); 
        opacity: 1;
    }
    12.5% { 
        transform: translateX(50px) translateY(0); 
        opacity: 1;
    }
    25% { 
        transform: translateX(100px) translateY(0); 
        opacity: 1;
    }
    37.5% { 
        transform: translateX(150px) translateY(0); 
        opacity: 1;
    }
    50% { 
        transform: translateX(200px) translateY(0); 
        opacity: 1;
    }
    62.5% { 
        transform: translateX(250px) translateY(0); 
        opacity: 1;
    }
    75% { 
        transform: translateX(300px) translateY(0); 
        opacity: 1;
    }
    87.5% { 
        transform: translateX(350px) translateY(0); 
        opacity: 1;
    }
    100% { 
        transform: translateX(400px) translateY(0); 
        opacity: 1;
    }
}

@keyframes rightFootWalk {
    0% { 
        transform: translateX(0) translateY(0); 
        opacity: 1;
    }
    12.5% { 
        transform: translateX(50px) translateY(0); 
        opacity: 1;
    }
    25% { 
        transform: translateX(100px) translateY(0); 
        opacity: 1;
    }
    37.5% { 
        transform: translateX(150px) translateY(0); 
        opacity: 1;
    }
    50% { 
        transform: translateX(200px) translateY(0); 
        opacity: 1;
    }
    62.5% { 
        transform: translateX(250px) translateY(0); 
        opacity: 1;
    }
    75% { 
        transform: translateX(300px) translateY(0); 
        opacity: 1;
    }
    87.5% { 
        transform: translateX(350px) translateY(0); 
        opacity: 1;
    }
    100% { 
        transform: translateX(400px) translateY(0); 
        opacity: 1;
    }
}

/* Nöbetleşe görünürlük: Sol ayak ilk yarıda görünür, sağ ayak ikinci yarıda */
@keyframes leftOpacity {
    0% { opacity: 1; }
    49% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes rightOpacity {
    0% { opacity: 0; }
    49% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background-color: #8D6E63;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(141,110,99,0.25);
}

.cta-btn:hover {
    background-color: #75574D;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(141,110,99,0.35);
}

/* Products Section */
.products {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #8D6E63;
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-btn {
    background-color: #8D6E63;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background-color: #75574D;
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

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

.brand {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #8D6E63;
    margin-bottom: 1rem;
}

.product-colors {
    display: flex;
    gap: 0.5rem;
}

.color-option {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 2px solid transparent;
}

.color-option:hover {
    transform: scale(1.2);
    border-color: #333;
}

/* Footer */
.footer {
    background-color: #8D6E63;
    color: #FAF3E0;
    padding: 3rem 0 1rem;
}

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

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: #FAF3E0;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #F3E6CF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(250,243,224,0.3);
    color: #F3E6CF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    

    
    .left-footprint, .right-footprint {
        font-size: 3rem;
    }
    

    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .product-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 1rem 0;
    }
    

    
    .left-footprint, .right-footprint {
        font-size: 2.5rem;
    }
    

    
    .products {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

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

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }
.product-card:nth-child(9) { animation-delay: 0.9s; }
.product-card:nth-child(10) { animation-delay: 1s; }
.product-card:nth-child(11) { animation-delay: 1.1s; }
.product-card:nth-child(12) { animation-delay: 1.2s; }
