/* ==========================================
   MCE Bouw - Modern Professional Design
   Primary Color: #FF6B35 (Orange)
   Secondary Color: #1B3A6D (Navy Blue)
   ========================================== */

/* CSS Variables */
:root {
    --primary-color: #FF6B35;
    --primary-dark: #F7931E;
    --secondary-color: #1B3A6D;
    --secondary-dark: #0F2545;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f6fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
}

.logo img {
    height: 70px;
    width: auto;
    max-width: 200px;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
}

.nav-menu a i {
    font-size: 14px;
    opacity: 0.8;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Sadece hover'da alt çizgi göster */
.nav-menu a:hover::after {
    width: 100%;
}

/* Sadece active class'ı olan sayfa linklerinde alt çizgi */
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Anchor linklerde (#ile başlayanlar) active efekti iptal */
.nav-menu a[href^="#"]::after {
    width: 0 !important;
}

.nav-menu a[href^="#"]:not(:hover) {
    color: var(--text-color) !important;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    white-space: nowrap;
}

.header-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==========================================
   Slider Section
   ========================================== */
.slider-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 58, 109, 0.7), rgba(255, 107, 53, 0.5));
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    color: var(--white);
    text-align: center;
    z-index: 2;
}

.slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary-color);
    transition: var(--transition);
    z-index: 10;
}

.slider-nav:hover {
    background: var(--primary-color);
    color: var(--white);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--white);
    transform: scale(1.2);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.btn-success {
    background: #25D366;
    color: var(--white);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* ==========================================
   Section Styles
   ========================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   Services Section
   ========================================== */
.services-section {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--white);
}

.service-card h3 {
    color: var(--secondary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================
   Projects Section
   ========================================== */
.projects-preview-section {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(27, 58, 109, 0.92), rgba(15, 37, 69, 0.88));
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 25px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.project-overlay::-webkit-scrollbar {
    width: 4px;
}

.project-overlay::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

/* Hover efektleri sadece masaüstünde */
@media (min-width: 993px) {
    .project-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    .project-card:hover .project-image img {
        transform: scale(1.08);
    }

    .project-card:hover .project-overlay {
        opacity: 1;
    }
}

.project-overlay-content {
    text-align: center;
    color: var(--white);
    margin: auto;
    width: 100%;
}

.project-overlay-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.project-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}

.project-description {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.9;
}

.project-info {
    padding: 22px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.project-info h3 {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.project-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(247, 147, 30, 0.08));
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.project-category-badge i {
    font-size: 10px;
}

.text-center {
    text-align: center;
}

/* ==========================================
   Why Choose Us Section
   ========================================== */
.why-choose-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
}

.why-choose-section .section-header h2,
.why-choose-section .section-header p {
    color: var(--white);
}

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

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-item p {
    opacity: 0.9;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--secondary-color);
    font-size: 26px;
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-info-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--secondary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    display: block;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--white);
    opacity: 0.8;
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-wrapper {
    display: flex;
    overflow: hidden;
    position: relative;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-card.active {
    display: flex;
    animation: testimonialFadeIn 0.5s ease;
}

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

.testimonial-rating {
    color: #ffc107;
    font-size: 24px;
    margin-bottom: 25px;
}

.testimonial-rating i {
    margin: 0 2px;
}

.testimonial-comment {
    position: relative;
    margin-bottom: 30px;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 40px;
    opacity: 0.2;
    margin-bottom: 15px;
}

.testimonial-comment p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-image-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-light);
    border: 3px solid #e0e0e0;
}

.testimonial-info {
    text-align: left;
}

.testimonial-info h4 {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 5px;
}

.testimonial-info p {
    color: var(--text-light);
    font-size: 14px;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary-color);
    transition: var(--transition);
    z-index: 10;
}

.testimonial-nav:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev {
    left: -70px;
}

