@import url("https://fonts.googleapis.com/css2?family=Boldonse&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

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

.body {
    /*background: #03322c; !* Darker teal background *!*/
    min-height: 100vh;
    overflow: hidden;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    color: #f0f0f0;
}

/* Background gradient */
.body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 75% 25%,
        rgba(9, 36, 32, 0.8) 0%,
        rgba(0, 0, 0, 0) 50%
    ),
    radial-gradient(
        circle at 25% 75%,
        rgba(2, 34, 29, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 60%
    ),
    linear-gradient(to bottom, #03322c 0%, #021916 100%);
    z-index: -1;
}

.gallery_container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    perspective: 1600px;
    overflow: hidden;
}

.centered-text {
    position: absolute;
    text-align: center;
    z-index: 100;
    max-width: min(700px, 90vw);
    transform: translateZ(300px);
}

.centered-text h1 {
    font-family: "Boldonse", serif;
    font-size: clamp(3.5rem, 10vw, 8rem);
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    padding-top: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #f3e8dc 0%, #d2a959 60%, #a88239 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(168, 130, 57, 0.25));
}

.centered-text p {
    font-family: "Inter", sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #d2a959; /* Golden color for body text */
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.85;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: rgba(168, 130, 57, 0.1);
    backdrop-filter: blur(8px);
    color: #d2a959;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 2px;
    border: 1px solid rgba(168, 130, 57, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cta-button:hover {
    background: rgba(168, 130, 57, 0.15);
    border-color: rgba(168, 130, 57, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(168, 130, 57, 0.2);
}

.cta-button::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(243, 232, 220, 0) 0%,
        rgba(243, 232, 220, 0.08) 50%,
        rgba(243, 232, 220, 0) 100%
    );
    transform: rotate(45deg);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.cta-button:hover::after {
    left: 100%;
}

.images-gallery-container {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(1000px, 80vw);
    height: min(600px, 70vh);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
    transform-style: preserve-3d;
    transform-origin: center center;
}

.floating-image {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating-image img {
    width: min(180px, 100%);
    height: 240px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    transition: all 0.5s ease;
    filter: brightness(0.8) contrast(1.15) saturate(0.9);
}

.floating-image:hover img {
    transform: scale(1.05);
    filter: brightness(0.95) contrast(1.1) saturate(0.95);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 20px rgba(168, 130, 57, 0.15);
}

/* Fixed position transforms */
.floating-image:nth-child(1) {
    /* Top Left */
    grid-area: 1 / 1;
    transform: translate3d(-10%, -10%, 50px) rotateY(25deg) rotateX(-5deg);
}

.floating-image:nth-child(2) {
    /* Top Center */
    grid-area: 1 / 2;
    transform: translate3d(0, -15%, 70px) rotateX(-10deg);
}

.floating-image:nth-child(3) {
    /* Top Right */
    grid-area: 1 / 3;
    transform: translate3d(10%, -10%, 50px) rotateY(-25deg) rotateX(-5deg);
}

.floating-image:nth-child(4) {
    /* Middle Left */
    grid-area: 2 / 1;
    transform: translate3d(-15%, 0, 70px) rotateY(30deg);
}

.floating-image:nth-child(5) {
    /* Middle Right */
    grid-area: 2 / 3;
    transform: translate3d(15%, 0, 70px) rotateY(-30deg);
}

.floating-image:nth-child(6) {
    /* Bottom Left */
    grid-area: 3 / 1;
    transform: translate3d(-10%, 10%, 50px) rotateY(25deg) rotateX(5deg);
}

.floating-image:nth-child(7) {
    /* Bottom Center */
    grid-area: 3 / 2;
    transform: translate3d(0, 15%, 70px) rotateX(10deg);
}

.floating-image:nth-child(8) {
    /* Bottom Right */
    grid-area: 3 / 3;
    transform: translate3d(10%, 10%, 50px) rotateY(-25deg) rotateX(5deg);
}

/* Fog overlay */
.fog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(3, 50, 44, 0) 0%,
        rgba(2, 25, 22, 0.97) 100%
    );
    pointer-events: none;
    z-index: 10;
}

/* Additional glow effect */
.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(168, 130, 57, 0.08) 0%,
        rgba(168, 130, 57, 0.04) 30%,
        rgba(0, 0, 0, 0) 70%
    );
    pointer-events: none;
    z-index: 5;
    opacity: 0.8;
    mix-blend-mode: multiply;
}
