<meta charset="UTF-8">
@media (max-width: 768px) {
    .web-design-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: unset !important;
    }
    #projelerimiz .section-title {
        margin-top: 3.5rem !important;
    }
}
@media (max-width: 768px) {
    .web-design-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: unset !important;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Load Spinner Styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    margin: 0;
    padding: 0;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide loader when loaded */
.loaded #loader {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

/* Hide main content until loaded */
body:not(.loaded) header,
body:not(.loaded) .page,
body:not(.loaded) footer {
    opacity: 0;
}

.loaded header,
.loaded .page,
.loaded footer {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5px;
}

/* Header Styles */
header {
    background: transparent;
    color: #333;
    padding: 1.5rem 0;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

html body header.scrolled {
    background: #ffffff !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    padding: 1rem 0 !important;
}

html body header.scrolled .logo img {
    height: 140px !important;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* make nav a positioned container so absolutely positioned children
       (like .nav-links) are centered relative to the site container */
    position: relative;
}

/* Give logo and hamburger predictable space so the nav group can center between them */
.logo {
    flex: 0 0 auto; /* natural size */
}

.hamburger {
    flex: 0 0 60px; /* reserve space on the right for the menu icon */
    display: flex;
    justify-content: flex-end;
}

/* Constrain nav content inside the .container for better centering on wide screens */
.container > nav, header .container > nav {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 12px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2563eb;
    font-weight: bold;
}

.logo img {
    height: 140px;
    width: auto;
    transition: transform 0.3s ease;
}

@media (min-width: 1400px) {
    /* slightly smaller logo on very wide screens to free up horizontal space */
    .logo img {
        height: 120px;
    }
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    /* let nav grow but keep it centered between logo and hamburger */
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    flex: 1 1 auto;
    max-width: 920px; /* reasonable max width for link grouping */
    padding: 0 12px;
}

/* Wider screen tweak: distribute links evenly on large laptops (e.g. MacBook Pro) */
@media (min-width: 1280px) {
    .nav-links {
        gap: 3rem;
        max-width: 900px;
    }
}

/* Medium-wide screens (e.g., 1024-1399) - slightly reduce spacing to avoid overlap */
@media (min-width: 1024px) and (max-width: 1399px) {
    .nav-links {
        gap: 1.6rem;
        max-width: 760px;
    }
    .nav-links a {
        font-size: 1rem;
    }
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: none;
    z-index: 1000;
    pointer-events: auto;
    cursor: pointer;
}

.nav-links a:hover {
    color: #fbbf24;
}

html body header.scrolled .nav-links a {
    color: #333 !important;
    text-shadow: none !important;
}

html body header.scrolled .nav-links a:hover {
    color: #fbbf24 !important;
}

html body header.scrolled .nav-links a.active {
    color: #fbbf24 !important;
    border: 2px solid #666;
    border-radius: 8px;
    padding: 8px 16px;
    background-color: rgba(102, 102, 102, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #666;
    transition: width 0.3s ease;
}

.nav-links a.active {
    border: 2px solid #666;
    border-radius: 8px;
    padding: 8px 16px;
    background-color: rgba(102, 102, 102, 0.1);
    color: #fbbf24 !important;
}

.mobile-nav-links a.active {
    border: 2px solid #666;
    border-radius: 8px;
    padding: 8px 16px;
    background-color: rgba(102, 102, 102, 0.1);
    color: #fbbf24 !important;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

html body header.scrolled .hamburger span {
    background-color: #333 !important;
    box-shadow: none !important;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 2rem 0;
}

.mobile-nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
    position: relative;
}

.mobile-nav-links a:hover {
    color: #fbbf24;
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: #2563eb;
}

/* Hero Video Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
    margin-top: 0;
    top: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 3rem auto 0 auto;
    /* Ensure hero content is pushed down below the fixed header on larger screens */
    padding-top: 1rem;
}

.hero h1 {
    /* Responsive font size: scales between 2.2rem and 4.2rem based on viewport */
    font-size: clamp(2.2rem, 2.8vw + 1.2rem, 4.2rem);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 2rem 10px 0 10px;
    border: 2px solid #2563eb;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

.cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.cta-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-secondary:hover {
    background: white;
    color: #2563eb;
    border-color: white;
}

/* Features Section */
.features-section {
    padding: 0.3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(233, 236, 239, 0.95) 100%);
    z-index: 1;
}

.features-section .container {
    position: relative;
    z-index: 2;
}

.features-section .container {
    max-width: 100vw;
    padding: 0;
    overflow: hidden;
}

.features-grid {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.2rem;
    margin: 0;
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
    padding: 0 1rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    animation: autoSlide 25s linear infinite;
}

@keyframes autoSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.features-grid:hover {
    animation-play-state: paused;
}

.features-grid::-webkit-scrollbar {
    display: none;
}

/* Visual indicator removed */

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.2rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    flex: 0 0 auto;
    min-width: 100px;
    max-width: 120px;
    position: relative;
}

.feature-item:hover {
    transform: translateY(-2px) scale(1.02);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item:hover .feature-icon i {
    color: #F59E0B !important;
}

.feature-item:hover .feature-icon svg,
.feature-item:hover .feature-icon img {
    filter: brightness(0) saturate(100%) invert(68%) sepia(82%) saturate(2534%) hue-rotate(357deg) brightness(101%) contrast(101%);
}

.feature-item:hover h3 {
    color: #F59E0B;
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    color: #FFD43B !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon i {
    font-size: 2rem;
    color: #FFD43B !important;
}

.feature-icon img,
.feature-icon svg {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Tüm SVG ve img ikonları için sarı renk filtresi */
.feature-icon svg,
.feature-icon img {
    filter: brightness(0) saturate(100%) invert(79%) sepia(85%) saturate(1592%) hue-rotate(358deg) brightness(102%) contrast(101%);
}

.feature-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: #374151;
    transition: color 0.3s ease;
    letter-spacing: -0.02em;
}

.feature-item p {
    display: none;
}

/* Services Section */
.services {
    min-height: 100vh;
    padding: 10rem 0 5rem 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Special padding for services page to align with other pages - Desktop */
#hizmetlerimiz .services {
    padding: 10rem 0 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #6b7280;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
}

.service-card {
    background: #ffffff;
    padding: 0;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 2rem;
    color: white;
    background: rgba(37, 99, 235, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2563eb;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0 1.5rem;
}

.service-card:hover h3 {
    color: #1d4ed8;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
    padding: 0 1.5rem 2rem 1.5rem;
}

/* Projects Section */
.projects {
    padding: 10rem 0 5rem 0;
    background: #f8fafc;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, #e5e7eb, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #9ca3af;
}

.project-content {
    padding: 1.5rem;
}

.project-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-weight: 600;
}

.project-card p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 10rem 0 5rem 0;
    background: #1f2937;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #d1d5db;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-item span {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-form {
    background: #374151;
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #4b5563;
    border-radius: 6px;
    background: #4b5563;
    color: white;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.submit-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #1d4ed8;
}

/* Footer */
footer {
    background: #111827 !important;
    color: #d1d5db;
    padding: 1.5rem 0 0.5rem 0;
    margin-top: auto;
    width: 100%;
    flex-shrink: 0;
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .footer-contact a[href*="wa.me"] {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100%;
    }
}
    .footer-contact a[href*="wa.me"] {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem;
        margin: 0 0 12px 0 !important;
        font-weight: bold;
        color: #25D366 !important;
        text-decoration: none !important;
        width: auto !important;
        text-align: left !important;
    }
    .footer-contact a[href*="wa.me"] img {
        margin-right: 8px !important;
        margin-left: 0 !important;
        vertical-align: middle !important;
    }
    .footer-contact {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: #4285f4;
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.3rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4285f4;
}

.footer-social {
    display: flex;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.footer-social a {
    color: #d1d5db;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #4285f4;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
    color: #d1d5db;
}

.footer-contact i {
    color: #4285f4;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 0.5rem;
    text-align: center;
    color: #9ca3af;
}

/* Page System */
.page {
    display: none;
    flex-grow: 1;
}

.page.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-grow: 1;
}

#ana-sayfa {
    margin-top: 0;
    padding-top: 0;
}

