/* ============================================================
   ARCHIGOS - Global Stylesheet v2.0
   Color: Navy (#2C3E50) + Turquoise (#1ABC9C)
   ============================================================ */
html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

/* ============ VARIABLES ============ */
:root {
    --primary: #2C3E50;
    --primary-light: #34495E;
    --primary-dark: #1a2533;
    --accent: #1ABC9C;
    --accent-light: #48d1b5;
    --accent-dark: #16a085;
    --dark: #1a1a2e;
    --light: #f4f7fa;
    --gray: #7f8c8d;
    --white: #ffffff;
}

/* ============ BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background: var(--white);
}


a { transition: all 0.3s ease; }
img { max-width: 100%; }

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}
.top-bar a:hover { color: var(--accent); }
.top-bar-social a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    margin-left: 6px;
    font-size: 0.8rem;
}
.top-bar-social a:hover {
    background: var(--accent);
    color: white;
}

/* ============ NAVBAR ============ */
.main-navbar {
    background: var(--white);
    padding: 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: box-shadow 0.3s, background 0.3s;
}

.main-navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.navbar-logo img {
    height: 55px;
    transition: transform 0.3s;
}
.navbar-logo:hover img { transform: scale(1.03); }
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.navbar-menu a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px;
    text-decoration: none;
    position: relative;
    border-radius: 8px;
    display: block;
}
.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--accent);
    transition: all 0.3s;
    transform: translateX(-50%);
    border-radius: 2px;
}
.navbar-menu a:hover { color: var(--accent); }
.navbar-menu a:hover::after,
.navbar-menu a.active::after { width: 50%; }
.navbar-menu a.active { color: var(--accent); }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-lang {
    background: var(--light);
    border: 1.5px solid #dce1e6;
    color: var(--primary);
    padding: 7px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-lang:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: none;
}
.btn-whatsapp:hover {
    background: #1fb855;
    color: white;
    transform: translateY(-1px);
}
.btn-mobile-menu {
    display: none;
    background: none;
    border: 1.5px solid #dce1e6;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1.2rem;
    color: var(--primary);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #eee;
    padding: 15px 0;
}
.mobile-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-menu a:hover { color: var(--accent); background: var(--light); }

@media (max-width: 991px) {
    .navbar-menu { display: none !important; }
    .btn-mobile-menu { display: block; }
    .btn-whatsapp span { display: none; }

    /* ===== MOBİL NAVBAR FIX ===== */
    .navbar-inner {
        padding: 10px 0;
        gap: 8px;
    }
    .navbar-logo img {
        height: 40px;
    }
    .navbar-actions {
        gap: 6px;
        flex-shrink: 0;
    }
    .btn-lang {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    .btn-whatsapp {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    .btn-mobile-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        font-size: 1.3rem;
        z-index: 1060;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    .mobile-menu {
        position: relative;
        z-index: 1055;
    }
}

@media (max-width: 480px) {
    .navbar-logo img {
        height: 32px;
    }
    .btn-lang {
        padding: 5px 8px;
        font-size: 0.7rem;
    }
    .btn-whatsapp {
        padding: 7px 8px;
        border-radius: 50%;
    }
}


/* ============ HERO SLIDER ============ */
.hero-slider .carousel-item {
    height: 85vh;
    min-height: 600px;
    max-height: 800px;

    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,62,80,0.88) 0%, rgba(44,62,80,0.45) 60%, rgba(26,188,156,0.15) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 620px;
}
.hero-content .hero-badge {
    display: inline-block;
    background: rgba(26,188,156,0.2);
    border: 1px solid rgba(26,188,156,0.4);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}
.hero-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}
.btn-hero-primary {
    background: var(--accent);
    color: white;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    border: 2px solid var(--accent);
    font-size: 1rem;
    margin-right: 10px;
}
.btn-hero-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,188,156,0.35);
}
.btn-hero-outline {
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    font-weight: 600;
    padding: 14px 34px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}
.btn-hero-outline:hover {
    background: white;
    color: var(--primary);
}
.carousel-indicators [data-bs-target] {
    width: 35px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: rgba(255,255,255,0.4);
}
.carousel-indicators .active {
    background: var(--accent);
    width: 50px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(44,62,80,0.6);
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
}
@media (max-width: 768px) {
    .hero-slider .carousel-item { height: 70vh; min-height: 400px; max-height: 600px; }

    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 0.95rem; }
    .btn-hero-primary, .btn-hero-outline { padding: 11px 22px; font-size: 0.9rem; }
}

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--primary-dark); color: white; }
.section-header { margin-bottom: 50px; }
.section-header .accent-bar {
    width: 50px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 15px;
}
.text-center .accent-bar { margin-left: auto; margin-right: auto; }
.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}
.section-dark .section-header h2 { color: white; }
.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-top: 8px;
}
.section-dark .section-header p { color: rgba(255,255,255,0.65); }

