/* Color palette */
:root {
    --gold: #d4af37;
    --black: #000000;
    --white: #ffffff;
}

/* Reset and base styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* Header */
header {
    background-color: var(--black);
    border-bottom: 3px solid var(--gold);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-text-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .Logo {
    height: 12vh;
    max-height: 80px;
    width: auto;
}

header span {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--gold);
    white-space: nowrap;
}

.desktop-menu-container {
    display: block;
}

.desktop-nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.desktop-nav-links li a {
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    transition: color 0.3s ease;
    padding: 0;
}

.desktop-nav-links li a:hover {
    color: var(--gold);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
}

.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--gold);
    transition: 0.4s;
    border-radius: 2px;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: static;
    width: auto;
    max-height: none;
    border-top: none;
    overflow: visible;
    margin-left: auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0, 0, 0, 0.7)), url('background.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    height: 80vh;
    color: var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero h2 {
    box-shadow: 5px 5px 10px rgb(0, 0, 0);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    font-weight: 500;
    padding: 0 1rem;
}

.hero button {
    margin-top: 1.5rem;
    background-color: var(--gold);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.6);
    transition: background-color 0.3s ease;
}

.hero button:hover,
.hero button:focus {
    background-color: #b28e22;
    outline: none;
}

/* Main Content */
main {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 3rem;
}

section h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
    padding-bottom: 0.3rem;
}

.about p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #f0f0f0;
    line-height: 1.7;
}

/* Services Section */
.services {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.service-card {
    background-color: var(--black);
    border: 2px solid var(--gold);
    padding: 1.5rem;
    max-width: 300px;
    flex: 1 1 280px;
    text-align: center;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.service-card:focus-within {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
    transform: translateY(-6px);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
    color: var(--gold);
}

.service-title {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.services button {
    background-color: var(--gold);
    border: none;
    padding: 0.75rem 1.2rem;
    font-weight: 500;
    color: var(--black);
    font-size: 1rem;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.6);
    transition: background-color 0.3s ease;
}

.service-desc {
    font-size: 0.95rem;
    color: #f0f0f0;
    margin-top: 1rem;
}

/* Contact Section */
.contact form {
    max-width: 450px;
    margin: 0 auto 2rem auto;
    background-color: var(--black);
    border: 2px solid var(--gold);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.contact label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: var(--gold);
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 0.65rem;
    margin-bottom: 1rem;
    border: 1.5px solid var(--gold);
    border-radius: 8px;
    background-color: var(--black);
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #b28e22;
    outline: none;
}

.contact button {
    background-color: var(--gold);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 700;
    color: var(--black);
    font-size: 1rem;
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.6);
    transition: background-color 0.3s ease;
}

.contact button:hover,
.contact button:focus {
    background-color: #b28e22;
    outline: none;
}

.team-profiles-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 2rem;
    width: 100%;
}

.ceo-info,
.manager-info {
    flex: 1 1 300px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--black);
    border: 2px solid var(--gold);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
}

.ceo-info:hover,
.manager-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.team-role {
    font-size: 0.9em;
    color: #bbb;
    margin-bottom: 1rem;
}

.ceo-info .circle-image,
.manager-info .circle-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
    margin-bottom: 1rem;
}

.ceo-info button,
.manager-info button {
    background-color: var(--gold);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 700;
    color: var(--black);
    font-size: 1rem;
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.6);
    transition: background-color 0.3s ease;
}

.ceo-info button:hover,
.manager-info button:hover {
    background-color: #b28e22;
    outline: none;
}

/* Footer */
footer {
    background-color: var(--black);
    color: #bbb;
    text-align: center;
    padding: 1rem;
    font-size: 0.85rem;
    border-top: 1px solid var(--gold);
}

/* Portfolio styles (assuming they will be used for portfolio pages) */
.portfolio {
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-category {
    margin-bottom: 2rem;
}

.portfolio-category h4 {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 0.3rem;
    text-transform: uppercase;
}

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

.portfolio-item {
    position: relative;
    cursor: pointer;
    border: 2px solid var(--gold);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
    background-color: var(--black);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover,
.portfolio-item:focus {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
    transform: translateY(-5px);
    outline: none;
}

.portfolio-img,
.portfolio-video {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.portfolio-title {
    padding: 0.6rem 0.8rem;
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

/* Lightbox */
#lightbox-overlay {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

#lightbox-overlay.active {
    visibility: visible;
    opacity: 1;
}

#lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
    position: relative;
}

#lightbox-content img,
#lightbox-content video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.9);
    display: block;
}

#lightbox-close {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 2rem;
    color: var(--gold);
    cursor: pointer;
    user-select: none;
    font-weight: 700;
    background: none;
    border: none;
    padding: 0.5rem;
}

#lightbox-close:hover {
    color: #b28e22;
}

