/* global */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
* {
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
body {
    background-color: #080808;
    background: linear-gradient(
        to bottom,
        #050505,
        #0f0f0f,
        #1a1a1a
    );
    color:white;
    font-family: 'Arial', sans-serif;
    margin:0;
}

/* ==============
homepage
================= */

/*buttons */


button {
    background-color: #6F4E37;
    color: white;
    border: none;
    font-size:1rem;
    padding: 15px 30px;
    margin: 10px;
    cursor: pointer;
}
button:hover {
    background: #8B6B3f;
}
.explore-btn {
    background-color: #6F4E37;
    color: white;
    border: none;
    font-size:1rem;
    padding: 15px 30px;
    margin: 10px;
    cursor: pointer;
    scroll-behavior: smooth;
    display: inline-block;
    margin-top: 50px;
}
.explore-btn:hover { 
    background: #8B6B3F;
}
.hero-buttons {
   text-align: center;
   
}

/* navigation */

.line{    
    text-align: center;
    font-size: 1.5rem;
    color:white;
    top: -5%;
    position: relative;
}


.line2 {
    font-size: 1rem;
    color:white;
    top: -5%;
    position: relative;
}
nav {
    padding: 20px;
   text-align: right;
   
}

nav a{
    color: white;
    text-decoration: none;
    margin: 0 15px;
    

}

/* hero */

.hero-text h1 {
    font-family:"bodoni moda", serif;
    font-size: 3.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
}
.hero {
    position: relative;
    width:100%;
    min-height: 700px;
    overflow:hidden;
}
.hero-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    color:white;
    text-align: center;
    min-height: 700px;
}
.logo {
    display: none;
}

.logo-phone {
    width: 70px;
    height: auto;
    margin: 0 auto -8px;
    display: block;
}

.logo-phone + h1 {
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1;
}

.hero-text h1 + .line {
    top: 0;
}

.hero-text h1 + .line p {
    margin-top: 0;
    margin-bottom: 0;
}

.line + .line2 {
    top: 0;
}

.line + .line2 p {
    margin-top: 18px;
    margin-bottom: 0;
}

/* services */

#services {
    padding: 100px 50px;
    color:white;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
    scroll-margin-top: -50px;

}
#barber,
#beauty,
#brews {
    width: 100%;
    max-width: 300px;
    min-height: 625px;
    margin: 0;
    text-align: center;
    padding: 20px;
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
}
#barber p,
#beauty p,
#brews p {
    flex-grow: 1;
}

#barber:hover,
#beauty:hover,
#brews:hover{
    transform: translateY(-12px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.1);
}
#services h2 {
    font-size: 3rem;
    text-transform: uppercase;
    font-family:"bodoni moda", serif;
}

.service-img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    display: block;
}

/* about */

.about h2 {
    color: black;
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.about h2::after {
    content: "";
    display: block;
    width: 110px;
    height: 2px;
    background: #b08d57;
    margin: 15px auto 0;
}
.about {
    background-color: white;
    padding: 80px 20px;
    text-align: center;
}
.about p {
    color: black;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}
.about-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #b08d57;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}
.about-btn:hover{
    opacity: 0.9;
    transform: translateY(-2px);
}

/* reviews */

.reviews {
    text-align: center;
    padding: 80px 20px;
    background:#111;
    box-sizing: border-box;
}
.reviews h2 {
    font-size: 2rem;
}
.review-card{
    background: #1a1a1a;
    max-width:800px;
    margin: 30px auto;
    padding: 25px;
    border-radius: 12px;
    border:1px solid #333;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}
.review-card:hover { 
    transform: translateY(-5px);
}
.review-card p {
    color: white;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
.review-card h4 {
    color: #b08d57;
    margin-top: 15px;
}
.google-rating {
    text-align: center;
    margin: 25px 0 40px;
    margin-bottom: 40px;
}
.google-rating h3 {
    color: #b08d57;
    font-size: 1.5rem;
    margin-bottom: 5px;
}
.google-rating p {
    color: #ccc;
}
.reviews-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #b08d57;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    box-sizing: border-box;
}

/* footer */

.footer {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
}

.footer-section h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
}
.footer-section.social i{ 
    font-size: 2rem;
    margin: 0 10px;
    transition: transform 0.3s ease;
}
.footer-section.social i:hover {
    transform: scale(1.2);
}
.footer-section.contact a{
    color: white;
    text-decoration: none;
    display: block;
}

.footer-section.contact a:hover {
    color: #b08d57;
}
.fa-facebook {
    color: #1877F2;
}
.fa-instagram {
    color: #E4405F;
}
.copyright { 
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
}

/* ============
barber page
=============== */

/* barber hero */

body {
    margin: 0;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:8px 20px;
}
.blogo {
    width: 70px;
    height: auto;
}
nav {
    display: flex;
    gap: 15px;
}

nav a{
    color: white;
    text-decoration: none;
    font-weight: 600;
}
.barber-hero {
    background:
        linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
        url("images/barberhero.jpg");

    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding-bottom: 20px;

}
.barber-hero-text {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    
}
.barber-hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-family:"bodoni moda", serif;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
}
.barber-hero-text p {
    font-size: 1.2rem;
    text-align: center;
    color:white;
    position: relative;
}

