/* Custom styles based on Wandau theme */
:root {
    --color-primary: #94ffc4;
    --font-primary: 'Space Grotesk', sans-serif;
    --font-heading: 'Cinzel', serif;
}

/* Base styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    color: #212529;
}

*, ::after, ::before {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Header styles */
header {
    padding: 30px 0;
}

header .logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 28px;
    color: #111111;
}

.nav-link {
    font-weight: 500;
    font-size: 16px;
    padding: 0 25px;
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Header */
header {
    background: transparent;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

header nav a {
    font-weight: 500;
    position: relative;
}

header nav a::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 4px;
    width: 0;
    transition: width 0s ease, background .25s ease;
}

header nav a::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: -4px;
    height: 4px;
    width: 0;
    background: #94ffc4;
    transition: width .25s ease;
}

header nav a:hover::before {
    width: 100%;
    background: #94ffc4;
    transition: width .25s ease;
}

header nav a:hover::after {
    width: 100%;
    background: transparent;
    transition: all 0s ease;
}

/* Hero section styles */
.hero-title {
    font-size: 126px;
    font-weight: 400;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 30px;
    color: #fff;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 80px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 60px;
    }
}

/* Footer styles */
footer {
    background: #111111;
    padding: 100px 0;
    color: #fff;
}

footer h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    font-family: var(--font-heading);
}

footer a {
    color: #fff;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--color-primary);
}

/* Common styles */
.section-title {
    font-family: var(--font-heading);
    font-size: 126px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
    background-color: #94ffc4;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #7ee6ad;
}

.text-primary {
    color: var(--color-primary);
}

.hover\:text-primary:hover {
    color: var(--color-primary);
}

/* Custom utility classes */
.border-primary {
    border-color: var(--color-primary);
}

.focus\:border-primary:focus {
    border-color: var(--color-primary);
}

.focus\:ring-primary:focus {
    --tw-ring-color: var(--color-primary);
}

/* Custom Border Widths */
.border-l-3 {
    border-left-width: 3px;
}

/* Artwork Card */
.artwork-card {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.artwork-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.artwork-image img {
    transition: transform 0.5s ease;
}

.artwork-card:hover .artwork-image img {
    transform: scale(1.1);
}

.artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.artwork-card:hover .artwork-overlay {
    opacity: 0.8;
}

.artwork-content {
    position: relative;
    padding: 2rem;
    background: #fff;
    text-align: center;
}

.artwork-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0;
    color: #000;
}

.artwork-details {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.artwork-card:hover .artwork-details {
    opacity: 1;
    transform: translateY(0);
}

.artwork-description {
    margin-top: 1rem;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.artwork-card:hover .artwork-description {
    height: auto;
    opacity: 1;
}

.artwork-description p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Artist Card */
.artist-card {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.artist-card:hover {
    text-decoration: none;
}

.artist-image {
    position: relative;
    overflow: hidden;
}

.artist-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.artist-card:hover .artist-image img {
    transform: scale(1.1);
}

.artist-card h3 {
    display: inline;
    background-image: linear-gradient(rgba(0, 0, 0, 0) calc(99% - 2px), #080808 2px);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 0.5s;
}

.artist-card:hover h3 {
    background-size: 100% 100%;
    text-decoration: none;
}

/* Image Icon Box */
.image-icon-box {
    width: 100%;
    position: relative;
    background: #fff;
    margin: 50px 0;
    text-decoration: none;
    color: inherit;
}

.image-icon-box figure.icon {
    width: 120px;
    height: 120px;
    position: absolute;
    left: -60px;
    top: 40px;
    z-index: 2;
}

.image-icon-box figure.icon img {
    width: 100%;
    height: 100%;
}

.image-icon-box figure.content-image {
    width: 100%;
    display: block;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.image-icon-box figure.content-image:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #94ffc4;
    opacity: 0;
    transition: all .3s ease;
}

.image-icon-box:hover figure.content-image:after {
    opacity: 0.8;
}

.image-icon-box .content-box {
    width: 90%;
    margin: 0 5%;
    padding: 40px;
    position: relative;
    top: -50px;
    background: #fff;
    z-index: 2;
    box-shadow: 0 0 50px rgb(0 0 0 / 15%);
    transition: all .3s ease;
    text-align: center;
}

.image-icon-box:hover .content-box {
    background: #94ffc4;
}

.image-icon-box .content-box b {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.image-icon-box .content-box h4 {
    font-family: 'Cinzel', serif;
    display: block;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.image-icon-box .content-box .expand {
    width: 100%;
    display: block;
    margin-top: 20px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    transform: translateY(10px);
}

.image-icon-box:hover .content-box .expand {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.image-icon-box .content-box .expand p {
    display: block;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.image-icon-box .content-box .expand .custom-link {
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    padding-bottom: 5px;
    border-bottom: 2px solid #000;
}

.image-icon-box .content-box .expand .custom-link:hover {
    text-decoration: none;
    color: #000;
    border-color: transparent;
}

/* Blob Animation */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}
