/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a1a;
    color: #f4f4f4;
    line-height: 1.6;
}

h1, h2, .logo {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* NAVIGATION */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d4af37; /* Gold color */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.nav-links a:hover, .nav-links a.active {
    color: #d4af37;
}

/* HERO SECTION */
.hero {
    /* Height of the hero section */
    height: 60vh;
    
    /* 1. The Overlay (0.7 means 70% dark) */
    /* 2. The Image URL */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/hero-bg.png');
    
    /* Ensures the image covers the whole box without stretching weirdly */
    background-size: cover;
    
    /* Centers the image so the main part is visible */
    background-position: 50% 20%;
    
    /* Locks the image in place while you scroll (Parallax Effect) - Optional but cool */
    background-attachment: scroll;
    
    /* Layout for the text inside */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.cta-button {
    display: inline-block;
    background-color: #d4af37;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* INFO SECTION */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap; /* Makes it responsive */
    gap: 40px;
    justify-content: center;
}

.info-box {
    background: #252525;
    padding: 30px;
    border-top: 4px solid #d4af37;
    flex: 1;
    min-width: 300px;
}

.info-box ul {
    list-style: none;
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background-color: #333;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

footer {
    text-align: center;
    padding: 20px;
    background: #000;
    margin-top: 20px;
}
/* --- PAGE HEADER (For sub-pages) --- */
.page-header {
    background-color: #252525;
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid #d4af37;
}

/* --- PRICING TABLE STYLES --- */
.price-table {
    width: 100%;
    border-collapse: collapse; /* Removes gaps between borders */
    background-color: #252525;
    margin-top: 20px;
}

.price-table th, .price-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #444;
}

.price-table th {
    background-color: #d4af37;
    color: #000;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
}

.price-table td:last-child {
    font-weight: bold;
    color: #d4af37;
    font-size: 1.1rem;
    width: 100px; /* Keeps price column tight */
}

/* Zebra Striping: Makes every other row slightly lighter */
.price-table tbody tr:nth-child(even) {
    background-color: #2a2a2a;
}

/* --- GALLERY GRID STYLES --- */
.gallery-grid {
    display: grid;
    /* The Magic Line: Creates as many columns as fit, minimum 250px wide */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    height: 300px; /* Forces all images to be the same height */
    overflow: hidden; /* Hides parts of image that stick out */
    border: 2px solid #333;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zooms image to fill the box without stretching */
    transition: transform 0.3s ease; /* Smooth zoom effect */
}

/* Hover Effect: Zoom in slightly when mouse goes over */
.gallery-item img:hover {
    transform: scale(1.1);
    cursor: pointer;
}
/* --- LOCATIONS SECTION --- */
.locations-section {
    padding: 40px 20px;
    background-color: #1a1a1a;
}

.location-box {
    background: #252525;
    padding: 20px;
    border-top: 4px solid #d4af37;
    flex: 1;             /* Makes both boxes even width */
    min-width: 300px;    /* Forces them to stack on small phones */
    text-align: center;
}

.location-box h3 {
    color: #d4af37;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.location-box address, .location-box p {
    margin-bottom: 15px;
    color: #ccc;
    font-style: normal;
}

.location-box a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* RESPONSIVE MAP CONTAINER
   This forces the Google Map to stay inside the box on mobile */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}
/* --- TEAM SECTION --- */
.team-section {
    background-color: #1a1a1a;
    padding-bottom: 60px;
}

/* Re-using the .container class, but let's make sure the cards wrap */
.team-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.barber-card {
    background-color: #252525;
    width: 300px; /* Fixed width for consistency */
    border-radius: 8px; /* Slightly rounded corners */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5); /* Drop shadow for depth */
    transition: transform 0.3s ease;
}

/* Hover Effect: Lifts the card up slightly */
.barber-card:hover {
    transform: translateY(-5px);
}

.barber-img {
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.barber-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* Focuses on faces if image is tall */
}

.barber-info {
    padding: 20px;
    text-align: center;
    border-bottom: 4px solid #d4af37; /* Gold bottom accent */
}

.barber-info h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.barber-info .role {
    color: #d4af37; /* Gold text */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.barber-info .bio {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Social Icons */
.socials a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: #d4af37; /* Turns gold on hover */
}

/* Helper for the icon and text alignment */
.socials i {
    margin-right: 5px;
}
/* --- FOOTER SOCIALS --- */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #000;
    color: #fff;
    margin-top: auto; /* Pushes footer to bottom */
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.8rem; /* Make icons nice and big */
    margin: 0 15px;    /* Space between icons */
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #d4af37; /* Gold glow on hover */
}
/* FIX: Forces the gallery container to be full width */
.gallery-section .container {
    display: block;
    width: 100%;
}