/* Custom Footer Styles for Professional SaaS Look */

#footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 3rem 0 1rem 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.footer-description-text {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

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

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #cccccc;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #999999;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #footer {
        padding: 2rem 0 1rem 0;
    }
    
    .footer-content {
        padding: 0 0.5rem;
    }
}

/* Page Title with Logo */
.page-title-with-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.title-logo {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    flex-shrink: 0;
}

.page-title-with-logo h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

/* Responsive adjustments for title with logo */
@media (max-width: 736px) {
    .title-logo {
        width: 80px;
        height: 80px;
    }
    
    .page-title-with-logo h2 {
        font-size: 2rem;
    }
}

/* Submenu Styles */
#menu .has-submenu {
    position: relative;
}

#menu .has-submenu > a {
    position: relative;
    padding-right: 1.5em;
}

#menu .has-submenu > a:after {
    content: '▼';
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7em;
    transition: transform 0.3s ease;
}

#menu .has-submenu:hover > a:after {
    transform: translateY(-50%) rotate(180deg);
}

#menu .submenu {
    display: none;
    position: static;
    background: rgba(255, 255, 255, 0.1);
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

#menu .has-submenu:hover .submenu {
    display: block;
}

#menu .submenu li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    padding: 0;
}

#menu .submenu li:first-child {
    border-top: none;
}

#menu .submenu li a {
    display: block;
    padding: 0.8em 1em;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

#menu .submenu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile submenu styles */
@media screen and (max-width: 736px) {
    #menu .submenu li a {
        padding: 0.6em 1em;
        font-size: 0.8em;
        padding-left: 2em;
    }
}

/* About Page Styles */
.company-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.company-logo-header {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    flex-shrink: 0;
}

.founder-section {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin: 2rem 0;
}

.founder-photo-small {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.founder-text {
    flex: 1;
}

.founder-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Responsive design for About page */
@media (max-width: 768px) {
    .company-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .founder-section {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-photo-small {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
    
    .company-logo-header {
        width: 40px;
        height: 40px;
    }
}
