/* Bell Antic Metal International - Custom Styles */

/* Color Variables */
:root {
    --primary-color: #d4a574;
    --primary-dark: #b8894f;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --light-bg: #f8f9fa;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Logo Styles */
.logo-container {
    position: relative;
    width: 50px;
    height: 50px;
}

.logo-outer {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #d4a574, #b8894f);
    border-radius: 8px;
    transform: rotate(45deg);
}

.logo-inner {
    position: absolute;
    inset: 8px;
    background: linear-gradient(135deg, #f5d899, #d4a574);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transform: rotate(-45deg);
}

.brand-name {
    font-weight: bold;
    font-size: 18px;
    color: #d4a574;
    line-height: 1;
}

.brand-subtitle {
    font-size: 10px;
    color: #6c757d;
    letter-spacing: 1px;
    line-height: 1;
}

footer .brand-name {
    color: #f39c12 !important;
}

footer .brand-subtitle {
    color: #e0e0e0 !important;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* Hero Carousel */
.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
}

.carousel-caption h1 {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.carousel-caption p {
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Stats Section */
.stat-number {
    animation: countUp 2s ease-out;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Gallery Items */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-text {
    color: white;
}

/* Team Cards */
.team-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
}

.team-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 40px;
    border-radius: 15px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item i {
    margin-right: 15px;
    font-size: 24px;
    margin-top: 5px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

/* Page Transitions */
.page-enter {
    animation: fadeIn 0.6s ease-out;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .display-3, .display-4 {
        font-size: 2.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Alert Messages */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Loading Spinner */
.spinner-border {
    color: var(--primary-color);
}

/* Footer Links */
footer a:hover {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 80px 0 50px;
    margin-bottom: 50px;
}

.page-header h1 {
    font-weight: bold;
    margin-bottom: 15px;
}

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Background Patterns */
.bg-pattern {
    background-image: 
        linear-gradient(45deg, rgba(212, 165, 116, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(212, 165, 116, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(212, 165, 116, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(212, 165, 116, 0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Service Icons Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.service-card:hover .service-icon i {
    animation: pulse 1s infinite;
}