/* Main Styles for Signova Web Application */

:root {
    --primary-color: #3366FF;
    --secondary-color: #FF6633;
    --dark-blue: #0A1F44;
    --light-gray: #F5F7FA;
    --white: #FFFFFF;
    --black: #000000;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark-blue);
    line-height: 1.6;
}

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


/* Header Styles */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark-blue);
}

.logo img {
    height: 40px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.auth-links {
    display: flex;
    gap: 20px;
}

.auth-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
}


/* Hero Section */

.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--dark-blue);
}

.hero p {
    font-size: 18px;
    color: #4A5568;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* Feature Buttons */

.feature-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.feature-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.feature-button:hover {
    background-color: #2851E0;
}

.feature-button img {
    width: 24px;
    height: 24px;
}


/* Language Options */

.language-options {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}

.language-column {
    width: 48%;
    background-color: var(--light-gray);
    border-radius: 12px;
    padding: 24px;
}

.language-column h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.language-column h3 img {
    width: 24px;
    height: 24px;
}

.language-list {
    list-style: none;
}

.language-list li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #4A5568;
}

.language-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.language-list a:hover {
    text-decoration: underline;
}


/* Footer */

footer {
    background-color: var(--light-gray);
    padding: 20px 0;
    margin-top: 80px;
    text-align: center;
    color: #4A5568;
}


/* Responsive Design */

@media (max-width: 768px) {
    .feature-buttons {
        flex-direction: column;
        align-items: center;
    }
    .language-options {
        flex-direction: column;
        gap: 20px;
    }
    .language-column {
        width: 100%;
    }
    .hero h2 {
        font-size: 28px;
    }
    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    .auth-links {
        width: 100%;
        justify-content: space-between;
    }
}


/* Header and Navigation Styles */

.main-header {
    background: var(--header-bg, #ffffff);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-container img {
    height: 40px;
    width: auto;
}

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

.main-nav a {
    text-decoration: none;
    color: var(--text-color, #333);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color, #4a6fa5);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-btn:not(.btn-signup) {
    color: var(--text-color, #333);
}

.btn-signup {
    background: var(--primary-color, #4a6fa5);
    color: white;
}

.btn-signup:hover {
    background: var(--secondary-color, #b33f62);
    transform: translateY(-2px);
}

.btn-logout {
    color: var(--error-color, #dc3545) !important;
}

.theme-toggle,
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.theme-toggle:hover,
.mobile-menu-toggle:hover {
    background-color: var(--hover-bg, #f5f5f5);
}


/* Mobile menu styles */

.mobile-menu-toggle {
    display: none;
}

.mobile-auth-container {
    display: none;
}


/* Breadcrumbs */

.breadcrumbs {
    background: var(--breadcrumb-bg, #f8f9fa);
    padding: 1rem 0;
}

.breadcrumbs ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: var(--text-muted, #6c757d);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color, #4a6fa5);
}


/* Footer styles */

footer {
    background: var(--footer-bg, #2c3e50);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 30px;
    width: auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    margin-bottom: 1rem;
    color: var(--accent-color, #b33f62);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-social {
    text-align: center;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* Responsive design */

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg, #ffffff);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .header-controls .auth-btn {
        display: none;
    }
    .mobile-auth-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
}


/* Dark theme support */

[data-theme="dark"] {
    --header-bg: #1a1a1a;
    --text-color: #ffffff;
    --hover-bg: #333333;
    --breadcrumb-bg: #2d2d2d;
    --footer-bg: #0d0d0d;
}