:root {
    --navy: #1e3a5f;
    --navy-light: #2c5282;
    --gold: #f39c12;
    --gold-hover: #d68910;
    --dark: #0f172a;
    --light: #f8fafc;
    --text: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    animation: loaderAutoHide 0.45s ease 1.2s forwards;
}
#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(243, 156, 18, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes loaderAutoHide {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* Typography & Layout Utility */
.section-padding {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.5rem;
    color: var(--navy);
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--gold);
    border-radius: 2px;
}
.section-title p {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 1.1rem;
}

/* Buttons */
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-navy {
    background-color: var(--navy);
    color: var(--white) !important;
}
.btn-navy:hover {
    background-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 95, 0.2);
}
.btn-gold {
    background-color: var(--gold);
    color: var(--white) !important;
}
.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.2);
}
.btn-outline-navy {
    border-color: var(--navy);
    color: var(--navy) !important;
    background: transparent;
}
.btn-outline-navy:hover {
    background-color: var(--navy);
    color: var(--white) !important;
}
.btn-outline-gold {
    border-color: var(--gold);
    color: var(--gold) !important;
    background: transparent;
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--white) !important;
}

/* Header & Navigation */
.top-bar {
    background-color: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar a:hover {
    color: var(--gold);
}
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    padding: 15px 0;
}
.navbar-custom.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
}
.navbar-brand img {
    height: 50px;
    transition: var(--transition);
}
.navbar-custom.scrolled .navbar-brand img {
    height: 40px;
}
.nav-link-custom {
    color: var(--navy) !important;
    font-weight: 600;
    padding: 8px 16px !important;
    border-radius: 4px;
    transition: var(--transition);
}
.nav-link-custom:hover, .nav-item.active .nav-link-custom {
    color: var(--gold) !important;
}

/* Hero Slider */
.hero-slider {
    height: 90vh;
    position: relative;
    overflow: hidden;
}
.swiper-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.4));
    color: var(--white);
}
.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-text-wrapper {
    max-width: 800px;
    padding: 0 20px;
}
.slide-text-wrapper h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease both;
}
.slide-text-wrapper p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}
.slide-text-wrapper .btn-custom {
    animation: fadeInUp 1s ease 0.4s both;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow);
    border-radius: 12px;
    transition: var(--transition);
}
.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(243, 156, 18, 0.3);
}

/* Info Cards */
.info-card {
    padding: 40px 30px;
    text-align: center;
    height: 100%;
}
.info-card .icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 58, 95, 0.1);
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: var(--transition);
}
.info-card:hover .icon-box {
    background-color: var(--gold);
    color: var(--white);
    transform: rotateY(360deg);
}
.info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--navy);
}

/* Product Cards */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.product-img-box {
    height: 240px;
    overflow: hidden;
    position: relative;
}
.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-img-box img {
    transform: scale(1.08);
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--navy);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Counters */
.counter-section {
    background: linear-gradient(rgba(30, 58, 95, 0.9), rgba(15, 23, 42, 0.95)), url('../images/bg-counter.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 60px 0;
}
.counter-box {
    text-align: center;
}
.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 10px;
}
.counter-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.8;
}

/* Projects Gallery */
.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 300px;
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(30, 58, 95, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}
.project-card:hover img {
    transform: scale(1.05);
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.project-overlay h4 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.project-overlay p {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.project-overlay span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* Catalog */
.catalog-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}
.catalog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.catalog-card span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.82);
    color: var(--white);
    font-weight: 700;
    font-size: 0.92rem;
}
.catalog-card:hover img {
    transform: scale(1.05);
}

/* CTA Area */
.cta-section {
    background-color: var(--gold);
    color: var(--white);
    padding: 60px 0;
}
.cta-text h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.cta-text p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
}

