/* Genel Stiller */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
}

body {
    font-family: 'Poppins', sans-serif;
    padding-top: 76px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
}

.hero-section .carousel-item {
    height: 100vh;
}

.hero-section .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.hero-section .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: right;
    right: 10%;
    left: auto;
    max-width: 600px;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
    text-align: right;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    text-align: right;
}

.hero-section .btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    text-shadow: none;
    float: right;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 2rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary-color);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    transform: scale(1.1);
}

/* Ürünler Section */
.card {
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    aspect-ratio: 3/4;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 70%;
    width: 100%;
    object-fit: cover;
    padding: 0.5rem;
    background-color: #f8f9fa;
}

.card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 30%;
    background-color: #fff;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.card-text {
    font-size: 0.85rem;
    color: var(--secondary-color);
    line-height: 1.4;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hizmetler Section */
.service-box {
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-box:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0,123,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-box h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.service-box p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

/* İletişim Section */
.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.contact-info {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-details p {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.contact-details i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 0.8rem;
}

.contact-details a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-buttons .btn {
    padding: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-buttons .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.contact-buttons .btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    display: block;
}

.contact-buttons .btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: #fff;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
}

footer h4 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

footer h4::after {
    display: none;
}

.footer-brand p {
    color: #b3b3b3;
    line-height: 1.6;
}

.footer-brand img {
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.footer-brand img:hover {
    transform: scale(1.05);
}

.footer-services ul li {
    color: #b3b3b3;
    transition: all 0.3s ease;
}

.footer-services ul li:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-contact ul li {
    color: #b3b3b3;
    display: flex;
    align-items: center;
}

.footer-contact ul li i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

footer hr {
    border-color: rgba(255,255,255,0.1);
}

footer p {
    color: #b3b3b3;
}

/* WhatsApp Button Styles */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    transition: all 0.3s ease;
    display: none; /* Varsayılan olarak gizli */
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp i {
    font-size: 1.2em;
}

/* Mobil Menü Stilleri */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        padding: 80px 20px 20px;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
    }

    .navbar-nav .nav-link {
        font-size: 1.2rem;
        padding: 15px 20px;
        margin: 0;
        border-radius: 10px;
        background: rgba(0, 123, 255, 0.1);
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }

    .navbar-toggler {
        position: relative;
        z-index: 1001;
        border: none;
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(52, 58, 64, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 24px;
        height: 24px;
        transition: all 0.3s ease;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(52, 58, 64, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6L24 24M6 24L24 6'/%3e%3c/svg%3e");
    }

    .mobile-whatsapp-button {
        width: 100%;
        padding: 20px 0;
        margin-top: 20px;
        display: block; /* Mobil menüde göster */
    }

    .mobile-whatsapp-button .btn-whatsapp {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-whatsapp-button .btn-whatsapp i {
        font-size: 1.3rem;
        margin-right: 8px;
    }

    .mobile-whatsapp-button .btn-whatsapp:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

    .contact-map {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 50vh;
    }
    
    .hero-section .carousel-item {
        height: 50vh;
    }

    .hero-section .carousel-caption {
        text-align: right;
        right: 5%;
        padding: 0 10px;
    }
    .hero-section .carousel-caption h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        max-width: 100%;
        word-wrap: break-word;
        white-space: normal;
    }
    .hero-section .carousel-caption .lead {
        font-size: 1.3rem;
        line-height: 1.2;
        max-width: 100%;
        word-wrap: break-word;
        white-space: normal;
    }
    .hero-section .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
        float: right;
    }

    .card {
        aspect-ratio: 2/3;
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }

    .card-img-top {
        height: 65%;
        padding: 0.4rem;
        object-fit: contain;
    }

    .card-body {
        padding: 0.9rem;
        height: 35%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card-title {
        font-size: 1rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
        text-align: center;
    }

    .card-text {
        font-size: 0.85rem;
        line-height: 1.4;
        -webkit-line-clamp: 3;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .products .row {
        justify-content: center;
        margin: 0 -10px;
    }

    .products .col-12 {
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .navbar {
        padding: 0.6rem 0;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 12px 15px;
    }

    .service-box {
        padding: 1.5rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    .service-box h4 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .navbar-brand img {
        height: 50px;
    }

    .btn-whatsapp {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .contact-map iframe {
        height: 300px;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-buttons .btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .mobile-call-button {
        padding: 6px 12px;
    }
    
    .mobile-call-button i {
        font-size: 1rem;
    }
    
    .mobile-call-button span {
        font-size: 0.8rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Mobil Ara Butonu */
.mobile-call-button {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    text-decoration: none;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.mobile-call-button:hover {
    background-color: #0056b3;
    color: white;
    transform: translateY(-2px);
}

.mobile-call-button i {
    font-size: 1.2rem;
    margin-right: 5px;
}

.mobile-call-button span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Sabit WhatsApp Butonu */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    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: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.intro-section {
    background-color: #f8f9fa;
    position: relative;
}

.intro-section .intro-image {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-section .intro-badge {
    position: absolute;
    bottom: 20px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: rotate(-5deg);
    font-weight: 600;
}

.intro-section .intro-content h2 {
    font-weight: 700;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.intro-section .intro-content h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.intro-section .lead {
    color: #555;
    font-size: 1.1rem;
}

.intro-section .feature-item {
    display: flex;
    align-items: center;
}

.intro-section .feature-item i {
    font-size: 1.2rem;
}

.intro-section .feature-item span {
    font-weight: 500;
}

@media (max-width: 768px) {
    .intro-section .intro-badge {
        bottom: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .intro-section .lead {
        font-size: 1rem;
    }
}

/* Filtre Bakımı Bölümü Stilleri */
.filter-maintenance-section {
    background-color: #f8f9fa;
}

.filter-content {
    padding-right: 2rem;
}

.filter-content h2 {
    color: #333;
    font-weight: 600;
}

.filter-content .lead {
    color: #666;
    font-size: 1.1rem;
}

.maintenance-features .feature-item {
    display: flex;
    align-items: center;
    color: #666;
}

.maintenance-features .feature-item i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.maintenance-info h4 {
    color: #333;
    font-weight: 600;
}

.maintenance-info li {
    color: #666;
    display: flex;
    align-items: center;
}

.maintenance-info li i {
    color: #007bff;
    margin-right: 0.5rem;
}

.filter-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-left: 15px;
}

.filter-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.filter-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@media (max-width: 991px) {
    .filter-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .filter-image {
        margin-top: 2rem;
        margin-left: 0;
    }
}

/* Su Yumuşatma Sistemleri Bölümü Stilleri */
.water-softener-section {
    background-color: #fff;
}

.softener-content {
    padding-left: 2rem;
}

.softener-content h2 {
    color: #333;
    font-weight: 600;
    position: relative;
}

.softener-content h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.softener-content .lead {
    color: #666;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.softener-features .feature-item {
    display: flex;
    align-items: center;
    color: #555;
    font-weight: 500;
}

.softener-features .feature-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.softener-benefits h4 {
    color: #333;
    font-weight: 600;
}

.softener-benefits li {
    color: #555;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.softener-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-right: 15px;
}

.softener-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.softener-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .softener-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .softener-image {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .carousel-caption {
        text-align: right;
    }
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 1.1rem;
    }
} 