/* ========================================
   Aktay Yapı - Profesyonel Web Sitesi CSS
   ======================================== */

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

:root {
    --primary-color: #ff6b35;
    --secondary-color: #2c3e50;
    --accent-color: #f7b731;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7b731 100%);
    --gradient-secondary: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(44, 62, 80, 0.95));
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    z-index: 999;
}

.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-phone {
    color: white !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.top-bar-phone:hover {
    color: var(--accent-color) !important;
}

.top-bar-phone:visited {
    color: white !important;
}

.top-bar i {
    margin-right: 8px;
    color: var(--accent-color);
}

/* ========================================
   Header & Navigation
   ======================================== */
header {
    background: transparent;
    box-shadow: none;
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    position: fixed;
    top: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.scrolled nav {
    padding: 10px 20px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

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

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

header.scrolled .logo-img {
    height: 60px;
}

.logo i {
    font-size: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
    display: inline-flex;
    align-items: center;
}

header.scrolled .nav-links a {
    color: var(--text-dark);
}

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

.nav-links a:hover {
    color: var(--accent-color);
}

header.scrolled .nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    transition: color 0.3s ease;
}

header.scrolled .menu-toggle {
    color: var(--text-dark);
}

/* Hide mobile CTA on desktop */
.mobile-cta-button {
    display: none !important;
}

.menu-toggle:hover {
    color: var(--primary-color);
}

/* ========================================
   Mega Menu - Modern Dropdown
   ======================================== */
.has-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}

.dropdown-icon {
    font-size: 11px;
    transition: transform 0.3s ease;
    line-height: 1;
    margin-top: 1px;
    color: white;
}

header.scrolled .dropdown-icon {
    color: var(--text-dark);
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Mega Menu Container */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    margin-top: 20px;
    min-width: 850px;
    max-width: 900px;
    overflow: hidden;
}

.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid var(--white);
    filter: drop-shadow(0 -3px 5px rgba(0, 0, 0, 0.05));
}

/* Mega Menu Content */
.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 35px 25px 25px;
}

.mega-menu-column {
    padding: 0 15px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.mega-menu-column:last-child {
    border-right: none;
}

/* Category Headers */
.mega-menu-category h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu-category h4 i {
    color: var(--primary-color);
    font-size: 16px;
}

/* Menu Items */
.mega-menu-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-category ul li {
    margin-bottom: 3px;
}

.mega-menu-category ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.mega-menu-category ul li a i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.mega-menu-category ul li a::after {
    display: none;
}

.mega-menu-category ul li a:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 183, 49, 0.1));
    color: var(--primary-color);
    transform: translateX(5px);
}

.mega-menu-category ul li a:hover i {
    transform: scale(1.15);
}

/* Mega Menu Footer - CTA */
.mega-menu-footer {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 20px 30px;
    border-radius: 0 0 20px 20px;
}

.mega-menu-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mega-menu-cta:hover {
    transform: scale(1.02);
}

.mega-menu-cta i {
    font-size: 24px;
    animation: ring 2s infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.mega-menu-cta span {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.4;
    font-size: 14px;
}

.mega-menu-cta strong {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(44, 62, 80, 0.95)),
                url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600') center/cover no-repeat;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 0;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
    background-size: cover;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 120px;
    z-index: 1;
    position: relative;
}

.hero-subtitle {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 600;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.4s backwards;
    line-height: 1.8;
}

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

.cta-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s backwards;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: #e85a2a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

/* ========================================
   Section Styling
   ======================================== */
section {
    padding: 80px 20px;
}

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

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

.section-subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

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

.section-description {
    color: var(--text-light);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   Why Us Section
   ======================================== */
.why-us {
    background: var(--bg-light);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 35px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

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

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

/* ========================================
   Services Section
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    transition: all 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    background: linear-gradient(to bottom, rgba(255, 107, 53, 0.8) 0%, rgba(44, 62, 80, 0.9) 100%);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    image-rendering: -webkit-optimize-contrast;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: var(--white);
    z-index: 2;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.service-card:hover .service-content {
    transform: translateY(-20px);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-content p {
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    line-height: 1.6;
}

.service-card:hover .service-content p {
    opacity: 1;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    top: 20px;
    left: 20px;
    z-index: -1;
}

.about-text h2 {
    font-size: 38px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.about-feature-item i {
    color: var(--primary-color);
    font-size: 20px;
}

/* ========================================
   Stats Section
   ======================================== */
.stats {
    background: var(--gradient-secondary);
    color: var(--white);
}

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

.stat-item {
    padding: 20px;
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* ========================================
   Projects Gallery
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    image-rendering: -webkit-optimize-contrast;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--white);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 40px;
    color: var(--white);
    margin-bottom: 15px;
}

.gallery-overlay p {
    font-size: 18px;
    font-weight: 600;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
    background: var(--bg-light);
}

.testimonials-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
    gap: 30px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    scroll-snap-align: start;
}

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

