/* Layout styles */

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 20px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.search-container {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-container form {
    display: flex;
    width: 100%;
}

.search-container input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    width: 100%;
}

.search-container button {
    border-radius: 0 4px 4px 0;
    padding: 12px 20px;
    background-color: #d9534f;
    color: white;
    border: none;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #333;
    font-weight: 500;
}

.nav-links a.active, .nav-links a:hover {
    color: #4a90a0;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.sign-in, .sign-up {
    font-weight: 500;
}

.sign-up {
    background-color: #4a90a0;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
}

.sign-up:hover {
    background-color: #347585;
    color: white;
}

.user-profile {
    display: flex;
    align-items: center;
    position: relative;
}

.user-profile img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    min-width: 150px;
    padding: 10px 0;
    display: none;
}

.user-profile:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 8px 15px;
    color: #333;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
}

.hero-search {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.hero-search h2 {
    margin-bottom: 20px;
}

.hero-search form {
    display: flex;
    gap: 10px;
}

.hero-search input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.hero-search button {
    padding: 12px 25px;
    font-size: 16px;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #f5f5f5;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    margin-bottom: 15px;
    color: #bbb;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #4a90a0;
}

.footer-section.links ul {
    list-style: none;
}

.footer-section.links li {
    margin-bottom: 10px;
}

.footer-section.links a {
    color: #bbb;
}

.footer-section.links a:hover {
    color: white;
}

.footer-section.contact p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 10px 0;
    margin-bottom: 30px;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-left: 10px;
    color: #888;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb span {
    color: #4a90a0;
    font-weight: 500;
} 