/* Responsive Layout for PC / Larger Screens (min-width: 769px) */
@media (min-width: 769px) {
    header {
        padding: 1rem 4rem;
        justify-content: space-between;
    }
    .logo-text-wrapper {
        gap: 10px;
    }
    header .Logo {
        height: 16vh;
        max-height: 100px;
    }
    header span {
        font-size: 1.4rem;
        letter-spacing: 3px;
    }

    .desktop-menu-container {
        display: block;
    }
    .desktop-nav-links {
        display: flex;
    }

    .hamburger-menu {
        display: none;
    }
    .mobile-nav {
        display: none;
    }

    .hero h2 {
        font-size: 3.4rem;
        letter-spacing: 4px;
    }
    .hero p {
        font-size: 1.4rem;
    }
    .hero button {
        padding: 0.75rem 2.5rem;
        font-size: 1.1rem;
    }
    main {
        padding: 3rem 2rem;
    }
    section h3 {
        font-size: 2.2rem;
        text-align: left;
    }
    .about p {
        font-size: 1.1rem;
    }
    .services {
        gap: 3rem;
    }
    .service-card {
        padding: 2rem;
        max-width: 350px;
        flex: 1 1 300px;
    }
    .service-icon {
        font-size: 4rem;
    }
    .service-title {
        font-size: 1.6rem;
    }
    .services button {
        padding: 0.85rem 1.5rem;
        font-size: 1.1rem;
    }
    .service-desc {
        font-size: 1.0rem;
    }
    .contact form {
        max-width: 500px;
        padding: 2rem;
    }
    .contact input,
    .contact textarea {
        padding: 0.75rem;
        margin-bottom: 1.3rem;
        font-size: 1rem;
    }
    .contact button {
        padding: 0.85rem 2.5rem;
        font-size: 1.1rem;
    }
    .circle-image {
        width: 100px;
        height: 100px;
    }
    footer {
        padding: 1.5rem 1rem;
        font-size: 0.95rem;
    }
    .portfolio-category h4 {
        font-size: 1.8rem;
    }
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    .portfolio-img,
    .portfolio-video {
        height: 180px;
    }
    .portfolio-title {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
    }
    #lightbox-close {
        top: -30px;
        right: 0;
    }
}

/* Responsive Layout for Mobile / Smaller Screens (max-width: 768px) */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }
    .logo-text-wrapper {
        gap: 5px;
    }
    header .Logo {
        height: 10vh;
        max-height: 70px;
    }
    header span {
        font-size: 1.1rem;
        margin-right: 1rem;
    }

    .desktop-menu-container {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .mobile-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--black);
        border-top: 1px solid var(--gold);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease-in-out;
        z-index: 99;
    }
    .mobile-nav .nav-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        margin: 0;
        gap: 0.5rem;
    }
    .mobile-nav .nav-links.active {
        max-height: 200px;
    }
    .mobile-nav .nav-links li a {
        padding: 0.5rem;
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    .mobile-nav .nav-links li:last-child a {
        border-bottom: none;
    }

    .hero {
        height: 70vh;
        padding: 0 0.5rem;
    }
    .hero h2 {
        font-size: 1.8rem;
        letter-spacing: 2px;
        padding: 0.5rem;
    }
    .hero p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    .hero button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    main {
        padding: 1.5rem 0.8rem;
    }
    section h3 {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
    }
    .about p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    .services {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .service-card {
        padding: 1rem;
        max-width: 90%;
        flex-basis: auto;
    }
    .service-icon {
        font-size: 3rem;
    }
    .service-title {
        font-size: 1.3rem;
    }
    .services button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    .service-desc {
        font-size: 0.9rem;
    }
    .contact form {
        padding: 1rem;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    .contact input,
    .contact textarea {
        padding: 0.6rem;
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }
    .contact button {
        padding: 0.6rem 1.8rem;
        font-size: 0.9rem;
    }
    .team-profiles-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .ceo-info,
    .manager-info {
        max-width: 90%;
        width: 100%;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        padding: 1rem;
    }
    .ceo-info p,
    .manager-info p {
        font-size: 0.9rem;
    }
    .circle-image {
        width: 100px;
        height: 100px;
    }
    footer {
        padding: 1rem 0.5rem;
        font-size: 0.8rem;
    }
    .portfolio-category h4 {
        font-size: 1.4rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .portfolio-img,
    .portfolio-video {
        height: 140px;
    }
    .portfolio-title {
        font-size: 0.9rem;
    }
    #lightbox-content {
        max-width: 98vw;
        max-height: 98vh;
    }
    #lightbox-close {
        top: 0;
        right: 0;
        font-size: 1.8rem;
    }
}

/* Styles for custom message box, loading spinner, and lightbox overlays */
#message-box-overlay, #loading-spinner, #lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#message-box-overlay.hidden, #loading-spinner.hidden, #lightbox-overlay:not(.active) {
    display: none;
}

#message-box-content {
    background-color: var(--black);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    border: 2px solid var(--gold);
}

#message-box-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--white);
}

#message-box-text.error {
    color: #d9534f;
}

#message-box-ok {
    background-color: var(--gold);
    color: var(--black);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

#message-box-ok:hover {
    background-color: #b28e22;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Global Basic Styles */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Our Team Section Styling */
.our-team-section {
    padding: 80px 20px;
    background-color: #0d0d0d;
    text-align: center;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.our-team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.our-team-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    color: #d4af37;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    letter-spacing: 1px;
}

.our-team-section h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #d4af37;
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.team-members-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.team-member-card {
    background-color: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.08);
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.4s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 15px;
    transition: border-color 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 2;
}

.team-member-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background-color: #222;
}

.team-member-card:hover::before {
    border-color: #d4af37;
}

.team-member-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #d4af37;
    margin-bottom: 30px;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.5s ease-out;
    filter: grayscale(100%);
}

.team-member-card:hover .team-member-img {
    transform: scale(1.08);
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.6), 0 0 20px rgba(212, 175, 55, 0.8);
    filter: grayscale(0%);
}

.team-member-name {
    font-size: 2em;
    color: #d4af37;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.team-member-office {
    font-size: 1.3em;
    color: #f0f0f0;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.2px;
}

.team-desc {
    font-size: 1.05em;
    color: #c0c0c0;
    line-height: 1.8;
}

.explore-team-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #000000;
}

.explore-team-section button {
    background-color: var(--gold);
    color: #000000;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
}

.explore-team-section button:hover {
    background-color: goldenrod;
}

.explore-team-section button a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 768px) {
    .explore-team-section button {
        width: 80%;
        padding: 14px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .explore-team-section button {
        width: 90%;
        padding: 12px 20px;
        font-size: 0.95em;
    }
}