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

html { scroll-behavior: smooth; }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #222;
}

/* --- 1. The Master Margin (5% Everywhere) --- */
header, 
footer, 
section:not(#hero) {
    padding-left: 5%;
    padding-right: 5%;
}

/* Vertical spacing only */
section { padding-top: 80px; padding-bottom: 80px; }

/* --- 2. Header & Logo --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo img { height: 40px; width: 40px; }

nav a {
    text-decoration: none;
    color: #222;
    margin-left: 45px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logo img { 
    height: 40px; 
    width: 40px; 
    pointer-events: none; /* Stops the image from being 'opened' as a file */
    display: block; 
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
/* --- 3. Hero (The Exception) --- */
#hero {
    width: 100%;
    height: 95vh;
    padding: 0; /* Edge to edge */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero-guitar.jpg') center/cover fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

/* --- 4. Instruments Grid (Original Sizing) --- */
/* --- 1. The Masonry Container --- */
.masonry-gallery {
    /* This creates the vertical "weaving" columns */
    column-count: 4; 
    column-gap: 15px;
    width: 100%;
    padding: 20px 0;
}

/* --- 2. The Image "Bricks" --- */
.masonry-gallery img {
    width: 100%;
    height: auto; /* CRITICAL: Allows height to be natural, not cropped */
    display: block;
    margin-bottom: 15px; /* Spacing between "bricks" in a column */
    
    /* Prevents an image from being split across two columns */
    break-inside: avoid; 
    
    /* Your existing aesthetic */
    border: 1px solid #eee;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.masonry-gallery img:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* --- 3. Responsive Breakpoints --- */
/* On Tablets (e.g., iPad) */
@media (max-width: 1024px) {
    .masonry-gallery {
        column-count: 3;
    }
}
@media (max-width: 768px) {
    /* 1. Reset Header Padding */
    header {
        padding: 15px; /* Forces the logo to the exact 5% line */
        flex-direction: row ;/* Stacks menu under logo for a cleaner look */
        align-items: center; /* Aligns everything to the LEFT margin */
        gap: 10px;
    }

    /* 2. Fix the Logo Position */
    .logo {
        margin-left: 0;
        padding-left: 0;
    }

    .logo img {
        height: 40px; /* Slightly smaller for mobile screens */
    }

    /* 3. Align the Navigation Links */
    nav {
        display: flex;
        flex-wrap: wrap; /* Allows links to wrap if the phone is very narrow */
        gap: 15px;
        margin-left: 0;
    }

    nav a {
        margin-left: 0; /* Removes the desktop 'spacer' margin */
        font-size: 11px;
        letter-spacing: 1px;
    }
}
/* On Mobile (Phones) */
@media (max-width: 768px) {
    .masonry-gallery {
        column-count: 2; /* Keeps it from getting too skinny */
        column-gap: 10px;
    }
    .masonry-gallery img {
        margin-bottom: 10px;
    }
}


.card {
    padding: 25px;
    background: #f9f9f9;
    border: 1px solid #eee;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* --- 5. OHT Build Gallery (Fixed Alignment) --- */
.build-header {
    margin-bottom: 30px;
    padding: 0; /* Removed the extra padding that caused the shift */
    border-bottom: 2px solid #333;
}

/* --- 1. The Masonry Container --- */
.masonry-gallery {
    /* This creates the vertical "weaving" columns */
    column-count: 4; 
    column-gap: 15px;
    width: 100%;
    padding: 20px 0;
}

/* --- 2. The Image "Bricks" --- */
.masonry-gallery img {
    width: 100%;
    height: auto; /* CRITICAL: Allows height to be natural, not cropped */
    display: block;
    margin-bottom: 15px; /* Spacing between "bricks" in a column */
    
    /* Prevents an image from being split across two columns */
    break-inside: avoid; 
    
    /* Your existing aesthetic */
    border: 1px solid #eee;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.masonry-gallery img:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* --- 3. Responsive Breakpoints --- */
/* On Tablets (e.g., iPad) */
@media (max-width: 1024px) {
    .masonry-gallery {
        column-count: 3;
    }
}

/* On Mobile (Phones) */
@media (max-width: 768px) {
    .masonry-gallery {
        column-count: 2; /* Keeps it from getting too skinny */
        column-gap: 10px;
    }
    .masonry-gallery img {
        margin-bottom: 10px;
    }
}

/* --- Lightbox & Footer --- */


.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}
.lightbox.active { display: flex; }
.lightbox-content { max-width: 90%; max-height: 90%; object-fit: contain; }
.close { position: absolute; top: 15px; right: 35px; color: #fff; font-size: 40px; cursor: pointer; }



CSS
.social-container {
  display: flex;
  gap: 80px;
  justify-content: center; /* Centers icons horizontally */
  padding: 80px 0;
}

.social-container a {
  color: #333; /* Icon color */
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.social-container a:hover {
  opacity: 0.7; /* Gentle fade on hover */
}
footer { 
  background: #111; 
  color: #aaa; 
  text-align: center; 
  padding: 80px 20px; /* 80px top/bottom, 20px sides */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* Adds space between the copyright and the icons */
}

.footer-socials {
  display: flex;
  gap: 25px;
  justify-content: center;
}

.footer-socials a {
  color: #aaa; /* Matches your footer text color */
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #fff; /* Icons light up when hovered */
}