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

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Header */
header {
    position: fixed;
    top: 10px;
    left: 1%;
    right: 1%;
    width: 98%;
    background: #2d3748;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 15px;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #00b3cc;
    text-decoration: none;
    transition: transform 0.3s ease;
    height: auto;
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
    image-rendering: optimizeQuality;
    transform: translateZ(0);
    will-change: transform;
    background-color: black;
    border-radius: 10%;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: #00b3cc;
}

.logo:hover { transform: scale(1.05); }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 1px;
    border-radius: 8px;
}

.nav-menu a:hover {
    color: #00b3cc;
    background: rgba(0, 179, 204, 0.1);
}

.custom-select {
    position: relative;
    min-width: 80px;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Segoe UI', sans-serif;
}

.select-selected {
    background: transparent;
    border: 2px solid #00b3cc;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.select-selected:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #ffffff transparent transparent transparent;
}

.select-selected.select-arrow-active:after {
    border-color: transparent transparent #ffffff transparent;
    top: 40%;
}

.select-selected:hover {
    border-color: #F28C28;
    background: rgba(242, 140, 40, 0.05);
}

.select-items {
    position: absolute;
    background: #2d3748;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin-top: 2px;
}

.select-hide {
    display: none;
}

.select-items div {
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.select-items div:hover, .same-as-selected {
    background: #00b3cc;
}

.flag-icon {
    width: 16px;
    height: 12px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 40px;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide:nth-child(1) {
    background-image: url('attached_assets/hero-slide-1.jpg');
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
    background-attachment: scroll;
}

.hero-slide:nth-child(2) {
    background-image: url('attached_assets/hero-slide-2.jpg');
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
    background-attachment: scroll;
}

.hero-slide:nth-child(3) {
    background-image: url('attached_assets/hero-slide-3.jpg');
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
    background-attachment: scroll;
}

.hero-slide:nth-child(4) {
    background-image: url('attached_assets/hero-slide-4.jpg');
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
    background-attachment: scroll;
}

.hero-slide:nth-child(5) {
    background-image: url('attached_assets/hero-slide-5.jpg');
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
    background-attachment: scroll;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    height: 400px;
    margin: 0 auto;
    padding: 20 20px;
}



.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
   
    margin-top: 30%;
}

.hero-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #F28C28;
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 140, 40, 0.3);
}

.hero-contact-btn:hover {
    background: #e67e1e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 140, 40, 0.4);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
    transition: opacity 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Service card background images - Optimized for performance */
.service-card:nth-child(1)::before { 
    background-image: url('attached_assets/mobikob-hukuk-takip-sistemi_1755103144170.png');
    background-size: cover;
    background-position: center;
    will-change: opacity;
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
}
.service-card:nth-child(2)::before { 
    background-image: url('attached_assets/hukuk-burosu-takip-sistemi-mobikob-2048x1366_1755103325000.png');
    background-size: cover;
    background-position: center;
    will-change: opacity;
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
}
.service-card:nth-child(3)::before { 
    background-image: url('attached_assets/hesap%20kitap_1755101621432.jpg');
    background-size: cover;
    background-position: center;
    will-change: opacity;
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
}
.service-card:nth-child(4)::before { 
    background-image: url('attached_assets/uzlaşma_1755101908214.webp');
    background-size: cover;
    background-position: center;
    will-change: opacity;
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
}
.service-card:nth-child(5)::before { 
    background-image: url('attached_assets/cagri-merkezi.jpg');
    background-size: cover;
    background-position: center;
    will-change: opacity;
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
}
.service-card:nth-child(6)::before { 
    background-image: url('attached_assets/Uluslararasi-Hukuk_1755101202873.jpg');
    background-size: cover;
    background-position: center;
    will-change: opacity;
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
}

.service-card:hover::before { opacity: 0.5; }

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #00b3cc;
    box-shadow: 0 15px 35px rgba(0, 179, 204, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: #F28C28;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.service-card:hover i { color: #00b3cc; }

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a202c;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.9);
}

