/* Header Styles */
.site-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-top {
    background: #f3f4f6;
    padding: 10px 0;
    font-size: 14px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact span {
    margin-right: 20px;
}

.header-links a {
    margin-left: 15px;
    color: var(--text-dark);
}

.header-main {
    padding: 20px 0;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo {
    display: block;
}

.site-logo img,
.custom-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

.site-logo-text {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.logo-us {
    color: #dc2626;
    background: white;
    border: 2px solid #dc2626;
    padding: 2px 8px;
    border-radius: 4px;
}

.logo-transceivers {
    color: #1e3a8a;
    margin-left: 5px;
}

.main-navigation {
    flex-grow: 1;
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

.primary-menu li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.primary-menu li a:hover {
    color: var(--accent-red);
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.search-form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.search-field {
    border: none;
    padding: 8px 12px;
    outline: none;
    min-width: 200px;
}

.search-submit {
    background: var(--accent-red);
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    color: white;
}

.cart-icon {
    position: relative;
    font-size: 24px;
    color: var(--text-dark);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-red);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero-text .subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Removed: Brand Section, Product Section, and related styles */

/* Footer Styles */
.site-footer {
    background: var(--dark-blue);
    color: white;
}

.footer-main {
    padding:0px;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.trust-badges {
    margin-top: 20px;
}

.star-rating {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

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

.footer-payment {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-icons {
    display: flex;
    gap: 10px;
}

/* Page Layout Styles */

/* Full Width Layout */
.page-full-width .content-area-full {
    max-width: 100%;
    padding: 40px 0;
}

/* Content and Sidebar Wrapper */
.content-sidebar-wrap {
    display: grid;
    gap: 40px;
    padding: 40px 0;
}

/* Right Sidebar Layout */
.page-right-sidebar .content-sidebar-wrap {
    grid-template-columns: 1fr 300px;
}

/* Left Sidebar Layout */
.page-left-sidebar .content-sidebar-wrap {
    grid-template-columns: 300px 1fr;
}

/* Content Area */
.content-area {
    min-width: 0; /* Prevents overflow in grid */
}

/* Sidebar Styles */
.widget-area {
    background: #f9fafb;
    padding: 30px;
    border-radius: 8px;
}

.widget {
    margin-bottom: 30px;
}

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

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-blue);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--text-dark);
    display: block;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.widget ul li a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

/* Entry Content Styles */
.entry-header {
    margin-bottom: 30px;
}

/* Main Page Headings - Oswald Font */
.entry-title,
.page-title,
.woocommerce-products-header__title,
.product_title,
h1.entry-title,
h1.page-title {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-blue, #304b92);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Keep H2-H6 with Inter for hierarchy */
h2, h3, h4, h5, h6 {
    font-family: var(--font-body, 'Inter', sans-serif);
}

.entry-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.edit-link a {
    color: var(--accent-red);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-main-content {
        flex-direction: column;
    }

    .primary-menu {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content {
        flex-direction: column;
    }

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

    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
    }

    /* Sidebar layouts become single column on mobile */
    .page-right-sidebar .content-sidebar-wrap,
    .page-left-sidebar .content-sidebar-wrap {
        grid-template-columns: 1fr;
    }

    /* Move sidebar to bottom on mobile */
    .page-left-sidebar .sidebar-secondary {
        order: 2;
    }

    .page-left-sidebar .content-area {
        order: 1;
    }

    .entry-title {
        font-size: 1.75rem;
    }
}
