/*
Theme Name: Help Advertiser Theme
Description: Professional newspaper advertising placement service - M. Ahmed Khan
Version: 1.0
Author: M. Ahmed Khan
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #ffffff;
    color: #333;
    padding: 1rem 0;
    border-bottom: 3px solid #4A90E2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: #4A90E2;
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: #4A90E2;
    color: white;
}

/* Hero Section */
.hero {
    background: #f8fbff;
    color: #333;
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid #e1ecf7;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: #4A90E2;
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.cta-button:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e1ecf7;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #4A90E2;
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.15);
}

.service-card h3 {
    color: #4A90E2;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* About Section */
.about-section {
    background: #f8fbff;
    padding: 5rem 0;
    border-top: 1px solid #e1ecf7;
    border-bottom: 1px solid #e1ecf7;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-content h3 {
    color: #4A90E2;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1ecf7;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Main content */
main {
    padding: 0;
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: #2c3e50;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Info Cards */
.info-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid #e1ecf7;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.info-card h3 {
    color: #4A90E2;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-card ul {
    margin: 1.5rem 0;
    padding-left: 0;
}

.info-card li {
    list-style: none;
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.info-card li:before {
    content: "✓";
    color: #4A90E2;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Info Boxes */
.contact-info-box {
    background: #f8fbff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid #e1ecf7;
    margin-bottom: 2rem;
}

.contact-info-box h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-info-box p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.contact-info-box strong {
    color: #4A90E2;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #4A90E2;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4A90E2;
}

/* CTA Sections */
.cta-section {
    background: #f8fbff;
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid #e1ecf7;
    border-bottom: 1px solid #e1ecf7;
}

.cta-section h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Project Gallery Styles */
.project-gallery {
    margin: 4rem 0;
}

.project-gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 2px solid #e1ecf7;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.15);
    border-color: #4A90E2;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item-content {
    padding: 1.5rem;
}

.gallery-item h3 {
    color: #4A90E2;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-close:hover {
    color: #4A90E2;
}

/* Empty gallery message */
.no-projects-message {
    text-align: center;
    padding: 3rem;
    background: #f8fbff;
    border-radius: 12px;
    border: 2px solid #e1ecf7;
    color: #666;
}

.no-projects-message h3 {
    color: #4A90E2;
    margin-bottom: 1rem;
}

/* Responsive gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .project-gallery h2 {
        font-size: 2rem;
    }
}