#hizmetlerimiz {
    margin-top: 0;
    padding-top: 0;
}

/* Sanal Turlar Page */
.virtual-tours {
    padding: 10rem 0 5rem 0;
    background: #ffffff;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 550px));
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

/* Single card optimization */
.tours-grid .tour-card:only-child {
    max-width: 500px;
    width: 100%;
    justify-self: center;
}

@media (min-width: 769px) {
    .tours-grid .tour-card:only-child {
        max-width: 550px;
    }
}

@media (min-width: 1200px) {
    .tours-grid .tour-card:only-child {
        max-width: 600px;
    }
}

.tour-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tour-image {
    height: 250px;
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.1);
}

/* Erdemli şubesi için özel görsel konumlandırması */
.erdemli-image {
    object-position: center 25% !important;
}

.tour-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tour-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.tour-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.tour-location {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.tour-location span {
    margin-right: 0.5rem;
}

.tour-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tour-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: #f1f5f9;
    color: #2563eb;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tour-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.tour-btn {
    flex: 1 !important;
    padding: 40px 80px !important;
    border: none !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    min-height: 100px !important;
    max-height: none !important;
    width: auto !important;
    box-sizing: border-box !important;
}

.tour-btn:hover {
    text-decoration: none !important;
}

.btn-primary {
    background: #4285f4;
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px !important;
}

