/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary-color: #0b1b2b; /* Lacivert */
    --secondary-color: #003c8f;
    --accent-color: #0a4db8;
    --whatsapp-color: #25D366;
    --bg-light: #f8f9fa;
    --text-dark: #333;
    --text-light: #fff;
    --gray: #e5e5e5;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.top-bar {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 14px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a {
    color: var(--text-light);
    margin-left: 15px;
}
.top-bar a:hover {
    color: var(--gray);
}

.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.text-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color, #1a365d);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}
.text-logo i {
    color: var(--accent-color, #ff6b00);
    font-size: 32px;
}

.nav-menu {
    display: flex;
    gap: 20px;
}
.nav-menu li {
    position: relative;
}
.nav-menu a {
    font-weight: 600;
    padding: 10px;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: var(--accent-color);
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 250px;
    z-index: 10;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px solid var(--gray);
}
.nav-menu li:hover .dropdown-menu {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(11, 27, 43, 0.7), rgba(11, 27, 43, 0.7)), url('../assets/images/hero-bg.jpg') center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}
.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section */
.section {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.service-img {
    height: 200px;
    background: var(--gray);
    overflow: hidden;
    position: relative;
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.service-card:hover .service-img img {
    transform: scale(1.1);
}
.service-content {
    padding: 20px;
    text-align: center;
}
.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: var(--accent-color);
    color: #fff;
    padding: 50px 0;
}
.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.cta-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}
.cta-button .btn {
    background: #fff;
    color: var(--accent-color);
    padding: 15px 30px;
    font-size: 1.1rem;
    white-space: nowrap;
}
.cta-button .btn:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
}

/* FAQ Section */
.faq-section {
    background: #fff;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    background: var(--bg-light);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}
.faq-question:hover {
    background: #e9ecef;
}
.faq-question.active {
    background: var(--accent-color);
    color: #fff;
}
.faq-answer {
    max-height: 0;
    padding: 0 20px;
    background: #fff;
    overflow: hidden;
    transition: all 0.4s ease;
}
.faq-answer p {
    margin: 0;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: #ccc;
    padding: 40px 0 20px;
}
.footer img {
    filter: brightness(0) invert(1);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

/* Brochure Button and Modal */
.brochure-btn {
    position: fixed;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: #fff;
    padding: 15px 8px;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.2);
    padding: 15px 8px;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.2);
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.brochure-btn i {
    font-size: 1.2rem;
}
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.brochure-btn:hover {
    padding-right: 15px;
}
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.6); 
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 95%; 
    max-width: 1000px;
    height: 90vh;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.close-modal {
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-modal:hover { color: black; }
.footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Sidebar CSS */
.sidebar {
    width: 250px;
    flex-shrink: 0;
}
.sidebar-menu {
    list-style: none;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px 0;
}
.sidebar-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: 0.3s;
}
.sidebar-menu li:last-child a {
    border-bottom: none;
}
.sidebar-menu li a:hover:not(.active) {
    background: #f9f9f9;
    color: var(--accent-color);
}
.sidebar-menu li a.active {
    background: var(--accent-color);
    color: #fff;
    font-weight: bold;
    pointer-events: none;
}

/* Media Query overrides */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .container[style*="display: flex"] {
        flex-direction: column;
    }
    .sidebar {
        display: none;
    }
}
.footer ul li {
    margin-bottom: 10px;
}
.footer ul li a:hover {
    color: #fff;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Mobile Action Bar */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 9999;
}
.mobile-action-bar .action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
}
.mobile-action-bar .teklif { background-color: var(--accent-color); }
.mobile-action-bar .whatsapp { background-color: var(--whatsapp-color); }
.mobile-action-bar .call { background-color: var(--secondary-color); }

/* Floating WhatsApp (Desktop) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
    transition: transform 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .mobile-action-bar {
        display: flex;
    }
    .whatsapp-float, .top-bar {
        display: none;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 10px 0;
    }
    .nav-menu.active {
        display: flex;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    body {
        padding-bottom: 60px; /* Action bar alanı */
    }
}

.submenu {
    list-style: none;
    padding: 5px 0 5px 15px;
    margin: 0;
    border-top: 1px solid #f5f5f5;
}
.submenu li a {
    padding: 8px 15px !important;
    font-size: 0.9rem;
    border-bottom: none !important;
    color: #666 !important;
}
.submenu li a:hover, .submenu li a.active {
    color: var(--accent-color) !important;
    background: transparent !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('../assets/images/page-header-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 50px 0; /* Reduced from 80px */
    text-align: center;
}
.page-header h1 {
    margin-bottom: 10px;
    font-size: 2.2rem;
}
.page-header .breadcrumb {
    margin-top: 15px;
    font-size: 0.9rem;
}
.page-header .breadcrumb a {
    color: #fff;
    text-decoration: none;
}
.page-header .breadcrumb span {
    color: var(--accent-color);
}


/* Custom Page Header Backgrounds */
.bg-finance { background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('../assets/images/bg-finance.jpg') !important; }
.bg-security { background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('../assets/images/bg-security.jpg') !important; }
.bg-technical { background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('../assets/images/bg-technical.jpg') !important; }
.bg-landscape { background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('../assets/images/bg-landscape.jpg') !important; }
.bg-cleaning { background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('../assets/images/bg-cleaning.jpg') !important; }
.bg-pool { background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('../assets/images/bg-pool.jpg') !important; }
.bg-realestate { background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('../assets/images/bg-realestate.jpg') !important; }
.bg-blog { background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('../assets/images/bg-blog.jpg') !important; }


/* Hero Slider */
.hero-slider {
    position: relative;
    height: 60vh;
    overflow: hidden;
}
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}
.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-slider .slide h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}
.hero-slider .slide p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0 60px;
}
.slider-controls span {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    user-select: none;
    transition: background 0.3s ease;
}
.slider-controls span:hover {
    background: var(--accent-color);
}