.service-card p {
    color: #1a202c;
    line-height: 1.6;
    text-align: justify;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

/* Sectors Section */
.sectors {
    padding: 80px 0;
    background: #f0f4f8;
}

.sectors h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.sectors-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1px;
}

.carousel-wrapper { overflow: hidden; }

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
}

.sector-image {
    width: 350px;
    height: 250px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
}

.sector-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.sectors-list {
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.sector-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sector-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,179,204,0.15);
    border-color: #00b3cc;
}

.sector-item i {
    font-size: 1.8rem;
    color: #F28C28;
    min-width: 30px;
    transition: color 0.3s ease;
}

.sector-item:hover i { color: #00b3cc; }

.sector-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3748;
    transition: color 0.3s ease;
}

.sector-item:hover span { color: #00b3cc; }

/* About Section */
.about {
    padding: 80px 0;
    padding-left: 4%;;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.about-features i {
    color: #F28C28;
    margin-right: 15px;
    font-size: 1.2rem;
}

.large-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.large-logo .logo-image {
    height: 150px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
    animation: pulse 2s ease-in-out infinite alternate;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq h2 {
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 25px 30px;
    background: #ffffff;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e2e8f0;
}

.faq-question:hover { background: #f8f9fa; }

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 25px 30px;
    max-height: 300px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #555;
    font-size: 1rem;
}

/* Contact Form Section */
.contact-form {
    padding: 60px 0 40px;
    background: #f8f9fa;
}

.contact-form h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 2px solid #00b3cc;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00b3cc;
    box-shadow: 0 0 0 3px rgba(0, 179, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit-btn {
    width: 100%;
    padding: 12px;
    background: #F28C28;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.form-submit-btn:hover {
    background: #e67e1e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 140, 40, 0.3);
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-info p {
    color: #cbd5e0;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.footer-info p i {
    margin-right: 15px;
    color: #F28C28;
    width: 20px;
}

.footer-map {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-container {
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.map-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s;
    gap: 8px;
}

.map-container:hover .map-overlay { opacity: 1; }

.map-overlay i {
    font-size: 2rem;
    color: #F28C28;
}

.map-overlay span {
    font-size: 1.1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

.footer-info .logo {
    color: #00b3cc;
    margin-bottom: 1rem;
}

.footer-info .logo .logo-image {
    height: 45px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .nav-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 15px;
        padding: 0.6rem 15px;
    }

    .hamburger { display: flex; }

    .logo {
        font-size: 0;
        justify-self: center;

        gap: 1px;
    }

    .logo-image {
        height: 45px !important;
        display: block !important;
    }

    .logo-text {
        font-size: 1.6rem !important;
        display: block !important;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem 0;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-menu.active { left: 0; }

    .nav-menu li {
        width: 100%;
        margin: 0;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 15px 30px;
        border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        font-size: 1.1rem;
    }

    .hamburger.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 { 
        font-size: 2.5rem; 
        padding: 15px 25px;
    }

    .hero-slide:nth-child(1) {
        background-position: center left;
        background-size: cover;
    }

    .carousel-container { padding: 0 15px; }

    .sector-image {
        width: 150px;
        height: 120px;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-grid { grid-template-columns: 1fr; }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .faq-question { padding: 20px; }

    .faq-item.active .faq-answer { padding: 20px; }

    .contact-form-content { padding: 1.5rem 1rem; }

    .nav-language-select {
        padding: 6px 8px;
        font-size: 0.85rem;
        min-width: 60px;
        border-width: 1px;
    }
}

@media (max-width: 480px) {
    .hero h1 { 
        font-size: 2rem; 
        padding: 12px 20px;
    }
    .contact-form h2 { font-size: 2rem; }
}

/* Animations */
html { scroll-behavior: smooth; }

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite alternate;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
    color: white;
    font-size: 28px;
}

@media (max-width: 768px) {
    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button i {
        font-size: 24px;
    }
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card { animation: fadeInUp 0.6s ease-out; }