.quote-icon {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
}

.author-info h4 {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 3px;
}

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

/* Testimonials Controls */
.testimonials-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
    pointer-events: all;
    z-index: 11;
}

.testimonial-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.testimonial-btn.prev-btn {
    left: -25px;
}

.testimonial-btn.next-btn {
    right: -25px;
}

/* Testimonials Dots */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.testimonial-dot.active {
    background: var(--primary-color);
    opacity: 1;
    transform: scale(1.2);
}

.testimonial-dot:hover {
    opacity: 0.6;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(44, 62, 80, 0.05));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-info h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 16px;
}

.contact-item-info p {
    color: var(--text-light);
    margin: 0;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

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

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

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

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

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-links i {
    font-size: 12px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    max-width: 1200px;
    margin: 0 auto;
}

.webrek-credit {
    margin-left: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.webrek-credit a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.webrek-credit a:hover {
    color: var(--white);
    text-decoration: underline;
}

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

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

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

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ========================================
   Quote Modal
   ======================================== */
.quote-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.quote-modal.active {
    display: block;
}

.quote-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.quote-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translate(-50%, -40%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.quote-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.quote-modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.quote-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 40px 30px 30px;
    text-align: center;
    color: white;
    border-radius: 20px 20px 0 0;
}

.quote-modal-header i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.quote-modal-header h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.quote-modal-header p {
    font-size: 16px;
    opacity: 0.95;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
}

.quote-form {
    padding: 30px;
}

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

.quote-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.quote-form label i {
    color: var(--primary-color);
    margin-right: 8px;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.quote-form input:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.quote-form textarea {
    resize: vertical;
}

.quote-form .btn-block {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card {
    cursor: pointer;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    header {
        top: 40px;
        background: transparent;
    }

    header.scrolled {
        top: 0;
        background: var(--white);
    }

    header.scrolled .menu-toggle {
        color: var(--text-dark) !important;
    }

    header:not(.scrolled) .menu-toggle {
        color: white;
    }

    .logo-img {
        height: 65px;
    }

    header.scrolled .logo-img {
        height: 50px;
    }

    .hero {
        padding-top: 150px;
        margin-top: 0;
    }

    .hero-content {
        padding-top: 0 !important;
    }

    .nav-links {
        position: fixed;
        top: 130px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 130px);
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        padding-bottom: 30px;
        transition: left 0.3s ease, top 0.3s ease;
        box-shadow: var(--shadow);
        gap: 10px;
        align-items: stretch;
        overflow-y: auto;
    }

    /* Tablet - CTA gizli */
    .mobile-cta-button {
        display: none !important;
    }

    header.scrolled .nav-links {
        top: 80px;
        height: calc(100vh - 80px);
    }

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

    .nav-links li {
        display: block;
        width: 100%;
    }

    .nav-links > li > a {
        font-size: 15px;
        padding: 10px 15px;
        display: flex;
        width: 100%;
        color: var(--text-dark) !important;
        background: transparent;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-links > li > a:hover {
        background: var(--bg-light);
        color: var(--primary-color) !important;
    }

    .menu-toggle {
        display: block;
    }

    /* ===== MOBİL DROPDOWN MENÜ ===== */
    
    /* Hizmetlerimiz dropdown trigger */
    .has-dropdown {
        width: 100%;
    }

    .dropdown-trigger {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 12px 15px;
        background: #f0f0f0;
        color: var(--text-dark) !important;
        font-weight: 600;
        font-size: 15px;
        border-radius: 8px;
    }

    .dropdown-icon {
        display: block !important;
        color: var(--primary-color) !important;
        font-size: 13px;
        transition: transform 0.3s ease;
    }

    .has-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }

    /* Dropdown içerik - Mobile Override */
    .has-dropdown .mega-menu {
        display: block !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
        margin-top: 8px !important;
        padding: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s ease, padding 0.3s ease !important;
        min-width: auto !important;
        box-shadow: none !important;
        left: auto !important;
        top: auto !important;
    }

    .has-dropdown .mega-menu::before {
        display: none !important;
    }

    .has-dropdown.active .mega-menu {
        max-height: 2000px !important;
        padding: 10px !important;
        overflow: visible !important;
    }

    /* İçerik yapısı - Mobile Override */
    .has-dropdown .mega-menu-content {
        display: block !important;
        grid-template-columns: 1fr !important;
        padding: 0 !important;
    }

    .has-dropdown .mega-menu-column {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }

    .has-dropdown .mega-menu-category {
        display: block !important;
        margin-bottom: 5px !important;
    }

    .has-dropdown .mega-menu-category h4 {
        display: none !important;
    }

    .has-dropdown .mega-menu-category ul {
        display: block !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .has-dropdown .mega-menu-category ul li {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .has-dropdown .mega-menu-category ul li a {
        display: flex !important;
        align-items: center !important;
        padding: 11px 12px !important;
        margin-bottom: 5px !important;
        font-size: 14px !important;
        color: var(--text-dark) !important;
        background: white !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        gap: 10px !important;
        transition: all 0.2s ease !important;
        transform: none !important;
        border-left: none !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    }

    .has-dropdown .mega-menu-category ul li a::after {
        display: none !important;
    }

    .has-dropdown .mega-menu-category ul li a:hover {
        background: var(--primary-color) !important;
        color: white !important;
        transform: translateX(3px) !important;
    }

    .has-dropdown .mega-menu-category ul li a i {
        font-size: 16px !important;
        color: var(--primary-color) !important;
        min-width: 20px !important;
        flex-shrink: 0 !important;
    }

    .has-dropdown .mega-menu-category ul li a:hover i {
        color: white !important;
    }

    /* Mobilde mega-menu footer gizli, ana menüde CTA var */
    .mega-menu-footer {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

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

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

    .about-image::before {
        display: none;
    }
}

@media (max-width: 1024px) and (min-width: 969px) {
    /* Desktop with smaller screens - adjust mega menu */
    .has-dropdown:hover .mega-menu {
        min-width: 750px;
        max-width: 90vw;
    }

    .has-dropdown:hover .mega-menu-content {
        padding: 30px 20px 20px;
    }

    /* 2 column layout for smaller desktop */
    .has-dropdown:hover .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 12px 0;
    }

    .top-bar .container {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .top-bar-left {
        font-size: 12px;
        flex: 1;
    }

    .top-bar-phone {
        font-size: 14px;
        font-weight: 600;
    }

    .services-grid,
    .features-grid,
    .gallery-grid,
    .testimonials-slider-wrapper {
        padding: 0 50px;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }

    .testimonial-btn.prev-btn {
        left: -15px;
    }

    .testimonial-btn.next-btn {
        right: -15px;
    }

    .stat-number {
        font-size: 42px;
    }

    .hero {
        min-height: 65vh;
    }


    section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .contact-form {
        padding: 30px 20px;
    }

    /* 2 column layout on tablets */
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .mega-menu-column {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
        padding-right: 20px;
        padding-bottom: 0;
        border-bottom: none;
    }

    .mega-menu-column:nth-child(2n) {
        border-right: none;
        padding-right: 0;
    }

    .mega-menu-column:nth-last-child(-n+2) {
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 480px) {
    /* Quote Modal - Mobile */
    .quote-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .quote-modal-header {
        padding: 30px 20px 25px;
    }

    .quote-modal-header i {
        font-size: 36px;
    }

    .quote-modal-header h3 {
        font-size: 22px;
    }

    .quote-modal-header p {
        font-size: 14px;
        padding: 6px 15px;
    }

    .quote-form {
        padding: 20px;
    }

    .quote-modal-close {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px;
    }

    .top-bar {
        padding: 10px 0;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .top-bar-left {
        font-size: 11px;
    }

    .top-bar-left i {
        font-size: 10px;
    }

    .top-bar-phone {
        font-size: 14px;
        font-weight: 700;
    }

    .top-bar-phone i {
        font-size: 12px;
    }


    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 14px;
        margin: 15px 0 25px;
    }

    .hero {
        padding-top: 170px;
    }

    .hero-content {
        padding-top: 0 !important;
    }

    .logo-img {
        height: 55px;
    }

    header.scrolled .logo-img {
        height: 45px;
    }

    .hero-subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Sadece çok küçük mobilde (≤480px) CTA butonu göster */
    .mobile-cta-button {
        display: block !important;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 2px solid var(--bg-light);
    }

    .mobile-cta-link {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 15px 20px !important;
        background: linear-gradient(135deg, var(--primary-color), #ff8555) !important;
        color: white !important;
        border-radius: 10px;
        text-decoration: none;
        font-weight: 700;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
        transition: all 0.3s ease;
    }

    .mobile-cta-link:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    }

    .mobile-cta-link i {
        font-size: 20px;
        color: white;
    }

    .mobile-cta-link span {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        font-size: 13px;
        color: white !important;
    }

    .mobile-cta-link strong {
        font-size: 17px;
        margin-top: 3px;
        color: white;
    }

    .logo {
        font-size: 22px;
    }

    .logo i {
        font-size: 26px;
    }

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

    .testimonials-slider-wrapper {
        padding: 0 40px;
    }

    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 30px 20px;
    }

    .testimonial-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .testimonial-btn.prev-btn {
        left: -10px;
    }

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

    .testimonials-dots {
        margin-top: 20px;
    }

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

    .scroll-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Single column on very small screens */
    .mega-menu-content {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .mega-menu-column {
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding: 0 0 15px 0 !important;
        border-top: none !important;
    }

    .mega-menu-column:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .footer-bottom p {
        font-size: 13px;
        line-height: 1.6;
    }

    .webrek-credit {
        display: block;
        margin-left: 0;
        margin-top: 8px;
        font-size: 13px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Smooth Scroll Animation */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}


