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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Skip link for accessibility and SEO */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
    background: #e74c3c;
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    left: 20px;
    top: 20px;
    width: auto;
    height: auto;
    outline: 2px solid #fff;
}

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

/* Performance: skip rendering offscreen sections */
.perf-section {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

/* SEO Content Section */
.seo-content {
    background-color: #f8f9fa;
    padding: 80px 0;
    width: 100%;
    overflow-x: hidden;
}

.seo-content .container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.seo-content article {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    overflow-x: hidden !important;
}

/* Tüm article içindeki elementleri sınırla */
.seo-content article > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.seo-content article div,
.seo-content article p,
.seo-content article h1,
.seo-content article h2,
.seo-content article h3,
.seo-content article h4,
.seo-content article ul,
.seo-content article ol,
.seo-content article li {
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.seo-content article table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
    box-sizing: border-box !important;
}

.seo-content article img {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
}

/* Watermark overlay for photos */
:root {
    --photo-watermark: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='160'%20viewBox='0%200%20240%20160'%3E%3Ctext%20x='0'%20y='90'%20font-family='Arial%2C%20sans-serif'%20font-size='22'%20fill='%23000'%20fill-opacity='0.18'%20stroke='%23fff'%20stroke-opacity='0.35'%20stroke-width='0.6'%20paint-order='stroke'%20transform='rotate(-25%20120%2080)'%3Ecitantalya.com%3C/text%3E%3C/svg%3E");
}

.watermark-wrapper {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
    max-width: 100%;
}

.watermark-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: var(--photo-watermark);
    background-repeat: repeat;
    background-size: 240px 160px;
}

.watermark-bg {
    position: relative;
}

.watermark-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: var(--photo-watermark);
    background-repeat: repeat;
    background-size: 240px 160px;
    z-index: 0;
}

.watermark-bg > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .seo-content .container {
        padding: 0 15px !important;
    }
    
    .seo-content article {
        padding: 30px 20px !important;
    }
}

/* Header Styles */
.header-top {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top p {
    margin: 0;
}

.header-main {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0;
}

.logo-text p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

.header-contact {
    display: flex;
    gap: 30px;
    align-items: center;
}

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

.contact-item i {
    color: #e74c3c;
    font-size: 20px;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.contact-item h5 {
    font-size: 12px;
    margin: 0;
    color: #7f8c8d;
}

.contact-item p {
    font-size: 16px;
    margin: 0;
    font-weight: bold;
}

.header-button {
    background-color: #e74c3c;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
    cursor: pointer;
}

.header-main .header-button {
    min-height: 44px;
    padding: 10px 22px;
    line-height: 1.1;
}

.header-main .header-button:not(.header-quote-button) {
    font-size: 14px;
    padding-left: 18px;
    padding-right: 18px;
}

.header-button:hover {
    background-color: #c0392b;
}

.header-quote-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    border-radius: 0.375rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.header-quote-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-color: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.header-quote-button:focus,
.header-quote-button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.35);
}

.header-quote-button:active {
    background-color: #146c43;
    border-color: #13653f;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Navigation */
nav {
    background-color: #2c3e50;
    padding: 15px 0;
    position: relative;
    z-index: 9999;
}

nav.main-nav {
    transition: max-height 0.3s ease, padding 0.3s ease;
    overflow: hidden;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: center;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e74c3c;
}

/* Dropdown Menu Styles */
nav ul li {
    position: relative;
}

nav ul li.has-dropdown {
    z-index: 10001;
}

nav ul li.has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.85em;
    transition: transform 0.3s ease;
}

nav ul li.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

