/*
Theme Name: Pingal Media One
Theme URI: https://pingalmedia.com
Author: Pingal Media Innovations
Author URI: https://pingalmedia.com
Description: A professional WordPress theme designed for Pingal Media Innovations Private Limited - featuring a striking black, white, and red color scheme for maximum impact and professionalism.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pingalmediaone
Tags: media, news, professional, business, custom-menu, featured-images, responsive-layout, clean, modern, red, black

This theme, like WordPress, is licensed under the GPL.
*/

/* ============================
   CSS Reset & Base Styles
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ============================
   Typography
   ============================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ============================
   Pingal Media One Color Scheme
   ============================ */
:root {
    --primary-red: #e74c3c;        /* Vibrant Red */
    --primary-dark: #c0392b;       /* Dark Red */
    --black: #1a1a1a;              /* Rich Black */
    --dark-bg: #0a0a0a;            /* Darker Black */
    --white: #ffffff;              /* Pure White */
    --light-bg: #f8f9fa;           /* Light Gray */
    --text-dark: #1a1a1a;
    --text-light: #666;
    --gray-dark: #2c2c2c;
}

/* ============================
   Container & Layout
   ============================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-dark));
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ============================
   Header Styles
   ============================ */
.site-header {
    background: var(--black);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    font-weight: 700;
}

.site-logo a {
    display: block;
    text-decoration: none;
}

.logo-main {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 3px;
}

.logo-main .pingal {
    color: var(--white);
}

.logo-main .media {
    color: var(--primary-red);
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary-red);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================
   Hero Section
   ============================ */
.hero-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-section .highlight {
    color: var(--primary-red);
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #cccccc;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
}

.btn:hover {
    background: transparent;
    color: var(--primary-red);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

/* ============================
   Badge
   ============================ */
.badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ============================
   Services Section
   ============================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.2);
    border: 1px solid var(--primary-red);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

/* ============================
   About Section
   ============================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.company-info {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 4px solid var(--primary-red);
}

.company-info h4 {
    margin-bottom: 15px;
    color: var(--primary-red);
}

.company-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.company-info strong {
    color: var(--text-dark);
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================
   Portfolio/Projects Section
   ============================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* ============================
   Team Section
   ============================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--primary-red);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.team-role {
    color: var(--primary-red);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

/* ============================
   Contact Section
   ============================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-details h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-light);
}

.contact-details a {
    color: var(--primary-red);
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================
   Footer
   ============================ */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-section h3 .red-text {
    color: var(--primary-red);
}

.footer-section p {
    color: #cccccc;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-dark);
    color: #cccccc;
}

.footer-bottom a {
    color: var(--primary-red);
}

/* ============================
   Blog/Posts
   ============================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.post-thumbnail {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #999;
}

.post-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.post-content h3 a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.post-content h3 a:hover {
    color: var(--primary-red);
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}

/* ============================
   CTA Box
   ============================ */
.cta-box {
    background: linear-gradient(135deg, var(--black) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-box p {
    color: #cccccc;
    margin-bottom: 30px;
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 968px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background: var(--black);
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        min-width: 200px;
    }

    .main-navigation.active ul {
        display: flex;
    }

    .main-navigation li {
        text-align: center;
        padding: 5px 20px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .portfolio-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .hero-section {
        padding: 80px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ============================
   Utility Classes
   ============================ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--black);
    color: var(--white);
}

.bg-dark h2,
.bg-dark h3 {
    color: var(--white);
}
