/* 
 * Mens Cuts Mobile - Main Stylesheet
 * Modern, Dark-themed, Responsive design
 */

:root {
    --primary-color: #cccccc; /* Light Grey Accent */
    --secondary-color: #aaaaaa; /* Medium Grey Accent */
    --dark-bg: #000000; /* Pure Black Background */
    --card-bg: #1a1a1a; /* Dark Charcoal for cards */
    --text-primary: #ffffff;
    --text-secondary: #999999; /* Slightly darker grey for secondary text */
    --accent-color: #555555; /* Darker accent for emphasis */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border_box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* --- Navigation --- */
#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(0, 0, 0, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--card-bg), var(--dark-bg));
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* --- Buttons --- */
.cta-button, .primary-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.cta-button {
    background-color: var(--primary-color);
    color: #121212;
}

.primary-button {
    background: linear-gradient(45deg, var(--primary-color), #3a3a3a);
    color: rgb(3, 3, 3);
}

.full-width-btn {
    display: block;
    width: 75%;
    text-align: center;
}

.gradient-text-hover:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

/* --- Feature/Review Cards --- */
.feature-grid, .benefits-grid, #reviews-grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-card, .benefit-card, .review-card, .info-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
    border-color: #333;
}

.feature-card:hover, .benefit-card:hover, .review-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

/* --- Icons & Typography helpers --- */
.icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary-color), #010101);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Review specific --- */
.stars {
    color: #eafd42 !important;
    font-size: 1.5em !important;
}


blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin: 20px 0;
    padding-left: 15px;
    border-left: 3px solid var(--primary-color);
}

.reviewer-credit {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* --- Contact/Footer --- */
.contact-cta-wrapper, .quick-cta-container {
    text-align: center;
    margin-top: 40px;
}

.phone-link {
    font-size: 1.8rem;
    color: var(--secondary-color);
    display: block;
    margin: 10px 0;
}

footer {
    padding: 40px 0;
    border-top: 1px solid #333;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 60px;
}

/* --- Animations (Simple) --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up-1 { animation: fadeInUp 0.6s ease forwards; }
.fade-in-up-2 { animation: fadeInUp 0.8s ease forwards; }
.fade-in-up-3 { animation: fadeInUp 1.0s ease forwards; }
.fade-in-up-4 { animation: fadeInUp 1.2s ease forwards; }

/* --- Gallery Carousel --- */
.gallery-carousel {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.carousel-main {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--card-bg);
    margin-bottom: 20px;
}

.carousel-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--primary-color);
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
}

.prev-btn { left: 0; border-radius: 0 10px 10px 0; }
.next-btn { right: 0; border-radius: 10px 0 0 10px; }

.carousel-thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.thumb {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumb:hover {
    opacity: 0.8;
}

.thumb.active {
    opacity: 1;
    border-color: var(--primary-color);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    /* Navigation changes for mobile dropdown */
    #navbar {
        flex-wrap: wrap;
        padding: 20px 5%;
    }

    .logo {
        margin-right: auto; /* Push the menu button to the right */
    }
        /* Mobile Menu Toggle Icon (Hamburger Structure using pseudo-elements) */
    .menu-toggle {
        position: relative;
        display: block; /* Essential for containing pseudo-elements correctly */
        width: 30px;  /* Desired width for the icon area */
        height: 25px; /* Total height (approximate spacing for three lines) */
        cursor: pointer;
        padding: 0; /* Remove any padding that messes up the dimensions */
        border: none; /* Ensure no accidental borders are rendered */
    }

    /* Use pseudo-elements to draw the bars. The base element is ignored/used as container.*/
    .menu-toggle::before,
    .menu-toggle::after {
        content: '';
        display: block;
        width: 100%; /* Line width */
        height: 3px; /* Thickness of each line */
        background-color: var(--primary-color);
        position: absolute;
        left: 0;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Provides a nice animated transition */
    }

    /* Top bar (::before) is positioned at the top edge of the container */
    .menu-toggle::before {
        top: 0;
        transform: translateY(0);
    }

    /* Middle line's position and appearance are implicitly handled by setting width/height on .menu-toggle itself, making it act as the middle visual bar when content is empty/minimal */

    /* Bottom line (::after) is positioned near the bottom edge of the container */
    .menu-toggle::after {
        bottom: 0;
        transform: translateY(1px); /* Slight offset from absolute bottom */
    }

    .nav-links {
        flex-direction: column;
        width: 100%; /* Occupy full width when open */
        gap: 15px;
        position: absolute; /* Dropdown behavior */
        top: 100%; /* Position below the navbar */
        left: 0;
        background-color: rgba(28, 28, 28, 0.95); /* Card background for contrast */
        border-top: 1px solid #333;
        /* Initially hidden state */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
        opacity: 0;
    }

    .nav-links.active {
        max-height: 500px; /* Arbitrarily large enough to cover content */
        opacity: 1;
        padding: 10px 20px;
    }
    /* End of navigation changes */

    .hero-section h1 { font-size: 2rem; }
    .nav-links a { font-size: 0.8rem;
        width: 100%; /* Occupy full width when open */
        padding: 12px 15px;
        display: block;
        text-align: center;
    }
}

.profile-section {
    margin-bottom: 3rem;
}

.profile-info-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.profile-text {
    flex: 1;
}

@media (max-width: 768px) {
    .profile-info-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-image {
        margin-bottom: 1rem;
    }
}