nav .dropdown-menu {
    position: fixed;
    background-color: #fff;
    min-width: 600px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 20px;
    display: none;
    z-index: 10000;
    margin-top: 10px;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

nav ul li.has-dropdown .dropdown-menu.show {
    display: grid;
}

/* Keep CSS hover as fallback for browsers without JS */
nav ul li.has-dropdown:hover .dropdown-menu {
    display: grid;
}

nav .dropdown-menu a {
    color: #2c3e50;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.95em;
    border-left: 3px solid transparent;
}

nav .dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #e74c3c;
    border-left-color: #e74c3c;
    padding-left: 20px;
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    nav .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 15px;
        padding-left: 30px;
        grid-template-columns: 1fr;
        gap: 10px;
        background-color: #34495e;
        border-radius: 0;
        box-shadow: none;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
    
    nav ul li.has-dropdown {
        width: 100%;
        position: relative;
    }
    
    nav ul li.has-dropdown.active .dropdown-menu {
        display: grid;
    }
    
    nav ul li.has-dropdown > a::after {
        float: right;
    }
    
    nav .dropdown-menu a {
        color: #fff;
        padding: 12px 15px;
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        box-sizing: border-box;
    }
    
    nav .dropdown-menu a:hover {
        background-color: rgba(255,255,255,0.1);
        color: #e74c3c;
        padding-left: 15px;
        border-left: none;
        border-bottom-color: rgba(255,255,255,0.2);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero1.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-button {
    background-color: #e74c3c;
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s;
}

.hero-button:hover {
    background-color: #c0392b;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    z-index: 0;
}

.hero-slide {
    position: relative;
    z-index: 1;
}

.hero-slides-container {
    display: flex;
    transition: transform 0.5s ease;
}

.hero-slide {
    position: relative;
    min-height: 550px;
    width: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-slides-container {
    position: relative;
    z-index: 1;
}

.hero-slide.active {
    display: flex;
}

.slider-dot.active {
    opacity: 1 !important;
    background: #e74c3c !important;
}

@media (max-width: 768px) {
    .hero-slide {
        min-height: 400px;
    }
    
    .hero-slide h2 {
        font-size: 1.8em !important;
    }
}

/* Features Section */
.features {
    padding: 40px 0 80px 0;
    background-color: #fff;
}

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

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #f8f9fa;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-card p {
    color: #7f8c8d;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.section-title p {
    color: #7f8c8d;
    font-size: 18px;
}

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

.service-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 25px;
}

.service-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.service-card a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* CTA Section */
.cta-section {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-section h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Online Teklif Modal */
.quote-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.quote-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.quote-modal-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    max-width: 760px;
    width: 100%;
    padding: 24px 24px 20px;
    position: relative;
    box-shadow: 0 18px 45px rgba(17,24,39,0.25);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

.quote-modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, #e74c3c 0%, #f39c12 100%);
}

.quote-modal-content h3 {
    color: #1f2937;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.quote-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    font-size: 1.1em;
    cursor: pointer;
    color: #2c3e50;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-modal-close:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(0,0,0,0.16);
}

.quote-modal-subtitle {
    color: #6b7280;
    margin: 0 0 18px;
    font-size: 0.95em;
    flex-shrink: 0;
    line-height: 1.5;
}

.quote-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

#quote-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
}

.quote-form-row--full {
    flex-direction: column;
}

.quote-form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quote-form-field label,
.quote-form-row--full label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9em;
    margin-bottom: 4px;
}

.quote-form-field input,
.quote-form-field select,
.quote-form-row--full textarea {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95em;
    width: 100%;
    background: #ffffff;
    color: #111827;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quote-form-field input::placeholder,
.quote-form-row--full textarea::placeholder {
    color: #9ca3af;
}

.quote-form-field input:focus,
.quote-form-field select:focus,
.quote-form-row--full textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.2);
    background: #ffffff;
}

.quote-form-actions {
    text-align: center;
    margin-top: 8px;
    flex-shrink: 0;
    padding-top: 8px;
}

.quote-submit-btn {
    width: 100%;
    justify-content: center;
    background: linear-gradient(90deg, #25d366 0%, #20b358 100%);
    border: none;
    box-shadow: 0 10px 20px rgba(37,211,102,0.25);
    font-weight: 700;
}

.quote-submit-btn:hover {
    background: linear-gradient(90deg, #1ebe5d 0%, #1aa14f 100%);
}

.quote-form-note {
    margin-top: 8px;
    font-size: 0.85em;
    color: #7f8c8d;
    flex-shrink: 0;
}

/* Çalışmalarımız Buton Kartları Section */
.works-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.works-toggle-btn {
    transition: all 0.3s ease;
}

.works-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

.works-cards-container {
    transition: all 0.4s ease;
    animation: slideDown 0.4s ease;
}

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

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.blog-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.blog-card p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #95a5a6;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
}

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

/* Hizmetlerimiz bölümü genişletilmiş */
.footer-services {
    grid-column: span 1;
}

@media (min-width: 992px) {
    .footer-services {
        grid-column: span 2;
    }
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #e74c3c;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

/* Hizmetlerimiz çok sütunlu yapı */
.footer-services .services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 15px;
    column-gap: 15px;
}

.footer-services .services-list li {
    margin-bottom: 6px;
    font-size: 0.9em;
    line-height: 1.4;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #e74c3c;
}

.footer-section iframe {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    width: 100%;
}

.footer-section .social-links {
    margin-top: 15px;
}

.footer-section .social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5em;
    transition: transform 0.3s;
}

