/*
Theme Name: N56 App Theme
Theme URI: https://example.com/n56-app-theme/ (Optional: Replace with your website later)
Author: Your Name
Author URI: https://yourwebsite.com (Optional: Replace with your website later)
Description: A custom WordPress theme for tahirshahzad-like app downloading websites.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: n56-app-theme
*/

/* Basic styling for now */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

/* Header Styling */
#site-header {
    background-color: #002244; /* Dark blue background */
    padding: 15px 0;
    color: white;
}

#site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex; /* Flexbox for alignment */
    justify-content: space-between; /* Space out items */
    align-items: center; /* Vertically align items */
    padding: 0 20px; /* Padding on sides */
}

#site-header .logo .site-name {
    color: white;
    font-size: 28px; /* Bigger font for N56 */
    font-weight: bold;
    text-decoration: none;
}

#site-header .main-navigation ul {
    list-style: none; /* Remove bullet points */
    margin: 0;
    padding: 0;
    display: flex; /* Make menu items horizontal */
}

#site-header .main-navigation ul li {
    margin-right: 25px; /* Space between menu items */
}

#site-header .main-navigation ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease; /* Smooth hover effect */
}

#site-header .main-navigation ul li a:hover {
    color: #ffcc00; /* Hover color */
}

/* Active menu item styling - for 'Home' in your design */
#site-header .main-navigation ul li.current-menu-item a,
#site-header .main-navigation ul li.current_page_item a {
    color: #00e676; /* Green color for active item */
}

.header-search-social {
    display: flex;
    align-items: center;
}

.header-search-social input[type="text"] {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    margin-right: 10px;
    width: 200px; /* Adjust as needed */
}

.header-search-social button {
    background-color: #00e676; /* Green button */
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.header-search-social .social-icons span {
    margin-left: 10px;
    font-size: 18px;
    /* Placeholder for actual social media icons */
    background-color: #555; /* Just for visibility */
    padding: 5px 8px;
    border-radius: 50%;
    cursor: pointer;
}

/* Basic content area padding */
.site-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    min-height: 500px; /* Minimum height for visibility */
}
/* Footer Styling */
#site-footer {
    background-color: #002244; /* Dark blue background */
    color: white;
    padding: 20px 0;
    margin-top: 30px; /* Space above footer */
    text-align: center;
}

#site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap; /* For responsiveness on smaller screens */
}

#site-footer .footer-left p {
    margin: 0;
    font-size: 14px;
}

#site-footer .footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center menu items */
}

#site-footer .footer-nav ul li {
    margin: 0 15px;
}

#site-footer .footer-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

#site-footer .footer-nav ul li a:hover {
    color: #ffcc00;
}

#site-footer .footer-right .site-name {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

/* Basic Responsiveness for Footer */
@media (max-width: 768px) {
    #site-footer .container {
        flex-direction: column;
        text-align: center;
    }
    #site-footer .footer-left,
    #site-footer .footer-right {
        margin-bottom: 15px;
    }
    #site-footer .footer-nav ul {
        flex-direction: column;
    }
    #site-footer .footer-nav ul li {
        margin: 5px 0;
    }
}

/* Hero Section Styling */
.hero-section {
    background-color: #f0f0f0; /* Light background, can be an image */
    background-image: url('https://via.placeholder.com/1200x400/007bff/ffffff?text=Your+Hero+Image+Here'); /* Placeholder image */
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 80px 0; /* Adjust padding as needed */
    color: white; /* Text color on banner */
    min-height: 350px; /* Minimum height for the banner */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* For overlay if needed */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Bring content above overlay */
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 38px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-search-form .search-field {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    width: 60%;
    max-width: 400px;
    font-size: 16px;
}

.hero-search-form .search-submit {
    background-color: #00e676; /* Green button */
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.hero-social-icons span {
    margin: 0 10px;
    font-size: 24px;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-social-icons span:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* App Listing Sections */
.app-listing-section {
    padding: 40px 0;
    background-color: #f9f9f9; /* Light background for sections */
    margin-bottom: 20px; /* Space between sections */
}

.app-listing-section:nth-of-type(even) {
    background-color: #ffffff; /* Alternate background color */
}

.app-listing-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.app-cards-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap to next line */
    justify-content: center; /* Center cards */
    gap: 20px; /* Space between cards */
}

.app-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    width: 200px; /* Fixed width for cards */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.app-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
}

.app-card .app-icon {
    width: 100px;
    height: 100px;
    border-radius: 15px; /* Slightly rounded corners for icons */
    margin-bottom: 15px;
    object-fit: cover;
}

.app-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.app-card .app-rating {
    color: #ffc107; /* Star color */
    font-size: 16px;
    margin-bottom: 5px;
}

.app-card .app-version {
    font-size: 14px;
    color: #666;
}

/* Main content area (adjusted for new sections) */
#content.site-content {
    padding: 0; /* Remove general padding as sections have their own */
    background-color: transparent; /* Transparent so section backgrounds are visible */
    min-height: auto;
}