/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
    transition: var(--transition);
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Header Styles */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    left: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    gap: 1rem;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
    position: relative;
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.cta.primary {
    background: white;
    color: var(--primary-color);
}

.cta.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

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

/* Featured Section */
.featured {
    padding: 6rem 2rem;
    background: white;
}

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

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.featured-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

/* Products Section */
.products {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    z-index: 1;
}

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

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.action-btn {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.product-rating {
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: var(--light-bg);
    transition: var(--transition);
}

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

.feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    transition: var(--transition);
}

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

.info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-color);
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark Mode */
.dark-mode {
    background: var(--dark-bg);
    color: #e0e0e0;
}

.dark-mode .main-header,
.dark-mode .featured,
.dark-mode .product-card,
.dark-mode .about,
.dark-mode .feature,
.dark-mode .info-item,
.dark-mode .contact-form {
    background: #2d2d2d;
    color: #e0e0e0;
}

.dark-mode .nav-links a,
.dark-mode .icon-btn {
    color: #e0e0e0;
}

.dark-mode .product-info h3 {
    color: #e0e0e0;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1001;
    padding: 2rem;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cart-items {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.cart-total {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    margin-top: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: var(--primary-color);
}

/* Search Bar */
.search-bar {
    background: white;
    padding: 1rem;
    display: none;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.search-bar.active {
    display: flex;
    width: 100%;
}

.search-bar form {
    display: flex;
    width: 100%;
    gap: 0.5rem;
}

.search-bar input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    width: 100%;
}

.search-bar button {
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    margin-left: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.search-bar button:hover {
    background: var(--primary-color);
}

/* Notification */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(150%);
    transition: var(--transition);
}

.notification.active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-grid,
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    /* Header & Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 4rem 2rem;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .dark-mode .nav-links {
        background: #2d2d2d;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
    }

    /* Mobile Search Bar Styling */
    .search-bar {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 39px;
        padding: 0.8rem;
        background: rgb(252, 250, 250);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .search-bar.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        display: flex;
    }

    .search-bar form {
        display: flex;
        width: 100%;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .search-bar input {
        flex: 1;
        padding: 0.8rem 1rem;
        border: 1px solid #ddd;
        border-radius: 25px;
        font-size: 1rem;
        width: 100%;
        height: 44px;
    }

    .search-bar button {
        padding: 0.8rem 1.2rem;
        margin-left: 0;
        white-space: nowrap;
        min-width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dark-mode .search-bar {
        background: #2d2d2d;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dark-mode .search-bar input {
        background: #3d3d3d;
        border-color: #4d4d4d;
        color: white;
    }

    /* Content Sections Mobile Update */
    .hero,
    .featured,
    .products,
    .about,
    .contact {
        width: 100%;
        overflow-x: hidden;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero {
        padding-top: calc(60px + 1rem);
    }

    /* Products Grid Mobile Update */
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
        width: 100%;
        padding: 0;
    }

    .product-card {
        width: 100%;
        margin: 0;
    }

    /* Featured Grid Mobile Update */
    .featured-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
        width: 100%;
        padding: 0;
    }

    /* Footer Mobile Update */
    .footer-content {
        width: 100%;
        padding: 1rem;
    }

    /* Adjust mobile menu toggle and controls */
    .mobile-menu-toggle {
        z-index: 1001;
        margin-right: 1rem;
    }

    .nav-controls {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: transparent;
        transition: var(--transition);
    }

    .icon-btn:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .dark-mode .icon-btn:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    /* Adjust content padding to account for fixed header */
    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 1rem;
        padding: 0 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    /* Featured Section */
    .featured {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .featured-card {
        margin: 0 1rem;
    }

    /* Products Section */
    .products {
        padding: 4rem 1rem;
    }

    .product-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .filter-btn {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .product-card {
        margin: 0 1rem 2rem;
    }

    .product-image img {
        height: 200px;
    }

    .product-actions {
        opacity: 1;
        bottom: 0;
        background: rgba(255, 255, 255, 0.95);
    }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-sidebar.active {
        right: 0;
    }

    /* About Section */
    .about {
        padding: 4rem 1rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact Section */
    .contact {
        padding: 4rem 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-item {
        padding: 1.5rem;
    }

    /* Footer */
    .main-footer {
        padding: 3rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form button {
        width: 100%;
    }

    /* Ensure mobile menu toggle stays visible */
    .mobile-menu-toggle {
        z-index: 1003; /* Higher than search bar */
        position: relative;
    }

    /* Adjust nav container for better mobile layout */
    .nav-container {
        padding: 1rem;
        position: relative;
        z-index: 1001;
    }

    /* Ensure proper stacking of navigation elements */
    .nav-links {
        z-index: 1000;
    }

    .nav-controls {
        z-index: 1003; /* Same as mobile menu toggle */
        position: relative;
    }
}

@media (max-width: 480px) {
    /* Finer adjustments for very small screens */
    .hero h2 {
        font-size: 1.8rem;
    }

    .product-card {
        margin: 0 0.5rem 1.5rem;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .product-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .action-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .cart-sidebar {
        padding: 1rem;
    }

    .notification {
        left: 1rem;
        right: 1rem;
        text-align: center;
    }

    .search-bar {
        padding: 0.6rem;
    }

    .search-bar form {
        padding: 0 0.3rem;
    }

    .search-bar input {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        height: 40px;
    }

    .search-bar button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        height: 40px;
    }

    .icon-btn {
        width: 35px;
        height: 35px;
    }

    .nav-links {
        width: 85%;
    }

    .product-card,
    .featured-card {
        margin: 0;
        width: 100%;
    }
}

/* Add Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-controls {
        gap: 0.5rem;
    }

    .icon-btn {
        font-size: 1.1rem;
    }

    /* Mobile Search Bar */
    .search-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 0.8rem;
        transform: translateY(-100%);
        transition: var(--transition);
    }

    .search-bar.active {
        transform: translateY(0);
    }

    /* Mobile Product Grid */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1rem;
    }

    /* Mobile Cart Item */
    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cart-item img {
        width: 100%;
        max-width: 150px;
        margin: 0 auto;
    }

    /* Improve touch targets */
    .nav-links a,
    .action-btn,
    .filter-btn,
    button {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Add smooth transition for orientation changes */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: 6rem 1rem 3rem;
    }

    .nav-links {
        padding: 2rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Loading State for Images */
.product-image {
    position: relative;
    background: #f0f0f0;
}

.product-image.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Container width consistency */
.nav-container,
.hero-content,
.featured-grid,
.products-grid,
.about-content,
.contact-container,
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Dark mode updates */
.dark-mode .search-bar,
.dark-mode .nav-links {
    background: #2d2d2d;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .search-bar input {
    background: #3d3d3d;
    border-color: #4d4d4d;
    color: white;
}
