:root {
    /* Colors */
    --primary: #111111;       /* Jet Black */
    --primary-light: #333333; /* Dark Gray */
    --primary-dark: #000000;  /* Pure Black */
    --secondary: #E0E0E0;     /* Metallic Silver */
    --tertiary: #D4AF37;      /* Luxury Gold Accent */
    --tertiary-light: #ddc062;
    --tertiary-dark: #af8f25;
    --quaternary: #d70000;    /* Vivid Red Accent */
    --quaternary-light: #ff0202;
    --quaternary-dark: #ac0000;
    --text-clr: #000000;
    --dark-gray: #333333;
    --gray: #B0B0B0;
    --light-gray: #F2F2F2;
/* Font */
    --ff:'Figtree', sans-serif;
    --h1: bold 4rem/1em var(--ff);
    --h2: bold 3rem/1.2em var(--ff);
    --h3: bold 2.25rem/1.2em var(--ff);
    --h4: bold 1.5rem/1.6em var(--ff);
    --big: 1.25rem/1.6em var(--ff);
    --p: 1rem/1.6em var(--ff);
    --small: 0.75rem/2em var(--ff);

    /* Spacing */
    font-size: 16px;
    --margin-xxs: .25rem;
    --margin-xs: .5rem;
    --margin-s: .75rem;
    --margin-m: 1rem;
    --margin-l: 1.25rem;
    --margin-xl: 1.75rem;
    --margin-xxl: 2.5rem;
}
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
main {
    padding-top: 0;
}
body {
    font-family: var(--ff);
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
main { 
    flex: 1;
    margin-top: 0;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Set an explicit height so translateY(-100%) is predictable */
    height: 80px;
    z-index: 1000;
    transition: transform 1s ease, opacity 1s ease;
}
/* Remove display:none; to allow transition */
.solid-header {
    /* start hidden above */
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
}
/* previous .solid-header.visible { ... } block can be removed or left; we replace with: */
.solid-header.show-down {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    background-color: var(--primary-dark);
}
.main-header {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.main-header.hide-up {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.header-container {
    display: flex;
    align-items: center;
    height: 100%;
}
.header-left {
    width: 18%;
    height: 100%;
    display: flex;
    align-items: center;
}
/* Logo and Company including Hover animation */
.logo {
    height: 4.25rem;
    width: auto;
    transition: transform 0.5s ease;
    padding: 0.25rem;
    padding-left: 1rem;
    margin: 0;
}
.logo:hover {
    transform: scale(1.05);
}
/* Navigation Styling */
.header-middle {
    width: 64%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
    font-size: 1.25rem;
}
nav ul li {
    position: relative;
}
nav ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 700;
    padding: 0.3rem 0.5rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}
nav ul li a:hover {
    color: var(--tertiary);
}
.navactive {
    padding: 0.3rem 0.5rem;
    color: var(--quaternary);
    border-radius: 12px;
    text-decoration: none;
}
/* Dropdown Styling */
.dropdown-content {
    display: none; /* Hidden by default */
    list-style: none;
    padding: 0;
    margin: 0; /* Remove extra spacing */
    background-color: var(--tertiary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1;
}

.dropdown-content li {
    padding: 0.5rem 1rem; /* Add padding inside each dropdown item */
}

.dropdown-content a {
    text-decoration: none;
    color: var(--Dark-Gray);
    font-weight: 400;
}

.dropdown-content.active {
    display: block; /* Show the dropdown when active */
    margin-top: 0.5rem; /* Add spacing between the dropdown and the link */
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    min-width: 150px;
    border-radius: 10px;
}

.dropdown-content li {
    padding: 10px;
}

.dropdown:hover .dropdown-content {
    display: block;
}
.dropdownarrow {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}
.dropdown:hover .dropdownarrow {
    transform: rotate(0deg);
}
/* End of Navigation and Dropdown Styling */
.header-right {
    width: 18%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.book-btn a {
    background-color: var(--quaternary);
    color: var(--secondary);
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.5);
    border: none;
    border-radius: 16px;
    padding: 0.75rem 0.75rem;
    text-decoration: none;
    font-weight: 800;
    margin-right: 1rem;
    transition: all 0.1s ease;
    transform: scale(1);
}
.book-btn a:hover {
    color: var(--tertiary);
    font-size: 1.04rem;
}
/* Header Switch Animation */
.slide-up-fade {
    transition: transform .5s ease, opacity .5s ease;
    transform: translateY(-40px);
    opacity: 0;
}
.front-intro,
.gallery-btn {
    transition: transform .5s ease, opacity .5s ease;
}
/* Footer Styling */
footer {
    display: block;
    background-color: var(--primary-dark);
    color: var(--quaternary);
    width: 100%;
    height: 20rem; /* or a specific height if you want */
}
.footer-container {
    display: flex;
    height: 100%;
    width: 100%;
}
/* Footer Left and Contents */
.footer-left {
    width: 33.33%;
    height: 100%;
    padding: 0.5rem;
    position: relative;
}
.footer-left a {
    color: var(--quaternary);
}
.copyright {
    position: absolute;
    bottom: 10px;
}
/* End footer left */
.footer-center {
    width: 33.33%;
    height: 100%;
    padding: 0.5rem;
}
/* Footer Right and Contents */
.footer-right {
    width: 33.33%;
    height: 100%;
    padding: 0.5rem;
}
.social-media {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
}
.social-icon {
    height: 2.5rem;
    width: 2.5rem;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
    transition: transform 0.3s ease;
}
.social-icon:hover {
    transform: scale(1.1);
}
.social-media a {
    text-decoration: none;
    color: var(--tertiary-light);
    display: flex;
    align-items: center;
}
.footer-title {
    color: var(--quaternary-dark);
    margin-bottom: var(--margin-xs);
    margin-top: 0.75rem;
}
.footer-left a {
    text-decoration-color: var(--tertiary-light);
}
.footer-text {
    line-height: 1.75;
    margin: 0.5rem 0.5rem 0rem 0.5rem;
    color: var(--tertiary-light);
    text-decoration: none;
}
/* Add subtle underline only on hover */
.footer-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease;
}
.footer-link:hover,
.footer-link:focus-visible {
    border-bottom-color: var(--tertiary);
    color: var(--tertiary);
}
/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .8s ease, transform .8s ease;
    will-change: opacity, transform;
}
.fade-in.in-view {
    opacity: 1;
    transform: translateY(0);
}