/* Custom Properties and Reset */
/* ============================= */
/*   CUSTOM PROPERTIES & RESET   */
/* ============================= */
:root {
    --bg-dark: #121825; 
    --bg-light: #1A212E; 
    --text-light: #FFFFFF; 
    --text-secondary: #AAAAAA; 
    --accent-orange: #FF6600; 
    --accent-blue: #007BFF; 
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    padding-bottom: 50px;
}

.header {
    display: flex;
    align-items: center;
    padding: 20px 80px;
    max-width: 1400px;
    margin: 0 auto; /* Centers the header */
    background-color: var(--bg-dark);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 100px;
    height: 100px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.logo p {
    font-size: 14px;
    color: gray;
}

.btn-store {
    background-color: var(--accent-orange);
    color: var(--text-light) !important;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 40px;
}

/* --- Hero Section --- */
.hero-section {
    display: flex;
    align-items: center;
    max-width: 1250px;
    max-height: 500px;
    margin: 0 auto;
    
}

.hero-content {
    flex: 1;
    max-width: 50%;
    align-self: center;
}

.hero-content h2 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    align-self: center;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    align-self: center;
}

.hero-image-container {
    width: 600px;
    height: 800px;
    align-self: center;
}

/* Image inside container */
.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* keep aspect ratio */
}


/* --- Features Section --- */
.features-section {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    padding: 0 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    width: calc(33.333% - 20px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-orange);
}

.card-icon {
    /* For the orange/blue-lined box around the icon */
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: rgba(255, 102, 0, 0.1); /* Subtle background glow */
}

.card-icon img {
    /* Placeholder icon size */
    width: 70px;
    height: 70px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    
}

.feature-card ul {
    list-style: none;
    padding-left: 0;
    
}

.feature-card ul li {
    font-size: 16px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    
}

/* Custom bullet point (white/orange dot) */
.feature-card ul li::before {
    content: "•";
    color: var(--accent-orange);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
    
}

/* --- CTA Button at the bottom --- */
.cta-container {
    text-align: center;
    margin-top: 80px;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(to right, #FF8C00, #FF6600); /* Gradient effect */
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 20px 50px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
    transition: transform 0.2s;
    text-transform: uppercase;
}

.btn-cta:hover {
    transform: translateY(-2px);
}

/* -------------------------------------- */
/* --- ADMIN LOGIN STYLES (New Code) --- */
/* -------------------------------------- */

/* Styles the link to look like a subtle button */
.admin-login a {
    text-decoration: none; /* Remove underline */
    color: var(--text-light); /* White text color */
    font-weight: 600; 
    font-size: 16px;
    padding: 8px 15px; /* Padding inside the link/button */
    border: 1px solid var(--text-light); /* Subtle white border */
    border-radius: 5px; 
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    white-space: nowrap; /* Prevents text from wrapping */
}

/* Hover effect for a subtle visual feedback */
.admin-login a:hover {
    background-color: rgba(255, 255, 255, 0.05); /* Very light background on hover */
    border-color: var(--accent-orange); /* Highlight border with accent color */
    color: var(--accent-orange); /* Highlight text with accent color */
}

/* Add media queries for responsiveness if needed */


/* ============================= */
/*       UNIFIED RESPONSIVE DESIGN FOR ALL PAGES       */
/* ============================= */

/* ---------- Tablets (≤1024px) ---------- */
@media (max-width: 1024px) {
    .header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 20px 40px;
    }

    .logo img { width: 70px; height: 70px; }
    .logo h1 { font-size: 1.2rem; }
    .logo p { font-size: 0.9rem; }

    #welcomeUser { align-self: center; margin-top: 5px; font-size: 1.2rem; }

    .nav { gap: 15px; font-size: 12px; }

    /* About hero section and content blocks */
    .about-hero-section h2,
    .content-block h2,
    .content-block h3 {
        font-size: 1.7rem;
    }

    /* Home hero h2 */
    .hero-content h2 {
        font-size: 48px;
    }
}

/* ---------- Mobile (≤768px) ---------- */
@media (max-width: 768px) {
    .header {
        flex-direction: row;
        padding: 20px 20px;
        align-items: center;
        justify-content: space-between;
    }

    .logo img { width: 60px; height: 60px; }
    .logo h1 { font-size: 1rem; }
    .logo p { font-size: 0.8rem; }

    #welcomeUser { font-size: 1rem; }

    .nav { gap: 12px; font-size: 10px; }

    /* About hero & content headings */
    .about-hero-section h2,
    .content-block h2,
    .content-block h3 {
        font-size: 1.5rem;
    }

    /* Home hero h2 */
    .hero-content h2 {
        font-size: 36px;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-image-container img {
        width: 80%;
        height: auto;
        object-fit: contain;
    }

    /* Feature cards */
    .features-section {
        flex-direction: column;
        padding: 0 20px;
    }
    .feature-card { width: 100%; }
    .card-icon img { width: 50px; height: 50px; }
}

/* ---------- Small Mobile (≤580px) ---------- */
@media (max-width: 580px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
        gap: 10px;
    }

    .logo,
    .logo-container { 
        flex-direction: row; 
        align-items: center; 
        gap: 10px; 
        width: 100%; 
    }

    .logo img { width: 50px; height: 50px; }
    .logo h1 { font-size: 0.9rem; }
    .logo p { font-size: 0.7rem; }

    #welcomeUser { font-size: 1rem; margin-left: 10px; }

    .nav { gap: 10px; font-size: 10px; justify-content: center; width: 100%; }

    /* Headings */
    .about-hero-section h2,
    .content-block h2,
    .content-block h3,
    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-content p { font-size: 14px; }

    .hero-image-container img {
        width: 100%;
        height: auto;
    }

    /* Buttons */
    .btn-cta {
        font-size: 16px;
        padding: 16px 36px;
    }
}
