/* START assets/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #FF6B00;      /* Modern Orange */
    --secondary: #0A2540;    /* Deep Trustworthy Blue */
    --accent: #1A568C;       /* Secondary Blue Accent */
    --light: #F8FAFC;        /* Background Off-White */
    --dark: #0F172A;         /* Slate Text Color */
    --white: #FFFFFF;
    --gray: #64748B;
    --border: #E2E8F0;
    --success: #10B981;
    --error: #EF4444;
    --font: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-store {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s !important;
}

.btn-store:hover {
    background-color: #E05E00;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    transition: 0.3s;
}

/* Core Components & Layout Systems */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #CBD5E1;
}

.btn-cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 5px;
    display: inline-block;
    transition: transform 0.2s, background-color 0.3s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    background-color: #E05E00;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 50px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.card h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 22px;
}

.card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.card-meta {
    background: #F1F5F9;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
    color: var(--accent);
}

.card .btn-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Contact Page Layout & Forms */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 24px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    display: block;
    color: var(--secondary);
}

.map-placeholder {
    background-color: #E2E8F0;
    height: 300px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gray);
    font-weight: 500;
    border: 2px dashed #CBD5E1;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-family: var(--font);
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 25px;
}

.alert-danger {
    background-color: #FEE2E2;
    color: var(--error);
    border: 1px solid #FCA5A5;
}

button[type="submit"] {
    background-color: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: var(--accent);
}

/* Admin Leads Table Styling */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.table-responsive {
    overflow-x: auto;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid var(--border);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background-color: #F1F5F9;
    color: var(--secondary);
    font-weight: 600;
}

.admin-table tr:hover {
    background-color: #F8FAFC;
}

/* Footer Section */
.site-footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    margin-top: auto;
}

.footer-content p {
    color: #94A3B8;
    margin-top: 10px;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 74px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        gap: 15px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .btn-store {
        display: block;
        width: 100%;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 32px;
    }
}

/* Container that bounds the image area */
.img-placeholder {
    width: 100%;
    height: 250px;          /* Restricts the max vertical height on the card */
    overflow: hidden;       /* Prevents oversized images from bleeding out */
    border-radius: 8px 8px 0 0; /* Smooth corners for top of the card */
    background-color: #F8FAFC; /* Clean fallback background while loading */
}

/* The actual image element inside the container */
.shop-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* MAGIC LINE: Automatically scales & crops without distortion */
    object-position: center; /* Centers the image focal point */
    transition: transform 0.3s ease; /* Optional: smooth zoom effect on hover */
}

/* Optional hover polish */
.product-card:hover .shop-thumb {
    transform: scale(1.03);
}
/* END assets/styles.css */