.btn-primary:hover {
    background: #3367d6;
    color: white !important;
    text-decoration: none !important;
}

.btn-secondary {
    background: white;
    color: #4285f4 !important;
    border: 2px solid #4285f4;
    border-radius: 8px !important;
    text-decoration: none !important;
}

.btn-secondary:hover {
    background: #4285f4 !important;
    border-color: #4285f4 !important;
    color: white !important;
    text-decoration: none !important;
}

/* Search & Sort Container */
.search-sort-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0 1rem 0;
    flex-wrap: wrap;
    position: relative;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    order: 2;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    order: 1;
    position: absolute;
    left: 0;
}

.sort-container label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.sort-container select {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.sort-container select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-box input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-box input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #2563eb;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #1d4ed8;
    transform: translateY(-50%) scale(1.05);
}

.search-icon {
    font-size: 1rem;
    color: white;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8fafc;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* ===== TOUR DETAIL PAGE ===== */
.tour-detail-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 140px);
    padding-top: 120px;
    padding-bottom: 60px;
    position: relative;
}

.tour-detail .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.back-navigation {
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-start;
    padding-top: 2.5rem;
    margin-top: 1rem;
    position: relative;
    z-index: 100;
}

/* Simple back button as link */
.simple-back-btn {
    background: rgba(51, 51, 51, 0.9);
    color: white !important;
    text-decoration: none !important;
    padding: 10px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 9999;
    user-select: none;
}

