/* ================================================= */
/* HardTooling.tech - v7.2 FİNAL SÜRÜM               */
/* ================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

body {
    background-color: #FFFFFF;
    color: #333D4B;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}
.container {
    width: 90%;
    max-width: 1280px; 
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}
h1, h2, h3 {
    color: #0A192F;
    font-weight: 600;
    letter-spacing: 0.5px;
}
h2 {
    font-size: 2.5rem;
    text-align: center;
    border-bottom: 3px solid #0A192F;
    display: inline-block;
    padding-bottom: 15px;
}
.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}
section {
    padding: 80px 0;
}
a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: #0A192F; }

header {
    background: #0A192F;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo { 
    color: #FFFFFF;
    font-size: 1.8rem; 
    font-weight: bold; 
    text-decoration: none;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}
header nav ul { margin: 0; padding: 0; list-style: none; }
header nav ul li { display: inline-block; margin-left: 30px; }

header nav a {
    color: #adb5bd;
    text-decoration: none;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease-out;
}
header nav a:hover {
    color: #FFFFFF;
}
header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ADB5BD; 
    transition: width 0.3s ease-out;
}
header nav a:hover::after, 
header nav a.active::after {
    width: 100%;
}
header nav a.active {
    color: #FFFFFF;
}

.btn-whatsapp {
    background-color: transparent;
    color: #ADB5BD;
    border: 2px solid #ADB5BD;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-whatsapp:hover {
    background-color: #ADB5BD;
    color: #0A192F;
    transform: scale(1.05);
}

.hero {
    padding: 80px 0;
    background-color: #F8F9FA;
    text-align: center;
}
.hero-content { animation: fadeInSlideUp 1s ease-out; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 15px; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px auto; color: #5A6A7E; }

.btn {
    padding: 15px 35px; border-radius: 5px; font-weight: bold; transition: all 0.3s ease-out; border: 2px solid #0A192F; cursor: pointer; font-size: 1rem; letter-spacing: 1px;
}
.btn-primary { background-color: #0A192F; color: #FFFFFF; }
.btn-primary:hover { background-color: #007BFF; border-color: #007BFF; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3); }
.btn-secondary { background-color: transparent; color: #0A192F; margin-left: 15px; }
.btn-secondary:hover { background-color: #0A192F; color: #FFFFFF; transform: translateY(-3px); }

#features { background-color: #FFFFFF; }
.features-list { display: flex; flex-direction: column; gap: 30px; }
.feature-item-new { display: flex; align-items: center; background-color: #F8F9FA; padding: 35px; border-radius: 10px; border: 1px solid #E9ECEF; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-item-new:hover { transform: translateY(-8px); box-shadow: 0 15px 40px -15px rgba(10, 25, 47, 0.15); }
.feature-item-new .icon-wrapper { flex-shrink: 0; width: 80px; height: 80px; background-color: #0A192F; color: #FFFFFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin-right: 30px; }
.feature-item-new .content-wrapper h3 { margin-top: 0; margin-bottom: 8px; font-size: 1.6rem; }
.feature-item-new .content-wrapper p { margin: 0; color: #5A6A7E; font-size: 1rem; }

.page-header { padding: 80px 0; background-color: #F8F9FA; text-align: center; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: flex-start; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; background: #F8F9FA; border: 1px solid #DEE2E6; color: #333D4B; border-radius: 5px; }

#urunler { background-color: #F8F9FA; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.product-card { background: #FFFFFF; border-radius: 10px; border: 1px solid #DEE2E6; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); }
.product-card img { width: 100%; height: 220px; object-fit: cover; }
.product-card-content { padding: 25px; }
.product-card h3 { font-size: 1.4rem; }

footer {
    background: #0A192F; color: #adb5bd; text-align: center; padding: 30px 0; margin-top: 0;
}

#sektorler {
    background-color: #F8F9FA;
}
.sektor-intro {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 50px auto;
    font-size: 1.1rem;
    color: #5A6A7E;
}
.sektor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.sektor-card {
    background-color: #FFFFFF;
    border: 1px solid #E9ECEF;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sektor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -15px rgba(10, 25, 47, 0.2);
}
.sektor-card .icon {
    font-size: 3rem;
    color: #0A192F;
    margin-bottom: 20px;
}
.sektor-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.sektor-card p {
    color: #5A6A7E;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.filter-buttons {
    text-align: center;
    margin-bottom: 40px;
}
.filter-btn {
    background-color: transparent;
    border: 2px solid #DEE2E6;
    color: #5A6A7E;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    margin: 0 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    background-color: #0A192F;
    color: #FFFFFF;
    border-color: #0A192F;
}
.filter-btn.active {
    background-color: #0A192F;
    color: #FFFFFF;
    border-color: #0A192F;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}
#mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #0A192F;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    padding-top: 100px;
    padding-left: 30px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    transition: right 0.4s ease-in-out;
    z-index: 1000;
}
#mobile-nav.active {
    right: 0;
}
#mobile-nav a {
    color: #FFFFFF;
    font-size: 1.2rem;
    text-decoration: none;
}
.btn-whatsapp-mobile {
    background-color: #ADB5BD;
    color: #0A192F;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    margin-right: 30px;
}

@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    #hamburger-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .contact-grid,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .content-grid div:last-child {
        order: -1;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .hero .btn {
        display: block;
        width: 80%;
        margin: 15px auto 0;
    }
    .hero .btn-secondary {
        margin-left: 0;
    }
}
