/* Force the centreleft style for content */
.centreleft {
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
    padding: 10px;
}

/* Hide home page logo completely */
.slider-logo-overlay.home-logo {
    display: none !important;
}

/* About & Portfolio pages logo positioning */
.slider-logo-overlay.about-portfolio-logo {
    position: relative;  /* instead of absolute */
    margin: 100px auto 0 auto !important;
    text-align: center;
    z-index: auto;
}

/* Make article the positioning context for floating logo */
article {
    position: relative;
}

/* Floating logo */
.floating-logo {
    position: absolute;
    top: -40px; /* half overlaps upward */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
}

/* Feature boxes */
.feature-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 250px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 1rem;
    color: #555;
}

/* Ensure footer stays in normal flow */
footer {
    position: relative;
}

/* Blog post images in 'recent posts' */
a > .sans img#thumb {
    width: 100% !important;
    height: auto !important;
    max-height: 11rem;
    object-fit: cover;
    display: block;
}

/* Ensure each blog post container flexes correctly */
a > .sans {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
}

/* Text container inside post card */
a > .sans > div {
    flex: 1 1 auto;
    max-width: 100%;
}

/* Spacing for post cards */
a > .sans + a > .sans {
    margin-top: 1rem;
}

/* Optional: hover effect like original theme (intentionally empty, preserved) */
a > .sans:hover {}

/* Mobile menu default & toggle */
#mobileMenu {
    display: none;
    background-color: rgba(255,0,0,0.2); /* temporary visible color */
    padding: 1rem;
    margin-top: 0.5rem;
}

#mobileMenu.show {
    display: block !important;
}

/* Logo sizing */
header .logo {
    max-height: 60px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Burger button styling */
#menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: black;
    margin-bottom: 4px;
}

#menu-button span:last-child {
    margin-bottom: 0;
}

/* Slider wrapper overflow guard */
.slider-wrapper {
    overflow-x: hidden;
}

/* Prevent horizontal scroll globally */
body {
    overflow-x: hidden;
}

/* Instagram floating button */
.instagram-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: transparent;
    padding: 0;
    border: none;
    z-index: 9999;
}

.instagram-float img {
    display: block;
    width: 80px;
    height: auto;
}

.lightbox-thumb {
    max-width: 200px;   /* preview size */
    height: auto;
    cursor: pointer;    /* shows it's clickable */
    transition: transform 0.2s; /* subtle hover effect */
}

.lightbox-thumb:hover {
    transform: scale(1.05); /* optional small zoom on hover */
}

@media (max-width: 768px) {
    .focus-wedding122 {
        object-position: center right; /* adjust per photo */
    }

    .focus-otherphoto {
        object-position: center center; /* example for another slide */
    }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.instagram-float.spin {
  animation: spin 1s linear infinite;
}




