:root {
    --bg: #f4f7f6;
    --card: #ffffff;
    --primary: #2c3e50;
    --accent: #e67e22;
    --text: #34495e;
    --card-border: #eeeeee;
}

[data-theme="dark"] {
    --bg: #121416;
    --card: #1e2124;
    --primary: #ffffff;
    --text: #cfd8dc;
    --card-border: #333639;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); transition: 0.3s; padding-top: 80px; }

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

/* Navbar */
.navbar { background: var(--card); height: 75px; display: flex; align-items: center; position: fixed; top: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: 0.3s; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 24px; font-weight: bold; color: var(--primary); }
.logo span { color: var(--accent); }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 14px; }

/* Language Switcher */
.lang-switcher { display: flex; gap: 4px; align-items: center; }
.lang-btn {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
    transition: 0.2s;
    line-height: 1.4;
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.lang-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Theme toggle */
#theme-toggle { background: none; border: 1px solid #ccc; border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 15px; color: var(--text); display: flex; align-items: center; justify-content: center; transition: 0.2s; }
#theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.main-wrapper { max-width: 1140px; margin: 0 auto; padding: 20px; }
.hero-card { background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 30px; transition: 0.3s; }
.hero-content { display: flex; align-items: center; flex-wrap: wrap; }
.hero-text { flex: 1; padding: 50px; min-width: 300px; }
.tag { color: var(--accent); font-weight: bold; font-size: 12px; text-transform: uppercase; margin-bottom: 15px; display: block; }
.hero-text h1 { font-size: 40px; margin-bottom: 20px; color: var(--primary); line-height: 1.2; }
.hero-text p { margin-bottom: 30px; font-size: 17px; opacity: 0.8; color: var(--text); }
.btn-main { background: var(--primary); color: var(--bg); padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: bold; display: inline-block; transition: 0.2s; }
.btn-wa-main { background: #25D366; color: white; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: bold; margin-left: 10px; }
.hero-image { flex: 1; height: 400px; min-width: 300px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section-container { background: var(--card); padding: 40px; border-radius: 20px; margin-bottom: 30px; transition: 0.3s; }
.section-title { font-size: 24px; margin-bottom: 30px; border-left: 4px solid var(--accent); padding-left: 15px; color: var(--primary); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.s-card { background: var(--card); border: 1px solid var(--card-border); padding: 30px 20px; border-radius: 15px; text-align: center; cursor: pointer; transition: 0.3s; color: var(--text); }
.s-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.s-card i { font-size: 35px; color: var(--accent); margin-bottom: 15px; }
.s-card h3 { color: var(--primary); margin-bottom: 8px; font-size: 18px; }
.s-card p { color: var(--text); opacity: 0.9; }
.extra-info { margin-top: 10px; font-size: 11px; font-weight: bold; color: #27ae60; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.price-item { background: var(--bg); padding: 15px 20px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--accent); color: var(--text); transition: 0.3s; }
.price-item strong { color: var(--accent); font-size: 18px; }

/* Portfolio */
.portfolio-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.filter-btn { background: var(--bg); border: 1px solid var(--card-border); padding: 8px 20px; border-radius: 20px; cursor: pointer; transition: 0.3s; font-weight: 500; color: var(--text); }
.filter-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
.portfolio-grid-modern { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.p-card { position: relative; height: 250px; border-radius: 15px; overflow: hidden; cursor: pointer; transition: 0.4s; }
.p-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.p-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; color: white; font-weight: bold; }
.p-card:hover .p-overlay { opacity: 1; }
.p-card:hover img { transform: scale(1.1); }

/* Footer */
.footer-new { background: #1a1c1e; color: #fff; padding: 60px 0 20px; border-radius: 20px; }
.footer-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding: 0 30px; }
.footer-col h4 { color: var(--accent); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #bbb; text-decoration: none; font-size: 14px; }
.footer-col p { font-size: 14px; color: #bbb; margin-bottom: 8px; }
.social-icons { display: flex; gap: 15px; margin-top: 15px; }
.social-icons a { color: white; font-size: 22px; }
.footer-bottom { text-align: center; margin-top: 40px; border-top: 1px solid #333; padding-top: 20px; font-size: 12px; color: #666; }

/* WhatsApp Float */
.wa-float { position: fixed; bottom: 30px; right: 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 5px 15px rgba(0,0,0,0.2); z-index: 1000; text-decoration: none; }

/* Modals & Lightbox */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000; }
.modal-content { background: var(--card); color: var(--text); width: 90%; max-width: 400px; margin: 15% auto; padding: 30px; border-radius: 15px; position: relative; transition: 0.3s; }
.modal-content h3 { color: var(--primary); }
.close { position: absolute; top: 10px; right: 15px; font-size: 25px; cursor: pointer; color: var(--text); }
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 3000; justify-content: center; align-items: center; }
.lightbox img { max-width: 85%; max-height: 85%; border-radius: 10px; }

/* Mobile */
@media (max-width: 768px) {
    .burger-menu { display: block !important; color: var(--primary); }
    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--card);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 80px 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        gap: 30px;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 18px; border-bottom: 1px solid var(--card-border); padding-bottom: 10px; width: 100%; }
    .hero-text h1 { font-size: 28px; }
    .hero-text { padding: 30px; text-align: center; }
    .hero-actions { display: flex; flex-direction: column; gap: 10px; }
    .btn-wa-main { margin-left: 0; }
    .lang-btn { padding: 3px 7px; font-size: 11px; }
}