/* ═══════════════════════════════════════════════════════
   İremsoft – Shared Modern Stylesheet
   Bootstrap 5.3 + custom design system
   ═══════════════════════════════════════════════════════ */

:root {
    --primary: #c10841;
    --primary-dark: #9a0634;
    --dark: #16213e;
    --dark2: #1a1a2e;
    --text: #444;
    --light-bg: #f7f8fc;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    font-size: 15px;
}

/* ── HEADER ── */
.site-header {
    background: var(--dark2);
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.site-header .logo img {
    height: 46px;
    width: auto;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.82) !important;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
    padding: 1.4rem 0.9rem !important;
    transition: color 0.2s;
}

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

.header-phone {
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}
.header-phone:hover { color: var(--primary); }

/* Language switch */
.lang-switch {
    display: flex;
    gap: 2px;
    align-items: center;
}
.lang-switch a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}
.lang-switch a.active {
    background: var(--primary);
    color: white;
}
.lang-switch a:hover:not(.active) {
    color: white;
}

/* Mega menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 1.5rem;
}
.mega-menu { min-width: 680px; }
.menu-col h6 {
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.dropdown-item {
    font-size: 0.83rem;
    color: #555;
    padding: 0.3rem 0;
    border-radius: 4px;
    transition: color 0.15s;
}
.dropdown-item:hover {
    background: none;
    color: var(--primary);
}

/* Navbar toggler */
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ── HERO CAROUSEL ── */
.hero-carousel .carousel-item {
    height: 540px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22,33,62,0.75) 0%, rgba(0,0,0,0.35) 100%);
}
.carousel-caption {
    position: absolute;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    left: 8%;
    right: auto;
    text-align: left;
    max-width: 540px;
    z-index: 2;
}
.carousel-caption .badge-label {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.carousel-caption h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}
.carousel-caption p,
.carousel-caption ul {
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.carousel-caption ul li {
    list-style: none;
    padding: 2px 0;
}
.carousel-caption .btn-hero {
    background: var(--primary);
    border: none;
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
}
.carousel-caption .btn-hero:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(4px);
}
.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    background: linear-gradient(135deg, var(--dark2) 0%, #2d2d4e 100%);
    padding: 3rem 0;
    color: white;
}
.page-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.page-hero .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}
.page-hero .breadcrumb-item { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.6); text-decoration: none; }
.page-hero .breadcrumb-item a:hover { color: var(--primary); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.9); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ── SECTION COMMON ── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.section-header p {
    color: #888;
    font-size: 0.95rem;
}
.section-divider {
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0.8rem auto 0;
}

/* ── SERVICES / CARDS ── */
.services-section { background: #fff; padding: 5rem 0; }
.service-card {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    cursor: default;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(193,8,65,0.1);
}
.service-icon {
    width: 68px;
    height: 68px;
    background: rgba(193,8,65,0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    transition: background 0.3s;
}
.service-card:hover .service-icon { background: var(--primary); }
.service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: color 0.3s;
}
.service-card:hover .service-icon i { color: #fff; }
.service-card h5 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.7rem;
}
.service-card p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.65;
    margin: 0;
}

/* ── FEATURE LIST (product pages) ── */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #f0f0f5;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li i {
    color: var(--primary);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ── CTA SIDEBAR (product pages) ── */
.cta-sidebar {
    position: sticky;
    top: 80px;
}
.cta-sidebar .cta-card {
    background: linear-gradient(135deg, var(--dark2), #2d2d4e);
    border-radius: 14px;
    padding: 1.8rem 1.4rem;
    color: white;
    margin-bottom: 1rem;
}
.cta-sidebar .cta-card h6 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1rem;
}
.cta-sidebar .cta-card a {
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
    transition: all 0.2s;
}
.cta-sidebar .cta-card a:hover { transform: translateX(4px); filter: brightness(1.1); }

/* ── ABOUT ── */
.about-section { background: var(--light-bg); padding: 5rem 0; }
.about-section img {
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    width: 100%;
    object-fit: cover;
}
.about-section h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.2rem;
}
.about-section p {
    color: #666;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.btn-outline-primary-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: white;
}
.btn-primary-custom {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}
.cta-stack { display: flex; flex-direction: column; gap: 0.8rem; }
.cta-btn {
    display: block;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}
.cta-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.cta-btn .t { font-weight: 700; font-size: 0.9rem; display: block; }
.cta-btn .s { font-size: 0.76rem; opacity: 0.88; }

/* ── PRODUCT GALLERY CAROUSEL ── */
.product-gallery .carousel-item img {
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
    max-height: 320px;
}
.product-gallery .carousel-control-prev,
.product-gallery .carousel-control-next {
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

/* ── VIDEO EMBED ── */
.video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 1.5rem;
}
.video-wrapper video {
    width: 100%;
    display: block;
}

/* ── REFERENCE LOGOS ── */
.ref-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid #eef0f5;
    border-radius: 10px;
    background: #fff;
    transition: all 0.2s;
    height: 90px;
}
.ref-logo-item:hover {
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(193,8,65,0.1);
    transform: translateY(-3px);
}
.ref-logo-item img {
    max-height: 55px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.2s;
}
.ref-logo-item:hover img { filter: grayscale(0%); }

/* ── CONTACT PAGE ── */
.contact-info-card {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 14px;
    padding: 2rem;
}
.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(193,8,65,0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-icon i { color: var(--primary); font-size: 1rem; }
.contact-map iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 12px;
}

/* ── FORM PAGES ── */
.form-page-wrapper {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 14px;
    padding: 2rem;
}

/* ── PRICING TABLE ── */
.pricing-table th {
    background: var(--dark2);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.9rem 1rem;
}
.pricing-table td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-color: #eef0f5;
}
.pricing-table tbody tr:hover { background: rgba(193,8,65,0.03); }

/* ── PRIVACY / TEXT PAGES ── */
.text-page h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 0.8rem;
}
.text-page p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.text-page ul {
    color: #666;
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ── SITE MAP ── */
.sitemap-card {
    border: 1px solid #eef0f5;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
}
.sitemap-card h6 {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.sitemap-card a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    text-decoration: none;
    font-size: 0.88rem;
    padding: 4px 0;
    transition: color 0.15s;
}
.sitemap-card a:hover { color: var(--primary); }
.sitemap-card a i { font-size: 0.7rem; color: var(--primary); }

/* ── FOOTER ── */
footer { background: var(--dark2); color: rgba(255,255,255,0.65); padding-top: 4rem; }
footer .ft-title {
    color: rgba(255,255,255,0.95);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
footer a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    padding: 3px 0;
    transition: color 0.2s;
}
footer a:hover { color: var(--primary); }
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6) !important;
    margin-right: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.social-btn:hover {
    background: var(--primary) !important;
    color: #fff !important;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 3rem;
    padding: 1.2rem 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}
.footer-bottom a {
    display: inline;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .mega-menu { min-width: 100%; }
    .navbar-nav .nav-link { padding: 0.7rem 1rem !important; }
    .cta-sidebar { position: static; }
}
@media (max-width: 767px) {
    .hero-carousel .carousel-item { height: 420px; }
    .carousel-caption { left: 5%; right: 5%; max-width: 100%; }
    .carousel-caption h2 { font-size: 1.6rem; }
    .page-hero h1 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .hero-carousel .carousel-item { height: 360px; }
    .carousel-caption h2 { font-size: 1.3rem; }
}
