/* PixelMente - Custom Styles */

:root {
    /* Color Palette */
    --primary-purple: #604B83;
    --dark-purple: #421B81;
    --light-purple: #E5D8FA;
    --accent-yellow: #F4AB00;
    --background-white: #FFFFFF;
    --background-light: #F6F1FF;
    
    /* Additional Colors */
    --purple-gradient-start: #7B68EE;
    --purple-gradient-end: #4B0082;
    --text-dark: #2C2C2C;
    --text-light: #6C757D;
    --shadow-color: rgba(96, 75, 131, 0.15);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-purple), var(--primary-purple));
    color: white;
    padding: 1rem 0;
    z-index: 1050;
    transform: translateY(100%);
    transition: var(--transition);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner a {
    color: var(--accent-yellow);
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

/* Header */
.navbar {
    background: linear-gradient(135deg, var(--dark-purple), var(--primary-purple)) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-yellow) !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 600;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    background-color: rgba(244, 171, 0, 0.1);
    color: var(--accent-yellow) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(1px);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
}

.btn-warning {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--dark-purple);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(244, 171, 0, 0.3);
}

.btn-warning:hover {
    background-color: #e09900;
    border-color: #e09900;
    color: var(--dark-purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 171, 0, 0.4);
}

/* Wave Dividers */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider.bottom {
    bottom: -1px;
    transform: rotate(0deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: var(--background-white);
}

/* Section Backgrounds */
.market-section {
    background-color: var(--background-white);
    position: relative;
}

.indicators-section {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    position: relative;
}

.indicators-section .wave-divider .shape-fill {
    fill: var(--background-white);
}

.analytics-section {
    background-color: var(--background-white);
    position: relative;
}

.areas-section {
    background: linear-gradient(135deg, var(--dark-purple), var(--primary-purple));
    position: relative;
}

.areas-section .wave-divider .shape-fill {
    fill: var(--background-white);
}

.process-section {
    background-color: var(--background-white);
    position: relative;
}

.news-section {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    position: relative;
}

/* Chart Cards */
.chart-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(244, 171, 0, 0.1);
}

.chart-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(96, 75, 131, 0.2);
}

.chart-image {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.chart-content h4 {
    color: var(--dark-purple);
    margin-bottom: 1rem;
    font-weight: 700;
}

.chart-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Indicator Cards */
.indicator-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
    border: 2px solid rgba(244, 171, 0, 0.2);
}

.indicator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    border-color: var(--accent-yellow);
}

.indicator-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-yellow), #ffcc33);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(244, 171, 0, 0.3);
}

.indicator-icon i {
    font-size: 2rem;
    color: var(--dark-purple);
}

.indicator-content h3 {
    color: var(--dark-purple);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.indicator-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.indicator-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Analytics Section */
.analytics-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.analytics-chart {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-color);
}

/* Area Cards */
.area-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
    border: 2px solid rgba(244, 171, 0, 0.2);
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    border-color: var(--accent-yellow);
}

.area-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--light-purple), var(--background-light));
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid var(--accent-yellow);
}

.area-icon i {
    font-size: 1.8rem;
    color: var(--primary-purple);
}

.area-content h4 {
    color: var(--dark-purple);
    margin-bottom: 1rem;
    font-weight: 700;
}

.area-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Process Section */
.process-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-color);
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(244, 171, 0, 0.1);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(96, 75, 131, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-yellow), #ffcc33);
    color: var(--dark-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(244, 171, 0, 0.3);
}

.process-step h4 {
    color: var(--dark-purple);
    margin-bottom: 1rem;
    font-weight: 700;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* News Cards */
.news-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
    border: 2px solid rgba(244, 171, 0, 0.2);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    border-color: var(--accent-yellow);
}

.news-date {
    color: var(--accent-yellow);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card h4 {
    color: var(--dark-purple);
    margin-bottom: 1rem;
    font-weight: 700;
}

.news-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-purple), #2D1B69);
    color: white;
}

.footer h5, .footer h6 {
    color: var(--accent-yellow);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-yellow);
    transform: translateX(3px);
}

.footer .bi {
    color: var(--accent-yellow);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .wave-divider svg {
        height: 40px;
    }
    
    .chart-card,
    .indicator-card,
    .area-card,
    .process-step,
    .news-card {
        margin-bottom: 2rem;
    }
    
    .navbar-nav {
        background: rgba(66, 27, 129, 0.95);
        border-radius: var(--border-radius);
        margin-top: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .indicator-value {
        font-size: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-yellow), #ffcc33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-purple {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
}

.shadow-custom {
    box-shadow: 0 8px 30px var(--shadow-color);
}

/* Secondary Pages Styles */
.page-hero {
    background: linear-gradient(135deg, var(--dark-purple), var(--primary-purple));
    padding: 150px 0 110px;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styles */
.form-control {
    border: 2px solid rgba(96, 75, 131, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 0.2rem rgba(244, 171, 0, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
}

/* Contact Page Specific */
.contact-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 8px 30px var(--shadow-color);
    height: 100%;
    border: 1px solid rgba(244, 171, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-yellow), #ffcc33);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--dark-purple);
}

/* Map Container */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-color);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Stats Cards */
.stats-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: var(--transition);
    border: 1px solid rgba(244, 171, 0, 0.1);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(96, 75, 131, 0.2);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.stats-label {
    font-weight: 600;
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
}

.stats-sublabel {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(244, 171, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(96, 75, 131, 0.2);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-genre {
    color: var(--accent-yellow);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.project-title {
    color: var(--dark-purple);
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Technology List */
.tech-list {
    list-style: none;
    padding: 0;
}

.tech-item {
    background: white;
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px var(--shadow-color);
    border-left: 4px solid var(--accent-yellow);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(96, 75, 131, 0.2);
}

.tech-name {
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
}

.tech-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Thank You Page */
.thank-you-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: 0 15px 50px var(--shadow-color);
    border: 2px solid var(--accent-yellow);
    max-width: 500px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-yellow), #ffcc33);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 30px rgba(244, 171, 0, 0.3);
}

.thank-you-icon i {
    font-size: 3rem;
    color: var(--dark-purple);
}
