@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800&family=Cinzel:wght@400;500;600;700;800&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #F5F2ED 0%, #E8E4DD 25%, #F0ECE6 50%, #EDE9E3 75%, #F3EFE9 100%);
    color: #3A3632;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Classical pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(139, 119, 101, 0.02) 60px, rgba(139, 119, 101, 0.02) 62px),
        repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(139, 119, 101, 0.02) 60px, rgba(139, 119, 101, 0.02) 62px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

/* Elegant ambient glow */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(168, 148, 128, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 25%, rgba(139, 119, 101, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 75%, rgba(156, 136, 116, 0.07) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: statuePulse 22s ease-in-out infinite alternate;
}

@keyframes statuePulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 0.75;
        transform: scale(1.06);
    }
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Elegant Header */
header {
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #A89480, #C4B5A0, #8B7765, #9C8874) 1;
    padding: 2rem 3rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 5px 35px rgba(139, 119, 101, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-branding {
    flex: 1;
    min-width: 200px;
}

.site-title a {
    text-decoration: none;
    font-size: 3.2rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #8B7765 0%, #A89480 35%, #C4B5A0 70%, #9C8874 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 10px;
    text-transform: uppercase;
    transition: all 0.5s ease;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(168, 148, 128, 0.2));
}

.site-title a:hover {
    filter: drop-shadow(0 0 28px rgba(168, 148, 128, 0.35));
    letter-spacing: 14px;
}

.site-tagline {
    font-size: 1.1rem;
    background: linear-gradient(90deg, #8B7765, #A89480);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

/* Navigation Menu */
#menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

#menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

#menu li {
    margin: 0 1.5rem;
    font-size: 1rem;
    line-height: 2.5rem;
    position: relative;
}

#menu li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #A89480, #C4B5A0);
    transition: width 0.4s ease;
}

#menu li:hover::before {
    width: 100%;
}

#menu a {
    text-decoration: none;
    color: #6B5D52;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

#menu li:hover a {
    color: #8B7765;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 242, 237, 0.96) 100%);
}

.hero-title {
    font-size: 6.5rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #8B7765 0%, #A89480 30%, #C4B5A0 60%, #9C8874 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 24px;
    position: relative;
    filter: drop-shadow(0 0 22px rgba(168, 148, 128, 0.18));
}

.hero-subtitle {
    font-size: 2rem;
    background: linear-gradient(90deg, #8B7765, #A89480, #C4B5A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

/* Sculptural SVG */
.statue-svg {
    width: 100%;
    height: 550px;
    margin-top: 3rem;
}

/* SVG Animations */
.pedestal-element {
    animation: pedestalGlow 6s ease-in-out infinite;
}

@keyframes pedestalGlow {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

.statue-silhouette {
    animation: statueFloat 8s ease-in-out infinite;
}

@keyframes statueFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.statue-silhouette:nth-child(2) {
    animation-delay: 1.5s;
}

.statue-silhouette:nth-child(3) {
    animation-delay: 3s;
}

.marble-particle {
    opacity: 0;
    animation: marbleFloat 6s ease-in-out infinite;
}

@keyframes marbleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0.6);
    }

    50% {
        opacity: 0.7;
        transform: translateY(-50px) scale(1.1);
    }
}

.light-ray {
    animation: rayShine 10s ease-in-out infinite;
}

@keyframes rayShine {

    0%,
    100% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.35;
    }
}

.column-element {
    animation: columnPulse 7s ease-in-out infinite;
}

@keyframes columnPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }
}

/* Gallery Section */
.statue-gallery {
    max-width: 1600px;
    margin: 3rem auto;
    padding: 0 2rem 4rem;
}

.category-section {
    margin-bottom: 5rem;
}

.category-title {
    font-size: 3.8rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #8B7765 0%, #A89480 50%, #C4B5A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 10px;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 32px;
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 88%;
    background: linear-gradient(180deg, #A89480, #C4B5A0);
    box-shadow: 0 0 18px rgba(168, 148, 128, 0.35);
    border-radius: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3.5rem;
    margin-top: 2rem;
    justify-items: center;
}

.gallery-grid .statue-card {
    max-width: 550px;
    width: 100%;
}

/* Statue Card Design */
.statue-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
    z-index: 1;
}

