@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;600&display=swap');

:root {
    --dark-blue: #0d1b2a;
    --medium-blue: #1b263b;
    --accent-blue: #234681;
    --gold: #d4af37;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-blue);
    color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

/* Header */
header {
    background-color: rgba(13, 27, 42, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--gold);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--gold);
}

.cta-button {
    background-color: var(--gold);
    color: var(--dark-blue);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background-color: hsl(45, 100%, 47%);
    color: var(--dark-blue);
    box-shadow: 0px 0px 15px var(--gold);
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--white);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--dark-blue);
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 20px 0;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: block;
}

/* Page Title */
.page-title {
    padding-top: 150px;
    padding-bottom: 50px;
    text-align: center;
    background-color: var(--medium-blue);
}

.page-title h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.page-title p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--dark-blue);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumbs-container {
    display: flex;
    align-items: center;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 10px;
}

.breadcrumbs .current {
    color: var(--gold);
}

/* Work Catalog Section */
.work-catalog {
    padding: 80px 0;
    background-color: var(--dark-blue);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.section-title p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.catalog-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-nav-btn {
    background-color: var(--medium-blue);
    border: none;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.catalog-nav-btn:hover {
    background-color: var(--accent-blue);
}

.catalog-nav-btn.active {
    background-color: var(--gold);
    color: var(--dark-blue);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.catalog-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 0px 15px var(--gold);
}

.catalog-image {
    position: relative;
    overflow: hidden;
    height: 230px;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.catalog-item:hover .catalog-image img {
    transform: scale(1.1);
}

/* New styles for clickable fullscreen images */
.catalog-image.clickable {
    cursor: pointer;
}

.catalog-image.clickable img {
    transition: transform 0.5s ease;
}

.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 27, 42, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.fullscreen-overlay.active {
    display: flex;
}

.fullscreen-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transition: all 0.3s ease;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.fullscreen-caption {
    color: var(--white);
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
}

.fullscreen-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: var(--medium-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fullscreen-close:hover {
    background-color: var(--gold);
    color: var(--dark-blue);
}

.catalog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.9) 0%, rgba(13, 27, 42, 0.6) 60%, rgba(13, 27, 42, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.catalog-item:hover .catalog-overlay {
    opacity: 1;
}

.catalog-info {
    padding: 20px;
    width: 100%;
}

.catalog-tag {
    display: inline-block;
    background-color: var(--gold);
    color: var(--dark-blue);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.catalog-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--white);
}

.catalog-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Full View Modal */
.catalog-full-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 27, 42, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.catalog-full-view.active {
    display: flex;
}

.full-view-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.full-view-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: var(--white);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--medium-blue);
    transition: background-color 0.3s ease;
}

.full-view-close:hover {
    background-color: var(--gold);
    color: var(--dark-blue);
}

.full-view-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.full-view-caption {
    color: var(--white);
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
}

/* Job Info Section */
.job-info {
    padding: 80px 0;
    background-color: var(--medium-blue);
}

.job-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.job-details h2 {
    font-size: 32px;
    margin-bottom: 25px;
    position: relative;
}

.job-details h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.job-details p {
    margin-bottom: 20px;
    font-size: 16px;
}

.job-specs {
    background-color: var(--dark-blue);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.job-specs h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--gold);
}

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

.specs-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
}

.specs-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.spec-name {
    font-weight: 600;
    min-width: 160px;
}

.spec-value {
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.9)), url('/api/placeholder/1200/600') center/cover no-repeat;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.secondary-button {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

/* Footer */
footer {
    background-color: var(--medium-blue);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--gold);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .job-info-content {
        grid-template-columns: 1fr;
    }
    
    .job-specs {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .page-title h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .catalog-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .catalog-nav-btn {
        width: 100%;
    }
}

.link-image{
    text-decoration: none;
    color: var(--white);
}