:root {
    --primary-blue: #004d99;
    --accent-orange: #ff6600;
    --text-dark: #333;
    --background-light: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

h2 {
    text-align: center;
}

.py-80 {
    padding: 80px 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-orange);
    color: white !important;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #e65c00;
}

.main-header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
}

.top-bar {
    background-color: var(--primary-blue);
    color: white;
    padding: 8px 0;
    font-size: 0.9em;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-left: 15px;
    transition: opacity 0.3s;
}

.social-links a i {
    margin-right: 5px;
}

.social-links a[aria-label="WhatsApp"] i {
    color: #25D366;
}

.social-links a[aria-label="Instagram"] i {
    color: #E4405F;
}

.social-links a[aria-label="YouTube"] i {
    color: #FF0000;
}

.social-links a:hover {
    opacity: 0.8;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    position: relative;
}

.logo a.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.35em;
    font-weight: 900;
    white-space: nowrap;
}

.header-logo-icon {
    height: 40px;
    width: auto;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: contain;
}

.logo-text {
    color: var(--primary-blue);
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 10px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s, border-bottom 0.3s;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-orange);
    border-bottom: 2px solid var(--accent-orange);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--primary-blue);
    padding: 5px 10px;
    z-index: 1001;
}

.hero-slider {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    opacity: 0;
    z-index: 1;
    transition: opacity 2.0s ease-in-out;
}

.slider-item.active {
    opacity: 1;
    z-index: 2;
}

.slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    padding: 20px;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 2.2em;
    line-height: 1;
    border-radius: 50%;
    opacity: 0.8;
    transition: background-color 0.3s, opacity 0.3s;
}

.slider-nav:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.trust-bar {
    background-color: var(--primary-blue);
    color: white;
    padding: 15px 0;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}

.trust-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    font-weight: bold;
    text-align: center;
}

.trust-item {
    padding: 5px 10px;
}

.detailed-services {
    background-color: white;
    padding-top: 50px;
    padding-bottom: 50px;
}

.detailed-services h2 {
    margin-bottom: 50px;
    font-size: 2em;
    letter-spacing: 2px;
}

.service-details-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.left-column, .right-column {
    flex: 1;
    max-width: 450px;
}

.center-image {
    flex-shrink: 0;
    width: 350px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
    margin-top: 50px;
}

.center-plumber-img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.service-image-container {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 5px;
}

.service-large-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 0;
    width: 100%;
}

.text-content {
    flex-grow: 1;
    max-width: calc(100% - 80px - 20px);
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    display: block;
}

.service-link:hover {
    color: var(--accent-orange);
}

.left-column .detail-item {
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    gap: 20px;
}

.left-column .service-image-container {
    order: 1;
}

.left-column .text-content {
    order: 2;
}

.right-column .detail-item {
    flex-direction: row;
    text-align: right;
    justify-content: flex-end;
    gap: 20px;
}

.right-column .service-image-container {
    order: 2;
}

.right-column .text-content {
    order: 1;
}

