*,
*::before,
*::after {
    padding: 0px;
    margin: 0px;
    outline: 0;
}

body {
    font-family: sans-serif;
    overflow-x: visible;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
p {
    margin: 0;
    cursor: default;
}

:root {
    --text-color: #222;
    --bg-color: #fff;
    --accent: #D4AF37;
    --dark-bg: #111111;
}

body {
    font-family: 'Uni Sans', 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-weight: 300;
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-divider {
    width: 50px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto 25px;
}

.section-divider.start {
    margin: 0 0 25px 0;
}

@media (max-width: 991px) {
    .section-divider.start {
        margin: 0 auto 25px;
    }

    .text-lg-start {
        text-align: center !important;
    }
}

/* NAVBAR */
.navbar {
    background-color: var(--dark-bg) !important;
    padding: 0;
    border-bottom: 1px solid #222;
    min-height: 80px;
    transition: all 0.3s;
    z-index: 1000;
}

.nav-link {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff !important;
    margin: 0 15px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--accent) !important;
}

.logo-mobile {
    max-height: 40px;
    width: auto;
}

.logo-desktop {
    max-height: 55px;
    width: auto;
    display: block;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 10px 15px 10px 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    padding: 10px 15px;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--dark-bg);
        padding: 20px 0;
        text-align: center;
        border-top: 1px solid #222;
    }

    .nav-link {
        justify-content: center;
        padding: 15px 0;
    }

    .d-flex {
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .navbar .container {
        height: 80px;
    }

    .navbar-collapse,
    .navbar-nav,
    .nav-item {
        height: 100%;
    }
}

/* HERO */
.hero {
    min-height: 75vh;
    background-image: url('img/header.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: -1px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    max-width: 900px;
}

.hero h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1rem;
    text-transform: none;
    font-weight: 500;
    margin-bottom: 35px;
    color: #ffffff !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    opacity: 1;
    display: block;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

.btn-custom,
.btn-custom-full {
    border: 1px solid white;
    padding: 12px 35px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    margin: 5px;
}

.btn-custom {
    color: white;
    background: rgba(0, 0, 0, 0.3);
}

.btn-custom:hover {
    background: white;
    color: black;
}

.btn-custom-full {
    background: #fff;
    color: #000;
}

/* ABOUT */
.about-img-main {
    width: 100%;
    border-radius: 4px;
    height: auto;
}

.team-member {
    cursor: pointer;
}

.team-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 2px solid transparent;
    transition: 0.3s;
}

.team-member:hover .team-img {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.team-member:hover h3 {
    color: var(--accent);
    transition: color 0.3s;
}

.role-text {
    color: var(--accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* MODAL */
.custom-modal-content {
    border: none;
    border-top: 4px solid var(--accent);
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
}

.modal-title {
    color: var(--dark-bg);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.modal-body {
    padding: 2rem;
    font-weight: 400;
    color: #555;
    line-height: 1.8;
}

/* BRANDS */
.brands-section {
    background: #e9ecef;
    padding: 60px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.brands-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: slide 40s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-logo {
    height: 100px;
    width: auto;
    margin: 0 50px;
    opacity: 1;
    filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.4));
    object-fit: contain;
    transition: transform 0.3s;
}

.brand-logo:hover {
    transform: scale(1.1);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* PROCESS */
.process-step {
    position: relative;
    padding: 20px;
    transition: transform 0.3s;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.process-icon-wrap {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* PORTFOLIO */
.portfolio-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    font-weight: 500;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 30px;
    aspect-ratio: 3/2;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 25%, rgba(0, 0, 0, 0) 60%);
    transition: all 0.4s ease;
}

.portfolio-info {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
    padding: 0 10px;
}

.portfolio-title {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.portfolio-subtitle {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.view-more-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.4s ease;
    color: white;
    border: 2px solid white;
    padding: 12px 35px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

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

.portfolio-item:hover .portfolio-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.portfolio-item:hover .portfolio-info {
    opacity: 0;
    transform: translateY(20px);
}

.portfolio-item:hover .view-more-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* TESTIMONIALS */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-left: 3px solid var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 15px;
    font-style: italic;
}

.quote-icon {
    font-size: 2rem;
    color: #eee;
    display: block;
    margin-bottom: 15px;
}

/* SERVICES */
.service-card {
    padding: 30px 20px;
    border: 1px solid #ddd;
    transition: 0.3s;
    height: 100%;
    text-align: center;
    background: #fff;
}

.service-card h3 {
    color: #111;
    font-weight: 700;
    font-size: 1.25rem;
}

.service-card p {
    color: #555;
    font-weight: 500;
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.service-icon {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.2rem;
    transition: color 0.3s;
}

.service-card:hover .service-icon {
    color: var(--accent);
}

/* CONTACT */
.btn-submit {
    background: #111;
    color: white;
    padding: 14px 0;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: 0.3s;
    font-weight: 600;
}

.btn-submit:hover {
    background: var(--accent);
    color: white;
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* FOOTER */
footer {
    background: #111;
    color: #aaa;
    padding-top: 60px;
    font-size: 0.9rem;
    overflow: hidden;
}

footer h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1rem;
}

footer ul {
    padding: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

footer ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
}

.social-link {
    font-size: 1.2rem;
    margin-right: 15px;
    color: #fff;
    transition: 0.3s;
}

.social-link:hover {
    color: var(--accent);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}


/* --- MASONRY GALLERY --- */
.masonry {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.masonry-item {
    width: calc(33.333% - 15px);
    margin-bottom: 15px;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.masonry-item.hidden {
    display: none;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.masonry-item img:hover {
    /* transform: scale(1.02); */
}

@media (max-width: 991px) {
    .masonry-item {
        width: calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .masonry-item {
        width: 100%;
    }
}

/* Specific fix for Weddings: Ensure grid gap handling if needed */
.row.g-3 > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.fs-5 {
    font-size: 1rem !important;
}