/* button */

.book-btn {
   background-color: #6F4E37;
    color: white;
    border: none;
    font-size:1rem;
    padding: 15px 30px;
    margin: 10px;
    cursor: pointer;
    scroll-behavior: smooth;
    display: inline-block;
    margin-top: 50px;
}

.book-btn:hover {
   background: #8B6B3F;
}

/* gallery preview */

.gallery-preview { 
    text-align: center;
    padding: 30px 20px 60px;
}

.gallery-preview h2 {
    font-family:"bodoni moda", serif;
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 20px;
}

.gallery-preview h2::after {
    content: "";
    display: block;
    width: 110px;
    height: 2px;
    background: #b08d57;
    margin: 5px auto 0;
}
.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 700px;
    margin: 40px auto;
}

.preview-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: .3s;
}

.preview-grid img:hover {
    transform: scale(1.03);
}

.photo1 {
    grid-column: 1 / 3;
    width: 85%;
    justify-self: center;
    z-index: 3;
}

.photo2 {
    margin-top:-20px;
    transform: rotate(-4deg);
    z-index: 2;
}

.photo3 {
    margin-top: -20px;
    transform: rotate(4deg);
    z-index: 1; 
}   

.gallery-btn {
    display: inline-block;
    margin-top: 40px;
    margin-top: 40px;
    padding: 14px 28px;
    background-color: #6F4E37;
    color: white;
    border: none;
    font-size:1rem;
    cursor: pointer;
    scroll-behavior: smooth;
}

.gallery-btn:hover {
    background: #8B6B3F;
}

/* meet the barbers */

.meet {
    text-align: center;
    padding: 80px 20px;
}
.meet h2 {
    font-family:"bodoni moda", serif;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 2rem;
}
.meet h2::after {
    content: "";
    display: block;
    width: 225px;
    height: 2px;
    background: #b08d57;
    margin: 5px auto 0;
}
.meet p {
    font-size: 1.0rem;
    margin-top: 10px;
    margin-bottom: 50px;
}
.barbers {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.barber-card {
    max-width: 300px;
}

.barber-card img {
    width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.barber-card h3 {
    margin-top: 15px;
    font-family:"bodoni moda", serif;
    text-transform: uppercase;
    font-size: 1.25rem;
}
.barber-card p::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: #b08d57;
    margin: 5px auto 0;
}
.barber-card p {
    font-size: 0.9rem;
    position: relative;
    top: -15px;
}
.description {
    font-size: 0.9rem;
    top: -50px;

}

/* footer */

.book2 p {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* ============
beauty page
=============== */

.beauty-hero {
    background:
        linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
        url("images/beautyhero.jpg");

    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding-bottom: 20px;

}
.beauty-hero-text {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    
}
.beauty-hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-family:"bodoni moda", serif;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
}
.beauty-hero-text p {
    font-size: 1.2rem;
    text-align: center;
    color:white;
    position: relative;
}

/* ============
brews page
=============== */

.brews-hero {
    background:
        linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
        url("images/brewshero.jpg");

    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding-bottom: 20px;

}
.brews-hero-text {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    
}
.brews-hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-family:"bodoni moda", serif;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
}
.brews-hero-text p {
    font-size: 1.2rem;
    text-align: center;
    color:white;
    position: relative;
}

.menu {
    text-align: center;
    padding: 30px 20px 60px;
}
.menu h2 {
    font-family:"bodoni moda", serif;
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 20px;
}
.menu h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: #b08d57;
    margin: 5px auto 0;
}
.menu > p {
    font-size: 1.0rem;
    margin-top: 10px;
    margin-bottom: 50px;
}
.menu-block {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: left;
}
.menu-block h3 {
    font-family:"bodoni moda", serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.menu-block h3::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: #b08d57;
    margin: 5px 0 0;
}
.menu-note {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 20px;
}
.menu-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #3a3a3a;
}
.menu-item p {
    margin: 0;
}
.menu-item span {
    color: #b08d57;
    text-align: right;
}






/* ===========
barber gallery 
============== */

.bgallery-hero-text {
    text-align: center;
    padding: 80px 20px;
    font-size: 1.5rem;
    
}
.bgallery-hero .bgallery-hero-text {
    padding: 4px 20px 0;
}
.bgallery-hero .bgallery-hero-text h1 {
    margin: 0;
}
.bgallery-hero .bgallery-hero-text p {
    margin: 4px 0 0;
}
.bgallery-hero-text h1 {
     font-family:"bodoni moda", serif;
     text-transform:uppercase;
}
.bgallery-hero-text p {
    font-size: 1.0rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
}
.gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}
.bgallery-hero + .img-gallery .gallery-grid {
    padding-top: 20px;
}
.bgallery-hero + .img-gallery .gallery-grid img {
    width: 75%;
    justify-self: center;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
}
.gallery-grid img:hover {
    transform: scale(1.03);
}