.feedback-contact-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.testimonial-list-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.testimonial-item-modern {
    background: white;
    padding: 25px;
    border-left: 5px solid var(--primary-blue);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.testimonial-item-modern footer {
    margin-top: 10px;
    font-style: italic;
    color: var(--accent-orange);
    font-weight: bold;
}

.review-form-container-full {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-top: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-form input[type="text"],
.review-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

#form-message, #contact-form-message {
    text-align: center;
    padding: 15px;
    margin-top: 15px;
    border-radius: 5px;
    font-weight: bold;
    display: none;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-details-block, .contact-form-block {
    flex: 1;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-form-block {
    background-color: var(--background-light);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.8em;
    color: var(--accent-orange);
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.whatsapp-icon {
    color: #25D366;
}

.contact-link {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-details-block h4 {
    margin-bottom: 3px;
    font-size: 1em;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.map-section {
    padding-bottom: 80px;
}

.map-section h2 {
    margin-bottom: 30px;
}

.map-section iframe {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,1);
}

.page-hero-small {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center bottom;
    color: white;
    text-align: left;
}

.page-hero-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.page-hero-small .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-hero-small .page-title {
    font-size: 2.5em;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.page-hero-small p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.content-section {
    background-color: white;
}

.lokal-uzmanlik {
    margin-bottom: 50px;
    text-align: center;
}

.lokal-uzmanlik .lead-text {
    font-size: 1.1em;
    color: var(--text-dark);
    max-width: 800px;
    margin: 20px auto 30px;
}

.advantage-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.adv-item {
    background-color: var(--background-light);
    padding: 15px 20px;
    border-radius: 5px;
    flex: 1;
    min-width: 250px;
    font-weight: bold;
    color: var(--primary-blue);
    border-left: 5px solid var(--accent-orange);
}

.service-detail-block {
    margin: 50px 0;
    padding: 30px 0;
    border-bottom: 1px dashed #ddd;
}

.service-detail-block h2 {
    text-align: left;
    margin-bottom: 25px;
    font-size: 1.8em;
    border-bottom: 2px solid var(--accent-orange);
    display: inline-block;
    padding-bottom: 5px;
}

.content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.service-detail-block p {
    flex: 1;
    font-size: 1.05em;
    line-height: 1.7;
}

.service-image {
    width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.service-detail-block.reverse .content-flex {
    flex-direction: row-reverse;
}

.lokal-servis-alani {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--background-light);
    border-radius: 8px;
    margin-top: 50px;
}

.lokal-area-list span {
    display: inline-block;
    margin: 10px;
    padding: 8px 15px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 20px;
    font-weight: bold;
}

.internal-linking-section {
    padding: 50px 0;
    text-align: center;
}

.internal-linking-section h3 {
    font-size: 1.5em;
}

.link-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.link-item {
    background-color: #f0f0f0;
    color: var(--text-dark);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
    border: 1px solid #ddd;
}

.link-item:hover {
    background-color: var(--accent-orange);
    color: white;
}

.service-detail-full .intro-flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.intro-image {
    width: 40%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step-item {
    background-color: var(--background-light);
    padding: 25px;
    border-radius: 8px;
    border-top: 5px solid var(--primary-blue);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
}

.step-number {
    display: block;
    font-size: 2.5em;
    color: var(--accent-orange);
    font-weight: bold;
    margin-bottom: 10px;
}

.step-item h3 {
    color: var(--primary-blue);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.lokal-cta-block {
    text-align: center;
    padding: 40px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 8px;
    margin-top: 50px;
}

.lokal-cta-block h2 {
    color: white;
}

.lokal-cta-block p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.main-footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 40px 0 0;
}

.main-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-widget {
    margin-bottom: 30px;
    min-width: 200px;
}

.footer-widget h4 {
    color: var(--accent-orange);
    margin-bottom: 15px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget li {
    margin-bottom: 8px;
}

.footer-widget a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.sub-footer-bar {
    background-color: #003366;
    padding: 15px 0;
    margin-top: 30px;
}

.sub-footer-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
}

.legal-links a {
    color: white;
    text-decoration: none;
}

.separator {
    margin: 0 10px;
}

#fixed-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fixed-button {
    text-align: center;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.call-btn {
    background-color: var(--accent-orange);
    color: white !important;
}

.whatsapp-btn {
    background-color: #25d366;
    color: white !important;
}



@media (max-width: 1080px) {
    
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        position: relative;
        z-index: 1001;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: var(--primary-blue);
        cursor: pointer;
        padding: 10px;
        margin-left: 10px;
        transition: all 0.3s ease;
    }
    
    .menu-toggle:hover {
        color: var(--accent-orange);
    }
    
    
    .main-nav {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        transition: all 0.4s ease;
        overflow-y: auto;
        padding-top: 80px;
    }
    
    
    .main-nav.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }
    
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        margin: 0;
        width: 100%;
    }
    
    .main-nav li {
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: left;
    }
    
    .main-nav li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        border-bottom: none !important;
        font-size: 1.1rem;
        color: var(--text-dark);
        transition: all 0.3s ease;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        background-color: var(--background-light);
        border-bottom: none !important;
        color: var(--accent-orange);
        padding-left: 25px;
    }
    
    
    .main-nav a.cta-button {
        margin: 15px 20px;
        text-align: center;
        display: block;
        width: calc(100% - 40px);
        background-color: var(--accent-orange);
        color: white !important;
        border-radius: 5px;
        font-size: 1.1rem;
        padding: 12px 20px;
    }
    
    .main-nav a.cta-button:hover {
        background-color: #e65c00;
        color: white !important;
        padding-left: 20px;
    }
    
    
    body.menu-open {
        overflow: hidden;
    }
    
    
    .menu-toggle i {
        transition: transform 0.3s ease;
    }
    
    .menu-toggle.active i.fa-bars {
        display: none;
    }
    
    .menu-toggle:not(.active) i.fa-times {
        display: none;
    }
}

@media (max-width: 1100px) {
    .center-image {
        display: none;
    }
    
    .service-details-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .left-column .detail-item,
    .right-column .detail-item {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .content-flex,
    .service-detail-full .intro-flex {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-line {
        margin-bottom: 5px;
    }
    
    .social-links {
        margin-top: 5px;
    }
    
    .hero-slider {
        height: 45vh;
    }
    
    .hero-content h1,
    .page-title {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        margin-top: 10px !important;
        display: block;
        color: white;
    }
    
    .hero-content p {
        font-size: 0.95rem !important;
        line-height: 1.5;
        padding: 0 15px;
    }
    
    .slider-nav {
        padding: 6px 10px;
        font-size: 1.2em;
    }
    
    .trust-bar .container {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-widget {
        min-width: 100%;
        margin-bottom: 20px;
    }
    
    .sub-footer-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .top-bar {
        font-size: 0.8rem;
        padding: 5px 0;
    }
    
    .navbar .container {
        padding: 8px 15px;
    }
    
    .logo a.logo-link {
        font-size: 1.1em;
    }
    
    .header-logo-icon {
        height: 32px;
    }
}


@media (max-width: 480px) {
    .hero-slider {
        height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 1.4rem !important;
    }
    
    .hero-content p {
        font-size: 0.85rem !important;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .fixed-button {
        min-width: 130px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    #fixed-cta {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}