/* --- Variables --- */
:root {
    --primary-blue: #1c2638; 
    --primary-blue-trans: rgba(28, 38, 56, 0.95);
    --silver: #d1d5db; 
    --silver-light: rgba(243, 244, 246, 0.95);
    --accent-red: #9e1b1b; 
    --text-dark: #111827;
    --text-light: #f9fafb;
}

/* --- Global Reset & Body --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Enables smooth scrolling when clicking nav links */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    /* Sets the uploaded wall image as a fixed background */
    background: url('IMG_3461.PNG') no-repeat center center fixed; 
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif; 
    margin-bottom: 10px;
}

/* --- Navigation Header --- */
header {
    background-color: var(--primary-blue-trans);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    border-bottom: 2px solid var(--silver);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.logo {
    height: 80px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-red);
}

.nav-btn {
    background-color: transparent;
    border: 2px solid var(--text-light);
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-btn:hover {
    background-color: var(--text-light);
    color: var(--primary-blue);
}

/* --- Layout Sections --- */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
}

.hero-section {
    min-height: 90vh; /* Keeps the hero mostly full screen */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.content-section {
    width: 100%;
    max-width: 1000px;
    margin: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    /* Push content down slightly so the sticky header doesn't cover the title when scrolling */
    scroll-margin-top: 120px; 
}

.section-inner {
    padding: 60px;
}

/* --- Panel Styles for Readability --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 50px;
    border-radius: 12px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    max-width: 800px;
}

.panel-dark {
    background: rgba(28, 38, 56, 0.92); /* Deep blue, slightly transparent */
    color: var(--text-light);
    border: 2px solid var(--silver);
    backdrop-filter: blur(8px);
}

.panel-light {
    background: rgba(243, 244, 246, 0.95); /* Silver, mostly opaque for text */
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    backdrop-filter: blur(8px);
}

/* --- Typography Details --- */
.glass-panel h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    letter-spacing: 2px;
    color: var(--text-light);
}

.glass-panel h2 {
    font-size: 1.5rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    margin-top: 15px;
    margin-bottom: 30px;
}

.content-section h2 {
    font-size: 2.5rem;
    text-align: center;
}

.content-section h3 {
    font-size: 1.5rem;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.mt-20 {
    margin-top: 20px;
}

.divider-light {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 20px 0 40px 0;
}

.divider-dark {
    border: 0;
    height: 1px;
    background: rgba(28, 38, 56, 0.2);
    margin: 20px 0 40px 0;
}

/* --- Buttons & Links --- */
.cta-button {
    display: inline-block;
    background: linear-gradient(to bottom, #bd2828, #7a1515);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 30px;
    border: 2px solid var(--silver);
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-shadow: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.6);
}

.phone-link {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--silver);
}

/* --- Specific Section Layouts --- */
.services-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.services-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.3);
    font-size: 1.2rem;
}

.services-list li:last-child {
    border-bottom: none;
}

.barber-bio {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.barber-photo img {
    border-radius: 10px;
    border: 3px solid var(--primary-blue);
    width: 200px;
    height: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.bio-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-info {
    text-align: center;
}

.large-text {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 10px;
}

.map-container {
    border: 3px solid var(--silver);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* --- Footer --- */
footer {
    background-color: var(--primary-blue-trans);
    color: var(--text-light);
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    border-top: 1px solid var(--silver);
}

/* --- Responsive Design for Mobile --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .glass-panel h1 {
        font-size: 2.5rem;
    }
    .section-inner {
        padding: 30px 20px;
    }
    .barber-bio, .contact-grid {
        flex-direction: column;
        text-align: center;
    }
    .barber-photo img {
        margin-bottom: 20px;
    }
}
/* --- Services Layout Enhancements (Suggestive Styling) --- */

.services-wrapper {
    display: flex; /* Suggests horizontal grouping if screen allows, will adjust */
    flex-wrap: wrap; /* Wraps items cleanly on smaller screens */
    gap: 30px;
    justify-content: center; /* Center groups on screen */
    margin-top: 30px;
}

.service-category {
    flex: 1; /* Suggests equal width for categories, adjusts */
    max-width: 500px;
}

.services-list {
    list-style: none;
    margin-top: 15px;
}

.services-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align name/description to top */
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1); /* Subtle divider */
}

.services-list li:last-child {
    border-bottom: none;
}

.service-name-wrapper {
    display: flex;
    flex-direction: column;
}

.service-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.service-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7); /* Subtle suggestion for text color, adjusts */
    font-style: italic;
    margin-top: 2px;
}

.service-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--silver-light); /* Suggests light silver color, adjusts */
    margin-left: 15px; /* Adds space after service name */
    white-space: nowrap; /* Prevents price from wrapping */
}

.add-ons-list .service-price.starting-at {
    font-size: 1rem;
    font-weight: normal;
}


/* --- Info Cards & General (Suggestive Styling) --- */
.services-info-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 30px;
}

.info-card {
    flex: 1;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.05); /* Very subtle glass suggestion, adjusts */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.mt-40 {
    margin-top: 40px;
}

.payment-info {
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7); /* Subtle text, adjusts */
}

/* --- Ensure Content Section Readability ( Suggestive Styling for Frosted Glass Panels) --- */
.content-section.panel-dark {
    /* Existing suggested properties will be preserved/adjusted by system:
       background: rgba(28, 38, 56, 0.92);
       border: 2px solid var(--silver);
       backdrop-filter: blur(8px);
    */
}

/* Responsive adjustment for columns */
@media (max-width: 968px) {
    .services-wrapper, .services-info-wrapper {
        flex-direction: column;
        align-items: center;
    }
}