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

:root {
    --primary: #e3000f; /* Digital Etiket Red */
    --primary-hover: #b3000b;
    --dark: #1a1a1a;
    --darker: #111;
    --light: #f9f9f9;
    --gray: #888;
    --white: #ffffff;
    --border: #eaeaea;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* Header */
.top-bar {
    background: var(--darker);
    color: var(--gray);
    padding: 10px 0;
    font-size: 14px;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar .contact-info { display: flex; gap: 20px; }
.top-bar .contact-info i { color: var(--primary); margin-right: 5px; }

header {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}
.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo span { color: var(--primary); }

.nav-menu { display: flex; gap: 30px; align-items: center; height: 100%; }
.nav-menu > li { height: 100%; display: flex; align-items: center; position: relative; }
.nav-menu > li > a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 10px 0;
    position: relative;
}
.nav-menu > li > a::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
    background: var(--primary); transition: var(--transition);
}
.nav-menu > li:hover > a::after, .nav-menu > li > a.active::after { width: 100%; }

/* Dropdown */
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background: var(--white); min-width: 220px;
    box-shadow: var(--shadow); border-radius: 0 0 8px 8px; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: var(--transition); z-index: 10;
    border-top: 3px solid var(--primary);
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { border-bottom: 1px solid var(--border); }
.dropdown-menu li:last-child { border-bottom: none; }
.dropdown-menu a { display: block; padding: 12px 20px; font-weight: 400; }
.dropdown-menu a:hover { background: var(--light); color: var(--primary); padding-left: 25px; }

/* Mobile Menu Toggle */
.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--dark); }

/* Slider */
.slider-container {
    display: grid; width: 100%; overflow: hidden; background: var(--darker);
}
.slide {
    grid-area: 1 / 1; width: 100%; opacity: 0; transition: opacity 1s ease-in-out; position: relative;
}
.slide-bg { width: 100%; display: block; height: auto; }
.slide.active { opacity: 1; z-index: 1; }
.slide-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center; color: var(--white); z-index: 2; width: 80%;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8); /* Yazının okunabilmesi için gölge eklendi */
}
.slide-title { font-size: 48px; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; }
.slide-subtitle { font-size: 20px; font-weight: 300; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; font-size: 24px; padding: 15px 20px; cursor: pointer; z-index: 3; transition: var(--transition); }
.slider-nav:hover { background: var(--primary); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Sections */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 36px; font-weight: 800; margin-bottom: 50px; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--primary); margin: 15px auto 0; }

/* Services Info Box */
.services-box {
    display: flex; background: var(--white); border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow); margin-top: 40px; margin-bottom: 40px; position: relative; z-index: 5;
}
.services-img { flex: 1; background: url('../images/services.jpg') center/cover; min-height: 300px; }
.services-text { flex: 1; padding: 50px; }
.services-text h3 { font-size: 28px; margin-bottom: 20px; color: var(--primary); }
.services-text p { color: var(--gray); font-size: 16px; margin-bottom: 20px; }
.btn {
    display: inline-block; padding: 12px 30px; background: var(--primary); color: var(--white);
    font-weight: 600; border-radius: 4px; border: none; cursor: pointer; transition: var(--transition);
}
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(227,0,15,0.3); }

/* Product Grid */
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px;
}
.product-card {
    background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow);
    transition: var(--transition); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.product-img { height: 250px; overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.1); }
.product-info { padding: 20px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: 12px; color: var(--primary); text-transform: uppercase; font-weight: 600; margin-bottom: 5px; }
.product-name { font-size: 20px; font-weight: 600; margin-bottom: 15px; color: var(--dark); }
.product-btn { margin-top: auto; display: inline-block; padding: 8px 20px; border: 2px solid var(--primary); color: var(--primary); border-radius: 4px; font-weight: 600; transition: var(--transition); }
.product-card:hover .product-btn { background: var(--primary); color: var(--white); }

/* Recent Works (References) */
.works-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px;
}
.work-card {
    position: relative; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); height: 250px;
}
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.work-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.7); display: flex; flex-direction: column;
    justify-content: center; align-items: center; opacity: 0; transition: var(--transition); text-align: center; padding: 20px;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-card:hover img { transform: scale(1.1); }
.work-company { color: var(--primary); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; transform: translateY(20px); transition: var(--transition); }
.work-product { color: var(--white); font-size: 22px; font-weight: 800; transform: translateY(20px); transition: var(--transition); transition-delay: 0.1s; }
.work-card:hover .work-company, .work-card:hover .work-product { transform: translateY(0); }

/* Footer */
footer { background: var(--darker); color: var(--gray); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); font-size: 20px; margin-bottom: 20px; font-weight: 600; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 15px; }
.footer-contact i { color: var(--primary); margin-top: 5px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #333; font-size: 14px; }

/* Floating Buttons */
.floating-btns { position: fixed; bottom: 30px; right: 30px; z-index: 999; display: flex; flex-direction: column; gap: 15px; }
.float-btn {
    width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    color: #fff; font-size: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: var(--transition);
}
.float-btn:hover { transform: scale(1.1); }
.btn-whatsapp { background: #25D366; }
.btn-call { background: #007bff; display: none; } /* Only show on mobile */

/* Form */
.contact-form { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; font-size: 16px; outline: none; transition: var(--transition); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(227,0,15,0.1); }

/* Detail Page */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.detail-img img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.detail-info h1 { font-size: 36px; margin-bottom: 10px; }
.detail-cat { color: var(--primary); font-weight: 600; text-transform: uppercase; margin-bottom: 20px; display: block; }
.detail-desc { font-size: 16px; color: var(--gray); margin-bottom: 30px; }

/* Responsive */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed; top: 90px; left: -100%; width: 100%; height: calc(100vh - 90px);
        background: var(--white); flex-direction: column; justify-content: center; gap: 20px;
        transition: var(--transition); box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-menu.active { left: 0; }
    .nav-menu > li { height: auto; }
    .dropdown-menu { position: static; box-shadow: none; border-top: none; display: none; background: var(--light); width: 100%; text-align: center; }
    .has-dropdown.active .dropdown-menu { display: block; opacity: 1; visibility: visible; transform: none; }
    .menu-toggle { display: block; }
    
    .services-box { flex-direction: column; margin-top: 0; }
    .services-img { min-height: 200px; }
    .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .slide-title { font-size: 32px; }
    .floating-btns {
        bottom: 0; right: 0; left: 0; flex-direction: row; gap: 0;
    }
    .float-btn {
        width: 50%; border-radius: 0; height: 60px; box-shadow: none; font-size: 24px; display: flex;
    }
    .btn-call { display: flex; }
}