/* ============ PRODUCT CARDS ============ */
.product-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #eef1f5;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: transparent;
}
.product-card-img {
    height: 210px;
    overflow: hidden;
    position: relative;
    background: var(--light);
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.product-card-body { padding: 18px 20px; }
.product-card-body .cat-label {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-card-body h5 {
    font-weight: 700;
    color: var(--primary);
    margin: 8px 0;
    font-size: 1rem;
}
.pet-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.73rem;
    font-weight: 600;
}
.pet-tag-cat { background: #fef3c7; color: #92400e; }
.pet-tag-dog { background: #dbeafe; color: #1e40af; }

/* ============ CATEGORY CARDS ============ */
.cat-card {
    background: white;
    border-radius: 14px;
    padding: 35px 20px;
    text-align: center;
    border: 1px solid #eef1f5;
    transition: all 0.4s ease;
    height: 100%;
    text-decoration: none;
    display: block;
}
.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--accent);
}
.cat-card-icon {
    width: 75px;
    height: 75px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.8rem;
    color: var(--accent-light);
}
.cat-card:hover .cat-card-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
}
.cat-card h5 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.05rem;
}
.cat-card p {
    color: var(--gray);
    font-size: 0.88rem;
    margin-bottom: 12px;
}
.cat-card .count {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ============ WHY CARDS ============ */
.why-card {
    text-align: center;
    padding: 25px 15px;
}
.why-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: rgba(26,188,156,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.5rem;
    color: var(--accent);
    transition: all 0.3s;
}
.section-dark .why-icon { background: rgba(26,188,156,0.15); }
.why-card:hover .why-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}
.why-card h5 { font-weight: 700; margin-bottom: 10px; font-size: 1.05rem; }
.why-card p { font-size: 0.92rem; opacity: 0.8; line-height: 1.65; }

/* ============ STATS BAR ============ */
.stats-bar {
    background: var(--primary);
    padding: 50px 0;
}
.stat-item { text-align: center; color: white; }
.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}
.stat-item .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--accent-dark) 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(26,188,156,0.08);
}
.cta-section h2 { font-size: 2.3rem; font-weight: 800; margin-bottom: 15px; }
.cta-section p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 30px; }
.btn-cta-white {
    background: white;
    color: var(--primary);
    padding: 13px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
    border: 2px solid white;
}
.btn-cta-white:hover {
    background: transparent;
    color: white;
}
.btn-cta-accent {
    background: var(--accent);
    color: white;
    padding: 13px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
    border: 2px solid var(--accent);
}
.btn-cta-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: white;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    padding: 60px 0 0;
}
.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.footer a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    font-size: 0.92rem;
}
.footer a:hover { color: var(--accent); padding-left: 4px; }
.footer-logo img { height: 45px; margin-bottom: 15px; }
.footer-desc { font-size: 0.92rem; line-height: 1.7; }
.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: white;
    margin-right: 6px;
    padding: 0;
    font-size: 0.95rem;
}
.footer-social a:hover {
    background: var(--accent);
    color: white;
    padding-left: 0;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.83rem;
    text-align: center;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.92rem;
}
.footer-contact-item i {
    color: var(--accent);
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

/* ============ ANIMATIONS ============ */
.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============ SKELETON LOADER ============ */
.skeleton {
    background: linear-gradient(90deg, #eef1f5 25%, #e2e6ec 50%, #eef1f5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 14px;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============ SCROLL TO TOP ============ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(26,188,156,0.3);
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent-dark); transform: translateY(-3px); }

/* ============ PAGE HEADER (breadcrumb) ============ */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 50px 0;
    color: white;
}
.page-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}
.page-header .breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.page-header .breadcrumb a:hover { color: var(--accent); }
.page-header .breadcrumb .active { color: var(--accent); }
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ============ FORMS ============ */
.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(26,188,156,0.15);
}
.btn-accent {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-accent:hover {
    background: var(--accent-dark);
    color: white;
    transform: translateY(-1px);
}

/* ============ UTILITY ============ */
.text-accent { color: var(--accent) !important; }
.bg-accent { background-color: var(--accent) !important; }
.text-primary-custom { color: var(--primary) !important; }

/* ===== CHROME MOBİL MENU FIX ===== */
.navbar-inner {
    position: relative;
    z-index: 10;
}

.navbar-actions {
    position: relative;
    z-index: 20;
}

.btn-mobile-menu {
    position: relative;
    z-index: 30;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

/* Logo taşma engeli */
.navbar-logo {
    overflow: hidden;
    flex-shrink: 1;
    min-width: 0;
}

@media (max-width: 991px) {
    .navbar-logo img {
        max-width: 160px;
        height: auto;
    }
    
    /* Actions alanının kesinlikle tıklanabilir olması */
    .navbar-actions {
        flex-shrink: 0;
        pointer-events: auto;
    }
    
    .navbar-actions > * {
        pointer-events: auto;
    }
}