/* Breadcrumb */
.page-header-bg {
    background: linear-gradient(rgba(30, 58, 95, 0.85), rgba(15, 23, 42, 0.9)), url('../images/page-header.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}
.page-header-bg h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.breadcrumb-custom {
    display: inline-flex;
    padding: 0;
    margin: 0;
}
.breadcrumb-custom li {
    font-size: 0.95rem;
}
.breadcrumb-custom li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: var(--gold);
}
.breadcrumb-custom li.active {
    color: var(--gold);
}

/* Contact Info Box */
.contact-info-wrapper {
    background-color: var(--navy);
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
    height: 100%;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.contact-info-item .icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-right: 20px;
    margin-top: 5px;
}
.contact-info-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.contact-info-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: var(--white);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
    border-top: 5px solid var(--gold);
}
.footer-logo {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    max-width: 240px;
}
.footer-logo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}
.footer-widget h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}
.footer-contact li {
    display: flex;
    margin-bottom: 15px;
}
.footer-contact i {
    color: var(--gold);
    margin-right: 15px;
    margin-top: 5px;
}
.social-icons-custom a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}
.social-icons-custom a:hover {
    background-color: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-bottom {
    background-color: #0b111e;
    padding: 20px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Sidebar Categories */
.category-sidebar {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}
.category-sidebar h4 {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}
.category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    transition: var(--transition);
}
.category-list li a:hover, .category-list li.active a {
    background-color: var(--navy);
    color: var(--white);
}

/* Admin Styles */
.admin-body {
    background-color: #f1f5f9;
}
#admin-wrapper {
    display: flex;
    min-height: 100vh;
}
#sidebar {
    width: 260px;
    background-color: var(--navy);
    color: var(--white);
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 1000;
}
#sidebar.collapsed {
    margin-left: -260px;
}
.sidebar-header {
    padding: 20px;
    background-color: #152943;
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
}
.sidebar-menu {
    padding: 20px 0;
}
.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}
.sidebar-menu a i {
    width: 25px;
    font-size: 1.1rem;
    margin-right: 15px;
}
.sidebar-menu a:hover, .sidebar-menu li.active a {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--gold);
}
#main-content {
    flex-grow: 1;
    transition: var(--transition);
    overflow-y: auto;
}
.admin-navbar {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    padding: 15px 30px;
}
.admin-content-inner {
    padding: 40px 30px;
}

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
@media (max-width: 991.98px) {
    .slide-text-wrapper h1 {
        font-size: 2.5rem;
    }
    .hero-slider {
        height: 70vh;
    }
    .navbar-custom {
        padding: 10px 0;
    }
    .navbar-brand img,
    .brand-logo {
        max-height: 56px;
        width: auto;
    }
}
@media (max-width: 767.98px) {
    .slide-text-wrapper h1 {
        font-size: 2rem;
    }
    .slide-text-wrapper p {
        font-size: 1rem;
    }
    .slide-text-wrapper {
        padding: 0 8px;
    }
    .hero-slider {
        height: 62vh;
        min-height: 440px;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .section-padding {
        padding: 56px 0;
    }
    .page-header-bg {
        padding: 42px 0;
        margin-bottom: 32px;
    }
    .page-header-bg h1 {
        font-size: 2rem;
    }
    .btn-custom {
        width: 100%;
        padding: 12px 18px;
    }
    .cta-section .d-flex {
        flex-direction: column;
    }
    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 18px;
        bottom: 18px;
        font-size: 27px;
    }
    #sidebar {
        position: fixed;
        height: 100vh;
    }
    #sidebar.collapsed {
        margin-left: -260px;
    }
    #sidebar:not(.collapsed) {
        margin-left: 0;
    }
}


/* 2026 iyileştirmeleri: mobil iletişim, yorumlar, SSS, teklif fotoğrafı */
.feature-strip {
    background: linear-gradient(135deg, var(--navy), #132238);
    color: var(--white);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
}
.feature-strip .feature-mini {
    display: flex;
    align-items: center;
    gap: 14px;
}
.feature-strip .feature-mini i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(243, 156, 18, .18);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.testimonial-card, .faq-card, .seo-box {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.testimonial-card {
    height: 100%;
    padding: 28px;
}
.testimonial-card .quote-icon {
    font-size: 34px;
    color: rgba(243, 156, 18, .35);
}
.faq-card {
    overflow: hidden;
}
.faq-card .accordion-button {
    font-weight: 700;
    color: var(--navy);
}
.faq-card .accordion-button:not(.collapsed) {
    background: rgba(243, 156, 18, .10);
    color: var(--navy);
}
.seo-box {
    padding: 24px;
    background: linear-gradient(180deg, #fff, #f8fafc);
}
.mobile-contact-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    background: var(--navy);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,.28);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}
.mobile-contact-bar a {
    color: #fff;
    text-align: center;
    padding: 10px 6px;
    font-size: 12px;
    font-weight: 700;
    border-right: 1px solid rgba(255,255,255,.12);
}
.mobile-contact-bar a:last-child { border-right: 0; }
.mobile-contact-bar i {
    display: block;
    font-size: 19px;
    color: var(--gold);
    margin-bottom: 3px;
}
.uploaded-preview {
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.admin-note-box {
    background: #fff7e6;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 12px;
}
@media (max-width: 767.98px) {
    body { padding-bottom: 82px; }
    .whatsapp-float { display: none; }
    .feature-strip { padding: 20px; }
    .feature-strip .feature-mini { margin-bottom: 18px; }
}
