
/* DaGadget Mart - Professional Styles */

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for fixed nav */
}

/* Hero Section Fix for Fixed Navbar */
#home {
    scroll-margin-top: 80px;
}

/* Ensure proper spacing on larger screens */
@media (min-width: 768px) {
    #home {
        padding-top: 6rem; /* 96px - extra space for desktop */
    }
}

/* Mobile Modal Adjustments */
@media (max-width: 640px) {
    #brandModal .product-card {
        padding: 0.75rem;
    }
    
    #brandModal .grid {
        gap: 0.5rem;
    }
    
    #brandModal select, 
    #brandModal button {
        font-size: 0.75rem;
        padding: 0.375rem 0.5rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px 0 rgba(59, 130, 246, 0.35);
}

.btn-secondary {
    transition: all 0.3s ease;
    border: 2px solid #3B82F6;
    color: #3B82F6;
    background: transparent;
}
.btn-secondary:hover {
    background: #3B82F6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px 0 rgba(59, 130, 246, 0.25);
}

/* Navigation */
nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    z-index: 40;
}
#mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* --- Instagram Feed Styles --- */
/* --- Instagram Feed Styles (Corrected for Uniform Height) --- */

.insta-post {
    width: 100%;
    max-height: 480px; 
    overflow: hidden;   
    
    /* ADD THIS LINE TO FIX REFLOW */
    contain: layout;

    /* Styling for the container */
    border-radius: 0.75rem; /* 12px */
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
}

/* Ensure the blockquote fills the container and behaves correctly */
.insta-post .instagram-media {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
}
/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%); }

/* Utility */
.blue-divider {
    background: linear-gradient(90deg, transparent, #3B82F6, transparent);
    height: 1px;
}
.icon-blue { color: #3B82F6; }

/* About Page Enhancements - Consistent with main website */
.about-card {
    transition: all 0.3s ease;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
.about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.value-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Product cards from main website */
.blue-accent {
    background: linear-gradient(135deg, #EBF4FF, #DBEAFE);
    border: 1px solid #BFDBFE;
}

.product-card:hover {
    border-color: #3B82F6;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}