/* =========================================================
   PRIMAL LUX AGENCY - FINAL MASTER STYLESHEET
   ========================================================= */

/* 1. RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.5;
    padding-bottom: 60px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* 2. LAYOUT CONTAINERS */
.top-banner {
    background: #fff;
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}
.shopify-logo { height: 35px; }

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 3. PROFILE CARD (Homepage) */
.profile-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 20px 20px;
    text-align: center;
}

.profile-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-wrapper { position: relative; margin-bottom: 15px; }

/* THIS IS THE FIX FOR THE LOGO */
.avatar-img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: contain; /* Keeps the whole logo visible */
    padding: 5px; /* Adds a tiny gap around the logo */
    background: #fff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.online-dot {
    position: absolute; bottom: 5px; right: 5px;
    width: 12px; height: 12px;
    background: #10b981; border: 2px solid #fff; border-radius: 50%;
}

.location-time {
    font-size: 0.8rem; color: #64748b;
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 10px;
}
.green-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; display: inline-block; }

.profile-header-center h1 { font-size: 1.3rem; font-weight: 700; margin-bottom: 5px; }
.rating { color: #64748b; font-size: 0.9rem; margin-bottom: 10px; }

.badge {
    background: #0e7490; color: #fff;
    font-size: 0.75rem; padding: 4px 12px;
    border-radius: 20px; font-weight: 500; margin-bottom: 12px;
}

.tagline { font-style: italic; color: #64748b; font-size: 0.9rem; margin-bottom: 20px; }

.profile-details-grid {
    display: grid; grid-template-columns: 1fr; gap: 15px;
    text-align: left; padding: 20px 0;
    border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}
.detail-item { display: flex; flex-direction: column; }
.detail-label { font-size: 0.8rem; color: #64748b; font-weight: 500; }
.detail-value { font-size: 0.9rem; color: #1e293b; }

.profile-actions { display: flex; flex-direction: column; gap: 10px; }

.btn {
    display: block; padding: 10px; border-radius: 6px;
    font-weight: 600; font-size: 0.9rem; text-align: center; cursor: pointer;
}
.btn-primary { background: #0e7490; color: #fff; border: 1px solid #0e7490; }
.btn-outline { background: #fff; color: #1e293b; border: 1px solid #cbd5e1; }

/* 4. STICKY NAVIGATION */
.sticky-nav {
    display: flex; overflow-x: auto; gap: 8px;
    padding: 10px 0; position: sticky; top: 0;
    background: #f8fafc; z-index: 100; white-space: nowrap;
    scrollbar-width: none;
}
.sticky-nav::-webkit-scrollbar { display: none; }
.sticky-nav a {
    padding: 8px 16px; border-radius: 20px;
    background: #fff; border: 1px solid #e2e8f0;
    font-size: 0.85rem; font-weight: 500; color: #475569;
}
.sticky-nav a.active { background: #0e7490; color: #fff; border-color: #0e7490; }

/* 5. METRICS SECTION */
.metrics-section {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 20px;
}
.section-heading { font-size: 1.1rem; font-weight: 600; margin-bottom: 15px; }
.section-subheading { font-size: 0.9rem; color: #64748b; margin-bottom: 20px; text-align: left; }

.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric-box { background: #f1f5f9; padding: 15px 10px; border-radius: 8px; text-align: center; }
.metric-box h3 { font-size: 1.2rem; color: #0f172a; margin-bottom: 4px; }
.metric-box p { font-size: 0.75rem; color: #64748b; }

/* 6. PORTFOLIO & CARDS */
.portfolio-section {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 20px; margin-top: 10px;
}
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.card {
    border: 1px solid #e2e8f0; border-radius: 8px;
    overflow: hidden; background: #fff; display: flex; flex-direction: column;
}
.browser-mockup { background: #f1f5f9; position: relative; border-bottom: 1px solid #e2e8f0; }
.browser-header { padding: 8px 12px; display: flex; gap: 6px; background: #e2e8f0; }
.browser-header span { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.browser-mockup img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }

.play-button {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; background: #0e7490; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.card-body { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.card-body p { font-size: 0.85rem; color: #64748b; margin-bottom: 15px; flex-grow: 1; }

.site-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.site-icon { font-size: 1.2rem; color: #0e7490; background: #f1f5f9; padding: 8px; border-radius: 6px; }
.site-url { font-size: 0.8rem; color: #94a3b8; display: block; }
.visit-link { font-size: 0.85rem; color: #0e7490; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.tag { background: #f1f5f9; color: #475569; font-size: 0.75rem; padding: 4px 10px; border-radius: 12px; display: flex; align-items: center; gap: 4px; }

/* 7. CTA BANNER */
.cta-banner {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 30px 20px;
    text-align: center; margin-top: 20px;
}
.cta-banner h2 { font-size: 1.3rem; margin-bottom: 10px; }
.cta-banner p { font-size: 0.9rem; color: #64748b; margin-bottom: 20px; }
.cta-banner .btn { display: inline-block; padding: 10px 24px; font-size: 0.9rem; }

/* 8. FOOTER */
.site-footer {
    background: #fff; border-top: 1px solid #e2e8f0;
    padding: 40px 16px 20px; margin-top: 40px;
}
.footer-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px;
}
.brand-col .footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; margin-bottom: 15px; }

/* FOOTER LOGO IMAGE */
.footer-logo img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: contain;
    padding: 2px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.brand-col p { font-size: 0.9rem; color: #64748b; margin-bottom: 15px; max-width: 300px; }
.footer-contact { color: #1e293b !important; font-weight: 500; }
.footer-col h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 15px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: #64748b; }
.footer-col ul li a:hover { color: #0e7490; }

.footer-socials { max-width: 1200px; margin: 0 auto 30px; }
.footer-socials h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 15px; }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
    width: 35px; height: 35px; border: 1px solid #e2e8f0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #1e293b; font-size: 0.9rem; background: #fff;
}

.footer-bottom {
    max-width: 1200px; margin: 0 auto; border-top: 1px solid #e2e8f0;
    padding-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 15px;
}
.footer-bottom p { font-size: 0.85rem; color: #94a3b8; }

/* 9. SUBPAGE HEADERS */
.subpage-header {
    background: #fff; padding: 30px 20px; text-align: center;
    border-bottom: 1px solid #e2e8f0; margin-bottom: 20px;
}
.back-link {
    display: inline-block; color: #0e7490;
    font-size: 0.9rem; font-weight: 600; margin-bottom: 15px; text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
.subpage-header h1 { font-size: 1.5rem; color: #1e293b; margin-bottom: 5px; }
.subpage-header p { font-size: 0.9rem; color: #64748b; }

.page-header { text-align: center; padding: 30px 15px; background: #fff; border-bottom: 1px solid #e2e8f0; margin-bottom: 20px; }
.page-header h1 { font-size: 1.6rem; margin-bottom: 8px; color: #1e293b; }
.page-header p { font-size: 0.9rem; color: #64748b; }

/* 10. ABOUT US PAGE */
.about-content { padding: 20px; background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; margin-bottom: 20px; }
.about-content p { font-size: 0.95rem; line-height: 1.7; color: #475569; }
.skills-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.skill-pill { background: #f1f5f9; color: #1e293b; padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; }

/* 11. SERVICES PAGE */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.service-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: #1e293b; }
.service-card p { font-size: 0.85rem; color: #64748b; margin-bottom: 15px; flex-grow: 1; }
.service-stats { font-size: 0.8rem; color: #64748b; margin-bottom: 15px; line-height: 1.6; }
.service-stats strong { color: #1e293b; }
.service-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price { font-weight: 700; font-size: 1.1rem; color: #1e293b; }
.btn-sm { padding: 8px 12px; font-size: 0.8rem; background: #0e7490; color: #fff; border-radius: 6px; text-decoration: none; font-weight: 500; }

.ratings-container { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.rating-row { margin-bottom: 15px; }
.rating-label { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 500; color: #1e293b; margin-bottom: 5px; }
.progress-bar { width: 100%; background: #f1f5f9; height: 8px; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: #0e7490; border-radius: 4px; }

/* 12. REVIEWS PAGE */
.review-stats-card { background: #f8fafc; border-radius: 12px; padding: 20px; text-align: center; border: 1px solid #e2e8f0; margin-bottom: 20px; }
.big-rating { font-size: 2.5rem; font-weight: 700; color: #0e7490; line-height: 1; margin-bottom: 5px; }
.stars { color: #f59e0b; margin-bottom: 5px; }
.review-bars { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; }
.review-bar-row { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #64748b; }
.review-bar-track { flex-grow: 1; background: #e2e8f0; height: 6px; border-radius: 3px; }
.review-bar-fill { background: #0e7490; height: 100%; border-radius: 3px; }

.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.video-card { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid #e2e8f0; }
.video-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 9/16; display: block; }
.video-card .play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; background: rgba(14, 116, 144, 0.9); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.video-label { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(255,255,255,0.9); padding: 8px; font-size: 0.75rem; color: #1e293b; font-weight: 500; text-align: center; }

/* 14. REVIEWS SLIDER & TEXT CARDS */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.review-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

.review-slide .stars { color: #f59e0b; font-size: 1.2rem; margin-bottom: 10px; }
.review-slide h4 { font-size: 1.1rem; color: #1e293b; margin-bottom: 10px; font-style: italic; }
.review-slide p { font-size: 0.9rem; color: #475569; line-height: 1.6; margin-bottom: 15px; }
.review-slide .author { font-weight: 600; font-size: 0.85rem; color: #0e7490; }

.video-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #000;
}
.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 15. DESKTOP RESPONSIVE ADJUSTMENTS */
@media (min-width: 768px) {
    .profile-details-grid { grid-template-columns: repeat(3, 1fr); text-align: center; }
    .profile-details-grid .detail-item { align-items: center; }
    .profile-actions { flex-direction: row; justify-content: center; }
    .profile-actions .btn { min-width: 200px; }
    .metrics-grid { grid-template-columns: repeat(4, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 2fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
    .sticky-nav { justify-content: center; }
    .services-grid { grid-template-columns: 1fr 1fr; }
}