/* ========================================
   Kuyumcu Pano - Custom CSS
   ======================================== */

:root {
    --primary-color: #FFC107;
    --primary-dark: #E5A800;
    --secondary-color: #1A1A1A;
    --text-dark: #333333;
    --text-light: #6C757D;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

/* ===== General ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    .preloader.fade-out {
        opacity: 0;
        visibility: hidden;
    }

/* ===== Header & Navigation ===== */
.site-header {
    position: relative;
    z-index: 1000;
}

.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: var(--transition);
}

    .navbar.scrolled {
        padding: 10px 0;
        box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    }

.navbar-brand img {
    max-height: 45px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: var(--transition);
    position: relative;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--primary-color) !important;
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: var(--transition);
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 70%;
    }

.social-link {
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px !important;
}

    .social-link:hover {
        background: var(--primary-color);
        color: var(--secondary-color) !important;
    }

    .social-link::after {
        display: none;
    }

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 193, 7, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Footer ===== */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-main .disclaimer-text {
    font-size: 13px;
    opacity: 0.8;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.footer-bottom {
    padding-top: 20px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

    .footer-links a:hover {
        opacity: 1;
        color: var(--primary-color);
    }

.footer-links .separator {
    margin: 0 10px;
    opacity: 0.5;
}

.copyright, .design-by {
    font-size: 14px;
    opacity: 0.8;
}

    .design-by a {
        color: var(--primary-color);
        text-decoration: none;
    }

/* ===== Cookie Consent ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 0;
    z-index: 9998;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-text {
    flex: 1;
    font-size: 14px;
}

    .cookie-text a {
        color: var(--primary-color);
        text-decoration: underline;
    }

.cookie-actions {
    display: flex;
    gap: 10px;
}

/* ===== Page Header ===== */
.page-header {
    margin-top: 76px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #E9ECEF 100%);
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary-dark);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* ===== Buttons ===== */
.btn-warning {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

    .btn-warning:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    }

.btn-outline-warning {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

    .btn-outline-warning:hover {
        background: var(--primary-color);
        color: var(--secondary-color);
    }

/* ===== Form Styles ===== */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-dark);
}

/* ===== Animations ===== */
[data-aos] {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(26, 26, 26, 0.98);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }

    .navbar-nav .nav-link {
        text-align: center;
    }

    .social-link {
        margin: 10px auto 0 !important;
    }

    .page-header {
        margin-top: 72px;
    }
}

@media (max-width: 767px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-bottom: 15px;
    }

        .footer-links .separator {
            margin: 0 5px;
        }
}

/* ===== Utility Classes ===== */
.bg-warning {
    background-color: var(--primary-color) !important;
}

.text-warning {
    color: var(--primary-color) !important;
}

.border-warning {
    border-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

/* ===== Swiper Custom Styles ===== */
.swiper-pagination-bullet {
    background: var(--white) !important;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white) !important;
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        color: var(--primary-color) !important;
    }