.statue-card:hover {
    transform: translateY(-18px) scale(1.03);
    z-index: 10;
}

/* Card container */
.card-container {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 18px;
    border: 3px solid transparent;
    background-image: linear-gradient(rgba(255, 255, 255, 0.97), rgba(245, 242, 237, 0.95)),
        linear-gradient(135deg, #A89480, #C4B5A0, #8B7765);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 12px 45px rgba(139, 119, 101, 0.15),
        0 0 55px rgba(255, 255, 255, 0.92) inset;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.statue-card:hover .card-container {
    box-shadow: 0 22px 65px rgba(168, 148, 128, 0.28),
        0 0 75px rgba(255, 255, 255, 0.96) inset;
}

/* Marble texture overlay */
.marble-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(168, 148, 128, 0.08) 50%,
            transparent 70%);
    animation: marbleShift 3.5s linear infinite;
}

@keyframes marbleShift {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.statue-card:hover .marble-overlay {
    opacity: 1;
}

/* Classical effects */
.classical-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.statue-card:hover .classical-effects {
    opacity: 1;
}

.ornament {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid;
    border-radius: 50%;
    animation: ornamentFloat 5s ease-in-out infinite;
}

.ornament:nth-child(1) {
    border-color: #A89480;
    left: 15%;
    top: 18%;
    animation-delay: 0s;
}

.ornament:nth-child(2) {
    border-color: #C4B5A0;
    left: 35%;
    top: 38%;
    width: 8px;
    height: 8px;
    animation-delay: 0.6s;
}

.ornament:nth-child(3) {
    border-color: #8B7765;
    left: 55%;
    top: 28%;
    animation-delay: 1.2s;
}

.ornament:nth-child(4) {
    border-color: #9C8874;
    left: 75%;
    top: 48%;
    width: 9px;
    height: 9px;
    animation-delay: 1.8s;
}

.ornament:nth-child(5) {
    border-color: #A89480;
    left: 88%;
    top: 22%;
    animation-delay: 2.4s;
}

@keyframes ornamentFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-28px) scale(1.4);
        opacity: 1;
    }
}

/* Enlightenment effect */
.enlighten-sweep {
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg,
            transparent,
            rgba(168, 148, 128, 0.12),
            rgba(196, 181, 160, 0.1),
            transparent);
    z-index: 3;
    pointer-events: none;
}

.statue-card:hover .enlighten-sweep {
    animation: enlightenEffect 2.8s ease-in-out;
}

@keyframes enlightenEffect {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

/* Image Container */
.statue-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

/* Default aspect ratio for landscape images */
.statue-image-wrapper.landscape {
    aspect-ratio: 4/3;
}

/* Taller aspect ratio for portrait images */
.statue-image-wrapper.portrait {
    aspect-ratio: 3/4;
}

.statue-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(168, 148, 128, 0.09) 0%,
            transparent 50%,
            rgba(139, 119, 101, 0.07) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.statue-card:hover .statue-image-wrapper::before {
    opacity: 0.8;
}

.statue-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 1.1s cubic-bezier(0.4, 0, 0.2, 1);
    filter: saturate(0.92) contrast(1.03) brightness(1.08) sepia(0.05);
}

.statue-card:hover .statue-image {
    transform: scale(1.16);
    filter: saturate(1.05) contrast(1.06) brightness(1.12) sepia(0.08);
}

/* Info Overlay */
.statue-info {
    position: relative;
    padding: 2.8rem;
    z-index: 5;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(245, 242, 237, 0.95) 100%);
    -webkit-backdrop-filter: blur(32px);
    backdrop-filter: blur(32px);
    border-radius: 0 0 18px 18px;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #A89480, #C4B5A0) 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.statue-name {
    font-size: 2.3rem;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #8B7765 0%, #A89480 50%, #C4B5A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
    transition: all 0.4s ease;
}

