/**
 * Common styles shared across all pages
 * This file should be included first before page-specific styles
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #434343;
    background-color: #F4F4F4;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Navigation Bar */
.navbar {
    width: 100%;
    padding: 20px 144px;
    background-color: #F4F4F4;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
}

.logo, .nav-logo {
    display: flex;
    align-items: center;
}

.logo img, .nav-logo img {
    height: 32px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu a, .nav-link {
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.nav-menu a:hover, .nav-link:hover {
    color: #5D6C63;
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #5D6C63;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.plus-icon {
    font-size: 18px;
    font-weight: 400;
    margin-left: 4px;
}

.sign-up-btn, .signup-btn {
    background-color: #5D6C63;
    color: #fff;
    padding: 10px 28px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sign-up-btn .btn-icon, .signup-btn .btn-icon {
    width: 16px;
    height: 16px;
}

.sign-up-btn:hover, .signup-btn:hover {
    background-color: #4a5550;
    transform: scale(1.05);
}

/* Footer Section */
.footer-section {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 70px 141px;
    background-color: #F4F4F4;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 80px;
}

.footer-brand {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
}

.footer-logo {
    width: 142px;
    height: 35px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand p {
    font-size: 15px;
    line-height: 140%;
    color: #434343;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 600;
    color: #434343;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-column a {
    font-size: 15px;
    color: #434343;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-column a:hover {
    color: #5D6C63;
    transform: translateX(3px);
}

.contact-column h4 {
    font-size: 15px;
    font-weight: 600;
    color: #5D6C63;
}

.contact-info p {
    font-size: 15px;
    line-height: 140%;
    color: #5D6C63;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 40px;
    margin-top: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
}

.social-links img {
    width: 21px;
    height: 15px;
    object-fit: contain;
}

/* Copyright Section */
.copyright-section {
    width: 100%;
    min-height: 80px;
    padding: 30px 141px;
    background-color: #F4F4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.copyright-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    border-top: 0.25px solid #5D6C63;
}

.copyright-content {
    width: 100%;
    text-align: center;
}

.copyright-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #6E6E6E;
    margin: 0;
    padding: 10px 0;
}

/* Utility Classes */
.read-more {
    color: #5D6C63;
    cursor: pointer;
    font-weight: 500;
}

/* Footer shadow for non-homepage pages */
.footer-with-shadow {
    box-shadow: 0px -4px 15px 0px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 10;
}

/* Responsive */
@media (max-width: 1500px) {
    .navbar,
    .footer-section {
        padding-left: 40px;
        padding-right: 40px;
    }
}
