/* Power to the Pixel - Main Stylesheet */

:root {
    --primary-color: #E2007A;
    --accent-color: #e74c3c;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #ddd;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Header & Navigation */
.top-bar {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.top-bar .nav-link {
    color: var(--text-dark);
    font-size: 14px;
    padding: 5px 15px;
    text-decoration: none;
}

.top-bar .nav-link:hover {
    color: var(--accent-color);
}

.main-header {
    background: #000;
    padding: 20px 0;
}

.logo {
    max-width: 280px;
    height: auto;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    width: 100%;
    max-width: 380px;
}

.search-form input {
    flex: 1;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    width: 400px;
    max-width: 90vw;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: var(--bg-light);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.search-result-excerpt {
    font-size: 14px;
    color: var(--text-light);
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
}

.main-nav {
    background: var(--primary-color);
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    padding: 0;
}

.main-nav .nav-link {
    color: #fff;
    padding: 15px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    transition: background 0.3s;
}

.main-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 40px;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content .btn {
    margin-top: 20px;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent-color);
    border: none;
}

.btn-primary:hover {
    background: #c0392b;
}

/* Page Header */
.page-header {
    background: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Article Header */
.article-header {
    background: var(--bg-light);
    padding: 60px 0 40px;
}

.article-header h1 {
    font-size: 38px;
    margin-bottom: 20px;
}

.article-meta {
    color: var(--text-light);
    font-size: 14px;
}

.article-meta span {
    margin-right: 20px;
}

/* Article Content */
.article-content {
    padding: 60px 0;
}

.article-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.article-content ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-footer {
    border-top: 2px solid var(--border-color);
    padding-top: 30px;
}

/* What Makes Us Unique */
.unique-section {
    padding: 80px 0;
    background: #fff;
}

.unique-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.unique-section hr {
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border: none;
    margin: 0 auto 40px;
}

.unique-section .lead {
    text-align: center;
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 60px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Project Cards */
.project-card {
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    background: #fff;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card-body {
    padding: 20px;
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.project-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.project-card h3 a:hover {
    color: var(--accent-color);
}

.project-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.project-card .btn-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Sections */
.content-section {
    padding: 80px 0;
}

.content-section.gray-bg {
    background: var(--bg-light);
}

.section-title {
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-align: center;
}

/* Liz Rosenthal Section */
.liz-section {
    background: var(--bg-light);
}

.liz-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.liz-sidebar {
    flex: 0 0 250px;
}

.liz-sidebar .nav {
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-color);
}

.liz-sidebar .nav-link {
    color: var(--text-dark);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
}

.liz-sidebar .nav-link:hover {
    background: var(--accent-color);
    color: #fff;
}

.liz-sidebar .nav-link:last-child {
    border-bottom: none;
}

.liz-main {
    flex: 1;
}

.liz-photo {
    max-width: 300px;
    margin: 20px auto;
    display: block;
}

/* Testimonials */
.testimonial {
    background: #fff;
    padding: 30px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 30px;
    font-style: italic;
    color: var(--text-light);
}

.testimonial-author {
    font-style: normal;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 15px;
}

/* Contact Section */
.contact-section {
    background: var(--primary-color);
    color: #fff;
    padding: 60px 0;
}

.contact-section h2 {
    color: #fff;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-item h5 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-item p {
    margin: 0;
    line-height: 1.8;
}

/* Contact Page */
.contact-info-box {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.contact-info-box h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-info-box a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-info-box a:hover {
    text-decoration: underline;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.contact-form .form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form .form-control {
    border: 1px solid var(--border-color);
    padding: 10px 15px;
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

/* Footer */
footer {
    background: #1a252f;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 32px;
    }
    
    .liz-content {
        flex-direction: column;
    }
    
    .liz-sidebar {
        flex: 1 1 100%;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .article-header h1 {
        font-size: 28px;
    }
    
    .search-results {
        width: 100%;
    }
}

/* Pink search button */
.btn-search {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.2s;
    cursor: pointer;
}

.btn-search:hover {
    background: #ff1a8c;
    color: #fff;
}

/* Mobile Hamburger Menu */
.mobile-nav-bar {
    min-height: 50px;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0 8px 12px;
    line-height: 1;
}

.hamburger-icon {
    color: #fff;
    font-size: 32px;
    display: block;
}

.mobile-menu {
    background: #c4006a;
    border-top: 2px solid #fff;
    padding: 10px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    transition: background 0.2s, border-color 0.2s;
    box-sizing: border-box;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: #ff1a8c;
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.mobile-nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 4px 0;
    border: none;
}
