/* Parvaiz - Base & Layout Styles */
:root {
    --color-text: #000000;
    --color-active: #629B95;
    --color-button-bg: #1F472E;
    --color-white: #FFFFFF;
    --font-satoshi: 'Satoshi-Variable', sans-serif;
}

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

body {
    font-family: var(--font-satoshi);
    font-weight: 400;
}

/* Social Media Fixed Links */
.social-fixed {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem 1.5rem;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.social-fixed.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(-20px);
}

.social-fixed__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding: 0.5rem;
}

.social-fixed__link:hover {
    transform: translateX(3px);
    opacity: 0.7;
}

.social-fixed__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke-width: 1.5;
}

.social-fixed__text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    white-space: nowrap;
    text-transform: capitalize;
    transform: rotate(-180deg);
}

@media (max-width: 768px) {
    .social-fixed {
        display: none;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 998;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:active {
    transform: scale(0.98);
}

.whatsapp-float svg {
    width: 36px;
    height: 36px;
    color: #FFFFFF;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 1.25rem;
        right: 1rem;
    }
    
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

/* Navbar */
.navbar {
    background: var(--color-white);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar__menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.navbar__spacer { flex: .7; min-width: 0; }

.navbar__spacer--end {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.navbar__logo { height: 40px; width: auto; }

.navbar__nav {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    list-style: none;
}

.navbar__link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.navbar__link:hover { color: #3F6B65; }
.navbar__link--active { color: #3F6B65; }

.navbar__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 2px;
    background: #3F6B65;
    display: none;
}

.navbar__link--active::after,
.navbar__link:hover::after { display: block; }

.navbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-button-bg);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.navbar__cta:hover {
    background: #163a26;
    transform: translateY(-1px);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar__toggle span {
    width: 24px; height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

.navbar__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.navbar__toggle.active span:nth-child(2) { opacity: 0; }
.navbar__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 1024px) { .navbar__nav { gap: 1.5rem; } }

@media (max-width: 900px) {
    .navbar { padding: 1rem 1.5rem; }
    .navbar__toggle { display: flex; }
    .navbar__menu {
        position: fixed;
        top: 0; right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        flex: unset;
    }
    .navbar__menu.active { right: 0; }
    .navbar__spacer:not(.navbar__spacer--end) { display: none; }
    .navbar__spacer--end { flex: unset; justify-content: stretch; }
    .navbar__nav { flex-direction: column; gap: 0; }
    .navbar__nav li { width: 100%; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
    .navbar__nav .navbar__link { display: block; padding: 1rem 0; font-size: 1rem; }
    .navbar__cta { margin-top: 1.5rem; width: 100%; justify-content: center; }
    .navbar__overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .navbar__overlay.active { display: block; opacity: 1; }
}

@media (max-width: 480px) {
    .navbar { padding: 0.75rem 1rem; }
    .navbar__brand { font-size: 1.1rem; }
    .navbar__logo { height: 32px; }
}

/* CTA Section */
.cta {
    position: relative;
    padding: 7rem 2rem;
    min-height: 380px;
    background-image: url('../assets/image/footer/bg.webp');
    background-size: cover;
    background-position: 10% 95%;
    background-repeat: no-repeat;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.cta__content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.cta__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.cta__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 6rem;
}

.cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-white);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta__btn:hover {
    background: #f0f0f0;
    color: var(--color-text);
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: #000000;
    padding: 4rem 2rem 2rem;
    color: #B0B0B0;
}

.footer__top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__brand img {
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
}

.footer__company {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.footer__contact { font-size: 0.9rem; line-height: 1.6; }
.footer__contact p { margin-bottom: 0.25rem; }

.footer__column-title,
.footer__column h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer__column ul { list-style: none; }
.footer__column li { margin-bottom: 0.5rem; }

.footer__column a {
    color: #B0B0B0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer__column a:hover { color: var(--color-white); }

.footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright { font-size: 0.85rem; }

.footer__policies {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer__policies a {
    color: #B0B0B0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer__policies a:hover { color: var(--color-white); }

@media (max-width: 900px) {
    .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}


@media (max-width: 600px) {
    .cta { padding: 4rem 1.5rem; }
    .footer { padding: 3rem 1rem 1.5rem; }
    .footer__top {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Pagination (shared: blog, collections, admin) */
.admin-pagination__link:hover {
    background: #FAFAFA !important;
    border-color: var(--color-button-bg) !important;
    color: var(--color-button-bg) !important;
}

@media (max-width: 600px) {
    .admin-pagination {
        flex-direction: column;
        align-items: stretch;
    }
    .admin-pagination ul {
        justify-content: center;
    }
}
