/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #fff;
}

/* Header */
.header {
    background-color: #000;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 100px;
    height: auto;
    max-width: 100%;
    transition: width 0.3s ease;
}

/* Menu */
.menu {
    height: 80px;
    background-color: #ff3366;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #e3d5b2;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.menu.scrolled {
    background-color: rgba(255, 51, 102, 0.75);
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.menu ul li a {
    text-decoration: none;
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-size: 20px;
    color: #e3d5b2;
    text-transform: uppercase;
    transition: transform 0.3s ease, color 0.3s ease;
}

.menu ul li a:hover {
    transform: scale(1.1);
    color: #000;
}

/*Promo*/
H1{
color: #ff3366;
}

.promo {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  animation: bg-fade 24s infinite;   /* 8 s per image × 3 */
  z-index: 0;
}
/* First image */
.slide-1 {
 background-image: url(https://res.cloudinary.com/dwyhmiueo/image/upload/q_auto/v1785530701/cca19gru1ge5ba9042lc.jpg);
  animation-delay: 8s;              /* half of total cycle */
}

/* Second image */
.slide-2 {
  background-image: url(https://res.cloudinary.com/dwyhmiueo/image/upload/q_auto/v1785530701/eonseqv7be8zwlrdz4lp.jpg);
  animation-delay: 16s;              /* half of total cycle */
}

/* third image */
.slide-3 {
 background-image: url(https://res.cloudinary.com/dwyhmiueo/image/upload/q_auto/v1785528440/xgefj3f7xyjasdxryi5q.jpg);
  animation-delay: 0s;

}

/* Add more images with extra elements if needed */

@keyframes bg-fade {
  0%, 40%   { opacity: 1; }
  50%, 90%  { opacity: 0; }
  100%      { opacity: 1; }
}

.Pwrapper {
  position: relative;               /* keeps it above the backgrounds */
  z-index: 1;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.75);
  width: 70%;
  border-radius: 12px;
  padding: 20px;
}

img#Sophia.Sophia{
max-width: 100%;
padding: 10px;
mix-blend-mode: multiply;
}

.button {
    background-color: #eedfb6;
    border: none;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-size: 16px;          /* cleaned up the duplicate font-size */
    display: inline-block;
    cursor: pointer;
    border: 1px solid #ff3366;
    position: relative;
    transition: all 0.3s ease;
    z-index: 0;
}

.button:hover {
    transform: scale(1.08);   /* grows the button ~8% */
}



/* Art Gallery */
.gallery {
    background-color: #000;
    padding: 40px 0;
    text-align: center;
}

.gallery h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 28px;
    text-transform: uppercase;
    color: #e3d5b2;
    margin-bottom: 30px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
    /* Increase to 30px if you want more space between columns */
}

.gallery-grid a {
    display: block;
    text-decoration: none;
    text-align: center;
    /* New: Centers the image-container within the flex item */
}

.gallery-grid img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border: 1px solid #ff3366;
    padding: 5px;
    background-color: #000;
    transition: transform 0.3s, border-color 0.3s;
    margin: 10px;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    border-color: #e3d5b2;
}

/* Shopping Bag Overlay */
.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    display: block;
}

.overlay-icon {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

/* .overlay-icon:hover {
    background: rgba(0,0,0,0.7);
} */

.overlay-icon i {
    color: white;
    font-size: 20px;
}

/* Conventions (Shows) */
/* Conventions (Shows) */
.cons {
    min-height: 400px;
    background-color: #e3d5b2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.cons h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 28px;
    text-transform: uppercase;
    color: #000;
}

.cons p {
    background-color: #e3d5b2;
    color: #000;
    padding: 15px 25px;
    margin: 10px;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ff3366;
    position: relative;
    transition: all 0.3s ease;
    z-index: 0;
    /* Ensure p is below ::before but clickable */
}

.cons p a {
    color: #000;
    text-decoration: none;
    transition: letter-spacing 0.3s ease;
    position: relative;
    /* Bring link above ::before */
    z-index: 2;
    /* Ensure link is clickable */
}

.cons p .con-name {
    font-size: 18px;
    line-height: 1.2;
}

.cons p .con-date {
    font-size: 16px;
    line-height: 1.2;
}

.cons p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Below the link but above background */
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 1px solid rgba(227, 213, 178, 0.5);
    border-right: 1px solid rgba(227, 213, 178, 0.5);
    transform: scale(1, 0);
}

.cons p:hover {
    background-color: #000;
    color: #e3d5b2;
    border: 1px solid transparent;
}

.cons p:hover a {
    color: #e3d5b2;
    letter-spacing: 2px;
}

.cons p:hover::before {
    opacity: 1;
    transform: scale(1, 1);
}

/* Footer */
.footer {
    height: 400px;
    background-color: #ff3366;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #e3d5b2;
    position: relative;
}

.footer h3 {
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-size: 28px;
    text-transform: uppercase;
    color: #e3d5b2;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    text-decoration: none;
}

.social-icons .social-icon {
    width: 50px;
    height: 50px;
    fill: #e3d5b2;
    transition: transform 0.3s ease;
}

.social-icons .social-icon:hover {
    transform: scale(1.1);
}

.footer-info {
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-size: 12px;
    margin-top: 20px;
    color: #e3d5b2;
}

.footer-info a {
    color: #e3d5b2;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top-wrapper {
    background-color: #000;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-to-top {
    width: 50px;
    height: 50px;
    background-color: #ff3366;
    color: #e3d5b2;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.back-to-top:hover {
    transform: scale(1.2);
    background-color: #e3d5b2;
    color: #ff3366;
}

/* Media Queries */
@media (max-width: 768px) {
    .header {
        padding: 15px;
    }

    .logo {
        width: clamp(50px, 15vw, 100px);
    }

    .menu {
        height: auto;
        padding: 10px 0;
    }

    .menu ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .menu ul li a {
        font-size: clamp(20px, 5vw, 24px);
    }

    .gallery-grid {
        flex-direction: column;
        padding: 0 10px;
    }

    .gallery-grid img {
        max-width: 100%;
        margin: 10px 0;
    }

    .cons {
        min-height: auto;
        padding: 20px 10px;
    }

    .cons p {
        width: 100%;
        max-width: 344px;
    }

    .social-icons {
        flex-direction: column;
        s gap: 15px;
        align-items: center;
    }
}

@media (min-width: 769px) {
    .gallery-grid a {
        flex: 0 0 calc(33.33% - 0px);
    }
}