html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', sans-serif; background: #fcfcfc; margin: 0; padding: 0; color: #212121; line-height: 1.6; }

/* Navbar & Menu */
.navbar { display: flex; justify-content: space-between; align-items: center; background: white; padding: 0 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; height: 70px; }
.logo { text-decoration: none; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.logo-can { background: #d32f2f; color: white; padding: 4px 8px; font-weight: 900; font-size: 20px; font-style: italic; transform: skew(-12deg); display: inline-block; letter-spacing: 1px; }
.logo-peri { color: #111; font-weight: 900; font-size: 20px; letter-spacing: 0.5px; }
.nav-right { display: flex; align-items: center; gap: 15px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: #111; font-weight: 700; font-size: 15px; white-space: nowrap; transition: 0.2s; }
.nav-links a:hover { color: #d32f2f; }
.mobile-menu-trigger { display: none; font-weight: bold; color: #d32f2f; cursor: pointer; font-size: 14px; border: 2px solid #d32f2f; padding: 6px 12px; border-radius: 6px; }
#mobileNav { display: none; position: fixed; top: 70px; left: 0; width: 100%; background: white; z-index: 999; padding: 10px 20px; border-bottom: 3px solid #d32f2f; box-shadow: 0 10px 15px rgba(0,0,0,0.05); }
#mobileNav a { display: block; padding: 15px 0; text-decoration: none; color: #111; font-weight: bold; border-bottom: 1px solid #eee; font-size: 15px; }

/* Language Dropdown */
.lang-dropdown { position: relative; } 
.lang-btn { background: #fff; border: 1px solid #ccc; padding: 8px 14px; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 15px; display: flex; align-items: center; gap: 8px; color: #333; transition: 0.2s; }
.lang-btn:hover { border-color: #d32f2f; color: #d32f2f; }
.lang-btn i.fa-globe-americas { font-size: 18px; color: #777; } 
.lang-content { display: none; position: absolute; top: 110%; right: 0; background: white; min-width: 150px; box-shadow: 0 8px 20px rgba(0,0,0,0.15); border-radius: 8px; border: 1px solid #eee; z-index: 1001; overflow: hidden; }
.lang-content a { display: block; width: 100%; padding: 14px 16px; text-decoration: none; color: #212121; font-weight: bold; font-size: 14px; border-bottom: 1px solid #f0f0f0; transition: 0.2s; }
.lang-content a:hover { background: #f9f9f9; color: #d32f2f; padding-left: 20px; } 
.show-lang { display: block !important; }

/* HERO SECTION */
.hero { background: linear-gradient(rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.20)), url('canperi_sigorta.jpg') center/cover no-repeat; padding: 50px 20px 30px 20px; text-align: center; border-bottom: 1px solid #e1e5eb; } 
.hero-container { max-width: 800px; margin: 0 auto; }
.hero-text h1 { font-size: 48px; color: #111; margin: 0 0 15px 0; font-weight: 900; line-height: 1.1; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9); }
.hero-text p { font-size: 18px; color: #004b87; margin: 0 auto 230px auto; line-height: 1.6; font-weight: 700; max-width: 600px; text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9); } 
.hero-btn { background: #d32f2f; color: white; padding: 16px 35px; border-radius: 30px; text-decoration: none; font-weight: bold; display: inline-block; font-size: 16px; transition: 0.3s; box-shadow: 0 4px 15px rgba(211,47,47,0.3); }
.hero-btn:hover { background: #111; color: white; transform: translateY(-3px); }

/* GRIDS */
.container { padding: 60px 15px; max-width: 1200px; margin: 0 auto; } 
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }

/* STRICT 6-3-2 LAYOUT FOR COMPACT GRID */
.compact-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; max-width: 1100px; margin: 0 auto; }
@media(max-width: 900px) { .compact-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width: 500px) { .compact-grid { grid-template-columns: repeat(2, 1fr); } }

.card { background: white; padding: 35px 25px; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border-top: 5px solid #d32f2f; display: flex; flex-direction: column; align-items: center; text-align: center; transition: 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.1); }
.compact-card { background: white; padding: 25px 15px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #eee; display: flex; flex-direction: column; align-items: center; text-align: center; transition: 0.3s; text-decoration: none; color: #111; }
.compact-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); border-color: #d32f2f; }
.cat-icon { background: #fef0f0; color: #d32f2f; width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; margin-bottom: 20px; transition: 0.3s ease-in-out; }
.card:hover .cat-icon { background: #d32f2f; color: #ffffff; transform: scale(1.1); }
.compact-icon { color: #d32f2f; font-size: 30px; margin-bottom: 15px; transition: 0.3s; }
.compact-card:hover .compact-icon { transform: scale(1.1); color: #004b87; }
.card h3 { margin: 0 0 10px; font-size: 20px; }
.compact-card h3 { margin: 0; font-size: 15px; line-height: 1.3; font-weight: bold; }

/* WHY US SECTION */
.why-section { padding: 80px 20px; background: #fff; text-align: center; border-top: 1px solid #eee; }
.section-title { font-size: 32px; color: #111; margin-bottom: 50px; font-weight: 900; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1100px; margin: 0 auto; }
.why-box { padding: 40px 25px; background: #fafafa; border-radius: 20px; transition: 0.3s; border-bottom: 4px solid #ddd; }
.why-box:hover { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-bottom-color: #d32f2f; transform: translateY(-5px); }
.why-icon { font-size: 45px; color: #004b87; margin-bottom: 20px; display: inline-block; }
.why-box h3 { font-size: 22px; margin-bottom: 15px; color: #111; }
.why-box p { font-size: 15px; color: #555; line-height: 1.7; margin: 0; }

/* ANIMATED COUNTERS */
.counter-section { padding: 80px 20px; background: linear-gradient(135deg, #111 0%, #222 100%); text-align: center; color: white; }
.counter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; }
.counter-box { padding: 20px; }
.counter-number-wrap { font-size: 50px; font-weight: 900; color: #d32f2f; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.counter-text { font-size: 16px; color: #ccc; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

/* SLOGAN BANNER */
.slogan-banner { background: #fef0f0; padding: 80px 20px; text-align: center; }
.slogan-content { max-width: 800px; margin: 0 auto; }
.slogan-title { font-size: 34px; color: #d32f2f; margin-bottom: 25px; font-weight: 900; line-height: 1.3; }
.slogan-text { font-size: 18px; color: #444; margin-bottom: 40px; line-height: 1.6; font-weight: 500; }
.slogan-link { background: #111; color: white; padding: 18px 45px; border-radius: 8px; font-size: 16px; font-weight: bold; text-decoration: none; display: inline-block; transition: 0.3s; }
.slogan-link:hover { background: #d32f2f; transform: scale(1.05); }

/* TESTIMONIALS */
.test-section { padding: 80px 20px; background: #fff; text-align: center; }
.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1100px; margin: 0 auto; }
.test-card { background: white; padding: 35px; border-radius: 0 20px 20px 20px; text-align: left; box-shadow: 0 5px 20px rgba(0,0,0,0.06); border: 1px solid #f0f0f0; }
.test-card i.fa-star { color: #ffc107; font-size: 18px; margin-bottom: 15px; }
.test-card p { font-size: 15px; color: #333; line-height: 1.7; margin-bottom: 20px; }
.test-name { font-weight: 800; color: #111; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* FAQ SECTION */
.faq-section { padding: 80px 20px; background: #f9fbfc; border-top: 1px solid #eee; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; margin-bottom: 15px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); border-left: 4px solid #ccc; transition: 0.3s; }
.faq-question { padding: 20px 25px; font-weight: 700; color: #222; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 16px; }
.faq-question i { transition: 0.3s; color: #888; }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; color: #555; font-size: 15px; line-height: 1.6; }
.faq-item.active { border-left-color: #d32f2f; }
.faq-item.active .faq-question { color: #d32f2f; }
.faq-item.active .faq-answer { padding: 0 25px 20px 25px; max-height: 500px; }
.faq-item.active .faq-question i { transform: rotate(45deg); color: #d32f2f; }

/* Footer */
.footer { background: #111; color: white; text-align: center; padding: 50px 15px; font-size: 13px; border-top: 5px solid #d32f2f;} 
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; flex-wrap: wrap; }
.footer-links a { color: #aaa; text-decoration: none; font-weight: bold; transition: 0.2s; } 
.footer-links a:hover { color: white; }

/* Responsive (General) */
@media(min-width:769px) { .lang-btn { padding: 10px 20px; font-size: 16px; } .lang-btn i.fa-globe-americas { font-size: 24px; } }
@media(max-width:768px) {
    .nav-links { display: none; }
    .mobile-menu-trigger { display: block; font-size: 12.5px; padding: 5px 10px; } 
    .logo-can { font-size: 18px; padding: 3px 6px; } 
    .logo-peri { font-size: 18px; } 
    .hero-text h1 { font-size: 34px; margin-bottom: 10px; } 
    .hero-text p { font-size: 15px; margin-bottom: 120px; } 
    .hero { padding: 40px 15px 25px 15px; } 
    .slogan-title, .section-title { font-size: 26px; }
}