/*
Theme Name: BAS World Seller Funnel
Theme URI: https://basworld.com
Author: BAS World
Author URI: https://basworld.com
Description: Custom theme for BAS World Seller Funnel
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bas-world-seller-funnel
*/

/* ========================================
   Global Styles
   ======================================== */

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

body {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

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;
}

a {
    color: #0073aa;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ========================================
   Layout
   ======================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header
   ======================================== */

.site-header {
    background-color: #fff;
    padding: 20px 0;
}

/* Modern Flexbox Layout for Header */
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.site-branding {
    flex: 0 0 auto; /* Don't grow or shrink */
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
}

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

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    display: block;
    height: auto;
    transition: opacity 0.3s ease;
}

.custom-logo-link:hover .custom-logo {
    opacity: 0.8;
}

/* ========================================
   Navigation
   ======================================== */

.main-navigation {
    flex: 0 0 auto; /* Don't grow or shrink */
}

.main-navigation ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: #1d1d1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.main-navigation a:hover {
    color: #0f62fe;
}

/* Active/Current menu item */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: #0f62fe;
    border-bottom: 2px solid #0f62fe;
}

/* Responsive Header */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* ========================================
   Content
   ======================================== */

.site-content {
    padding: 0px 0;
    min-height: 60vh;
    margin-bottom: 130px;
}

.content-area {
    margin-bottom: 40px;
}

article {
    margin-bottom: 40px;
}

.entry-title {
    margin-bottom: 10px;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.entry-content {
    margin-top: 20px;
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background-color: #1d1d1a;
    color: #ffffff;
    margin-top: 100px;
    position: relative;
}

.footer-curved-top {
    position: absolute;
    top: -98px;
    left: 0;
    right: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    line-height: 0;
}

.footer-curve-svg {
    width: 100%;
    height: auto;
    display: block;
    min-width: 1920px;
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%);
}

@media (max-width: 1920px) {
    .footer-curve-svg {
        min-width: 100%;
    }
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Footer Logo Section */
.footer-logo-section {
    padding: 40px 0 30px;
    text-align: center;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.85;
}

.footer-logo {
    max-width: 250px;
    height: auto;
    display: inline-block;
}

@media (max-width: 768px) {
    .footer-logo {
        max-width: 200px;
    }
    
    .footer-logo-section {
        padding: 30px 0 20px;
    }
}

.logo-bas-world {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.logo-triangle {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid #4CAF50;
    display: inline-block;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
}

.logo-auction {
    font-size: 16px;
    font-style: italic;
    color: #ffffff;
    margin-left: 32px;
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: #ffffff;
    stroke: currentColor;
    margin-top: 2px;
}

.contact-text {
    flex: 1;
}

.contact-text p {
    margin: 0;
    line-height: 1.6;
    color: #ffffff;
    font-size: 15px;
}

.contact-text a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-text a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Footer Columns & Widgets */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column .widget {
    margin-bottom: 20px;
}

.footer-column .widget:last-child {
    margin-bottom: 0;
}

.footer-column .widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: none;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column li {
    margin: 0;
    display: block;
}

.footer-column a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.footer-column a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.footer-column p {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
}

.footer-legal a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 0.8;
    text-decoration: none;
}

@media (max-width: 640px) {
    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ========================================
   Utilities
   ======================================== */

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