.simple-back-btn:hover {
    background: rgba(85, 85, 85, 0.95);
    transform: translateX(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white !important;
    text-decoration: none !important;
}

.simple-back-btn:visited {
    color: white !important;
}

/* Old button style - keep for compatibility */
.back-btn {
    background: rgba(51, 51, 51, 0.9) !important;
    color: white !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    width: auto !important;
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
    user-select: none !important;
}

/* All child elements should allow pointer events */
.back-btn * {
    pointer-events: auto !important;
    user-select: none !important;
}

.back-btn:hover {
    background: rgba(85, 85, 85, 0.95) !important;
    transform: translateX(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Debug styling - temporary */
.back-btn:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: transparent;
    z-index: -1;
}

.tour-detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: center;
}

.tour-detail-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.tour-detail-location {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.9;
}

.tour-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.badge-primary, .badge-secondary, .badge-accent {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-primary {
    background: #fbbf24;
    color: #1f2937;
}

.badge-secondary {
    background: #10b981;
    color: white;
}

.badge-accent {
    background: #f59e0b;
    color: white;
}

.virtual-tour-container {
    margin-bottom: 4rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.virtual-tour-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
    text-align: center;
    font-weight: 600;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 800px;
    min-height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Tour Preview Styles */
.tour-preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.tour-preview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.tour-preview-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.tour-preview-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tour-preview-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
}

/* Tour Action Buttons */
.tour-action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.btn-tour-watch,
.btn-fullscreen {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-tour-watch:hover,
.btn-fullscreen:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-fullscreen {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.btn-fullscreen:hover {
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
}

.btn-tour-watch i,
.btn-fullscreen i {
    font-size: 1.2rem;
}

.tour-info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-section h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 1rem;
    border-bottom: 3px solid #fbbf24;
    padding-bottom: 0.5rem;
}

.info-section h4 {
    font-size: 1.3rem;
    color: #374151;
    margin: 1.5rem 0 1rem 0;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #e5e7eb;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.contact-item strong {
    display: block;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    padding: 8px 16px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.menu-preview {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.menu-preview h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.menu-item:hover {
    border-color: #fbbf24;
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.2);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.menu-item h4 {
    color: #1f2937;
    margin: 0;
}

.price {
    font-weight: bold;
    color: #059669;
    font-size: 1.1rem;
}

/* Google Street View Section */
.google-streetview-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.google-streetview-section h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
}

.streetview-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.streetview-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.tour-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.tour-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tour-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Modern Business Hero Styles */
.modern-business-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.modern-business-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 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.business-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.business-logo-container {
    flex-shrink: 0;
}

.business-logo-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.business-logo-placeholder:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
}

.business-logo-image {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.business-logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.business-logo-image:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.business-logo-image:hover img {
    transform: scale(1.1);
}

.business-info {
    flex: 1;
    color: white;
}

.business-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.business-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    font-weight: 300;
}

.business-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.business-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
}

.rating-text {
    font-size: 0.95rem;
    opacity: 0.8;
}

.business-categories {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.category-tag {
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.category-tag.premium {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.category-tag.seafood {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.category-tag.atmosphere {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 300;
}

/* Google Reviews Section */
.google-reviews-section {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.google-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/google-icon-logo-svgrepo-com.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.google-icon::before {
    content: none;
}

.google-icon i {
    display: none;
}

.reviews-header h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin: 0;
    flex: 1;
    margin-left: 1rem;
}

.overall-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
}

.review-count {
    color: #6b7280;
    font-size: 0.9rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #4285f4;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.reviewer-info {
    flex: 1;
    margin-left: 0.75rem;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #1f2937;
    font-weight: 600;
}

.review-stars {
    display: flex;
    gap: 1px;
    margin-top: 0.25rem;
}

.review-stars .fas {
    color: #fbbf24;
    font-size: 0.8rem;
}

.review-stars .far {
    color: #d1d5db;
    font-size: 0.8rem;
}

.review-date {
    font-size: 0.75rem;
    color: #9ca3af;
}

.review-text {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Tour Detail Page Footer Fix */
body:has(.tour-detail-page.active) footer {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    order: 999 !important;
    display: block !important;
    margin-top: 2rem !important;
}

/* Alternative selector for better support */
.tour-detail-page.active ~ footer,
.page.tour-detail-page.active + footer {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
}

/* Responsive Design */

/* Large Tablets and small laptops */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .features-section .container {
        padding: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .projects-grid,
    .tours-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
        justify-content: center;
    }
    
    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        justify-items: center;
    }
    
    .feature-item {
        justify-content: center;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .features-section .container {
        padding: 0 0.5rem;
    }
    
    .features-grid {
        gap: 2rem;
        animation: autoSlide 20s linear infinite;
    }
    
    .feature-item {
        min-width: 100px;
        max-width: 120px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: static;
        transform: none;
    }
    
    .logo img {
        height: 140px;
    }
    
    .nav-links a {
        font-size: 1rem;
    }
    
    .page {
        padding-top: 70px !important;
    }
    
    #ana-sayfa {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        margin-top: 0;
    }
    
    .hero-content {
        margin-top: -1rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .hero h3 {
        font-size: 1.2rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .services-grid,
    .projects-grid,
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .features-grid {
        display: grid !important;
        grid-template-columns: repeat(12, 1fr) !important;
        grid-template-rows: repeat(2, auto) !important;
        gap: 0.8rem !important;
        overflow: hidden !important;
        padding: 0.8rem 0.5rem !important;
        animation: mobileAutoSlide 25s linear infinite !important;
        width: 400% !important;
        position: relative !important;
        justify-items: stretch !important;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
    }
    
    .features-section .container {
        padding: 0 0.5rem !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Mobile Features Scrollbar */
    .features-grid::-webkit-scrollbar {
        height: 6px;
        display: block;
    }
    
    .features-grid::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.1);
        border-radius: 3px;
    }
    
    .features-grid::-webkit-scrollbar-thumb {
        background: #fbbf24;
        border-radius: 3px;
    }
    
    .features-grid::-webkit-scrollbar-thumb:hover {
        background: #f59e0b;
    }
    
    /* Mobile Feature Items */
    .feature-item {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0.6rem 0.3rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(10px) !important;
        min-height: 110px !important;
        max-height: 110px !important;
        overflow: hidden !important;
    }
    
    .feature-item:nth-child(n+7) {
        display: flex !important;
    }
    
    .feature-item h3 {
        font-size: 0.7rem !important;
        margin: 0.3rem 0 0.2rem 0 !important;
        line-height: 1.1 !important;
        font-weight: 600 !important;
        color: #333 !important;
    }
    
    .feature-item p {
        font-size: 0.6rem !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        color: #666 !important;
        opacity: 0.8 !important;
    }
    
    .feature-icon {
        width: 30px !important;
        height: 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 0.2rem !important;
    }
    
    .feature-icon i {
        font-size: 16px !important;
        color: #007bff !important;
    }
    
    .feature-icon img {
        width: 20px !important;
        height: 20px !important;
        object-fit: contain !important;
    }
    
    .feature-icon i {
        font-size: 1.3rem !important;
    }
    
    .feature-icon img {
        width: 30px !important;
        height: 30px !important;
    }
    
    .feature-icon i {
        color: #FFD43B !important;
        filter: brightness(0) saturate(100%) invert(79%) sepia(85%) saturate(1592%) hue-rotate(358deg) brightness(102%) contrast(101%);
    }
    
    .feature-icon img {
        width: 55px;
        height: 55px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        padding-top: 2rem;
        margin-top: 0;
    }
}

/* Large Mobile */
@media (max-width: 768px) {
    /* Disable scroll effect on tablet/mobile */
    html body header.scrolled {
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        border-bottom: none !important;
        padding: 1.5rem 0 !important;
    }
    
    html body header.scrolled .logo img {
        height: 100px !important;
    }
    
    html body header.scrolled .nav-links a {
        color: #fff !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    }
    
    html body header.scrolled .hamburger span {
        background-color: white !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    }
    
    /* Add top padding to prevent header overlap */
    .page {
        padding-top: 75px;
    }
    
    /* Ensure consistent top padding for all pages except homepage */
    #hizmetlerimiz,
    #sanal-turlar,
    #projelerimiz,
    #iletisim {
        padding-top: 75px !important;
    }
    
    #ana-sayfa {
        padding-top: 0 !important;
    }
    
    /* Reduce section padding on mobile */
    .virtual-tours,
    .services,
    .projects,
    .contact {
        padding: 2rem 0 3rem 0;
    }
    
    .container {
        padding: 0 5px;
    }
    
    .features-section .container {
        padding: 0 0.5rem;
    }
    
    .logo img {
        height: 100px;
    }
    
    .hero {
        height: 100vh;
        padding: 170px 0 2rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services {
        padding: 8rem 0 4rem 0;
    }
    
    /* Special padding for services page to align with other pages - Tablet */
    #hizmetlerimiz .services {
        padding: 2rem 0 3rem 0;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero h3 {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin-bottom: 1.2rem;
    }
    
    .cta-button {
        display: block;
        margin: 10px auto;
        width: fit-content;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .projects-grid,
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
        width: 100%;
        animation: none;
        overflow: visible;
        justify-items: center;
    }
    
    .feature-item {
        min-width: auto;
        max-width: none;
        padding: 1rem 0.5rem;
        width: 100%;
    }
    
    /* Hide duplicate items on tablet */
    .feature-item:nth-child(n+13) {
        display: none;
    }
    
    .feature-item h3 {
        font-size: 1.2rem;
        margin-top: 0.5rem;
    }
    
    .feature-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 0.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feature-icon i {
        font-size: 2rem;
        color: #FFD43B !important;
    }
    
    .feature-icon img {
        width: 50px;
        height: 50px;
    }
    
    .feature-item h3 {
        font-size: 1.3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .service-card,
    .project-card,
    .tour-card {
        padding: 1.5rem;
    }
    
    .tour-actions {
        flex-direction: row;
        gap: 1rem;
    }
    
    .search-sort-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .search-box {
        min-width: auto;
        max-width: 100%;
    }
    
    .search-box input {
        padding: 0.9rem 3rem 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .sort-container {
        justify-content: space-between;
    }
    
    .sort-container select {
        flex: 1;
        max-width: 200px;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        gap: 0.5rem;
    }
    
    .filter-btn {
        white-space: nowrap;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .mobile-nav-links a {
        font-size: 2.2rem;
    }
    
    .mobile-nav-links li {
        margin: 1.5rem 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    /* Disable scroll effect on mobile */
    html body header.scrolled {
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        border-bottom: none !important;
        padding: 1.5rem 0 !important;
    }
    
    html body header.scrolled .logo img {
        height: 80px !important;
    }
    
    html body header.scrolled .nav-links a {
        color: #fff !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    }
    
    html body header.scrolled .hamburger span {
        background-color: white !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    }
    
    /* Add more top padding for mobile */
    .page {
        padding-top: 65px;
    }
    
    /* Ensure consistent top padding for all pages except homepage */
    #hizmetlerimiz,
    #sanal-turlar,
    #projelerimiz,
    #iletisim {
        padding-top: 65px !important;
    }
    
    #ana-sayfa {
        padding-top: 0 !important;
    }
    
    /* Further reduce section padding on small mobile */
    .virtual-tours,
    .services,
    .projects,
    .contact {
        padding: 1.5rem 0 2rem 0;
    }
    
    .container {
        padding: 0 3px;
    }
    
    .features-section .container {
        padding: 0;
        overflow: hidden;
    }
    
    .logo img {
        height: 80px;
    }
    
    .hero {
        height: 100vh;
        padding: 130px 0 1rem 0;
    }

    .services {
        padding: 6rem 0 4rem 0;
    }
    
    /* Special padding for services page to align with other pages - Mobile */
    #hizmetlerimiz .services {
        padding: 1.5rem 0 2rem 0;
    }

    .hero h1 {
        font-size: 2rem;
        margin-top: 0rem;
        line-height: 1.1;
    }

    .section-title {
        font-size: 2rem;
    }    .hero p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero h3 {
        font-size: 1rem;
        padding: 0 0.5rem;
        margin-bottom: 1.2rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        margin: 8px auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 3rem;
    }
    
    .service-card,
    .project-card,
    .tour-card {
        padding: 1.2rem;
        margin: 0 5px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 100px);
        grid-template-rows: repeat(2, 1fr);
        grid-auto-flow: column;
        gap: 1rem;
        padding: 0 1rem;
        width: max-content;
        animation: mobileAutoSlide 20s linear infinite;
        overflow: hidden;
        justify-items: center;
    }
    
    @keyframes mobileAutoSlide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    
    .features-grid:hover {
        animation-play-state: paused;
    }
    
    .features-grid::-webkit-scrollbar {
        display: none;
    }
    
    .feature-item {
        width: 100px;
        padding: 0.8rem 0.3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Show duplicate items on mobile for seamless animation */
    .feature-item:nth-child(n+13) {
        display: flex;
    }
    
    .feature-item h3 {
        font-size: 0.9rem;
        margin-top: 0.4rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .features-section {
        padding: 1rem 0;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
        color: #FFD43B !important;
    }
    
    .feature-icon img {
        width: 30px;
        height: 30px;
    }
    
    .tour-image {
        height: 200px;
        font-size: 3rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.6rem;
        font-size: 0.95rem;
    }
    
    .mobile-nav-links a {
        font-size: 2rem;
    }
    
    .logo img {
        height: 90px;
    }
    
    .search-container {
        margin: 1rem 0;
        padding: 0 10px;
    }
    
    .search-box input {
        padding: 0.8rem 2.8rem 0.8rem 1rem;
        font-size: 0.9rem;
        border-radius: 40px;
    }
    
    .search-btn {
        right: 6px;
        padding: 0.4rem 0.6rem;
    }
    
    .search-icon {
        font-size: 0.9rem;
    }
    
    .filter-buttons {
        gap: 0.3rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .page {
        padding-top: 60px;
    }
    
    /* Ensure consistent top padding for all pages except homepage */
    #hizmetlerimiz,
    #sanal-turlar,
    #projelerimiz,
    #iletisim {
        padding-top: 60px !important;
    }
    
    #ana-sayfa {
        padding-top: 0 !important;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .service-card,
    .project-card,
    .tour-card {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Special padding for services page to align with other pages - Small Mobile */
    #hizmetlerimiz .services {
        padding: 1.5rem 0 2rem 0;
    }

/* Loading Spinner */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    position: relative;
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #fff;
}

.loader:before,
.loader:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}

.loader:after {
    color: #FF3D00;
    transform: rotateY(70deg);
    animation-delay: .4s;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes rotateccw {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes spin {
    0%,
    100% {
        box-shadow: .2em 0px 0 0px currentcolor;
    }
    12% {
        box-shadow: .2em .2em 0 0 currentcolor;
    }
    25% {
        box-shadow: 0 .2em 0 0px currentcolor;
    }
    37% {
        box-shadow: -.2em .2em 0 0 currentcolor;
    }
    50% {
        box-shadow: -.2em 0 0 0 currentcolor;
    }
    62% {
        box-shadow: -.2em -.2em 0 0 currentcolor;
    }
    75% {
        box-shadow: 0px -.2em 0 0 currentcolor;
    }
    87% {
        box-shadow: .2em -.2em 0 0 currentcolor;
    }
}
    
    .logo img {
        height: 80px;
    }
}

/* Modern Netflix-style Slider */
.modern-slider-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}


/* Section Label */
.section-label {
    display: inline-block;
    background: #FFD43B;
    color: #333;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 1rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.slider-title {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

/* Modern Slider Wrapper */
.modern-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px 60px 60px;
}

.modern-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.modern-slider::-webkit-scrollbar {
    display: none;
}

/* Netflix-style Cards */
.slider-card {
    min-width: 280px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slider-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 212, 59, 0.3);
    border-color: rgba(255, 212, 59, 0.5);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.slider-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.card-category {
    font-size: 0.75rem;
    color: #FFD43B;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-cta {
    background: linear-gradient(135deg, #FFD43B, #FFC107);
    color: #333;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    align-self: flex-start;
}

.card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 212, 59, 0.4);
}

/* Modern Navigation Buttons */
.modern-nav-btn {
    position: absolute;
    bottom: -30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 212, 59, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: #333;
    font-size: 1.1rem;
    opacity: 0.8;
}

.modern-nav-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 212, 59, 1);
    box-shadow: 0 8px 25px rgba(255, 212, 59, 0.4);
}

.modern-nav-btn.prev {
    left: 50%;
    transform: translateX(-60px);
}

.modern-nav-btn.next {
    left: 50%;
    transform: translateX(15px);
}

/* Modern Slider Responsive */
@media (max-width: 1024px) {
    .modern-slider-wrapper {
        padding: 0 40px 50px 40px;
    }
    
    .slider-card {
        min-width: 250px;
    }
    
    .section-label {
        font-size: 0.8rem;
        padding: 6px 16px;
        letter-spacing: 1.5px;
    }
    
    .slider-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .modern-slider-section {
        padding: 3rem 0;
    }
    
    .modern-slider-wrapper {
        padding: 0 20px 60px 20px;
    }
    
    .slider-card {
        min-width: 220px;
    }
    
    .card-image {
        height: 150px;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .section-label {
        font-size: 0.75rem;
        padding: 5px 14px;
        letter-spacing: 1px;
        margin-bottom: 0.8rem;
    }
    
    .slider-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .modern-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: -25px;
    }
    
    .modern-nav-btn.prev {
        transform: translateX(-35px);
    }
    
    .modern-nav-btn.next {
        transform: translateX(15px);
    }
}

@media (max-width: 480px) {
    .slider-card {
        min-width: 200px;
    }
    
    .card-image {
        height: 120px;
    }
    
    .section-label {
        font-size: 0.7rem;
        padding: 4px 12px;
        letter-spacing: 0.8px;
    }
    
    .slider-title {
        font-size: 1.5rem;
    }
}

/* Responsive Slider */
@media (max-width: 1024px) {
    .slider {
        height: 400px;
    }
    
    .slide-text {
        padding: 2rem 1.5rem;
    }
    
    .slide-text h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .slider-section {
        padding: 2rem 0;
    }
    
    .slider {
        height: 350px;
    }
    
    .slide-content {
        flex-direction: column;
    }
    
    .slide-image {
        width: 100%;
        height: 60%;
    }
    
    .slide-text {
        width: 100%;
        height: 40%;
        padding: 1.5rem 1rem;
    }
    
    .slide-text h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .slider-arrow.prev {
        left: -18px;
    }
    
    .slider-arrow.next {
        right: -18px;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 300px;
    }
    
    .slide-text {
        padding: 1rem;
    }
    
    .slide-text h3 {
        font-size: 1.2rem;
    }
    
    .slide-text p {
        font-size: 0.9rem;
    }
    
    .modern-slider-wrapper {
        padding: 40px 20px 45px;
    }
    
    .modern-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        bottom: -20px;
    }
    
    .modern-nav-btn.prev {
        transform: translateX(-30px);
    }
    
    .modern-nav-btn.next {
        transform: translateX(10px);
    }
}

/* FadeIn Animation for Search Results */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tour Detail Page Mobile Responsive */
@media (max-width: 768px) {
    .tour-detail-page {
        padding-top: 100px;
    }
    
    .tour-detail .container {
        padding: 0 1rem;
    }
    
    .back-navigation {
        margin-bottom: 1.5rem;
        padding-top: 0.5rem;
    }
    
    .back-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 20px;
        width: auto;
        display: inline-flex;
    }
    
    .tour-detail-title {
        font-size: 2.5rem;
    }
    
    .tour-detail-header {
        padding: 3rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .virtual-tour-container {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .virtual-tour-container h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .iframe-wrapper {
        height: 50vh;
        min-height: 300px;
    }
    
    .streetview-container {
        height: 300px;
    }
    
    .google-streetview-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .tour-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .info-section {
        padding: 1.5rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-preview {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .tour-badges {
        justify-content: center;
    }
    
    .tour-cta {
        padding: 2rem 1.5rem;
    }
    
    .tour-cta h3 {
        font-size: 1.8rem;
    }
    
    /* Modern Business Hero Mobile */
    .modern-business-hero {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
        border-radius: 15px;
    }
    
    .business-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .business-logo-placeholder {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .business-logo-image {
        width: 80px;
        height: 80px;
    }
    
    .business-title {
        font-size: 2.2rem;
    }
    
    .business-tagline {
        font-size: 1rem;
    }
    
    .business-categories {
        justify-content: center;
    }
    
    .hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    /* Google Reviews Mobile */
    .google-reviews-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .reviews-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .reviews-header h3 {
        margin-left: 0;
        font-size: 1.5rem;
    }
    
    .overall-rating {
        justify-content: center;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .review-card {
        padding: 1rem;
    }
    
    /* Tour Preview Mobile */
    .tour-preview {
        padding: 2rem 1.5rem;
    }
    
    .tour-preview-content {
        gap: 1rem;
    }
    
    .tour-preview-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .tour-preview-text h3 {
        font-size: 1.5rem;
    }
    
    .tour-preview-text p {
        font-size: 1rem;
    }
    
    /* Tour Action Buttons Mobile */
    .tour-action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .btn-tour-watch,
    .btn-fullscreen {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        justify-content: center;
    }
}

/* Mobile Features Animation */
@keyframes mobileAutoSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-75%);
    }
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Mobile Button Styles */
@media (max-width: 768px) {
    .tour-btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
        min-height: 45px !important;
        border-radius: 6px !important;
    }
    
    .btn-primary {
        background: #4285f4 !important;
        color: white !important;
    }
    
    .btn-secondary {
        background: white !important;
        color: #4285f4 !important;
        border: 2px solid #4285f4 !important;
    }
}

/* Desktop Button Styles */
@media (min-width: 769px) {
    .tour-btn {
        padding: 16px 32px !important;
        font-size: 16px !important;
        min-height: 50px !important;
        border-radius: 8px !important;
    }
    
    .btn-primary {
        background: #4285f4 !important;
        color: white !important;
    }
    
    .btn-primary:hover {
        background: #3367d6 !important;
    }
    
    .btn-secondary {
        background: white !important;
        color: #4285f4 !important;
        border: 2px solid #4285f4 !important;
    }
    
    .tour-btn.btn-secondary:hover {
        background: #4285f4 !important;
        color: white !important;
        border: 2px solid #4285f4 !important;
        text-decoration: none !important;
        border-color: #4285f4 !important;
    }
    
    a.tour-btn.btn-secondary:hover,
    button.tour-btn.btn-secondary:hover {
        background: #4285f4 !important;
        color: white !important;
        border: 2px solid #4285f4 !important;
    }
}

/* Virtual Tour Iframe Styles */
.tour-iframe-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.tour-iframe-container iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .tour-iframe-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .tour-iframe-container iframe {
        height: 300px;
    }
    
    .streetview-container {
        height: 250px;
    }
    
    .google-streetview-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .google-streetview-section h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 360px) {
    .streetview-container {
        height: 220px;
    }
    
    .google-streetview-section {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .google-streetview-section h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    /* Mobile-specific styling for back buttons */
    #test-back-btn,
    #test-back-btn-antiokhya-mersin,
    #test-back-btn-antiokhya-erdemli,
    #test-back-btn-bolcika,
    #test-back-btn-nova {
        font-size: 13px !important;
        padding: 8px 12px !important;
        margin: 15px 0 !important;
        /* Force touch-friendly styling */
        -webkit-appearance: none !important;
        appearance: none !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        user-select: none !important;
        outline: none !important;
    }
    
    /* Mobile container spacing */
    .tour-detail .container > div:first-child {
        margin-top: 20px !important;
        padding-left: 15px !important;
    }
    
    /* Show mobile text, hide desktop text */
    .desktop-text {
        display: none !important;
    }
    
    .mobile-text {
        display: inline !important;
    }
}

/* Both desktop and mobile: Show only mobile text (Sanal Turlar'a Dön) */
@media (min-width: 769px) {
    .desktop-text {
        display: none !important;
    }
    
    .mobile-text {
        display: inline !important;
    }
}

#loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.classic-spinner {
    width: 48px;
    height: 48px;
    border: 6px solid #eee;
    border-top: 6px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
.loaded #loader {
    display: none;
}

/* Mobile: center footer WhatsApp link and align items */
@media (max-width: 768px) {
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        text-align: center !important;
    }

    .footer-contact p,
    .footer-contact a {
        display: block;
        width: 100%;
        text-align: center;
    }

    .footer-contact a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-weight: 700;
        color: inherit;
        text-decoration: none;
    }

    .footer-contact a img {
        height: 1.6em !important;
        vertical-align: middle;
        margin-right: 0 !important;
    }
}

/* Extra spacing for large desktop/laptop to avoid header overlap */
@media (min-width: 1201px) {
    .hero-content {
        padding-top: 3.5rem; /* push hero content lower on large screens */
    }
}
/* Fix: reduce top spacing for contact page on small screens */
@media (max-width: 768px) {
    .contact {
        /* reduce large desktop padding to something mobile-friendly */
        padding: 3.5rem 1rem 3rem 1rem;
    }

    /* Make contact grid single column on mobile to avoid layout gaps */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    /* Ensure hero/content margins don't push content down excessively */
    .hero-content {
        margin-top: 1.5rem;
        padding-top: 0.5rem;
    }

    /* If header is fixed, ensure scroll padding doesn't create extra white area */
    html {
        scroll-padding-top: 70px;
    }
}

/* Final override: ensure contact page doesn't get extra white gap on mobile
   Placed at end to override earlier media rules that add page padding-top */
@media (max-width: 768px) {
    /* Remove the generic page padding for the contact page specifically */
    #iletisim.page {
        padding-top: 0 !important;
    }
    /* Tighten contact section spacing on mobile */
    #iletisim .contact {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

@media (max-width: 480px) {
    #iletisim.page {
        padding-top: 0 !important;
    }
    #iletisim .contact {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Move 'İletişime Geçin' heading slightly down across devices */
#iletisim .contact-info h2 {
    margin-top: 3.6rem !important; /* overrides inline margin-top:0 - increased further */
}

@media (max-width: 480px) {
    #iletisim .contact-info h2 {
        margin-top: 4.2rem !important;
        font-size: 1.95rem; /* slightly larger for readability */
    }
}