:root {
    --navy-blue: #2C4A5E;
    --navy-blue-light: #3A5F76;
    --navy-blue-dark: #1E3442;
    --burgundy: #7A1E1E;
    --burgundy-dark: #5A1515;
    --gold: #D4A574;
    --cream: #FAF7F2;
    --warm-tan: #E8D5B7;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #f9fafb;
    box-shadow: 0 2px 10px rgba(44, 74, 94, 0.15);
    z-index: 1000;
}

.nav-container {
    background: #f9fafb;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 0 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;

    img {
        height: 92px;
        margin: 10px 10px 0 15px;
        width: 92px;
    }
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--navy-blue);
}

.nav-cta {
    background: #7A1E1E;
    color: #FAF7F2;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(122, 30, 30, 0.3);
}

.nav-cta:hover {
    background: #5A1515;
    box-shadow: 0 4px 12px rgba(122, 30, 30, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--navy-blue);
}

/* Hero Section */
.hero {
    padding-top: 80px;
    background: linear-gradient(135deg, #1E3442 0%, #2C4A5E 100%);
    position: relative;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    color: #D4A574;
}

.hero-text {
    font-size: 1.25rem;
    color: #E8D5B7;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #7A1E1E;
    color: #FAF7F2;
    box-shadow: 0 4px 12px rgba(122, 30, 30, 0.4);
}

.btn-primary:hover {
    background: #5A1515;
    box-shadow: 0 6px 16px rgba(122, 30, 30, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(44, 74, 94, 0.4);
}

.btn-secondary:hover {
    background: white;
    color: #1f2937;
    box-shadow: 0 6px 16px rgba(44, 74, 94, 0.5);
    transform: translateY(-2px);
}

.hero-license {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #A4C5D9;
}

.hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hero-img-1, .hero-img-2 {
    width: 100%;
    min-width: 272px;
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.hero-img-1:hover, .hero-img-2:hover {
    transform: scale(1.05);
}

.hero-img-2 {
    margin-top: 3rem;
}

.hero-img-1 {
    object-fit: cover;
}

/* Services Section */
.services {
    padding: 5rem 0;
    position: relative;
  background: #f9fafb;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1E3442;
    margin-bottom: 1rem;
}

.section-title.white {
    color: #1E3442;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
}

.section-subtitle.white {
    color: #6b7280;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF7F2 100%);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(44, 74, 94, 0.1);
    transition: all 0.3s;
    border: 1px solid rgba(44, 74, 94, 0.15);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44, 74, 94, 0.2);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    stroke: #7A1E1E;
    stroke-width: 1.5;
    fill: none;
    transition: stroke 0.3s ease;
}

.service-card:hover .service-icon svg {
    stroke: #5A1515;
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1E3442;
    margin-bottom: 0.75rem;
}

.service-text {
    color: #6b7280;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.view-all-container {
    text-align: center;
    margin-top: 3rem;
}

.project-card {
    position: relative;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(44, 74, 94, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    overflow: hidden;
}

.project-card:hover {
    box-shadow: 0 12px 32px rgba(44, 74, 94, 0.2);
    transform: translateY(-6px);
}

.project-image-wrapper {
    overflow: hidden;
    border-radius: 0.75rem 0.75rem 0 0;
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #f3f4f6;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.03);
}

.project-caption {
    background: white;
    padding: 1rem;
}

.project-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-blue-dark);
    margin-bottom: 0.25rem;
    transition: color 0.25s ease;
}

.project-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    transition: color 0.25s ease;
}

.project-cta svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.project-card:hover .project-cta svg {
    transform: translateX(3px);
}

/* About Section */
.about {
    padding: 5rem 0;
    position: relative;
    background: #f9fafb;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(44, 74, 94, 0.25);
}

.about-text {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.about-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.badge {
    background: #E8D5B7;
    color: #5A1515;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: #FAF7F2;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(44, 74, 94, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 74, 94, 0.12);
    border-color: rgba(122, 30, 30, 0.2);
}

.contact-card:hover .contact-icon svg {
    stroke: #5A1515;
}

.contact-card:hover .contact-text {
    color: #7A1E1E;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.contact-icon svg {
    width: 48px;
    height: 48px;
    stroke: #7A1E1E;
    stroke-width: 1.5;
    fill: none;
    transition: stroke 0.3s ease;
}

.contact-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.125rem;
}

.contact-text {
    color: #1E3442;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1E3442 0%, #2C4A5E 100%);
    color: #A4C5D9;
    padding: 2rem 0;
    text-align: center;
}

/* Gallery Page */
#gallery-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.gallery-container {
    flex: 1;
    padding: 6rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.gallery-header {
    margin-bottom: 3rem;
    margin-top: 3rem;
    text-align: center;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1E3442;
    margin-bottom: 0.5rem;
}

.gallery-count {
    font-size: 1.125rem;
    color: #6b7280;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(44, 74, 94, 0.15);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(44, 74, 94, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    background: #f3f4f6;
}
/*lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 1.125rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 50%;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(44, 74, 94, 0.2);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    /*.nav-logo img {*/
    /*    height: 56px;*/
    /*}*/

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-images {
        margin-top: 2rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-img-1,
    .hero-img-2 {
        margin-top: 0;
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card:hover {
        transform: translateY(-3px);
    }

    .contact {
        padding: 3rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }

    .contact-card {
        padding: 1.5rem 1.25rem;
    }

    .contact-card:hover {
        transform: translateY(-2px);
    }

    .contact-icon svg {
        width: 40px;
        height: 40px;
    }

    .contact-title {
        font-size: 0.7rem;
    }

    .contact-text {
        font-size: 1rem;
        line-height: 1.3;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-container {
        padding: 6rem 1rem 2rem;
    }

    .gallery-title {
        font-size: 2rem;
    }

    .lightbox-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .lightbox-prev,
    .lightbox-next {
        position: fixed;
        bottom: 2rem;
        top: auto;
        transform: none;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 50%;
        margin-left: -65px;
    }

    .lightbox-next {
        right: 50%;
        margin-right: -65px;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}
