

body {
    margin: 0;
    font-family: 'Lora', serif;
    background-color: #f8f8f8;
    color: #333333;
}

header {
    background-color: #000000;
    color: #f8f8f8;
    padding: 1em;
    text-align: center;
}

nav a {
    color: #f8f8f8;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #999999;
}

.hero {
    text-align: center;
    padding: 120px 20px;
    background-color: #dddddd;
    font-size: 1.2em;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 50px 20px;
}

.gallery img {
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid #f8f8f8;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    border-color: #999999;
}

.about {
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.2em;
    text-align: center;
}


footer {
    text-align: center;
    padding: 1em;
    background-color: #000000;
    color: #f8f8f8;
    width: 100%;
    /* Remove position: fixed; */
}

/* Modal */
#modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

#modal-content {
    background-color: #f8f8f8;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
    color: #333333;
}

#modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    color: #f8f8f8;
}

header h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 2em;
}

.masonry-gallery {
    column-count: 3;       /* Number of columns */
    column-gap: 20px;      /* Space between columns */
}

.masonry-gallery img {
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;   /* Prevent image break in columns */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.big-image {
    max-width: 400px; /* Bigger than default 250px */
}

.back-home {
    background-color: #000000; /* pure black background */
    color: #f8f8f8;            /* white text */
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 30px;
}

.back-home:hover {
    background-color: #333333; /* slightly lighter on hover */
}

.header-logo {
    height: 2em;       /* Match the height of the text */
    vertical-align: middle;
    margin-right: 0.5px;        /* tighter spacing */
    margin-left: 0.5px;  
}

.modal-body {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

#modal-image {
    max-width: 40%;
    border-radius: 10px;
}

#modal-description {
    max-width: 50%;
    font-size: 1.2em;
    color: #333333;
    text-align: left;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* spacing between elements */
  flex-wrap: nowrap;
  font-size: 1.5em;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .header-content {
    font-size: 1.2em;        /* slightly smaller text */
    gap: 4px;                /* reduce spacing between elements */
  }

  .header-logo {
    height: 1.5em;           /* smaller butterflies */
  }
}
