/* =============================================
   brand-identity.css - Custom styles for Brand Identity page
   Author: Jofawebdev
   Description: Enhances the brand identity page with custom styling,
                animations, and responsive adjustments.
   ============================================= */

/* ---------- Global Styles ---------- */
body.brand-identity-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    padding-top: 76px; /* offset for fixed navbar */
}

/* ---------- Utility Classes ---------- */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.max-width-800 {
    max-width: 800px;
}

/* ---------- Hero Section ---------- */
.brand-hero-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path fill="white" d="M20 20 L40 20 L30 40 Z"/><circle cx="70" cy="70" r="10"/><rect x="60" y="20" width="15" height="15"/></svg>');
    background-size: 100px 100px;
    pointer-events: none;
}

.brand-hero-section h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.2;
}

.identity-badge {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 500;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* ---------- Service Cards ---------- */
.brand-service-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}

.brand-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-feature-list {
    list-style: none;
    padding: 0;
}

.service-feature-list li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #555;
}

/* ---------- Process Steps ---------- */
.process-step {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.process-step:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.process-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(102, 126, 234, 0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.process-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.process-timeline {
    position: relative;
    height: 4px;
    background: #e0e0e0;
    width: 80%;
    margin: 0 auto;
}

.timeline-line {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 100%;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    z-index: 2;
}

/* ---------- Portfolio Cards ---------- */
.portfolio-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
}

.portfolio-image {
    position: relative;
    height: 250px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    color: #667eea;
    font-size: 3rem;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 1rem;
    text-align: center;
}

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

.portfolio-tags .tag {
    display: inline-block;
    background: #f1f3f9;
    color: #667eea;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Portfolio Filter */
.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.filter-btn {
    background: none;
    border: 1px solid #dee2e6;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* ---------- Package Cards ---------- */
.package-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    height: 100%;
}

.package-card.popular {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.price-currency {
    font-size: 1rem;
    font-weight: 400;
    margin-right: 0.25rem;
    vertical-align: super;
}

/* ---------- Accordion Customization ---------- */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 1rem !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.accordion-button {
    font-weight: 600;
    color: #333;
    background: white;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: #667eea;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(102, 126, 234, 0.5);
}

.accordion-body {
    padding: 1.5rem;
    background: white;
}

/* ---------- CTA Section ---------- */
.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* ---------- Footer ---------- */
footer .text-primary {
    color: #667eea !important;
}

footer a:hover {
    color: #667eea !important;
    transition: color 0.3s;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
    .package-card.popular {
        transform: scale(1);
    }
    .process-timeline {
        display: none;
    }
    .brand-hero-section h1 {
        font-size: 2.5rem;
    }
}

/* ---------- Scroll to Top Button ---------- */
#scrollToTop {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    border: none;
    transition: all 0.3s;
}

#scrollToTop:hover {
    background: #764ba2;
    transform: translateY(-3px);
}