/* Base CSS for WordPress Content AI - Dark Theme */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

/* Ensure no borders on images */
img {
    border: none;
    outline: none;
}

/* Footer Styles */
.main-footer {
    background: #1A2A30;
    border-top: 1px solid #2A3A40;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.made-with-love {
    color: #E0E6EA;
    font-size: 1rem;
    margin: 0;
}

.footer-link {
    color: #0066CC;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0077DD;
    text-decoration: underline;
}

.dev-info {
    color: #A0A6AA;
    font-size: 0.8rem;
    margin: 0;
}

/* Mobile brand logo for navigation */
.mobile-brand-logo {
    height: 40px;
    width: auto;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #0F1A1F;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: #FFFFFF;
}

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;
    color: #E0E6EA;
}

/* Links */
a {
    color: #0066CC;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0077DD;
    text-decoration: underline;
}

/* Button Styles - Prevent Text Wrapping */
.btn,
.btn-primary,
.btn-secondary,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #0066CC;
    color: #FFFFFF;
    min-width: 44px;
    min-height: 44px;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
    background: #0077DD;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn:active,
.btn-primary:active,
.btn-secondary:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.3);
}

.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
input[type="reset"]:focus-visible {
    outline: 2px solid #0066CC;
    outline-offset: 2px;
}

/* Secondary Button Style */
.btn-secondary {
    background: #2A3A40;
    color: #FFFFFF;
}

.btn-secondary:hover {
    background: #3A4A50;
}

/* Forms */
input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #2A3A40;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #1A2A30;
    color: #FFFFFF;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
    background: #2A3A40;
}

input::placeholder, textarea::placeholder {
    color: #A0A6AA;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .btn,
    .btn-primary,
    .btn-secondary,
    button,
    input[type="submit"],
    input[type="button"],
    input[type="reset"] {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Focus States for Accessibility */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #0066CC;
    outline-offset: 2px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0F1A1F;
}

::-webkit-scrollbar-thumb {
    background: #2A3A40;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0066CC;
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #2A3A40 #0F1A1F;
}

/* Cross-browser compatibility fixes */
.nav-link {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* IE11 compatibility */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .nav-link {
        transform: none;
    }
    
    .nav-link:hover {
        transform: translateY(-1px);
    }
}

/* Safari compatibility */
@supports (-webkit-appearance: none) {
    .nav-link {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
} 