/* ===================================================
   OLAOLUWA AKINLOTAN - SITE-WIDE THEME STYLES
   Consistent Color Theme Throughout All Pages
   =================================================== */

/* ===== Global Color Variables ===== */
:root {
    /* Primary Colors */
    --theme-primary-dark: #0f0c29;
    --theme-primary-mid: #1a1a3e;
    --theme-primary-light: #302b63;
    
    /* Accent Colors */
    --theme-accent-cyan: #00b5ff;
    --theme-accent-blue: #1e90ff;
    --theme-accent-gold: #f59e0b;
    
    /* Text Colors */
    --theme-text-white: #ffffff;
    --theme-text-light: rgba(255, 255, 255, 0.9);
    --theme-text-muted: rgba(255, 255, 255, 0.7);
    --theme-text-dark: #1f2937;
    
    /* Gradients */
    --theme-gradient-primary: linear-gradient(135deg, var(--theme-accent-cyan), var(--theme-accent-blue));
    --theme-gradient-dark: linear-gradient(135deg, #0f0c29, #302b63);
}

/* ===== Header Logo Badge ===== */
.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--theme-gradient-primary);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--theme-text-white);
    margin-right: 12px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.logo-badge:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

/* Sitename styling enhancement */
.logo .sitename {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--theme-primary-dark);
}

/* ===== Smooth Scrolling ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Selection Color ===== */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: var(--theme-primary-dark);
}

/* ===== Focus States for Accessibility ===== */
a:focus,
button:focus {
    outline: 2px solid var(--theme-accent-cyan);
    outline-offset: 2px;
}

/* ===== Page Title / Dark Background Sections ===== */
.page-title.dark-background {
    background: var(--theme-gradient-dark) !important;
    position: relative;
    overflow: hidden;
}

.page-title.dark-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.page-title.dark-background .container {
    position: relative;
    z-index: 1;
}

.page-title.dark-background h1 {
    color: var(--theme-text-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.page-title.dark-background .breadcrumbs a {
    color: var(--theme-accent-cyan);
    transition: all 0.3s ease;
}

.page-title.dark-background .breadcrumbs a:hover {
    color: var(--theme-accent-blue);
}

.page-title.dark-background .breadcrumbs .current {
    color: var(--theme-text-light);
}

/* ===== Section Titles Enhancement ===== */
.section-title h2 {
    position: relative;
    display: inline-block;
    color: var(--theme-primary-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

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

.section-title p {
    color: var(--theme-text-dark);
}

/* ===== Call To Action Section ===== */
.call-to-action.dark-background {
    background: var(--theme-gradient-dark) !important;
    position: relative;
}

.call-to-action.dark-background img {
    opacity: 0.2;
}

.call-to-action h3 {
    color: var(--theme-text-white);
    font-family: 'Poppins', sans-serif;
}

.call-to-action p {
    color: var(--theme-text-light);
}

.call-to-action .cta-btn {
    background: var(--theme-gradient-primary);
    color: var(--theme-text-white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.call-to-action .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

/* ===== Service Items ===== */
.service-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 15px;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.service-item .icon {
    background: var(--theme-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-item.item-cyan .icon i {
    color: var(--theme-accent-cyan);
}

.service-item.item-purple .icon i {
    color: var(--theme-accent-blue);
}

.service-item.item-gold .icon i {
    color: var(--theme-accent-gold);
}

/* ===== Portfolio Items ===== */
.portfolio-content {
    transition: all 0.4s ease;
    border-radius: 15px;
    overflow: hidden;
}

.portfolio-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-info {
    background: linear-gradient(to top, rgba(15, 12, 41, 0.95), transparent);
}

.portfolio-info h4 {
    color: var(--theme-text-white);
}

.portfolio-info .preview-link,
.portfolio-info .details-link {
    background: var(--theme-accent-cyan);
    color: var(--theme-primary-dark);
    transition: all 0.3s ease;
}

.portfolio-info .preview-link:hover,
.portfolio-info .details-link:hover {
    background: var(--theme-accent-blue);
    color: var(--theme-text-white);
}

/* ===== Portfolio Filters ===== */
.portfolio-filters li {
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.portfolio-filters li:hover,
.portfolio-filters li.filter-active {
    color: var(--theme-accent-cyan);
}

/* ===== Contact Section ===== */
.contact .info-wrap {
    background: var(--theme-gradient-dark);
    border-radius: 15px;
}

.contact .info-item i {
    color: var(--theme-accent-cyan);
}

.contact .info-item h3 {
    color: var(--theme-text-white);
}

.contact .info-item p,
.contact .info-item a {
    color: var(--theme-text-light);
}

.contact .info-item a:hover {
    color: var(--theme-accent-cyan);
}

/* Contact Form */
.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--theme-accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.contact .php-email-form button[type="submit"] {
    background: var(--theme-gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 12px 35px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.contact .php-email-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

/* ===== About Section ===== */
.about .content h2 {
    color: var(--theme-primary-dark);
    font-family: 'Poppins', sans-serif;
}

.about .content ul li i {
    color: var(--theme-accent-cyan);
}

.about .content ul li strong {
    color: var(--theme-primary-dark);
}

/* ===== Skills Section ===== */
.skills .progress-bar {
    background: var(--theme-gradient-primary);
}

/* ===== Resume Section ===== */
.resume h4 {
    color: var(--theme-primary-dark);
    font-family: 'Poppins', sans-serif;
}

.resume h4::before {
    background: var(--theme-accent-cyan);
}

.resume .resume-item::before {
    background: var(--theme-accent-blue);
    border-color: var(--theme-accent-cyan);
}

/* ===== Testimonials ===== */
.testimonials .testimonial-item {
    background: var(--theme-text-white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.testimonials .testimonial-item h3 {
    color: var(--theme-primary-dark);
}

/* ===== Footer Enhancement ===== */
#footer {
    background: var(--theme-gradient-dark);
}

#footer .social-links a {
    background: rgba(255, 255, 255, 0.1);
    color: var(--theme-text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

#footer .social-links a:hover {
    background: var(--theme-accent-cyan);
    color: var(--theme-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

#footer .credits a {
    color: var(--theme-accent-cyan);
}

/* ===== Preloader Enhancement ===== */
#preloader {
    background: var(--theme-gradient-dark);
}

#preloader::before {
    border-color: var(--theme-accent-cyan) transparent transparent transparent;
}

/* ===== Scroll Top Button ===== */
.scroll-top {
    background: var(--theme-gradient-primary) !important;
    transition: all 0.3s ease;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

/* ===== Navigation Menu ===== */
.navmenu ul li a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navmenu ul li a:hover,
.navmenu ul li a.active {
    color: var(--theme-accent-cyan) !important;
}

/* Mobile Menu */
.mobile-nav-toggle {
    color: var(--theme-primary-dark);
}

/* ===== Buttons Global ===== */
.btn-get-started {
    background: var(--theme-gradient-primary);
    border: none;
    color: var(--theme-text-white);
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.btn-get-started:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

/* ===== Cards & Boxes ===== */
.icon-box,
.info-box,
.feature-box {
    transition: all 0.4s ease;
    border-radius: 15px;
}

.icon-box:hover,
.info-box:hover,
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* ===== Links ===== */
a {
    color: var(--theme-accent-cyan);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--theme-accent-blue);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Apply subtle pulse to accent elements */
.service-item .icon i,
.contact .info-item i {
    animation: pulse 2s ease-in-out infinite;
}
