/* ============================================
   PAGES - Page-specific Styles
   Requires: theme-system.css
   ============================================ */

/* About Page Styles */
.about-section {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.about-content h2 {
    color: white;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: 'Rajdhani', sans-serif;
}

.about-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.values-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2rem;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-8px);
}

.value-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
}

.value-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1.05rem;
}

.team-section {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
}

.team-member:hover {
    transform: translateY(-8px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid var(--border-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.team-member h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
}

.team-member p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Services Page */
.services-hero {
    padding: 8rem 0 6rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-features li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: 900;
    font-size: 1.2rem;
}

[data-theme="light"] .service-features li {
    color: #475569;
}

[data-theme="light"] .service-features li::before {
    color: var(--secondary-blue);
}

/* Technologies Page Styles */
.tech-hero-section {
    padding: 8rem 0 6rem;
    position: relative;
}

.tech-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(157, 78, 237, 0.1), transparent 50%);
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.tech-category-section {
    padding: 6rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.tech-card::before {
    left: -100%;
}

.tech-icon {
    font-size: 4rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.5));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.tech-card:nth-child(2n) .tech-icon {
    animation-delay: -1s;
}

.tech-card:nth-child(3n) .tech-icon {
    animation-delay: -2s;
}

.tech-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
}

.tech-level {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--border-purple);
    border-radius: 2rem;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.tech-category-title {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
}

.tech-stats-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(157, 78, 237, 0.05));
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    text-align: center;
    padding: 3rem 2rem;
    background: transparent;
    border: 2px solid rgba(157, 78, 237, 0.3);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    border-color: var(--purple-neon);
    box-shadow: 0 20px 60px rgba(157, 78, 237, 0.3);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--electric-blue), var(--purple-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    font-weight: 600;
}

[data-theme="light"] .tech-card {
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .tech-name {
    color: var(--secondary-blue);
}

/* Projects Page Styles */
.project-content h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

.projects-section {
    padding: 6rem 0;
}

/* Testimonials Page - Carousel Styles */
.testimonials-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 80px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 1rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .carousel-slide {
        min-width: 50%;
    }
}

@media (min-width: 1024px) {
    .carousel-slide {
        min-width: 33.333%;
    }
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-purple);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary-purple);
}

.carousel-nav-btn:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.carousel-nav-btn.prev {
    left: 0;
}

.carousel-nav-btn.next {
    right: 0;
}

@media (max-width: 768px) {
    .testimonials-carousel-container {
        padding: 0 60px;
    }
    
    .carousel-nav-btn {
        width: 48px;
        height: 48px;
    }
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.3);
    border: 2px solid var(--border-purple);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-purple);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
}

.testimonial-card-carousel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-purple);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial-card-carousel:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .testimonial-card-carousel {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(30, 58, 138, 0.3);
}

[data-theme="light"] .carousel-nav-btn {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(30, 58, 138, 0.3);
    color: var(--secondary-blue);
}

[data-theme="light"] .carousel-nav-btn:hover {
    background: var(--secondary-blue);
    color: white;
}

[data-theme="light"] .carousel-dot {
    background: rgba(30, 58, 138, 0.3);
    border-color: rgba(30, 58, 138, 0.5);
}

[data-theme="light"] .carousel-dot.active {
    background: var(--secondary-blue);
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-form-wrapper {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-gold);
    border-radius: 1.5rem;
    padding: 2.5rem;
}

.contact-form-wrapper h2 {
    color: white;
    margin-bottom: 1.5rem;
}

/* Theme Light Overrides */
[data-theme="light"] .about-content h2,
[data-theme="light"] .value-card h3,
[data-theme="light"] .team-member h3 {
    color: var(--secondary-blue);
}

[data-theme="light"] .about-content p,
[data-theme="light"] .value-card p,
[data-theme="light"] .team-member p {
    color: #475569;
}

[data-theme="light"] .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(30, 58, 138, 0.3);
}

[data-theme="light"] .contact-form-wrapper h2 {
    color: var(--secondary-blue);
}