.shot-grid {
    max-width: 700px;
    margin: 0 auto;
    gap: 16px;
    padding: 24px 16px 48px;
}
.bgallery-hero + .img-gallery .gallery-grid.shot-grid img {
    width: 100%;
    height: auto;
    justify-self: stretch;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center;
}
.shot-grid .shot-hero {
    grid-column: 1 / -1;
}
.bgallery-hero + .img-gallery .gallery-grid.shot-grid img:last-child:nth-child(even) {
    grid-column: 1 / -1;
    width: calc((100% - 16px) / 2);
    justify-self: center;
}

/* ============
about page
=============== */

.about-story {
    text-align: center;
    padding: 40px 20px 80px;
}
.about-story h2 {
    font-family:"bodoni moda", serif;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 2rem;
}
.about-story h2::after {
    content: "";
    display: block;
    width: 140px;
    height: 2px;
    background: #b08d57;
    margin: 5px auto 0;
}
.about-story p {
    font-size: 1.0rem;
    margin-top: 20px;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.about-story img {
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
}

.about-story + .meet .barber-card {
    cursor: pointer;
}



/* Desktop */
@media (min-width:1024px) {
    /* homepage */
    .logo {
        display: block;
        position: absolute;
        top: 18px;
        left: 30px;
        width: 80px;
        height: auto;
        z-index: 2;
    }

    .logo-phone {
        display: none;
    }

    .hero-text:has(.logo-phone) h1 {
        margin-bottom: 15px;
        line-height: 1.1;
        font-size: 4.5rem;
    }

    .home-nav {
        justify-content: flex-end;
        padding: 30px 40px;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-text {
        min-height: auto;
        top: 50%;
    }

    .line {
        font-size: 1.8rem;
    }

    #services {
        padding: 100px 60px;
        gap: 50px;
    }

    #barber,
    #beauty,
    #brews {
        max-width: 320px;
    }

    /* barber beauty brews */
    .top-bar {
        padding: 12px 40px;
    }

    .blogo {
        width: 80px;
    }

    .barber-hero,
    .beauty-hero,
    .brews-hero {
        display: flex;
        flex-direction: column;
    }

    .barber-hero-text h1,
    .beauty-hero-text h1,
    .brews-hero-text h1 {
        font-size: 4.5rem;
    }

    .preview-grid {
        max-width: 800px;
    }

    .meet {
        padding: 100px 40px;
    }

    .menu-block {
        max-width: 860px;
    }

    /* galleries */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
        margin: 0 auto;
        gap: 20px;
        padding: 30px;
    }

    .shot-grid {
        max-width: 980px;
        gap: 22px;
        padding: 30px 30px 60px;
    }

    .bgallery-hero + .img-gallery .gallery-grid.shot-grid img:last-child:nth-child(even) {
        grid-column: auto;
        width: 100%;
        justify-self: stretch;
    }

    .bgallery-hero-text h1 {
        font-size: 3rem;
    }

    /* about */
    .about-story {
        padding: 60px 80px 100px;
    }

    .about-story p {
        font-size: 1.15rem;
        max-width: 800px;
    }

    .barbers {
        gap: 30px;
    }

    .footer {
        grid-template-columns: repeat(3, 1fr);
        padding: 50px 40px 20px;
        gap: 20px;
    }

    .footer-section.contact a {
        overflow-wrap: anywhere;
    }

    .reviews {
        padding: 100px 40px;
    }
}














/* tablet */
@media (min-width:768px) and (max-width:1023px) {
    /* homepage */
    .home-nav {
        justify-content: flex-end;
        padding: 24px 30px;
    }

    .logo-phone {
        width: 80px;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-text {
        min-height: auto;
        top: 50%;
    }

    .line {
        font-size: 1.7rem;
    }

    #services {
        padding: 80px 40px;
        gap: 30px;
    }

    /* barber beauty brews */
    .top-bar {
        padding: 10px 30px;
    }

    .barber-hero,
    .beauty-hero,
    .brews-hero {
        display: flex;
        flex-direction: column;
    }

    .preview-grid {
        max-width: 640px;
    }

    .meet {
        padding: 80px 30px;
    }

    .menu-block {
        max-width: 640px;
    }

    /* galleries */
    .gallery-grid {
        max-width: 720px;
        margin: 0 auto;
        gap: 16px;
        padding: 20px;
    }

    .shot-grid {
        max-width: 680px;
        gap: 18px;
        padding: 24px 20px 50px;
    }

    .bgallery-hero + .img-gallery .gallery-grid.shot-grid img:last-child:nth-child(even) {
        width: calc((100% - 18px) / 2);
    }

    .bgallery-hero-text h1 {
        font-size: 2.5rem;
    }

    /* about */
    .about-story {
        padding: 50px 40px 80px;
    }

    .footer {
        grid-template-columns: 1fr;
        padding: 40px 24px 20px;
        gap: 16px;
    }

    .reviews {
        padding: 80px 30px;
    }
}


