/* Custom CSS for Kılınç Hurdacılık */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    margin: 0 15px; /* Menü öğeleri arasına boşluk ekle */
}

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

.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 5px;
    display: none;
}

.dropdown-menu.show {
    display: block !important;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 2px 8px;
}

.dropdown-item:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateX(5px);
}

.dropdown-divider {
    margin: 8px 0;
    border-color: #e9ecef;
}

/* Mobile Dropdown Fix */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        margin: 0 8px;
    }
    
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        background-color: rgba(0, 0, 0, 0.1) !important;
        border: none !important;
        box-shadow: none !important;
        display: none !important;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000 !important;
    }
    
    .dropdown-menu[style*="opacity: 0"] {
        display: none !important;
        opacity: 0 !important;
        transform: translateY(-10px) !important;
    }
    
    /* Prevent navbar collapse when dropdown is open */
    .navbar-collapse.show .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Force show when JavaScript sets display: block */
    .dropdown-menu[style*="display: block"] {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Additional mobile dropdown rules */
    .dropdown-menu[style*="opacity: 1"] {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .dropdown-menu[style*="transform: translateY(0)"] {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .dropdown-item {
        padding: 12px 20px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        border-radius: 0 !important;
        margin: 0 !important;
        transition: all 0.3s ease !important;
        display: block !important;
        width: 100% !important;
    }
    
    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        transform: none !important;
    }
    
    .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.2) !important;
        margin: 5px 0 !important;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 75px;
    right: 15px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 28px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Mobile WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 75px;
        right: 15px;
        font-size: 22px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 2px 10px;
}

.dropdown-item:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    background: url('../images/Slider-Asaf.jpg') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.35);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-icon {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-image {
    text-align: center;
    padding: 2rem;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Product Cards */
.product-card {
    padding: 2rem 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* E-posta adresleri ve form butonları için text-transform'u kaldır */
.btn[href^="mailto:"],
.btn[type="submit"] {
    text-transform: none;
}

.btn-warning {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    border: none;
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(45deg, #e67e22, #d35400);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.4);
}

.btn-primary {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #2980b9, #1f4e79);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Cards */
.card {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

footer .text-muted {
    color: white !important;
}

footer a {
    color: white !important;
}

footer a:hover {
    color: var(--accent-color) !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: none; /* Sosyal medya iconlarını gizle */
}

.social-links a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-3px);
}

/* Contact CTA Section */
.bg-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-icon {
        font-size: 8rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-icon {
        font-size: 6rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .product-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(45deg, #3498db, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e67e22;
}

/* Additional Styles for New Pages */

/* Contact Icons */
.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.1);
}

/* Mission & Vision Icons */
.mission-icon, .vision-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
}

/* Value Cards */
.value-card {
    padding: 2rem 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.5rem;
}

/* Team Cards */
.team-card {
    padding: 2rem 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-image .image-placeholder {
    width: 120px;
    height: 120px;
}

/* Statistics */
.stat-card {
    padding: 2rem 1rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Process Steps */
.process-step {
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Pricing Cards */
.pricing-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.amount {
    color: var(--primary-color);
}

.unit {
    font-size: 1rem;
    color: var(--accent-color);
}

/* Image Placeholders */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

/* Quality Image */
.quality-image .image-placeholder {
    min-height: 300px;
}

/* Map Placeholder */
.map-placeholder {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Map Container */
.map-container {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

/* Product Image Card */
.product-image-card {
    padding: 1rem;
}

.product-image-card img {
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.product-image-card img:hover {
    transform: scale(1.05);
}

.map-container iframe {
    border-radius: 15px 15px 0 0;
}

.map-container .btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Form Styles */
.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
}

.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
    background-color: var(--accent-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(243, 156, 18, 0.25);
}

/* Working Hours */
.working-hours .card {
    border-left: 4px solid var(--accent-color);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-icon {
        font-size: 6rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-icon {
        font-size: 4rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .value-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .pricing-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Mobil menüde boşlukları azalt */
    .navbar-nav .nav-link {
        margin: 0 8px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-icon {
        font-size: 3rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .value-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .pricing-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .price .amount {
        font-size: 2rem;
    }
    
    .map-placeholder {
        min-height: 250px;
    }
    
    .image-placeholder {
        min-height: 150px;
    }
}
