/* ===== PJ Digi - Social Media Marketing Agency ===== */

/* --- CSS Variables --- */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --secondary: #ff6b35;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --gray: #6c757d;
    --gray-light: #f8f9fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #1a73e8 0%, #6c5ce7 100%);
    --gradient-warm: linear-gradient(135deg, #ff6b35 0%, #f7971e 100%);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* --- Navigation --- */
.navbar-custom {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar-custom.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar-custom .navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--primary);
}

.navbar-custom .navbar-brand span {
    color: var(--secondary);
}

.navbar-custom .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 16px !important;
    transition: var(--transition);
    font-size: 0.95rem;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary);
}

.nav-cta {
    background: var(--gradient);
    color: var(--white) !important;
    border-radius: 25px;
    padding: 10px 25px !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
    color: var(--white) !important;
}

/* --- Hero Section --- */
.hero-section {
    background: var(--gradient);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.hero-stat h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 5px;
}

.hero-stat p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* --- Buttons --- */
.btn-primary-custom {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
    color: var(--white);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.btn-secondary-custom:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-orange {
    background: var(--gradient-warm);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    color: var(--white);
}

/* --- Section Styles --- */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* --- Service Cards --- */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
}

.service-card h4 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* --- About Section --- */
.about-section .about-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* --- Portfolio Section --- */
.portfolio-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    background: var(--white);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-card .portfolio-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.portfolio-card .portfolio-img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 115, 232, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-img .overlay {
    opacity: 1;
}

.portfolio-card .portfolio-body {
    padding: 25px;
}

.portfolio-card .portfolio-body h4 {
    margin-bottom: 8px;
}

.portfolio-card .portfolio-body p {
    color: var(--gray);
    font-size: 0.9rem;
}

.portfolio-tag {
    display: inline-block;
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 10px;
}

/* --- Team Section --- */
.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-card .team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary);
    padding: 4px;
}

.team-card h4 {
    margin-bottom: 5px;
}

.team-card .role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.team-card .social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    margin: 0 5px;
    transition: var(--transition);
}

.team-card .social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

/* --- Testimonials --- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: rgba(26, 115, 232, 0.1);
    position: absolute;
    top: 20px;
    right: 30px;
}

.testimonial-card p {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card .client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .client-name {
    font-weight: 600;
    color: var(--dark);
}

.testimonial-card .client-role {
    font-size: 0.85rem;
    color: var(--gray);
}

/* --- Blog Section --- */
.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card .blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-card .blog-body {
    padding: 25px;
}

.blog-card .blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--gray);
}

.blog-card .blog-body h4 {
    margin-bottom: 10px;
}

.blog-card .blog-body h4 a {
    color: var(--dark);
}

.blog-card .blog-body h4 a:hover {
    color: var(--primary);
}

.blog-card .blog-body p {
    color: var(--gray);
    font-size: 0.95rem;
}

.blog-category {
    display: inline-block;
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Contact Section --- */
.contact-info-card {
    background: var(--gradient);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    height: 100%;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 1.3rem;
    margin-top: 3px;
}

.contact-info-item h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 3px;
}

.contact-info-item p {
    opacity: 0.8;
    font-size: 0.95rem;
    margin: 0;
}

.contact-form {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.15);
}

/* --- CTA Section --- */
.cta-section {
    background: var(--gradient);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* --- Stats Section --- */
.stats-section {
    background: var(--dark);
    padding: 60px 0;
    color: var(--white);
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-item p {
    opacity: 0.7;
    font-size: 0.95rem;
}

/* --- Clients/Partners --- */
.clients-section {
    padding: 60px 0;
    background: var(--gray-light);
}

.client-logo {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
    max-height: 50px;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 50px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- Page Header / Banner --- */
.page-header {
    background: var(--gradient);
    padding: 120px 0 60px;
    color: var(--white);
    text-align: center;
    position: relative;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item.active {
    color: var(--white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* --- Process Section --- */
.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-step .step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* --- Pricing Cards --- */
.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.pricing-card:hover,
.pricing-card.featured {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    position: relative;
}

.pricing-card.featured .badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-warm);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card ul li i {
    color: var(--primary);
}

/* --- Legal Pages --- */
.legal-content {
    padding: 60px 0;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--dark);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 25px 0 12px;
}

.legal-content p, .legal-content li {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.legal-content ul li {
    margin-bottom: 8px;
}

/* --- Blog Detail --- */
.blog-detail-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.blog-detail-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
}

.blog-detail-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.blog-detail-content p {
    margin-bottom: 20px;
}

/* --- FAQ Section --- */
.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.faq-item .accordion-button {
    font-weight: 600;
    color: var(--dark);
    border-radius: var(--border-radius);
}

.faq-item .accordion-button:not(.collapsed) {
    background: rgba(26, 115, 232, 0.05);
    color: var(--primary);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-stats { gap: 20px; }
    .section-padding { padding: 60px 0; }
    .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-stats { flex-wrap: wrap; gap: 15px; }
    .hero-stat h3 { font-size: 1.75rem; }
    .navbar-custom { padding: 10px 0; }
    .section-padding { padding: 50px 0; }
    .page-header { padding: 100px 0 40px; }
    .page-header h1 { font-size: 1.75rem; }
}

/* --- Utilities --- */
.bg-gradient-primary {
    background: var(--gradient);
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}