.statue-card:hover .statue-name {
    letter-spacing: 7px;
}

/* Decorative pillars */
.pillar-marker {
    position: absolute;
    z-index: 4;
    pointer-events: none;
    transition: all 0.6s ease;
    width: 45px;
    height: 45px;
    border: 3px solid;
}

.marker-tl {
    top: 18px;
    left: 18px;
    border-color: #A89480 transparent transparent #A89480;
    border-radius: 8px 0 0 0;
}

.marker-tr {
    top: 18px;
    right: 18px;
    border-color: #C4B5A0 #C4B5A0 transparent transparent;
    border-radius: 0 8px 0 0;
}

.marker-bl {
    bottom: 18px;
    left: 18px;
    border-color: transparent transparent #8B7765 #8B7765;
    border-radius: 0 0 0 8px;
}

.marker-br {
    bottom: 18px;
    right: 18px;
    border-color: transparent #9C8874 #9C8874 transparent;
    border-radius: 0 0 8px 0;
}

.statue-card:hover .pillar-marker {
    box-shadow: 0 0 22px currentColor;
}

.statue-card:hover .marker-tl,
.statue-card:hover .marker-br {
    width: 55px;
    height: 55px;
}

.statue-card:hover .marker-tr,
.statue-card:hover .marker-bl {
    width: 55px;
    height: 55px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(245, 242, 237, 0.97) 100%);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #A89480, #C4B5A0, #8B7765) 1;
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
    box-shadow: 0 -10px 35px rgba(139, 119, 101, 0.12);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.9rem;
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #8B7765 0%, #A89480 50%, #C4B5A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 7px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

#langlist {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 42px;
    padding: 0.6rem;
    border: 3px solid transparent;
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
        linear-gradient(90deg, #A89480, #C4B5A0, #8B7765);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    margin-bottom: 2rem;
    box-shadow: 0 0 35px rgba(168, 148, 128, 0.1) inset;
}

#langlist li {
    display: inline-block;
    list-style: none;
    margin: 0.3rem;
    padding: 0.9rem 1.5rem;
    border-radius: 28px;
    transition: all 0.4s ease;
}

#langlist a {
    text-decoration: none;
    color: #6B5D52;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

#langlist .highlight {
    background: linear-gradient(135deg, #A89480, #C4B5A0);
    box-shadow: 0 0 22px rgba(168, 148, 128, 0.3);
}

#langlist .highlight a {
    color: #FFFFFF;
    font-weight: 700;
}

#langlist li:not(.highlight):hover {
    background: linear-gradient(135deg, rgba(168, 148, 128, 0.12), rgba(196, 181, 160, 0.12));
    box-shadow: 0 0 18px rgba(168, 148, 128, 0.2);
}

#langlist li:not(.highlight):hover a {
    color: #8B7765;
}

.footer-credits {
    color: #6B5D52;
    font-size: 1rem;
    letter-spacing: 2.5px;
    margin-top: 2rem;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.footer-credits strong {
    background: linear-gradient(135deg, #8B7765 0%, #A89480 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .site-branding {
        margin-bottom: 1rem;
    }

    #menu {
        justify-content: center;
    }

    #menu ul {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;
    }

    .hero-title {
        font-size: 5.5rem;
        letter-spacing: 16px;
    }

    .hero-subtitle {
        font-size: 1.7rem;
        letter-spacing: 7px;
    }

    .statue-card {
        height: 460px;
    }

    .statue-name {
        font-size: 2rem;
    }
}

@media screen and (max-width: 600px) {
    .site-title a {
        font-size: 2.3rem;
        letter-spacing: 6px;
    }

    .site-tagline {
        font-size: 0.95rem;
    }

    #menu li {
        margin: 0 0.9rem;
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 3.8rem;
        letter-spacing: 10px;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        letter-spacing: 5px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .statue-card {
        height: 420px;
    }

    .statue-name {
        font-size: 1.8rem;
    }

    .statue-info {
        padding: 2.2rem;
    }

    .category-title {
        font-size: 2.6rem;
    }
}