.footer-section .social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #95a5a6;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 20px 0;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

.breadcrumb ol li {
    color: #7f8c8d;
}

.breadcrumb ol li a {
    color: #e74c3c;
    text-decoration: none;
}

.breadcrumb ol li.active {
    color: #2c3e50;
}

/* Page Content */
.page-content {
    padding: 60px 0;
    background-color: #fff;
}

.page-content h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.page-content h2 {
    font-size: 28px;
    color: #2c3e50;
    margin: 30px 0 20px;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.page-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-content ul li {
    margin-bottom: 10px;
    color: #555;
}

/* Responsive */
@media (max-width: 992px) {
    .header-main .container {
        flex-wrap: wrap;
    }
    
    .header-contact {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-main .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
        padding: 0 15px;
    }
    
    .logo {
        justify-content: flex-start;
        flex-shrink: 0;
    }
    
    .logo-text {
        display: none;
    }
    
    .header-contact {
        display: none;
    }
    
    .header-button:not(.header-quote-button) {
        display: none;
    }
    
    .header-quote-button {
        display: inline-flex;
        margin-left: auto;
        padding: 10px 16px;
        font-size: 0.85em;
        gap: 6px;
        flex-shrink: 0;
    }
    
    .burger-menu {
        margin-left: 10px;
        flex-shrink: 0;
    }
    
    .burger-menu {
        display: flex;
    }
    
    nav.main-nav {
        max-height: 0;
        padding: 0;
    }
    
    nav.main-nav.active {
        max-height: 500px;
        padding: 15px 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }
    
    nav ul li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }
    
    nav ul li.has-dropdown > a {
        padding-right: 40px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .features-grid,
    .services-grid,
    .blog-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .header-button {
        width: 100%;
        justify-content: center;
    }

    /* Online Teklif Modal */
    .quote-modal {
        padding: 10px;
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .quote-modal-content {
        padding: 16px 14px 14px;
        max-height: calc(100vh - 20px);
        min-height: auto;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .quote-modal-content h3 {
        font-size: 1.2em;
        margin-bottom: 6px;
        flex-shrink: 0;
    }
    
    .quote-modal-subtitle {
        font-size: 0.85em;
        margin-bottom: 12px;
        flex-shrink: 0;
        line-height: 1.4;
    }
    
    #quote-form {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-right: 2px;
    }
    
    .quote-form-row {
        margin-bottom: 8px;
        gap: 10px;
        flex-direction: column;
    }
    
    .quote-form-field {
        margin-bottom: 0;
    }
    
    .quote-form-field label,
    .quote-form-row--full label {
        font-size: 0.85em;
        margin-bottom: 3px;
    }
    
    .quote-form-field input,
    .quote-form-field select,
    .quote-form-row--full textarea {
        padding: 8px 10px;
        font-size: 0.9em;
    }
    
    .quote-form-row--full textarea {
        min-height: 60px;
        resize: vertical;
    }
    
    .quote-form-actions {
        margin-top: 12px;
        flex-shrink: 0;
        padding-top: 8px;
        position: sticky;
        bottom: 0;
        background: #ffffff;
        z-index: 10;
    }
    
    .quote-submit-btn {
        padding: 12px 20px;
        font-size: 0.95em;
        min-height: 44px;
    }
    
    .quote-form-note {
        font-size: 0.75em;
        padding: 10px !important;
        margin-top: 8px;
        line-height: 1.4;
    }
    
    .quote-modal-close {
        width: 32px;
        height: 32px;
        top: 12px;
        right: 12px;
        font-size: 1em;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section iframe {
        height: 250px;
    }
    
    /* Çalışmalarımız Buton Kartları Mobil */
    .works-section {
        padding: 40px 0;
    }
    
    .works-section h2 {
        font-size: 1.8em !important;
    }
    
    .works-cards-container > div {
        padding: 30px 20px !important;
    }
    
    .works-cards-container > div > div {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
        gap: 12px !important;
    }
    
    .works-cards-container a {
        padding: 15px !important;
        min-height: 90px !important;
        font-size: 0.9em !important;
    }
    
    .works-cards-container a i {
        font-size: 1.5em !important;
    }
    
    /* Mobilde Hizmetlerimiz tek sütun */
    .footer-services .services-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .footer-services .services-list li {
        margin-bottom: 6px;
        text-align: left;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .page-content h1 {
        font-size: 28px;
    }
    
    .page-content h2 {
        font-size: 24px;
    }
    
    .service-card img,
    .blog-card img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 24px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .header-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .feature-card,
    .service-card-content {
        padding: 20px;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    /* Google Maps iframe responsive */
    iframe[title*="Konum Haritası"] {
        height: 300px !important;
    }
    
    /* Google Yorumları responsive */
    .google-reviews-section {
        padding: 20px 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .google-reviews-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 20px 0 0 0 !important;
        gap: 15px !important;
    }
    
    /* Yorum kartları mobil düzeltmesi */
    .google-reviews-grid > div {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 15px !important;
        margin: 0 !important;
    }
}

/* Review Read More Button */
.read-more-btn {
    background: transparent !important;
    border: none !important;
    color: rgba(255,255,255,0.9) !important;
    cursor: pointer !important;
    font-size: 0.9em !important;
    padding: 5px 0 !important;
    text-decoration: underline !important;
    transition: opacity 0.3s !important;
    margin-top: 5px !important;
}

.read-more-btn:hover {
    opacity: 0.8 !important;
}

.review-text.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Accordion (Details/Summary) Stilleri - SEO Dostu */
details {
    transition: all 0.3s ease;
}

details summary {
    transition: background-color 0.2s ease;
}

details summary:hover {
    background-color: #f8f9fa;
}

details[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

details[open] summary span:last-child {
    transform: rotate(180deg);
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::marker {
    display: none;
}

/* Services Fixed Button & Sidebar */
.services-fixed-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.services-fixed-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.services-fixed-button.active {
    background: #e74c3c;
}

.services-fixed-button i {
    font-size: 20px;
}

.services-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.services-overlay.active {
    opacity: 1;
    visibility: visible;
}

.services-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: white;
    z-index: 10000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.services-sidebar.active {
    right: 0;
}

.services-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.services-sidebar-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.services-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.services-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.services-sidebar-content {
    padding: 20px;
}

.services-grid-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-panel-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 100px;
}

.service-panel-card:hover {
    background: white;
    border-color: #e74c3c;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #e74c3c;
}

.service-panel-card i {
    font-size: 32px;
    margin-bottom: 10px;
    color: #e74c3c;
}

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

.service-panel-card span {
    font-weight: 600;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 768px) {
    .services-fixed-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .services-fixed-button span {
        display: none;
    }
    
    .services-sidebar {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }
    
    .services-grid-panel {
        grid-template-columns: 1fr;
    }
}

/* Mobilde form gönder butonu görünürlüğü düzeltmesi */
@media (max-width: 768px) {
    .quote-form-actions {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: sticky !important;
        bottom: 0 !important;
        background: #ffffff !important;
        z-index: 100 !important;
        padding: 12px 0 8px 0 !important;
        margin-top: 12px !important;
        border-top: 1px solid #e5e7eb !important;
    }
    
    .quote-submit-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        min-height: 44px !important;
    }
    
    /* Floating butonları hizmetlerimiz butonunun üstüne taşı */
    .floating-buttons {
        bottom: 80px !important;
        right: 15px !important;
    }
}

@media (max-width: 480px) {
    /* Floating butonları küçük ekranlarda hizmetlerimiz butonunun üstüne taşı */
    .floating-buttons {
        bottom: 75px !important;
        right: 12px !important;
    }
}
