/* style.css */

/* Import Playfair Display font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&display=swap');

/* Reset and base styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Playfair Display', serif; 
    background: #fff; 
    color: #111; 
    line-height: 1.6; 
}

/* Header */
header { text-align: center; padding: 50px 20px 30px; }
.logo { max-width: 420px; }

/* Circle section */
.circle-container { 
    display: flex; 
    justify-content: center; 
    gap: 50px; 
    padding: 60px 20px 40px; 
    flex-wrap: wrap; 
}
.circle { 
    position: relative; 
    width: 300px; 
    height: 300px; 
    border-radius: 50%; 
    overflow: hidden; 
    cursor: pointer; 
    text-decoration: none; 
    color: #111; 
    transition: transform 0.3s ease; 
}
.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Title below the circle */
.circle-title { 
    text-align: center; 
    margin-top: 12px; 
    font-weight: 500; 
    font-size: 16px; 
}

/* Hover overlay title with subtle text animation */
.hover-title { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    background: rgba(193, 163, 56, 0.4); /* softer highlight */ 
    color: #fff; 
    font-size: 18px; 
    opacity: 0; 
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 50%; 
    padding: 10px; 
    transform: scale(0.95);
    z-index: 2;
    pointer-events: none;
}

/* Blurb under circles */
.blurb { 
    max-width: 600px; 
    margin: 50px auto 0; 
    text-align: center; 
    font-size: 32px; 
    color: #555; 
    line-height: 1.3; 
}
.gallery a {
  display: block;           /* ensures link wraps thumbnail */
  position: relative;
  overflow: hidden;
}

.gallery a img {
  width: 100%;              /* fills the parent */
  height: auto;
  display: block;           /* remove inline spacing issues */
  border-radius: 6px;
  opacity: 1;               /* ensure thumbnail is visible immediately */
  transform: none;          /* remove fade transform from thumbnail itself */
  transition: transform 0.3s ease;
}

.gallery a:hover img {
  transform: scale(1.05);   /* optional subtle hover zoom */
}
/* Play button overlay */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid #fff;
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.play-button::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
  margin-left: 4px;
}
a:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 0.32);
}


/* Footer */
footer { text-align: center; padding: 40px 20px; font-size: 14px; color: #777; }
footer a { 
    margin: 0 10px; 
    color: #777; 
    text-decoration: none; 
    transition: color 0.3s ease; 
    cursor: pointer; 
}
footer a:hover { color: #c1a338; text-decoration: underline; }
.footer-circle-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 18px auto 0;
}

/* Responsive */
@media (max-width: 900px) {
    header { padding: 36px 16px 22px; }
    .logo { max-width: 320px; width: 100%; height: auto; }
    .circle-container {
        gap: 24px;
        padding: 36px 16px 28px;
    }
    .circle {
        width: 220px;
        height: 220px;
    }
    .hover-title {
        background: transparent !important;
    }
    .blurb {
        font-size: 24px;
        margin-top: 32px;
        padding: 0 16px;
    }
}

@media (max-width: 600px) {
    .circle-container {
        gap: 18px;
        padding: 24px 12px 20px;
    }
    .circle {
        width: 160px;
        height: 160px;
    }
    .hover-title {
        font-size: 15px;
        background: transparent !important;
    }
    .circle:active {
        transform: scale(0.98);
    }
    .blurb {
        font-size: 20px;
        line-height: 1.35;
    }
    .play-button {
        width: 64px;
        height: 64px;
    }
    .play-button::before {
        border-top-width: 9px;
        border-bottom-width: 9px;
        border-left-width: 14px;
        margin-left: 3px;
    }
    footer {
        padding: 28px 16px;
    }
}

/* Hover devices (desktop/laptop): show overlay on hover */
@media (hover: hover) and (pointer: fine) {
    .circle:hover {
        transform: scale(1.05);
    }
    .circle:hover .hover-title {
        opacity: 1;
        transform: scale(1);
    }
}

/* Touch devices: always show clickable cue */
@media (hover: none), (pointer: coarse) {
    .hover-title {
        opacity: 1 !important;
        transform: scale(1) !important;
        background: rgba(193, 163, 56, 0.34);
    }
}
