/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1b4c74;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-color: #ddd;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary, .btn-quote {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #144057;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 76, 116, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-quote {
    background: var(--primary-color);
    color: white;
}

.btn-quote:hover {
    background: #144057;
}

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.phone-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(27, 76, 116, 0.4);
    transition: var(--transition);
}

.phone-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(27, 76, 116, 0.6);
}

.search-float {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.search-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.6);
}

/* ===== SEARCH MODAL ===== */
.search-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}

.search-modal.active {
    display: block;
}

.search-modal-content {
    background: white;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    animation: slideDown 0.3s;
}

.search-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 35px;
    cursor: pointer;
    color: #999;
}

.search-close:hover {
    color: var(--primary-color);
}

#searchInput {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 20px;
}

#searchResults {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--light-color);
}

.search-result-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* ===== HEADER ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.transparent-header {
    background: transparent;
    box-shadow: none;
}

.transparent-header .logo h1,
.transparent-header .logo .tagline,
.transparent-header .main-nav a {
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.transparent-header .main-nav a:hover {
    color: white !important;
    opacity: 0.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.transparent-header .main-nav a.active {
    color: white !important;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.transparent-header .main-nav a::after {
    display: none;
}

.transparent-header .dropdown-menu a {
    color: var(--text-color) !important;
    text-shadow: none !important;
}

.transparent-header .dropdown-menu a:hover {
    color: var(--primary-color) !important;
    background: var(--light-color);
}

.transparent-header .logo-img {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2px;
}

.logo .tagline {
    font-size: 12px;
    color: var(--secondary-color);
}

.logo-img {
    height: 60px;
    width: auto;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 20px;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    display: block;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: white;
    color: var(--primary-color);
}

.search-float {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.mobile-menu-close {
    display: none;
}

/* Scrolled Header */
.scrolled {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scrolled .logo h1,
.scrolled .logo .tagline,
.scrolled .main-nav a {
    color: var(--text-color) !important;
    text-shadow: none;
}

.scrolled .transparent-header .main-nav a:hover {
    color: var(--primary-color) !important;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: slideUp 1s;
}

.slide-text {
    font-size: 20px;
    margin-bottom: 30px;
    animation: slideUp 1s 0.2s both;
}

.slide-content .btn-primary {
    animation: slideUp 1s 0.4s both;
}

.slider-prev, .slider-next {
    display: none;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* ===== ABOUT SECTION ===== */
.about-section-home {
    padding: 80px 0;
    background: white;
}
.about-content-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}
.about-content-home-vertical {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}

.about-content-home-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.about-left-section {
    display: flex;
    flex-direction: column;
}

.about-right-section {
    display: flex;
    flex-direction: column;
}

.gallery-bottom-image {
    width: 100%;
    margin-top: 30px;
}

.gallery-bottom-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.gallery-bottom-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.gallery-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.gallery-vertical img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.gallery-vertical img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.about-image-home img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.about-text-home h2 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.about-text-home p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}
.feature-list {
    list-style: none;
    margin-top: 30px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #555;
}
.feature-list i {
    color: var(--primary-color);
    font-size: 18px;
}
.gallery-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}
.gallery-showcase img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
}
.gallery-showcase img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 80px 0;
    background: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
}

.service-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
}

.service-link:hover {
    color: var(--secondary-color);
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 17px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.feature-list i {
    color: var(--primary-color);
    font-size: 20px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== COVERAGE AREA ===== */
.coverage-area {
    padding: 80px 0;
    background: var(--light-color);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.area-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: block;
    text-decoration: none;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.area-card i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.area-card h3 {
    font-size: 18px;
    color: var(--secondary-color);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

.footer-col p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #ccc;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.footer-bottom a.webturco-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-bottom a.webturco-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-height: 100vh;
        background: white;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding-top: 80px;
        padding-bottom: 60px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: 10001;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 15px 30px;
        color: var(--text-color) !important;
        text-shadow: none !important;
    }

    /* Active menu item styling on mobile */
    .main-nav a.active {
        background-color: var(--primary-color);
        color: white !important;
        font-weight: 600;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-color);
        margin-top: 5px;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: var(--primary-color);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10002;
    }
    
    .mobile-menu-close:hover {
        background: #c0392b;
    }

    /* Hide "Teklif Al" button on mobile */
    .header-actions a[href*="wa.me"] {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    /* Reorder about section on mobile: text first, images second */
    .about-content-home-layout {
        grid-template-columns: 1fr;
    }

    .about-left-section {
        order: 1;
    }

    .about-right-section {
        order: 2;
    }

    .slide-title {
        font-size: 32px;
    }

    .slide-text {
        font-size: 16px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    /* Service areas 2 columns on mobile */
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Make area cards text smaller on mobile to prevent overflow */
    .area-card {
        padding: 20px;
    }

    .area-card h3 {
        font-size: 15px;
        word-break: break-word;
        line-height: 1.4;
    }

    .area-card i {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .slider-prev, .slider-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .whatsapp-float, .phone-float, .search-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .phone-float {
        bottom: 20px;
        left: 20px;
    }

    .search-float {
        bottom: 80px;
        right: 20px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* ===== INDEX.HTML SPECIFIC STYLES ===== */
body.home-page .hero-slider {
    position: relative;
    margin-top: 0;
}

body.home-page .hero-slider .main-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 10000 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.home-page .hero-slider .main-header.scrolled {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    position: fixed !important;
}

/* Header content styling for hero */
body.home-page .hero-slider .main-header .container {
    max-width: 100%;
    padding: 0 !important;
    width: 100%;
    margin: 0 !important;
}

body.home-page .hero-slider .header-content {
    justify-content: center !important;
    align-items: center;
    gap: 80px;
    padding: 25px 0;
    width: 100%;
}

body.home-page .hero-slider .header-content .logo {
    margin-right: 0;
}

body.home-page .hero-slider .header-content .logo-img {
    height: 60px !important;
}

body.home-page .hero-slider .header-content .main-nav {
    margin: 0;
}

body.home-page .hero-slider .header-content .main-nav a {
    font-size: 19px !important;
}

body.home-page .hero-slider .header-content .main-nav ul {
    gap: 35px !important;
}

body.home-page .hero-slider .header-content .header-actions {
    margin-left: 0;
}

body.home-page .hero-slider .header-content .btn-quote {
    padding: 14px 35px !important;
    font-size: 18px !important;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }
}

