/* CSS Custom Properties for Corporate Theme */
:root {
    --primary-color: #E62020; /* Trakya Tartı Red */
    --primary-dark: #b31515;
    --dark-bg: #111111;
    --darker-bg: #0a0a0a;
    --light-bg: #f8f9fa;
    --text-main: #333333;
    --text-light: #e0e0e0;
    --text-muted: #888888;
    --border-color: #333;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Inter', sans-serif; }
body { background-color: var(--light-bg); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.highlight { color: var(--primary-color); }
.section-title { font-size: 2.5rem; margin-bottom: 1.5rem; position: relative; display: inline-block; }
.section-title span { color: var(--primary-color); }
.section-title::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 60px; height: 4px; background-color: var(--primary-color); }
.center .section-title::after { left: 50%; transform: translateX(-50%); }
.center { text-align: center; }

/* Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.mt-2 { margin-top: 2rem; }
.bg-dark { background-color: var(--dark-bg); color: var(--text-light); }

/* Buttons */
.btn { display: inline-block; padding: 0.8rem 2rem; border-radius: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.btn-primary { background-color: var(--primary-color); color: #fff; }
.btn-primary:hover { background-color: var(--primary-dark); box-shadow: 0 10px 20px rgba(230, 32, 32, 0.3); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: #fff; border-color: #fff; }
.btn-secondary:hover { background-color: #fff; color: var(--dark-bg); }
.btn-outline { background-color: transparent; color: var(--text-main); border-color: var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: #fff; }
.btn-block { width: 100%; display: block; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05); transition: var(--transition); padding: 1rem 0; }
.navbar.scrolled { padding: 0.5rem 0; background-color: rgba(255, 255, 255, 1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; }
.logo-red { color: var(--primary-color); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links li a { font-weight: 600; font-size: 0.95rem; position: relative; }
.nav-links li a:not(.btn)::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: var(--transition); }
.nav-links li a:hover:not(.btn)::after { width: 100%; }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; color: #fff; padding-top: 80px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center 60%; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.5) 100%); z-index: -1; }
.hero-content { max-width: 800px; }
.hero h1 { font-size: 4rem; margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; margin-bottom: 2.5rem; color: #e0e0e0; max-width: 600px; }
.hero-buttons { display: flex; gap: 1rem; }

/* Stats Section */
.stats-section { background-color: var(--primary-color); color: #fff; padding: 3rem 0; margin-top: -50px; position: relative; z-index: 10; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.stats-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-box i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.9; }
.stat-box h3 { font-size: 2rem; margin-bottom: 0.5rem; }
.stat-box p { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

/* About Section */
.about { padding: 8rem 0; }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { margin-bottom: 1.5rem; font-size: 1.1rem; color: #555; }
.feature-list { margin-top: 2rem; }
.feature-list li { margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; font-weight: 600; }
.feature-list i { color: var(--primary-color); font-size: 1.2rem; }
.about-card { background: #fff; padding: 3rem; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.08); position: relative; overflow: hidden; }
.about-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background-color: var(--primary-color); }
.card-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 1.5rem; }
.about-card p { margin-bottom: 1rem; }
.card-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #eee; font-size: 0.95rem; color: var(--primary-color); font-weight: 600; }

/* Products Section */
.products { padding: 8rem 0; }
.section-header { margin-bottom: 4rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 1rem auto 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.product-card { background-color: var(--darker-bg); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: var(--transition); position: relative; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); border-color: var(--primary-color); }
/* Real product photos have white backgrounds: show them on a white panel, uncropped */
.product-img { height: 220px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 1.2rem; overflow: hidden; }
.product-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-info { padding: 2rem; }
.product-info h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.product-info p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.capacity { display: inline-block; padding: 0.4rem 1rem; background-color: rgba(230, 32, 32, 0.1); color: var(--primary-color); font-size: 0.85rem; font-weight: 600; border-radius: 20px; }

/* Services Section */
.services { padding: 8rem 0; background-color: #fff; }
.services-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.services-info p { font-size: 1.1rem; color: #555; margin-bottom: 2rem; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.service-item { padding: 2rem; background-color: var(--light-bg); border-radius: 8px; text-align: center; transition: var(--transition); }
.service-item:hover { background-color: var(--primary-color); color: #fff; transform: translateY(-5px); }
.service-item i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; transition: var(--transition); }
.service-item:hover i { color: #fff; }

/* Contact Section */
.contact { padding: 8rem 0; }
.contact-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-item { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-item i { font-size: 1.5rem; color: var(--primary-color); width: 50px; height: 50px; background-color: rgba(230, 32, 32, 0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.contact-item h4 { margin-bottom: 0.2rem; }
.contact-item p { color: var(--text-muted); }
.contact-form { background-color: var(--darker-bg); padding: 3rem; border-radius: 8px; border: 1px solid var(--border-color); }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem 1.2rem; background-color: #111; border: 1px solid var(--border-color); border-radius: 4px; color: #fff; font-family: 'Inter', sans-serif; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); background-color: #000; }

/* Footer */
footer { background-color: #050505; color: var(--text-muted); padding-top: 5rem; }
footer .logo { color: #fff; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { margin-top: 1rem; max-width: 300px; }
.footer-links h4 { color: #fff; margin-bottom: 1.5rem; }
.footer-links ul li { margin-bottom: 0.8rem; }
.footer-links ul li a:hover { color: var(--primary-color); padding-left: 5px; }
.footer-bottom { border-top: 1px solid #1a1a1a; padding: 1.5rem 0; text-align: center; font-size: 0.9rem; }

/* Online (remote scale monitoring) link */
.online-link { display: inline-flex; align-items: center; gap: 0.5rem; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.6); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* Visitor counter */
.visitor-counter { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.8rem; padding: 0.4rem 1rem; border: 1px solid #222; border-radius: 20px; }
.visitor-counter i { color: var(--primary-color); }
.visitor-counter strong { color: #fff; }

/* Animations */
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 992px) {
    .about-container, .services-container, .contact-content, .footer-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero h1 { font-size: 3rem; }
    .stats-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: #fff; flex-direction: column; padding: 2rem 0; box-shadow: 0 10px 15px rgba(0,0,0,0.05); }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .hero-buttons { flex-direction: column; }
    .stats-container { grid-template-columns: 1fr; }
}
