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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: #111827;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: #6b7280;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Geist', sans-serif;
}

.btn-primary {
    background-color: #4682b4;
    color: white;
    border-color: #4682b4;
}

.btn-primary:hover {
    background-color: #3a6b99;
    border-color: #3a6b99;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: #4682b4;
    border-color: #4682b4;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: #4682b4;
    color: white;
}

/* Specific styling for nav buttons */
.nav-actions .btn-primary {
    font-weight: 700;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-search {
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* Header */
.header {
    background-color: transparent;
    border-bottom: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: none;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Geist', sans-serif;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background-image: url('../hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search {
    margin-bottom: 0;
}

.search-form {
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.search-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    align-items: center;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    color: #374151;
    background-color: #f9fafb;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #4682b4;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(38, 138, 136, 0.1);
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-icon,
.location-icon {
    position: absolute;
    left: 16px;
    color: #9ca3af;
    z-index: 1;
}


/* Filters */
.filters {
    background-color: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 24px 0;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.filter-select {
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: white;
    color: #374151;
    font-size: 14px;
    min-width: 140px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #4682b4;
    box-shadow: 0 0 0 3px rgba(38, 138, 136, 0.1);
}

/* Job Listings */
.job-listings {
    padding: 64px 0;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.listings-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.listings-meta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.results-count {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: white;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.job-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #4682b4;
}

.job-card.featured {
    border-color: #4682b4;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.job-card.featured::before {
    content: 'Featured';
    position: absolute;
    top: 16px;
    right: -30px;
    background: #4682b4;
    color: white;
    padding: 4px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    transform-origin: center;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.job-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.job-type {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-type.full-time {
    background-color: #dcfce7;
    color: #166534;
}

.job-type.part-time {
    background-color: #fef3c7;
    color: #92400e;
}

.job-type.contract {
    background-color: #e0e7ff;
    color: #3730a3;
}

.job-type.internship {
    background-color: #fce7f3;
    color: #be185d;
}

.job-location {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-location.remote {
    background-color: #dbeafe;
    color: #2f5f8f;
}

.job-location.local {
    background-color: #fef2f2;
    color: #dc2626;
}

.job-location.hybrid {
    background-color: #f0fdf4;
    color: #16a34a;
}

.job-bookmark {
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease;
}

.job-bookmark:hover {
    color: #4682b4;
}

.job-content {
    margin-bottom: 20px;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.job-company {
    color: #4682b4;
    font-weight: 500;
    margin-bottom: 12px;
}

.job-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.skill-tag {
    padding: 4px 8px;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.job-salary {
    font-weight: 600;
    color: #059669;
    font-size: 14px;
}

.job-posted {
    color: #9ca3af;
    font-size: 12px;
}

.job-actions {
    display: flex;
    gap: 12px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    background-color: white;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.page-btn:hover {
    border-color: #4682b4;
    color: #4682b4;
}

.page-btn.active {
    background-color: #4682b4;
    border-color: #4682b4;
    color: white;
}

.page-dots {
    color: #9ca3af;
    font-size: 14px;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #2f5f8f 0%, #4682b4 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.newsletter-subtitle {
    font-size: 1.125rem;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    margin-bottom: 16px;
}

.newsletter-input-group {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    font-family: 'Geist', sans-serif;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #374151;
    border-radius: 8px;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: #4682b4;
    color: white;
    transform: translateY(-2px);
}

.footer-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 14px;
}

.footer-location {
    color: #6b7280;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .hero {
        min-height: 80vh;
        padding: 100px 0 60px;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 16px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .nav-link {
        font-size: 18px;
        font-weight: 600;
    }
    
    .nav-actions {
        margin-top: 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 80px 0 60px;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-top: 40px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .search-inputs {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .filter-bar {
        gap: 16px;
    }
    
    .listings-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .listings-meta {
        width: 100%;
        justify-content: space-between;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .job-card {
        padding: 20px;
    }
    
    .job-actions {
        flex-direction: column;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .pagination-numbers {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 16px;
    }
}
