/* ATILIM DİJİTAL */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #fca311; /* Soft Orange */
    --primary-dark: #e85d04;
    --secondary: #14213d; /* Dark Blue Text */
    --bg-light: #f8f9fa; /* Very Light Grey */
    --white: #ffffff;
    --text-color: #4a4a4a;
    --border-color: #e5e5e5;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --whatsapp-green: #25d366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* BUTTONS */
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(252, 163, 17, 0.3);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: #14213d;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--white);
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* HEADER - SOFT STYLE */
.soft-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
}
.soft-header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo i { color: var(--primary); font-size: 28px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; font-size: 14px; }
.logo-text span:first-child { color: var(--secondary); letter-spacing: 2px; }
.logo-text span:last-child { color: var(--primary); font-size: 18px; }

.main-nav ul { display: flex; gap: 30px; }
.main-nav ul li a {
    font-weight: 500;
    color: var(--secondary);
    font-size: 15px;
    position: relative;
}
.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
.main-nav ul li a:hover::after { width: 100%; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    width: 250px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 3px solid var(--primary);
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-color);
}
.dropdown-menu a:hover { background-color: var(--bg-light); color: var(--primary); }

.header-action { display: flex; align-items: center; gap: 15px; }
.btn-call {
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
    transition: var(--transition);
}
.btn-call:hover { background: var(--secondary); color: var(--white); }
.btn-call i { color: var(--primary); }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--secondary); }

/* HERO - SOFT */
.hero-soft {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
    display: flex;
    align-items: center;
}
.hero-soft .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 20px;
}
.hero-content .highlight { color: var(--primary); }
.hero-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}
.hero-btns { display: flex; gap: 15px; }
.hero-features { margin-top: 30px; display: flex; gap: 20px; color: var(--secondary); font-weight: 600; }
.hero-features i { color: var(--whatsapp-green); margin-right: 5px; }
.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

/* SECTIONS */
.services-section, .products-section, .gallery-section, .testimonials-section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 36px; color: var(--secondary); margin-bottom: 10px; position: relative; display: inline-block; }
.section-title h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--primary); }
.section-title p { color: #666; margin-top: 15px; }

/* SERVICE CARDS - SOFT */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.icon-box {
    width: 70px;
    height: 70px;
    background-color: #fff7ed;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: var(--transition);
}
.service-card:hover .icon-box { background-color: var(--primary); color: var(--white); }
.service-card h3 { font-size: 20px; margin-bottom: 15px; color: var(--secondary); }
.service-card p { font-size: 14px; color: #666; margin-bottom: 20px; }
.read-more { font-weight: 600; color: var(--primary); font-size: 14px; }

/* === NEW: PRODUCT CARDS (GRID) === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid #eee;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.product-img { 
    position: relative; 
    overflow: hidden; 
}

.product-img img { 
    width: 100%; 
    height: auto; 
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease; 
}

.product-card:hover .product-img img { 
    transform: scale(1.05); 
}

.price-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.product-info { padding: 25px; }
.product-info h3 { font-size: 18px; color: var(--secondary); margin-bottom: 10px; font-weight: 600; }
.product-short-desc { font-size: 13px; color: #666; margin-bottom: 15px; line-height: 1.5; }
.product-features-mini { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; font-size: 12px; color: #555; }
.product-features-mini span { background: #f0f0f0; padding: 4px 10px; border-radius: 4px; }
.product-features-mini i { color: var(--whatsapp-green); margin-right: 4px; }
.btn-product-detail {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--secondary);
    color: var(--white);
    padding: 10px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}
.btn-product-detail:hover { background: var(--primary); }


/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
}
.gallery-item img:hover { transform: scale(1.03); box-shadow: var(--shadow); }

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}
.stars { color: #ffc107; margin-bottom: 15px; }
.testimonial-card p { font-style: italic; color: #555; margin-bottom: 20px; }
.testimonial-card h4 { color: var(--secondary); margin-bottom: 5px; }
.testimonial-card span { font-size: 13px; color: #888; }

/* INNER PAGE */
.page-header {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
}
.page-header .overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 33, 61, 0.7); /* Dark Blue overlay */
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); font-size: 42px; margin-bottom: 20px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.breadcrumb { display: flex; justify-content: center; gap: 10px; color: #ddd; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li::after { content: '/'; margin-left: 10px; color: #aaa; }
.breadcrumb li:last-child::after { content: ''; }

.page-content { padding: 60px 0; }
.content-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }

/* ARTICLE CARD & PRODUCT DETAIL CARD */
.service-article-card, .product-article-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    color: var(--text-color);
}
.service-article-card h2, .service-article-card h3 { color: var(--secondary); margin-bottom: 20px; margin-top: 30px; }
.service-article-card p { margin-bottom: 15px; line-height: 1.8; }
.service-article-card ul, .service-article-card ol { margin-bottom: 20px; padding-left: 20px; }
.service-article-card li { margin-bottom: 10px; }
.service-article-card strong { color: var(--secondary); }
.lead { font-size: 18px; color: #333; margin-bottom: 30px; border-left: 4px solid var(--primary); padding-left: 20px; }

/* === NEW: PRODUCT DETAIL STYLES === */
.product-main-image { 
    margin-bottom: 30px; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: var(--shadow); 
}

.product-main-image img { 
    width: 100%; 
    height: auto; 
    display: block;
    object-fit: cover; 
}

.product-features-block { 
    background: #f8f9fa; 
    padding: 25px; 
    border-radius: 10px; 
    margin-bottom: 30px; 
    border: 1px solid #eee; 
}

.product-features-block h2 { 
    color: var(--secondary); 
    margin-bottom: 15px; 
    font-size: 20px; 
}

.feature-list li { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 10px; 
    font-weight: 500; 
}

.feature-list li i { 
    color: var(--whatsapp-green); 
    font-size: 18px; 
}

.product-desc-block h2 { 
    color: var(--secondary); 
    margin-bottom: 15px; 
    font-size: 20px; 
    margin-top: 0; 
}

.product-desc-block p { 
    margin-bottom: 15px; 
    line-height: 1.8; 
}

.product-cta-actions { 
    margin-top: 40px; 
    padding-top: 30px; 
    border-top: 1px solid #eee; 
    text-align: center; 
}

.price-tag { font-size: 18px; margin-bottom: 20px; color: #555; }
.price-tag strong { font-size: 32px; color: var(--secondary); display: block; }
.action-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.btn-buy-now {
    background: var(--whatsapp-green);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: flex; align-items: center; gap: 10px;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}
.btn-buy-now:hover { background: #1ebc57; transform: translateY(-3px); }

.btn-get-offer {
    background: var(--secondary);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: flex; align-items: center; gap: 10px;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(20, 33, 61, 0.3);
    transition: var(--transition);
}
.btn-get-offer:hover { background: #0f1a30; transform: translateY(-3px); }
.cta-note { font-size: 12px; color: #888; margin-top: 15px; }


/* Article CTA Box */
.article-cta-box {
    background: #fff7ed;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    border: 1px solid var(--primary);
}
.btn-article-call {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 15px 40px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(252, 163, 17, 0.4);
}
.btn-article-call:hover { transform: scale(1.05); }

/* SIDEBAR - DRILL DOWN */
.widget { background: var(--white); padding: 25px; border-radius: 10px; box-shadow: var(--shadow); margin-bottom: 30px; }
.widget h3 { font-size: 20px; color: var(--secondary); border-bottom: 2px solid var(--bg-light); padding-bottom: 15px; margin-bottom: 20px; }

/* Emergency Widget */
.emergency-widget { text-align: center; border-top: 4px solid #ef4444; }
.emergency-icon { font-size: 40px; color: #ef4444; margin-bottom: 15px; }
.btn-emergency { display: block; background: #ef4444; color: #fff; padding: 12px; border-radius: 8px; font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.btn-emergency:hover { background: #dc2626; color: #fff; }
.btn-whatsapp-sidebar { display: block; background: var(--whatsapp-green); color: #fff; padding: 12px; border-radius: 8px; font-weight: 600; }
.btn-whatsapp-sidebar:hover { background: #1ebc57; color: #fff; }

.location-list h4 { color: var(--primary); margin-bottom: 15px; font-size: 16px; }
.back-link { display: block; margin-bottom: 15px; font-size: 14px; color: #666; font-weight: 600; }
.back-link:hover { color: var(--primary); }
.location-list ul, .services-widget ul { max-height: 400px; overflow-y: auto; }
.location-list ul li, .services-widget ul li { margin-bottom: 10px; }
.location-list ul li a, .services-widget ul li a {
    display: block;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: 5px;
    font-size: 14px;
    color: #555;
    transition: var(--transition);
}
.location-list ul li a:hover, .services-widget ul li a:hover {
    background: var(--primary);
    color: var(--white);
    padding-left: 15px;
}
.location-list ul li a i { margin-right: 8px; color: var(--primary); }
.location-list ul li a:hover i { color: var(--white); }

/* FOOTER */
.soft-footer { background: var(--secondary); color: #ccc; padding: 70px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { color: var(--white); font-size: 24px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.footer-logo i { color: var(--primary); }
.footer-col h3 { color: var(--white); margin-bottom: 25px; font-size: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a:hover { color: var(--primary); padding-left: 5px; }
.contact-list li { display: flex; gap: 15px; margin-bottom: 15px; }
.contact-list li i { color: var(--primary); width: 20px; text-align: center; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 14px; }

/* STICKY BUTTONS */
.sticky-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}
.sticky-wa, .sticky-call {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    position: relative;
    transition: var(--transition);
}
.sticky-wa { background: var(--whatsapp-green); }
.sticky-call { background: var(--primary); }
.sticky-wa:hover, .sticky-call:hover { transform: scale(1.1); }

.tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
}
.sticky-wa:hover .tooltip, .sticky-call:hover .tooltip { opacity: 1; visibility: visible; right: 75px; }

/* MOBILE */
.mobile-menu {
    position: fixed;
    top: 0; right: -300px; width: 300px; height: 100%;
    background: var(--white); z-index: 2000;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    padding: 20px;
    overflow-y: auto;
}
.mobile-menu.active { right: 0; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; font-weight: 700; font-size: 18px; color: var(--secondary); }
#closeMenu { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--secondary); }
.mobile-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border-color); color: var(--text-color); font-weight: 500; }
.mobile-dropdown-title { margin-top: 20px; margin-bottom: 10px; color: var(--primary); font-weight: 700; }
.sub-link { padding-left: 15px !important; font-size: 14px; color: #666 !important; }

@media (max-width: 991px) {
    .main-nav, .btn-call { display: none; }
    .mobile-toggle { display: block; }
    .hero-soft .container { grid-template-columns: 1fr; text-align: center; }
    .hero-image { display: none; }
    .hero-btns { justify-content: center; }
    .content-wrapper { grid-template-columns: 1fr; }
    .sidebar { order: 2; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 32px; }
    
    /* Mobile for Products */
    .action-buttons { flex-direction: column; width: 100%; }
    .btn-buy-now, .btn-get-offer { width: 100%; justify-content: center; }
}