/*==========================================
	0. BASE & GLOBAL STYLES
==========================================*/
*, *::before, *::after {
    box-sizing: border-box; /* Mobile Responsiveness & Box Model Fix */
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #673AB7, #8A2BE2); /* Amethyst background */
    color: #E0BBE4; 
    display: flex;
    font-size: 1.125rem;
    flex-direction: column;
    line-height: 1.6;
    min-height: 100vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


/* Typography preserved from your original file */
h2 { color: #FFD700; }
h2.page-title { font-size: 42px; }
p { color:#FFFFFFCC; }
p.subtitle { color:#FFFFFFCC; font-size: 28px; }

/*============================================
	1. NAVIGATION & NAVBAR
=============================================*/
.navbar {
    background-color: #331A40;
    border-bottom: 2px solid #5F256B;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between; /* Pushes name left and button right */
    align-items: center;
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
}
.nav-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #FFD700;
    text-decoration: none;
}

/* --- Mobile Menu Elements (Default) --- */
#mobile-menu-button {
    display: block;
    background: none;
    border: none;
    color: #FFD700;
    cursor: pointer;
}

.nav-links {
    display: none; /* Hide desktop links on mobile */
}

#mobile-menu {
    display: none; /* Hidden until toggled via JS */
    background-color: #331A40;
    border-top: 1px solid #5F256B;
    width: 100%;
}

#mobile-menu.show {
    display: block;
}

#mobile-menu a {
    font-family: 'Inter', sans-serif;
    display: block;
    padding: 1rem 1.5rem;
    color: #E0BBE4;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Desktop Override (Screen > 768px) --- */
/* Ensure desktop override still hides it */
@media (min-width: 768px) {
    #mobile-menu-button {
        display: none;
    }

    .nav-links {
        display: flex; 
        align-items: center;
    }

    .nav-links {
        display: flex; /* Show desktop links */
        align-items: center;
    }

    .nav-links a {
        font-family: 'Inter', sans-serif;
        color: #E0BBE4;
        text-decoration: none;
        margin-left: 1.5rem;
        font-size: 0.95rem;
        font-weight: 600;
        transition: color 0.3s;
    }

    .nav-links a:hover {
        color: #FFD700;
    }
}

/*============================================
	2. DROPDOWN MENU (Desktop Only)
=============================================*/
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    background: none;
    border: none;
    color: #E0BBE4;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0 1rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #331A40;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    border-radius: 4px;
    border: 1px solid #5F256B;
    z-index: 1001;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    color: #E0BBE4;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: #5F256B;
    color: #FFD700;
}
/*=========================================
	2. UNIFIED CONTENT CARDS (UPGRADED)
==========================================*/
.container {
    width: 95%;
    max-width: 1100px;
    margin: 40px auto;
    display: block;
    padding: 0 15px;
}

/* Unified Card Style */
.content-card, .blog-post {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    width: 100%; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}
.content-card:hover, .blog-post:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.8);
}
/* Global text rules for cards */
.content-card p, .blog-post-body p {
    color: #FFFFFFCC;
}

.content-card h3, .blog-post-title {
    color: #FFD700;
    font-family: 'Orbitron', sans-serif;
}

/* Unified Typography - Set it once for the whole site */
h2, h3 { color: #FFD700; font-family: 'Orbitron', sans-serif; }
li { color: #FFFFFFCC; }


.card-header h3, .blog-post-title {
    color: #FFD700 !important;
    font-family: 'Orbitron', sans-serif;
    margin-top: 0;
    font-size: 2rem;
}

.card-meta, .blog-post-meta {
    color: #FFFFFFCC !important;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

/*=========================================
	3. PAGE SPECIFIC STYLES (PRESERVED)
==========================================*/
/* This targets the specific card that holds your form */
.content-card.contact-form {
    max-width: 700px;      /* Keeps the form from getting too wide on desktop */
    margin: 0 auto;        /* Centers the form card within the main container */
    background: rgba(51, 26, 64, 0.6); /* Slightly darker amethyst for better input contrast */
}

/* This ensures the inputs inside that card match your tech theme */
.contact-form input, 
.contact-form textarea {
    width: 100%;
    background-color: #4C265A; /* Dark purple inputs */
    color: #FFFFFF;
    border: 1px solid #FFD700; /* Gold border to match your A+ rating brand */
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

/* Store, Delivery, and Projects Styles (Preserved) */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-element { background-color: rgba(0, 0, 0, 0.2); border-radius: 0.75rem; margin-bottom: 2rem; overflow: hidden; }

.full-width { width: 100% !important; }

.blog-image-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

footer {
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}