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

/* ---------- Base ---------- */
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* ---------- Header ---------- */
header {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 20px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

/* ---------- Navigation ---------- */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav a:hover {
    color: #0077cc;
}

/* ---------- Main ---------- */
main {
    padding: 40px 20px;
}

h1 {
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

/* ---------- Footer ---------- */
footer {
    border-top: 1px solid #e0e0e0;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    margin-top: 40px;
}

/* ---------- Gallery ---------- */

.gallery-container {
    max-width: 1200px;
    margin: auto;
    position: relative;
}

/* Responsive, screen-dependent canvas */
.gallery-main {
    position: relative;
    width: 100%;
    height: clamp(300px, 50vh, 650px);
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease-in-out;
}

/* Navigation buttons (desktop only) */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.gallery-btn.left {
    left: 10px;
}

.gallery-btn.right {
    right: 10px;
}

@media (max-width: 768px) {
    .gallery-btn {
        display: none;
    }
}

/* Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.gallery-thumbs img {
    height: 70px;
    cursor: pointer;
    opacity: 0.6;
    border-radius: 4px;
    transition: opacity 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.gallery-thumbs img.active {
    opacity: 1;
    transform: scale(1.05);
    border: 2px solid #0077cc;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ---------- Contact Page ---------- */

.contact-form {
    max-width: 600px;
}

.contact-form form {
    width: 100%;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    background-color: #0077cc;
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #005fa3;
}

/* Active link */
.main-nav a.active {
  font-weight: bold;
  border-bottom: 2px solid #000;
}

.contact-mobile {
  display: none;
}

.contact-desktop {
  display: block;
}

/* Mobile screens */
@media (max-width: 768px) {
  .contact-desktop {
    display: none;
  }

  .contact-mobile {
    display: block;
  }
}

.contact-details {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-details a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
}

.contact-details a:hover {
  text-decoration: underline;
}

