/* assets/css/style.css */
/* Modern corporate styling for HC Çatı Sistemleri */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0F2042;
    /* Parliament Blue */
    --primary-light: #1A365D;
    /* Lighter Navy */
    --primary-dark: #071124;
    /* Deep Navy */
    --accent: #2B6CB0;
    /* Modern Steel Blue Accent */
    --accent-hover: #3182CE;
    --text: #2D3748;
    /* Charcoal body text */
    --text-muted: #718096;
    /* Slate grey text */
    --bg-light: #F7FAFC;
    /* Crisp off-white */
    --bg-white: #FFFFFF;
    /* Pure White */
    --border: #E2E8F0;
    /* Light grey borders */
    --success: #38A169;
    /* WhatsApp Green / Success */

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(15, 32, 66, 0.1), 0 10px 10px -5px rgba(15, 32, 66, 0.04);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

header.scrolled {
    padding: 0px 0;
    background: rgba(15, 32, 66, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

header.scrolled .nav-link:hover,
header.scrolled .nav-link.active {
    color: var(--bg-white);
}

header.scrolled .logo-text {
    color: var(--bg-white);
}

header.scrolled .logo-sub {
    color: rgba(255, 255, 255, 0.6);
}

header.scrolled .btn-phone-header {
    background: var(--bg-white);
    color: var(--primary);
}

header.scrolled .btn-phone-header:hover {
    background: var(--accent);
    color: var(--bg-white);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logo Design: Circle with HC inside */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 3.5px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.logo-circle img {
    width: 82%;
    height: 82%;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

header.scrolled .logo-circle {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-color: var(--accent);
    border-width: 3px;
}

.logo-info {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-phone-header {
    background: var(--primary);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
}

.btn-phone-header:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Mobile Nav Toggler */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

header.scrolled .nav-toggle span {
    background: var(--bg-white);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 32, 66, 0.8), rgba(7, 17, 36, 0.85)), url('../../uploads/gallery/WhatsApp Image 2026-07-04 at 14.49.59.jpeg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    padding-top: 80px;
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}

.hero-content h1 {
    color: var(--bg-white);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-white);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 108, 176, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-outline:hover {
    background: var(--bg-white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

.service-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-link {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--primary);
}

/* About Page / Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1/1;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border-bottom: 4px solid var(--accent);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Gallery Section (1:1 Aspect Ratio Square Grid) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    background: var(--primary-dark);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 32, 66, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.zoom-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .zoom-icon {
    transform: translateY(0);
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-summary {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-btn {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Blog Details Layout */
.blog-detail-wrapper {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
    padding-top: 100px;
}

.blog-main-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.blog-meta-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
}

.blog-detail-content h3 {
    margin: 25px 0 15px;
    font-size: 1.6rem;
}

.blog-detail-content p {
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 1.05rem;
}

.blog-detail-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-detail-content li {
    margin-bottom: 8px;
}

.sidebar-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.sidebar-card h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

.sidebar-blog-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.sidebar-blog-img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-blog-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Contact Area & Footer */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-panel {
    background: var(--primary);
    color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
}

.contact-info-panel h3 {
    color: var(--bg-white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info-panel p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.contact-list {
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.contact-item-text h4 {
    color: var(--bg-white);
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}

/* Footer styling */
footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
    border-top: 3px solid var(--accent);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: var(--bg-white);
}

.footer-logo .logo-circle {
    background: var(--bg-white);
    color: var(--primary-dark);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--accent);
}

.footer-accordion-icon {
    display: none;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 17, 36, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 80%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--bg-white);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--bg-white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bg-white);
    background: rgba(15, 32, 66, 0.6);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: var(--accent);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

/* Floating Actions: Call & WhatsApp Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
}

.btn-float:hover {
    transform: scale(1.1) translateY(-5px);
}

.btn-float-wp {
    background-color: var(--success);
}

.btn-float-phone {
    background-color: var(--accent);
}

/* Tooltip */
.btn-float::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    background: var(--primary);
    color: var(--bg-white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-float:hover::before {
    opacity: 1;
}

/* Pulsing effect for Float Buttons */
.btn-float::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-sizing: border-box;
    z-index: -1;
    pointer-events: none;
}

.btn-float-wp::after {
    border: 4px solid var(--success);
    animation: pulseGlow 2s infinite;
}

.btn-float-phone::after {
    border: 4px solid var(--accent);
    animation: pulseGlow 2s infinite;
}

/* Map Section */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 450px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-detail-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .nav-toggle {
        display: block;
        z-index: 1002;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #122243;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        box-shadow: -10px 0 30px rgba(15, 32, 66, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        font-size: 1.5rem;
        color: white;
    }

    .nav-toggle.active span {
        background: white;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-actions {
        display: none;
    }
    
    .btn-phone-header {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    /* MOBILE SERVICES CUSTOM CAROUSEL (NOT LIKE A TRAIN) */
    /* On mobile, services stack is replaced by a gorgeous scroll snap slider with visual indicator */
    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 10px 5px 30px 5px;
        scrollbar-width: none;
        /* Hide scrollbar for clean aesthetic */
    }

    .services-grid::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for Chrome/Safari */
    }

    .service-card {
        flex: 0 0 88%;
        scroll-snap-align: center;
        max-width: 350px;
    }

    /* Scroll indicator helper for mobile */
    .services-mobile-hint {
        display: block;
        text-align: center;
        font-size: 0.85rem;
        color: var(--text-muted);
        margin-top: 15px;
        font-weight: 500;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-grid .gallery-item:nth-child(9) {
        display: none;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-content {
        max-width: 95%;
    }

    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .btn-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .btn-float::before {
        display: none;
        /* Hide tooltips on mobile */
    }

    /* Mobile Accordion Styles */
    .footer-accordion-icon {
        display: inline-block;
        font-size: 0.9rem;
        transition: transform 0.3s ease;
        opacity: 0.8;
    }

    .footer-accordion-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding-bottom: 12px;
        margin-bottom: 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-accordion-title::after {
        display: none;
    }

    .footer-col-collapsible .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .footer-col-collapsible.active .footer-links {
        max-height: 300px;
    }

    .footer-col-collapsible.active .footer-accordion-icon {
        transform: rotate(180deg);
    }
}

@media (min-width: 769px) {
    .services-mobile-hint {
        display: none;
    }
}

/* Services Tabs & Single-Section Display Styles */
.js-active .service-section {
    display: none;
}
.js-active .service-section.active {
    display: block;
    animation: fadeInService 0.4s ease-out forwards;
}

@keyframes fadeInService {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hizmetler-tabs-wrapper {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 79px; /* Matches fixed header height */
    z-index: 99;
    box-shadow: 0 4px 10px rgba(15, 32, 66, 0.03);
    transition: var(--transition);
}

header.scrolled ~ .hizmetler-tabs-wrapper {
    top: 69px; /* adjusted for scrolled header height */
}

.hizmetler-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hizmetler-tabs .tab-btn {
    padding: 12px 28px;
    background-color: var(--bg-light);
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.hizmetler-tabs .tab-btn i {
    font-size: 1rem;
    opacity: 0.8;
}

.hizmetler-tabs .tab-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--bg-white);
}

.hizmetler-tabs .tab-btn.active {
    background-color: var(--accent);
    color: var(--bg-white);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(43, 108, 176, 0.25);
}

@media (max-width: 768px) {
    .hizmetler-tabs-wrapper {
        padding: 12px 0;
        top: 68px; /* adjusted for mobile header */
    }
    
    .hizmetler-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* hide scrollbars */
    }
    
    .hizmetler-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .hizmetler-tabs .tab-btn {
        flex: 0 0 auto;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Services Page Gallery Grid Styling (5 columns on desktop, responsive) */
.hizmetler-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .hizmetler-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .hizmetler-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
