/* Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-bottom: 600px;
}

/* Product page specific - no padding needed */
body.product-page {
    padding-bottom: 0;
}

/* Products Section */
.products-section {
    padding: 0;
    margin: 0;
    position: absolute;
    top: 65.5%;
    left: 0;
    right: 0;
    z-index: 100;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: 0;
}

.product-card {
    position: relative;
    padding: 1.5vw 0.5vw 2vw 0.5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 250px;
    color: #ffffff;
    text-align: center;
    transition: all 0.3s ease;
    overflow: visible;
    text-decoration: none;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.product-image {
    position: relative;
    z-index: 3;
    max-width: 12vw;
    height: 12vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -51%;
    margin-bottom: 1.5vw;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.product-info {
    position: relative;
    z-index: 2;
    padding-bottom: 0;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    font-size: max(1.5vw, 14px);
    font-weight: 700;
    margin-bottom: 0.5vw;
    line-height: 1.3;
}

.product-info p {
    font-size: max(1vw, 10px);
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Footer */
.main-footer {
    background-color: #e8e8e8;
    color: #666;
    padding: 0;
    margin-top: 200px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #10519f;
}

/* Footer Logo Section */
.footer-about .footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    /* Kırmızı yapma: filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(4446%) hue-rotate(356deg) brightness(96%) contrast(110%); */
    /* Beyaz yapma: filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); */
    /* Mavi yapma: filter: brightness(0) saturate(100%) invert(20%) sepia(91%) saturate(3178%) hue-rotate(215deg) brightness(95%) contrast(106%); */
}

.footer-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

/* Contact Info */
.footer-column .contact-info {
    list-style: none;
}

.footer-column .contact-info li {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-column .contact-info li strong {
    color: #333;
    font-weight: 600;
}

.footer-column .contact-info li a {
    color: #666;
    text-decoration: none;
}

.footer-column .contact-info li a:hover {
    color: #10519f;
}

/* Recent Posts */
.footer-column .post-title {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-column .post-date {
    display: block;
    color: #999;
    font-size: 12px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #d0d0d0;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-about .footer-logo {
        max-width: 150px;
    }
}

/* Responsive Design - Her zaman 5 sütun */
@media (max-width: 1024px) {
    .products-section {
        top: 60%;
    }
}

@media (max-width: 768px) {
    .products-section {
        top: 55%;
    }
    
    .product-card {
        padding: 1.5vw 0.5vw 2vw 0.5vw;
    }
    
    .hero-section {
        min-height: 300px;
    }
    
    body {
        padding-bottom: 700px;
    }
}

@media (max-width: 480px) {
    .products-section {
        top: 48%;
    }
    
    .product-card {
        padding: 1.5vw 0.3vw 1.5vw 0.3vw;
        min-height: auto;
    }
    
    .product-image {
        max-width: 14vw;
        height: 14vw;
        margin-bottom: 1vw;
    }
    
    .product-info h3 {
        font-size: max(2.5vw, 10px);
        line-height: 1.2;
        margin-bottom: 0.3vw;
    }
    
    .product-info p {
        font-size: max(1.8vw, 8px);
        line-height: 1.3;
        margin-bottom: 0;
    }
    
    body {
        padding-bottom: 500px;
    }
}

@media (max-width: 320px) {
    .product-info h3 {
        font-size: 8px;
        margin-bottom: 0.2vw;
    }
    
    .product-info p {
        font-size: 6px;
        margin-bottom: 0;
    }
    
    .product-image {
        max-width: 15vw;
        height: 15vw;
        margin-bottom: 0.8vw;
    }
    
    .product-card {
        padding: 1vw 0.2vw 1vw 0.2vw;
        min-height: auto;
    }
}


