/* Premium Frontend Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --primary: #c3a365; /* Lüks Altın Tonu */
    --primary-hover: #b08e51;
    --secondary: #1a1a1a; /* Kömür Siyahı */
    --bg-white: #FFFFFF;
    --bg-light: #F9F9F9;
    --text-main: #333333;
    --text-muted: #7a7a7a;
    --nav-height: 90px;
    --campaign-height: 0px; /* Default 0 */
    --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-light: 0 4px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', sans-serif; 
    color: var(--text-main); 
    background-color: var(--bg-white); 
    line-height: 1.7; 
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .logo { font-family: 'Outfit', sans-serif; font-weight: 600; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Navbar */
.navbar { position: sticky; top: var(--campaign-height); left: 0; width: 100%; height: var(--nav-height); background: rgba(255,255,255,0.98); z-index: 1000; transition: var(--transition); border-bottom: 1px solid rgba(0,0,0,0.03); }

/* Set campaign height if bar is present */
body:has(.campaign-bar) { --campaign-height: 48px; }
@media(max-width: 768px) { 
    body:has(.campaign-bar) { --campaign-height: 45px; } 
}

.navbar.scrolled { box-shadow: var(--shadow-light); --nav-height: 80px; }

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { font-size: 28px; font-weight: 700; color: var(--secondary); letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--primary); font-size: 24px; }

.nav-links { list-style: none; display: flex; gap: 35px; align-items: center; }
.nav-links li a { font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; position: relative; padding: 5px 0; color: var(--secondary); transition: var(--transition); }
.nav-links li a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--primary); transition: var(--transition); }
.nav-links li a:hover::after, .nav-links li a.active::after { width: 100%; }
.nav-links li a:hover, .nav-links li a.active { color: var(--primary); }
.hamburger { display: none; font-size: 26px; cursor: pointer; color: var(--secondary); }
.logo-img { max-height: 40px; display: inline-block; vertical-align: middle; }

/* Campaign Bar — Sticks with navbar */
.campaign-bar { background: var(--secondary); background-image: linear-gradient(90deg, #1a1a1a 0%, #302b21 50%, #1a1a1a 100%); border-bottom: 2px solid var(--primary); color: var(--primary); text-align: center; padding: 12px; font-weight: 500; font-size: 13px; z-index: 1001; position: sticky; top: 0; letter-spacing: 0.5px; animation: glowPulse 2s infinite alternate;}
@keyframes glowPulse { from { box-shadow: 0 0 5px rgba(195,163,101,0.2); } to { box-shadow: 0 0 15px rgba(195,163,101,0.6); } }

/* Topbar Info (Optional for WhatsApp/Email) */
.topbar { background: var(--secondary); color: #fff; padding: 10px 0; font-size: 12px; letter-spacing: 0.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-info span { margin-right: 20px; display: inline-flex; align-items: center; gap: 5px; }
.topbar-info i { color: var(--primary); }
.topbar-socials a { color: #fff; margin-left: 15px; transition: var(--transition); font-size: 20px; }
.topbar-socials a:hover { color: var(--primary); transform: scale(1.2); }

/* Hero Section */
.hero { height: 100vh; background-image: url('../img/hero.png'); background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--bg-white); }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(10, 10, 10, 0.5), rgba(0, 0, 0, 0.8)); }
.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 0 20px; animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; }
.hero h1 { font-size: 5rem; font-weight: 700; margin-bottom: 20px; letter-spacing: -1px; line-height: 1.1; }
.hero p { font-size: 1.3rem; font-weight: 300; margin-bottom: 40px; color: #f0f0f0; letter-spacing: 0.5px;}

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(195, 163, 101, 0.4); }
.btn-outline { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--secondary); }

/* Sections */
.section { padding: 100px 0; }
.section.bg-light { background-color: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 70px; }
.section-title h2 { font-size: 3rem; color: var(--secondary); position: relative; display: inline-block; font-weight: 600;}
.section-title p { color: var(--text-muted); margin-top: 20px; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Grid Layouts */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }

/* Services Card */
.service-card { background: var(--bg-white); padding: 50px 40px; text-align: center; transition: var(--transition); border: 1px solid #eee; }
.service-card i { font-size: 40px; color: var(--primary); margin-bottom: 30px; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.service-card h3 { font-size: 1.6rem; margin-bottom: 20px; font-weight: 500;}
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8;}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: transparent;}
.service-card:hover i { transform: scale(1.1) rotate(5deg); }

