@tailwind base;
@tailwind components;
@tailwind utilities;

/* Full width background */
.nik-footer {
    /* background-color: #2c3844; */
    color: #fff;
    width: 100%;
    margin-top: auto; /* Push to bottom if using flex-col layout on body */
}

/* Wrapper: Matches the exact width logic of the Header (960px content + 24px padding) */
.nik-footer-wrapper {
    width: 100%;
    max-width: 984px;
    margin: 0 auto;
    padding: 40px 12px 20px 12px; /* Top padding 40px, Bottom 20px */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* --- Top Section (Columns) --- */
.nik-footer-top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /* Uniform spacing between Logo, Explore, and Contact */
    gap: 80px;
}

.nik-footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nik-footer-heading {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    padding-bottom: 4px;
}

/* Basic container to hold the dimensions */
.nik-styled-logo-container {
    flex: 0 0 auto;
    padding: 2px;
    width: fit-content;
    height: fit-content;
}

/* Transparent monogram; preserve its proportions without circular clipping. */
.nik-styled-logo-img {
    border-radius: 0;
    object-fit: contain;
    background: transparent;
    box-sizing: border-box;
    display: block;
    width: 144px;
    height: auto;
}

/* --- Navigation & Contact Lists --- */
.nik-footer-nav-list,
.nik-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: #e0e0e0;
}

.nik-footer-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.nik-footer-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #fff;
}

/* --- The Divider Line --- */
.nik-footer-divider {
    width: 100%;
    height: 1px;
    /* Subtle line color */
    background-color: #4a5a6a;
}

/* --- Bottom Section (Copyright) --- */
.nik-footer-bottom {
    display: flex;
    /* Pushes the copyright to the far right */
    justify-content: flex-end;
    font-size: 12px;
    color: #aab;
}

/* --- Responsive Mobile Styles --- */
@media (max-width: 768px) {
    .nik-footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .nik-footer-bottom {
        /* On mobile, center the copyright or keep it left */
        justify-content: flex-start;
    }
}
/* Match the updated homepage */
.nik-footer {
    background: #302727;
    color: #fff;
}

.nik-footer-wrapper {
    width: min(1120px, calc(100% - 48px));
    max-width: none;
    padding: 56px 0 24px;
    gap: 36px;
}

.nik-footer-top {
    justify-content: space-between;
    gap: 48px;
}

.nik-footer-col {
    min-width: 0;
}

.nik-footer-heading {
    font-size: 14px;
    font-weight: 600;
}

.nik-footer-nav-list,
.nik-footer-contact {
    color: #e4d9d4;
    line-height: 1.7;
}

.nik-footer-contact {
    overflow-wrap: anywhere;
}

.nik-footer-divider {
    background: #574347;
}

.nik-footer-bottom {
    justify-content: flex-start;
    color: #cdbbb7;
    line-height: 1.6;
}

.nik-footer a:focus-visible {
    outline: 3px solid #edb8c5;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .nik-footer-wrapper {
        width: calc(100% - 40px);
        padding-top: 40px;
    }
}
