/* =====================================================
   KAYABEY BOYA - ANA STIL DOSYASI
   Düzce Boyacı Ustası Web Sitesi
   ===================================================== */

/* ---------- GENEL ---------- */
:root {
    --primary: #e67e22;
    --primary-dark: #d35400;
    --primary-light: #f39c12;
    --secondary: #2c3e50;
    --secondary-dark: #1a252f;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --success: #27ae60;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- BUTONLAR ---------- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(230, 126, 34, 0.4);
    color: var(--white);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary-custom:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ---------- TOPBAR ---------- */
.topbar {
    background: var(--secondary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.topbar a {
    color: rgba(255,255,255,0.85);
}

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

.topbar-left span {
    margin-right: 20px;
}

.topbar-left i {
    color: var(--primary);
    margin-right: 5px;
}

.topbar-right a {
    margin-left: 12px;
    font-size: 1rem;
}

/* ---------- NAVBAR ---------- */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 12px 0;
    transition: var(--transition);
    z-index: 1050;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary) !important;
}

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

.navbar .nav-link {
    color: var(--secondary) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    font-size: 0.95rem;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.navbar .btn-call {
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 8px 20px !important;
    font-weight: 600;
}

.navbar .btn-call:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.navbar .btn-call::after {
    display: none;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23e67e22" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,250.7C960,235,1056,181,1152,165.3C1248,149,1344,171,1392,181.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-content .btn-group-hero {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.hero-stat {
    text-align: center;
}

.hero-stat h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.hero-stat p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    display: inline-block;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: var(--radius);
    z-index: -1;
}

/* ---------- HİZMETLER ---------- */
.services-section {
    background: var(--light);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    height: 100%;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card .icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(230, 126, 34, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

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

.service-card:hover .icon-box i {
    color: var(--white);
}

.service-card h5 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.service-card p {
    color: var(--gray);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ---------- HAKKIMIZDA ---------- */
.about-section .about-img-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-section .about-img-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin: 0;
    line-height: 1;
}

.about-experience-badge p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-features li {
    padding: 8px 0;
    font-size: 1rem;
    color: var(--secondary);
}

.about-features li i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* ---------- NEDEN BİZ ---------- */
.why-us-section {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    color: var(--white);
}

.why-us-card {
    text-align: center;
    padding: 30px 20px;
}

.why-us-card .icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.why-us-card:hover .icon-circle {
    background: var(--primary);
}

.why-us-card .icon-circle i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.why-us-card:hover .icon-circle i {
    color: var(--white);
}

.why-us-card h5 {
    color: var(--white);
    margin-bottom: 10px;
}

.why-us-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
}

/* ---------- REFERANSLAR ---------- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
    position: relative;
    border-left: 4px solid var(--primary);
}

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: rgba(230, 126, 34, 0.15);
    margin-bottom: 10px;
}

.testimonial-card p {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testimonial-card .stars {
    color: #f1c40f;
    margin-bottom: 15px;
}

.testimonial-card .customer-info h6 {
    color: var(--secondary);
    margin-bottom: 3px;
    font-size: 1rem;
}

.testimonial-card .customer-info small {
    color: var(--gray);
}

/* ---------- CTA ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta-section .btn-cta {
    background: var(--white);
    color: var(--primary);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.cta-section .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* ---------- İLETİŞİM ---------- */
.contact-section .contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(230, 126, 34, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item .icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-info-item h6 {
    margin-bottom: 3px;
    color: var(--secondary);
    font-size: 0.95rem;
}

.contact-info-item p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-form-card .form-control {
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--secondary-dark);
    color: rgba(255,255,255,0.8);
    padding-top: 60px;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-links li a i {
    margin-right: 8px;
    color: var(--primary);
    font-size: 0.8rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
}

.footer .social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    margin-right: 8px;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ---------- WHATSAPP BUTON ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 3px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- SCROLL TOP ---------- */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 95px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    z-index: 9998;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.scroll-top.show {
    display: flex;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ---------- PAGE HEADER ---------- */
.page-header {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    background: none;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.page-header .breadcrumb-item.active {
    color: var(--primary);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ---------- GALERİ ---------- */
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 126, 34, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* ---------- İLETİŞİM SAYFASI MAP ---------- */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ---------- ALERT / MESAJ ---------- */
.alert-success-custom {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
    border-radius: 8px;
    padding: 15px 20px;
}

/* ---------- LOADING SPINNER ---------- */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.spinner-overlay.hide {
    opacity: 0;
    visibility: hidden;
}

/* ---------- RESPONSİVE ---------- */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .topbar {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 70vh;
        padding-top: 100px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .hero-stat h3 {
        font-size: 1.6rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .btn-group-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}
