/* ===== RESET & VARIABLES ===== */
:root {
    --primary-color: #0A1A2F;      /* Sinerjitech Lacivert Tonu */
    --secondary-color: #C49A1F;     /* Altın Sarısı */
    --accent-color: #E63946;        
    --dark-color: #1E1E2F;
    --light-color: #F5F5F5;
    --gray-color: #6C757D;
    --white-color: #FFFFFF;
    --black-color: #000000;
    --font-primary: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: var(--white-color);
    text-decoration: none;
    margin-right: 20px;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.contact-info i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.social-links a {
    color: var(--white-color);
    margin-left: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.site-header {
    background: var(--white-color);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 10px 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 50px;
    width: auto;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav ul li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.main-nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 2px 0;
    transition: var(--transition);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white-color);
    z-index: 1001;
    padding: 30px;
    transition: var(--transition);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mobile-menu-header .logo img {
    height: 40px;
}

.close-menu {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.mobile-menu nav ul {
    list-style: none;
}

.mobile-menu nav ul li {
    margin-bottom: 15px;
}

.mobile-menu nav ul li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu nav ul li a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.mobile-menu-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-menu-contact a {
    display: block;
    color: var(--dark-color);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.mobile-menu-contact i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(rgba(10,26,47,0.95), rgba(10,26,47,0.95)), url('../images/page-header-bg.jpg') no-repeat center center/cover;
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--white-color);
}

.page-header h1 span {
    color: var(--secondary-color);
}

.breadcrumb {
    color: #999;
}

.breadcrumb a {
    color: var(--white-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}
.logo-text{
    font-size: 26px;
    font-weight: 800;
    color: #0a1a2f; /* lacivert */
    letter-spacing: 1px;
}

.logo-text span{
    color: #0a1a2f; /* ENDÜSTRİ de lacivert */
}
.logo-footer-text{
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.logo-footer-text span{
    color: #ffffff;
}


/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(10, 31, 46, 0.85), rgba(10, 31, 46, 0.9)), url('../img/palet1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: var(--white-color);
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    color: var(--white-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 80px 0;
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white-color);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 80px 0;
    background: var(--light-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 20px;
    text-align: center;
}

.product-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.product-content .btn-outline {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ===== PRODUCTS PAGE ===== */
.products-page {
    padding: 0 0 80px 0;
}

.product-detail-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.product-detail-image {
    height: 400px;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-content {
    padding: 30px;
}

.product-detail-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-specs {
    background: var(--light-color);
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.product-specs h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-specs ul {
    list-style: none;
}

.product-specs ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.product-specs ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* ===== MACHINERY SECTION ===== */
.machinery-section {
    padding: 80px 0;
}

.machinery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.machinery-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.machinery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.machinery-image {
    height: 200px;
    overflow: hidden;
}

.machinery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.machinery-card:hover .machinery-image img {
    transform: scale(1.1);
}

.machinery-content {
    padding: 20px;
}

.machinery-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.machine-spec {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(rgba(10,26,47,0.95), rgba(10,26,47,0.95)), url('../images/contact-bg.jpg') no-repeat center center/cover;
    color: var(--white-color);
}

.contact-section .section-title h2 {
    color: var(--white-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

.contact-info {
    background: var(--primary-color);
    padding: 40px;
    color: var(--white-color);
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 3px;
}

.contact-form {
    padding: 40px;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(196,154,31,0.1);
}

/* Contact Page */
.contact-page {
    padding: 0 0 80px 0;
}

.map-container {
    margin-bottom: 60px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-widget .footer-logo {
    margin-bottom: 20px;
}

.footer-widget .footer-logo img {
    height: 40px;
}

.footer-widget p {
    color: #999;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-widget h4 {
    color: var(--white-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-widget ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-widget ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 0.8rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    color: #999;
    margin-bottom: 15px;
}

.footer-contact li i {
    margin-right: 10px;
    margin-top: 3px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    color: #999;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info a {
        display: inline-block;
        margin: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}
.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.lang-btn img {
    border-radius: 2px;
}

.lang-btn:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.lang-btn.active {
    color: white;
    background: rgba(255,255,255,0.15);
}

.lang-divider {
    color: rgba(255,255,255,0.3);
}

.right-area {
    display: flex;
    align-items: center;
}

/* Top Bar Responsive */
@media (max-width: 768px) {
    .language-switcher {
        margin-right: 10px;
        padding-right: 10px;
    }
    
    .lang-btn span {
        display: none;
    }
    
    .lang-btn img {
        margin: 0;
    }
}

/* Mobil Menü Dil Seçimi */
.mobile-language {
    padding: 20px;
    border-top: 1px solid #e0e7ed;
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.mobile-language a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #0a1f2e;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-language a.active {
    background: #1e3a5f;
    color: white;
}

.mobile-language a:hover {
    background: #1e3a5f;
    color: white;
}

.mobile-language img {
    width: 24px;
    border-radius: 2px;
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .product-detail-image {
        height: 250px;
    }
}

/* ===== ANIMATIONS ===== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}