/* Custom CSS for FashionMerch.net */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --dark-color: #1a252f;
    --light-color: #ecf0f1;
    --text-color: #2c3e50;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
.top-bar {
    font-size: 14px;
}

.contact-info span {
    margin-right: 20px;
}

.social-links a {
    margin-left: 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color) !important;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

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

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    transition: color 0.3s ease;
    padding: 10px 15px !important;
}

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

/* Mega Menu Styles */
.mega-menu {
    width: 100%;
    max-width: 800px;
    left: 50%;
    transform: translateX(-50%);
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 20px;
}

.mega-menu .dropdown-header {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
}

.mega-menu .dropdown-item {
    padding: 5px 0;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.mega-menu .dropdown-item:hover {
    background: none;
    color: var(--secondary-color);
}

/* Mega Menu Styles */
.nav-item.dropdown {
    position: static !important; /* Change to static to allow mega-menu to position relative to navbar */
}


/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../images/hero_background.png") center/cover;
    opacity: 0.1;
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary-custom {
    background: var(--secondary-color);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary-custom:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-description {
    color: #666;
    line-height: 1.7;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quote {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-category {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.product-description {
    color: #666;
    line-height: 1.6;
}

/* Manufacturing Section */
.manufacturing-section {
    padding: 80px 0;
    background: var(--light-color);
}

.manufacturing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.manufacturing-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.manufacturing-item:hover {
    transform: translateY(-5px);
}

.manufacturing-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.manufacturing-content {
    padding: 25px;
}

.manufacturing-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Footer Styles */
.footer-section {
    background: var(--dark-color) !important;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-info p {
    margin-bottom: 10px;
    color: #bbb;
}

.contact-info i {
    color: var(--secondary-color);
    width: 20px;
}

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

.copyright-text {
    color: #bbb;
}

.footer-links-inline a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-inline a:hover {
    color: var(--secondary-color) !important;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mega-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: none !important;
        box-shadow: none !important;
        padding: 10px !important;
    }
    
    .mega-menu .row {
        flex-direction: column;
    }
    
    .mega-menu .col-md-3 {
        margin-bottom: 20px;
    }
    
    .contact-info span {
        display: block;
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .text-right {
        text-align: left !important;
    }
}

/* Quote Modal Styles */
.modal-header {
    background: var(--primary-color);
    color: white;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
}

.modal-header .close:hover {
    opacity: 1;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.btn-submit-quote {
    background: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-submit-quote:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Success/Error Messages */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

/* Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-breadcrumb {
    font-size: 1.1rem;
    opacity: 0.9;
}

.content-section {
    padding: 60px 0;
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-secondary-custom {
    color: var(--secondary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary-color) !important;
}




/* Product Detail Page Styles */
.main-product-image {
    max-height: 500px;
    object-fit: contain;
    width: 100%;
}

.gallery-thumbnails .gallery-thumb {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumbnails .gallery-thumb:hover,
.gallery-thumbnails .gallery-thumb.active {
    opacity: 1;
    border-color: var(--secondary-color);
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-category .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.product-description h5,
.product-specifications h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.quote-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.quote-section h5 {
    color: var(--primary-color);
    font-weight: 600;
}

.quote-form .form-label {
    font-weight: 500;
    color: var(--text-color);
}

.quote-form .btn-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.quote-form .btn-primary:hover {
    background: #e55a4f;
    border-color: #e55a4f;
}

/* Related Products */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-img-container {
    position: relative;
    overflow: hidden;
}

.card-img-container img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay .btn {
    margin: 0 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-title {
        font-size: 1rem;
    }
    
    .quote-section {
        padding: 1.5rem;
    }
    
    .main-product-image {
        max-height: 300px;
    }
}



/* About Us Section Enhancements */
.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.about-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.9), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover .about-overlay {
    transform: translateY(0);
}

.about-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #f39c12;
}

.stat-label {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.about-features .feature-item {
    transition: transform 0.2s ease;
}

.about-features .feature-item:hover {
    transform: translateX(10px);
}

.feature-icon-small {
    font-size: 1.2rem;
}

/* Service Cards Enhancements */
.service-card {
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: left 0.3s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.service-features {
    margin-top: 20px;
}

.service-features li {
    padding: 5px 0;
    transition: color 0.2s ease;
}

.service-features li:hover {
    color: var(--secondary-color);
}

/* Why Choose Us Section */
.why-choose-us-section {
    position: relative;
    overflow: hidden;
}

.why-choose-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero_background.png') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.why-choose-us-section .container {
    position: relative;
    z-index: 2;
}

.why-choose-item {
    transition: transform 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-10px);
}

.why-choose-icon {
    transition: transform 0.3s ease;
}

.why-choose-item:hover .why-choose-icon {
    transform: scale(1.1);
}

.why-choose-title {
    color: white;
    font-weight: 600;
}

.why-choose-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    line-height: 1.7;
    color: #555;
    position: relative;
    z-index: 2;
}

.stars {
    margin-bottom: 15px;
}

.author-name {
    color: var(--primary-color);
    font-weight: 600;
}

.author-position {
    color: #666;
}

.avatar-placeholder {
    font-size: 1.2rem;
}

/* Enhanced Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Button Styles */
.btn-outline-primary-custom {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline-primary-custom:hover::before {
    left: 0;
}

.btn-outline-primary-custom:hover {
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

/* Enhanced Section Spacing */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

/* Mobile Responsiveness Enhancements */
@media (max-width: 768px) {
    .about-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .service-features {
        text-align: center;
    }
    
    .why-choose-item {
        margin-bottom: 30px;
    }
    
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    .about-overlay {
        position: static;
        transform: none;
        background: rgba(44, 62, 80, 0.1);
        padding: 20px;
        margin-top: 20px;
        border-radius: 10px;
    }
    
    .about-stats {
        color: var(--primary-color);
    }
    
    .stat-number {
        color: var(--secondary-color);
    }
}

/* Loading States */
.loading-fade {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loading-fade.loaded {
    opacity: 1;
}

/* Hover Effects for Interactive Elements */
.interactive-hover {
    transition: all 0.3s ease;
}

.interactive-hover:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

