/* 
 * HNA Kıymetli Madenler - Premium Design System v2.0
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --gold: #C5A059;
    --gold-bright: #D4AF37;
    --gold-soft: #E6D9C8;
    --charcoal: #0F0F0F;
    --stone: #2A2A2A;
    --cream-bg: #FDFCF8;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --spacing: 120px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--stone);
    background-color: var(--cream-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: 'Playfair Display', serif;
    color: var(--charcoal);
    font-weight: 600;
}

.text-gold { color: var(--gold) !important; }
.text-charcoal { color: var(--charcoal) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-cream { background-color: var(--cream-bg) !important; }
.bg-charcoal { background-color: var(--charcoal) !important; }

.uppercase-spacing {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Navbar */
.navbar {
    padding: 15px 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.navbar-brand img {
    height: 150px;
    width: auto;
    transition: all 0.5s ease;
}

.scrolled .navbar-brand img {
    height: 70px;
}

.nav-link {
    font-weight: 500;
    color: var(--stone) !important;
    margin: 0 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

.btn-premium {
    padding: 12px 28px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-gold {
    background: var(--gold);
    color: white !important;
}

.btn-gold:hover {
    background: var(--charcoal);
    color: var(--gold) !important;
    transform: translateY(-2px);
}

.btn-outline-dark {
    border-color: var(--charcoal);
    color: var(--charcoal);
}

.btn-outline-dark:hover {
    background: var(--charcoal);
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 240px 0 120px;
    background-color: var(--cream-bg);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 550px;
    opacity: 0.8;
}

.hero-img-wrapper {
    position: relative;
}

.hero-img-wrapper img {
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.hero-img-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    z-index: 1;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gold);
    margin: 0 6px;
    opacity: 0.3;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(53%) sepia(54%) saturate(415%) hue-rotate(5deg) brightness(91%) contrast(92%); /* Gold-ish color */
}

/* Sections */
.section-padding {
    padding: var(--spacing) 0;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 40px;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 50px 40px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    border-color: var(--gold-soft);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 30px;
}

/* Why Cards */
.why-icon-box {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--gold);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon-box {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
}

/* CTA Bar */
.cta-bar {
    padding: 80px 0;
}

/* Footer */
footer {
    background-color: #0c0c0c;
    color: #888;
    padding: 100px 0 40px;
}

.footer-title {
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 35px;
}

.footer-links a {
    color: #777;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold);
}

/* Utils */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-title { font-size: 2.5rem !important; }
    .section-title { font-size: 2rem !important; }
    .navbar-brand img { height: 75px !important; }
    
    .navbar {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px);
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    }
    
    .navbar-collapse {
        background: var(--cream-bg);
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        transition: right 0.4s cubic-bezier(0.86, 0, 0.07, 1);
        display: block !important;
        padding: 40px 30px;
        z-index: 1050;
        overflow-y: auto;
    }
    
    .navbar-collapse.show {
        right: 0;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 40px;
    }

    .btn-close-menu {
        background: none;
        border: none;
        font-size: 2.5rem;
        color: var(--charcoal);
        padding: 0;
        line-height: 1;
    }
    
    .navbar-nav {
        text-align: center;
    }

    .nav-link {
        padding: 18px 0 !important;
        font-size: 1.2rem !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        font-family: 'Playfair Display', serif;
        text-transform: capitalize;
        letter-spacing: 0;
    }
    
    .navbar .btn-gold {
        margin-top: 30px;
        width: 100%;
        padding: 15px !important;
    }
    
    .hero-section {
        padding: 160px 0 60px 0;
    }

    .hero-img-wrapper {
        margin-bottom: 40px;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
}