/* Custom Styles for V.S Steel Traders Website */

/* Smooth Scrolling */
html { scroll-behavior: smooth; }

/* Product Cards */
.product-card { 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.product-card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Navigation */
.nav-blur { 
    backdrop-filter: blur(16px); 
    background-color: rgba(253, 235, 211, 0.85); 
}

/* Map Container */
.map-container iframe { 
    width: 100%; 
    height: 100%; 
    border-radius: 2rem; 
}

/* Image Zoom Effect */
.img-zoom { 
    transition: transform 0.6s ease; 
}
.img-zoom:hover { 
    transform: scale(1.05); 
}

/* Photo Gallery */
.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

/* Modal Styles */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}
.modal-content {
    max-height: 85vh;
    overflow-y: auto;
}

/* Product Details Transition */
.product-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out, margin 0.3s ease-out;
}
.product-details.active {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1.5rem;
}

/* Tab Styles */
.tab-button {
    transition: all 0.3s ease;
}
.tab-button.active {
    background-color: #f9b4ab;
    color: #264e70;
    font-weight: 600;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Logo Styles */
.logo-container {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.logo-main {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #264e70;
    line-height: 1.1;
}
.logo-traders {
    font-size: 1.1rem;
    font-weight: 600;
    color: #264e70;
    margin-top: -2px;
}
.logo-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: #679186;
    letter-spacing: 0.5px;
    margin-top: 2px;
    border-top: 1px solid #bbd4ce;
    padding-top: 4px;
    font-style: italic;
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Section Animations */
.section-animate {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease-out;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo-main {
        font-size: 1.2rem;
    }
    .logo-traders {
        font-size: 0.9rem;
    }
    .logo-tagline {
        font-size: 0.6rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdebd3;
}
::-webkit-scrollbar-thumb {
    background: #679186;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #264e70;
}