.testimonial-nav.next {
    right: -70px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active,
.testimonial-dot:hover {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Responsive Testimonials */
@media (max-width: 992px) {
    .testimonial-nav.prev {
        left: 10px;
    }

    .testimonial-nav.next {
        right: 10px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-comment p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .testimonial-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-info {
        text-align: center;
    }
}

/* ==========================================
   WhatsApp Float Button
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7);
    }
}

/* ==========================================
   Projects Page Specific Styles
   ========================================== */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
    padding: 90px 0 70px;
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.7;
}

.page-header .breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.page-header .breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.page-header .breadcrumb i {
    font-size: 10px;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto;
}

.projects-section {
    padding: 70px 0;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--white);
    color: var(--text-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.filter-btn i {
    margin-right: 4px;
    font-size: 12px;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.results-info {
    text-align: center;
    margin-bottom: 30px;
    font-size: 15px;
    color: var(--text-light);
}

.results-category {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 15px;
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results i {
    font-size: 80px;
    color: var(--text-light);
    opacity: 0.3;
    margin-bottom: 20px;
}

.no-results h3 {
    color: var(--secondary-color);
    font-size: 28px;
    margin-bottom: 10px;
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.08;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.85;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 35px;
    position: relative;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.cta-section .btn-success {
    background: #25D366;
    color: var(--white);
}

.cta-section .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }

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

    .nav-toggle {
        display: flex;
    }

    .header-phone {
        display: none;
    }

    .slide-title {
        font-size: 32px;
    }

    .slide-description {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-header {
        padding: 70px 0 50px;
    }

    .page-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .slider-section {
        height: 400px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .page-header .breadcrumb {
        font-size: 12px;
        gap: 8px;
    }

    .cta-section h2 {
        font-size: 26px;
    }

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

    .contact-form {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================
   Project Toggle Button - All Screens
   ========================================== */
.project-toggle-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.project-toggle-btn:hover {
    transform: scale(1.1);
}

.project-toggle-btn:active {
    transform: scale(0.95);
}

.project-toggle-btn i.fa-times {
    display: none;
}

.project-card.show-details .project-toggle-btn {
    background: var(--secondary-color);
}

.project-card.show-details .project-toggle-btn i.fa-info-circle {
    display: none;
}

.project-card.show-details .project-toggle-btn i.fa-times {
    display: inline-block;
}

/* Show overlay on click (all screens) */
.project-card.show-details .project-overlay {
    opacity: 1 !important;
    pointer-events: auto;
    background: linear-gradient(135deg, rgba(27, 58, 109, 0.96), rgba(27, 58, 109, 0.88)) !important;
    padding: 50px 20px 15px;
}

.project-card.show-details .project-overlay-content h3 {
    color: white;
}

@media (max-width: 992px) {
    /* Mobilde overlay ve açıklama varsayılan olarak gizli */
    .project-overlay {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .project-overlay-content {
        width: 100%;
    }

    /* Açıklamayı mobilde gizle */
    .project-description {
        display: none !important;
    }

    /* Butona tıklanınca overlay'i göster */
    .project-card.show-details .project-overlay {
        opacity: 1 !important;
        pointer-events: auto;
        background: linear-gradient(135deg, rgba(27, 58, 109, 0.96), rgba(27, 58, 109, 0.88)) !important;
        padding: 50px 20px 15px;
    }

    /* Sadece açık durumda açıklamayı göster */
    .project-card.show-details .project-description {
        display: block !important;
        line-height: 1.5;
        margin-top: 8px;
        opacity: 1;
        color: white;
    }

    /* Açma/Kapatma Butonu */
    .project-toggle-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        z-index: 20;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
    }

    .project-toggle-btn:active {
        transform: scale(0.95);
    }

    .project-card.show-details .project-toggle-btn {
        background: var(--secondary-color);
    }

    /* İkon gösterme/gizleme */
    .project-toggle-btn i.fa-info-circle {
        display: inline-block;
    }

    .project-toggle-btn i.fa-times {
        display: none;
    }

    .project-card.show-details .project-toggle-btn i.fa-info-circle {
        display: none;
    }

    .project-card.show-details .project-toggle-btn i.fa-times {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 24px;
    }

    .slide-description {
        font-size: 14px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

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

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }

    /* Mobilde proje detayları için daha küçük boyutlar */
    .project-card.show-details .project-overlay {
        padding: 45px 15px 12px !important;
    }

    .project-overlay-content h3 {
        font-size: 14px !important;
    }

    .project-category {
        font-size: 10px !important;
        padding: 3px 10px !important;
    }

    .project-description {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    .project-toggle-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
        top: 10px;
        right: 10px;
    }
}
