/*
Theme Name: Perks On The Go
Description: A modern, dark-themed WordPress theme for mobile app promotion with rewards system focus. Features a sleek hero section, phone mockups, and integrated contact forms.
Author: Tony George Sam, HubSpire Corp.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perksonthego
Tags: one-column, two-columns, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

/* WordPress specific styles */
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

/* WordPress accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WordPress alignment classes */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/* WordPress gallery styles */
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/* WordPress image classes */
img {
    height: auto;
    max-width: 100%;
}

/* WordPress custom logo */
.custom-logo-link {
    display: inline-block;
}

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

/* Site title styling */
.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.site-title a:hover {
    color: #007AFF;
}

/* Header & Navigation */
.header {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand .logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
}


.nav-brand .brand-name {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: #007AFF;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 160px 30px 0 30px;
    position: relative;
    overflow: hidden;
    background-attachment: scroll; /* Remove parallax */
    background-position: top center;
}

.hero::before {
    background: rgba(0, 0, 0, 0.6); /* Darker overlay */
}
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title br {
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.download-btn:hover,
.download-btn:focus {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

.btn-text .store-name {
    font-size: 0.9rem;
    font-weight: 600;
}
.hero-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockups {
    max-width: 100%;
    height: auto;
    max-height: 500px;
}


/* Content Section */
.content-section {
    padding: 4rem 2rem;
    background: #fff;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}
.common-content-container {
    margin: 0 auto;
    gap: 4rem;
    display: flex;
    margin: 0 4rem;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title,
.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.entry-content,
.section-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #000;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #000;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content a {
    color: #007AFF;
    transition: all 0.3s ease;
}

.entry-content a:hover,
.entry-content a:focus {
    color: #0051d5;
}

/* Page links */
.page-links {
    margin-top: 2rem;
    text-align: center;
}

.page-links a,
.page-links span {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
}

.page-links a:hover,
.page-links a:focus {
    background: rgba(255, 255, 255, 0.2);
}

/* Contact Form */
.contact-form {
    background: #EAEAEA;
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #ccc;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #007AFF;
    background: rgba(255, 255, 255, 0.1);
}

.full-width {
    margin-bottom: 1rem;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 1.5rem;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover,
.form-submit:focus {
    background: #ccc;
    transform: translateY(-2px);
}

.form-note {
    font-size: 0.875rem;
    color: #999;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #fff;
}

/* Comments */
.comments-section {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.comments-area {
    max-width: 800px;
    margin: 0 auto;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.comment-meta {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #ccc;
}

.comment-author {
    font-weight: 600;
    color: #fff;
}

.comment-content p {
    margin-bottom: 1rem;
}

.reply {
    margin-top: 1rem;
}

.comment-reply-link {
    color: #007AFF;
    text-decoration: none;
    font-size: 0.9rem;
}

.comment-reply-link:hover,
.comment-reply-link:focus {
    color: #0051d5;
}

/* WP Forms Integration */
.wpforms-container {
    max-width: 100%;
}

.wpforms-form .wpforms-field {
    margin-bottom: 1rem;
}

.wpforms-form .wpforms-field-label {
    color: #fff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.wpforms-form .wpforms-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wpforms-form .wpforms-field-row .wpforms-field {
    margin-bottom: 0;
}

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="url"],
.wpforms-form select,
.wpforms-form textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.wpforms-form input[type="text"]::placeholder,
.wpforms-form input[type="email"]::placeholder,
.wpforms-form input[type="tel"]::placeholder,
.wpforms-form input[type="url"]::placeholder,
.wpforms-form textarea::placeholder {
    color: #ccc;
}

.wpforms-form input[type="text"]:focus,
.wpforms-form input[type="email"]:focus,
.wpforms-form input[type="tel"]:focus,
.wpforms-form input[type="url"]:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
    outline: none;
    border-color: #007AFF;
    background: rgba(255, 255, 255, 0.1);
}

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

.wpforms-form .wpforms-submit-container {
    margin-top: 1.5rem;
}

.wpforms-form .wpforms-submit {
    width: 100%;
    padding: 1rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpforms-form .wpforms-submit:hover,
.wpforms-form .wpforms-submit:focus {
    background: #ccc;
    transform: translateY(-2px);
}

.wpforms-form .wpforms-error {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.wpforms-form .wpforms-field.wpforms-has-error input,
.wpforms-form .wpforms-field.wpforms-has-error textarea,
.wpforms-form .wpforms-field.wpforms-has-error select {
    border-color: #ff6b6b;
}

.wpforms-confirmation-container-full {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #4CAF50;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .phone-mockups {
        max-height: 400px;
    }
    
    
    .content-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-phones {
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-buttons {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* WP Forms mobile responsive */
    .wpforms-form .wpforms-field-row {
        grid-template-columns: 1fr;
    }
}