/* Product/Project Card */
.item-card { background: var(--bg-white); overflow: hidden; box-shadow: var(--shadow-light); transition: var(--transition); border: 1px solid #f0f0f0; position: relative;}
.item-img { position: relative; overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: #fafafa;}
.item-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.8s ease; }
.item-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 26, 26, 0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); flex-direction: column; gap: 15px;}
.overlay-btn { border: 1px solid var(--primary); color: #fff; padding: 10px 25px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 8px; transform: translateY(20px); transition: var(--transition); opacity: 0;}
.overlay-btn.wp-btn { background: #25D366; border-color: #25D366; }
.overlay-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.item-card:hover .item-img img { transform: scale(1.05); }
.item-card:hover .item-overlay { opacity: 1; }
.item-card:hover .overlay-btn { transform: translateY(0); opacity: 1; transition-delay: 0.1s;}

.item-info { padding: 30px 20px; text-align: center; }
.item-info h4 { font-size: 1.4rem; margin-bottom: 5px; font-weight: 600; color: var(--secondary); font-family: 'Outfit', sans-serif;}
.item-info p { color: var(--text-muted); font-size: 0.85rem; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-weight:500;}

/* Filter Buttons */
.filter-btn-group { display: flex; justify-content: center; gap: 20px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn { padding: 10px 25px; border: none; background: transparent; color: var(--text-muted); cursor: pointer; transition: var(--transition); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; position: relative; }
.filter-btn::after { content:''; position:absolute; bottom:0; left:50%; width:0; height:1px; background:var(--primary); transition:0.3s ease; transform:translateX(-50%); }
.filter-btn:hover, .filter-btn.active { color: var(--secondary); }
.filter-btn:hover::after, .filter-btn.active::after { width: 50%; }

/* Form Styles */
.form-box { background: var(--bg-white); padding: 50px; box-shadow: var(--shadow-light); border-top: 3px solid var(--primary); }
.input-group { margin-bottom: 25px; }
.input-group label { display: block; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--secondary); font-weight: 500;}
.input-group input, .input-group textarea { width: 100%; padding: 15px 20px; border: 1px solid #e0e0e0; background: #fdfdfd; font-family: 'Inter', sans-serif; transition: var(--transition); font-size: 14px;}
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--primary); background: #fff; }

/* WhatsApp & Tawk Floating Buttons */
.floating-wp { position: fixed; bottom: 30px; left: 30px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 999; transition: var(--transition); }
.floating-wp:hover { transform: scale(1.1); }

/* Footer */
.footer { background: var(--secondary); color: #fff; padding: 80px 0 30px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; margin-bottom: 60px; }
.footer-col .logo { color: #fff; margin-bottom: 20px;}
.footer-col .logo i { color: var(--primary); }
.footer-col h3 { font-size: 1.4rem; margin-bottom: 25px; font-family: 'Outfit', sans-serif; font-weight: 500; color: #fff;}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: #aaa; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); padding-left: 8px; }
.footer-col p { color: #aaa; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 15px; line-height: 1.8;}
.footer-col p i { color: var(--primary); margin-top: 6px; font-size: 16px;}
.footer-col .social-links { display: flex; gap: 15px; margin-top: 25px; }
.footer-col .social-links a { width: 40px; height: 40px; border: 1px solid #444; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #aaa; transition: var(--transition);}
.footer-col .social-links a:hover { background: var(--primary); border-color: var(--primary); color: #fff;}
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); color: #777; font-size: 0.85rem;}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* Lightbox Modal */
.modal { display: none; position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(26,26,26,0.95); justify-content: center; align-items: center; }
.modal img { max-width: 90%; max-height: 90%; animation: zoomIn 0.4s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: 0 10px 40px rgba(0,0,0,0.5);}
.modal-close { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 40px; cursor: pointer; transition: 0.3s;}
.modal-close:hover { color: var(--primary); transform: scale(1.1); }
@keyframes zoomIn { from {transform:scale(0.9); opacity:0;} to {transform:scale(1); opacity:1;} }

/* UI/UX Creative Improvements */
.btn-primary:hover { box-shadow: 0 10px 30px rgba(195, 163, 101, 0.5); transform: translateY(-3px); }
.item-card { border-radius: 8px; }
.item-card:hover { box-shadow: 0 15px 45px rgba(0,0,0,0.1); border-color: rgba(195, 163, 101, 0.3); }

/* Responsive */
@media(max-width: 992px) {
    .topbar { display: none; }
    .hero { margin-top: 0; }
    .hero h1 { font-size: calc(1.8rem + 2vw); }
    .hero p { font-size: 0.95rem; }
    .hamburger { display: block; }
    .nav-links { 
        position: fixed; 
        top: calc(var(--nav-height) + var(--campaign-height)); 
        left: -100%; width: 100%; 
        height: calc(100vh - (var(--nav-height) + var(--campaign-height))); 
        background: var(--bg-white); 
        flex-direction: column; align-items: center; padding-top: 40px; 
        transition: var(--transition); gap: 15px; z-index: 1001;
    }
    .nav-links.show { left: 0; box-shadow: 5px 0 15px rgba(0,0,0,0.1); }
    .grid-3, .grid-4 { grid-template-columns: 1fr; padding: 0 10px; }
    .floating-wp { left: auto; right: 20px; bottom: 20px; width: 50px; height: 50px; font-size: 24px;}
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 2rem; }
    .section-title p { font-size: 0.95rem; }
    .form-box { padding: 25px 18px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col .logo { justify-content: center; width: 100%; display: flex; }
    .footer-col .logo span { justify-content: center; width: 100%; }
    .footer-col p { justify-content: center; }
    .footer-col .social-links { justify-content: center; }
    .btn { padding: 12px 24px; font-size: 13px; }
    .campaign-bar { font-size: 12px; padding: 10px; }
    .service-card { padding: 35px 25px; }
    .item-info { padding: 20px 15px; }
    .item-info h4 { font-size: 1.1rem; }
}

/* Mobile Social Bar — visible in hamburger menu */
.mobile-social-bar { display: none; }
.mobile-contact-info { display: none; }
@media(max-width: 992px) {
    .mobile-contact-info { 
        display: flex !important; flex-direction: column; align-items: center; 
        gap: 10px; margin-top: 15px; padding-top: 20px; border-top: 1px solid #eee; 
        width: 100%; color: var(--secondary); font-size: 15px; font-weight: 500;
    }
    .mobile-social-bar { 
        display: flex; gap: 15px; margin-top: 10px; padding: 20px; 
        width: 100%; justify-content: center;
    }
    .mobile-social-bar a { 
        width: 44px; height: 44px; border-radius: 50%; display: flex; 
        align-items: center; justify-content: center; font-size: 20px; 
        color: #fff; transition: var(--transition);
    }
    .mobile-social-bar .mob-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
    .mobile-social-bar .mob-wp { background: #25D366; }
    .mobile-social-bar .mob-phone { background: var(--primary); }
}


/* Tawk.to İyileştirmeleri */
/* 1. Sitenin bembeyaz olmasını engelleyen kesin çözüm: */
html, body { 
    opacity: 1 !important; 
    visibility: visible !important; 
}

/* 2. Sadece o gereksiz "Hello" ve el sallayan balonları (Eye Catcher) hedefliyoruz. */
/* Ana chat butonuna dokunmuyoruz ki site kilitlenmesin. */
iframe[title*="bubble"],
iframe[title*="Attention"],
iframe[title*="Eye Catcher"],
iframe[title*="Hello"] { 
    display: none !important; 
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
}

/* Tawk.to'nun kendi içindeki badge ve balonları (eğer frame dışına taşarsa) */
.tawk-badge, .tawk-attention-grabber { 
    display: none !important; 
}

/* Zigzag Layout */
.zigzag-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 20px;
}
.zigzag-card {
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}
.zigzag-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.zigzag-card:nth-child(even) {
    flex-direction: row-reverse;
}
.zigzag-card .z-img {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    min-height: 350px;
}
.zigzag-card .z-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zigzag-card .z-info {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.zigzag-card .z-info .cat-name {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}
.zigzag-card .z-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}
.zigzag-card .z-info p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.z-actions {
    display: flex;
    gap: 15px;
}

/* Mobile: Stack vertically */
@media (max-width: 992px) {
    .zigzag-card, .zigzag-card:nth-child(even) {
        flex-direction: column;
    }
    .zigzag-card .z-img {
        max-width: 100%;
        height: 250px;
        min-height: 250px;
    }
    .zigzag-card .z-img img {
        position: relative;
    }
    .zigzag-card .z-info {
        padding: 30px 20px;
    }
}




