/* ==========================================
   PRIME BARBER
   PART 1
   RESET + HEADER + HERO + ABOUT
========================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

body{

font-family:'Poppins',sans-serif;
background:#111;
color:#fff;
overflow-x:hidden;

}

img{

max-width:100%;
display:block;

}

a{

text-decoration:none;
color:inherit;

}

ul{

list-style:none;

}

.container{

width:90%;
max-width:1300px;
margin:auto;

}

/* HEADER */

header{

position:fixed;
top:0;
left:0;

width:100%;

padding:20px 0;

background:rgba(17,17,17,.4);

backdrop-filter:blur(12px);

z-index:1000;

transition:.35s;

}

header .container{

display:flex;
justify-content:space-between;
align-items:center;

padding-left: 0;
}

.logo{
margin-right: 80px;
font-size:30px;
font-weight:800;

color:#fff;

}

.logo span{

color:#d4af37;

}

nav ul{

display:flex;
gap:35px;

}

nav a{

position:relative;

font-weight:500;

transition:.35s;

}

nav a::after{

content:"";

position:absolute;

left:0;
bottom:-7px;

width:0;

height:2px;

background:#d4af37;

transition:.35s;

}

nav a:hover::after{

width:100%;

}

.book-btn{

display:inline-flex;
align-items:center;
justify-content:center;

padding:12px 24px;
height: 50px;

margin-left: 25px;


background:#d4af37;
color:#111;

border-radius:30px;

font-size:16px;
font-weight:600;

transition:.35s;

}



/* HERO */

.hero{

height:100vh;

background:

linear-gradient(rgba(0,0,0,.6),
rgba(0,0,0,.65)),

url("images/client and barber.jpg");

background-size:cover;
background-position:center;

display:flex;
justify-content:center;
align-items:center;

text-align:center;

}

.hero-content{

max-width:850px;

}

.hero h1{

font-size:78px;

font-weight:800;

line-height:1.1;

margin-bottom:25px;

}

.hero p{

font-size:22px;

color:#ececec;

line-height:1.8;

margin-bottom:40px;

}

.hero-buttons{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}

.btn-primary{

padding:18px 45px;

background:#d4af37;

color:#111;

border-radius:50px;

font-weight:700;

transition:.35s;

}

.btn-primary:hover{

transform:translateY(-5px);

box-shadow:0 18px 35px rgba(212,175,55,.35);

}

.btn-secondary{

padding:18px 45px;

border:2px solid #fff;

border-radius:50px;

transition:.35s;

}

.btn-secondary:hover{

background:#fff;

color:#111;

}

/* SECTION */

section{

padding:120px 0;

}

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title h2{

font-size:48px;

margin-bottom:15px;

}

.section-title p{

font-size:18px;

color:#d8d8d8;

}

/* ABOUT */

.about{

background:#181818;

}

.about .container{

display:grid;

grid-template-columns:1fr 1fr;

gap:60px;

align-items:center;

}

.about-image img{

border-radius:20px;

box-shadow:0 20px 45px rgba(0,0,0,.35);

}

.about-text h2{

font-size:44px;

margin-bottom:20px;

}

.about-text p{

font-size:18px;

line-height:1.9;

color:#ddd;

margin-bottom:35px;

}

.stats{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:20px;

}

.stats div{

background:#222;

padding:25px;

border-radius:18px;

text-align:center;

border:1px solid rgba(255,255,255,.08);

transition:.35s;

}

.stats div:hover{

transform:translateY(-8px);

border-color:#d4af37;

box-shadow:0 15px 30px rgba(212,175,55,.18);

}

.stats h3{

font-size:34px;

color:#d4af37;

margin-bottom:8px;

}

.stats p{

color:#d8d8d8;

font-size:15px;

}

/* ==========================================
   PART 2
   SERVICES + GALLERY
========================================== */

/* ================= SERVICES ================= */

.services{

background:#111;

}

.services-grid{

width:90%;
max-width:1300px;

margin:auto;

display:grid;
grid-template-columns:repeat(4,1fr);

gap:30px;

}

.service-card{

background:#1c1c1c;

border-radius:20px;

overflow:hidden;

border:1px solid rgba(255,255,255,.08);

transition:.4s;

cursor:pointer;

}

.service-card:hover{

transform:translateY(-12px);

border-color:#d4af37;

box-shadow:0 25px 45px rgba(212,175,55,.20);

}

.service-card img{

width:100%;

height:260px;

object-fit:cover;

transition:.45s;

}

.service-card:hover img{

transform:scale(1.08);

}

.service-card h3{

font-size:24px;

padding:22px 22px 10px;

text-align:center;

}

.service-card span{

display:block;

width:110px;

margin:0 auto 25px;

padding:10px;

background:#d4af37;

color:#111;

text-align:center;

font-weight:700;

border-radius:30px;

}

/* ================= GALLERY ================= */

.gallery{

background:#181818;

}

.gallery-grid{

width:90%;
max-width:1300px;

margin:auto;

display:grid;

grid-template-columns:repeat(3,1fr);

gap:20px;

}

.gallery-grid img{

width:100%;

height:280px;

object-fit:cover;

border-radius:18px;

cursor:pointer;

transition:.4s;

}

.gallery-grid img:hover{

transform:scale(1.05);

box-shadow:0 20px 40px rgba(212,175,55,.25);

}

/* ================= EXTRA EFFECTS ================= */

.service-card h3{

transition:.35s;

}

.service-card:hover h3{

color:#d4af37;

}

.service-card img{

filter:brightness(.95);

}

.service-card:hover img{

filter:brightness(1.05);

}

.gallery-grid img{

filter:contrast(1.05);

}

.gallery-grid img:hover{

filter:contrast(1.15);

}

/* ================= RESPONSIVE ================= */

@media(max-width:1200px){

.services-grid{

grid-template-columns:repeat(2,1fr);

}

.gallery-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.services-grid{

grid-template-columns:1fr;

}

.gallery-grid{

grid-template-columns:1fr;

}

.service-card img{

height:240px;

}

}

/* ==========================================
   PART 3
   REVIEWS + BOOKING + CONTACT
========================================== */

/* ================= REVIEWS ================= */

.reviews{

background:#111;

}

.reviews-grid{

width:90%;
max-width:1300px;

margin:auto;

display:grid;
grid-template-columns:repeat(3,1fr);

gap:30px;

}

.review-card{

background:#1d1d1d;

padding:35px;

border-radius:20px;

text-align:center;

border:1px solid rgba(255,255,255,.08);

transition:.35s;

}

.review-card:hover{

transform:translateY(-10px);

border-color:#d4af37;

box-shadow:0 20px 40px rgba(212,175,55,.20);

}

.stars{

margin-bottom:20px;

}

.stars i{

color:#FFD700;

font-size:20px;

margin:0 2px;

}

.review-card p{

color:#d8d8d8;

line-height:1.8;

margin-bottom:20px;

}

.review-card h3{

font-size:20px;

color:#d4af37;

}

/* ================= BOOKING ================= */

.booking{

background:#181818;

}

.booking-form{

width:90%;
max-width:800px;

margin:auto;

display:flex;

flex-direction:column;

gap:20px;

background:#222;

padding:45px;

border-radius:22px;

border:1px solid rgba(255,255,255,.08);

}

.booking-form input,
.booking-form select,
.booking-form textarea{

padding:18px;

background:#2c2c2c;

border:1px solid transparent;

border-radius:12px;

color:#fff;

font-size:16px;

outline:none;

transition:.35s;

}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus{

border-color:#d4af37;

}

.booking-form textarea{

height:170px;

resize:none;

}

.booking-form button{

padding:18px;

border:none;

background:#d4af37;

color:#111;

font-size:18px;

font-weight:700;

border-radius:12px;

cursor:pointer;

transition:.35s;

}

.booking-form button:hover{

transform:translateY(-5px);

box-shadow:0 18px 35px rgba(212,175,55,.25);

}

/* ================= CONTACT ================= */

.contact{

background:#111;

}

.contact-container{

width:90%;
max-width:1300px;

margin:auto;

display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;

}

.contact-box{

background:#1d1d1d;

padding:35px;

border-radius:20px;

text-align:center;

border:1px solid rgba(255,255,255,.08);

transition:.35s;

}

.contact-box:hover{

transform:translateY(-10px);

border-color:#d4af37;

box-shadow:0 20px 40px rgba(212,175,55,.20);

}

.contact-box i{

width:70px;
height:70px;

display:flex;
justify-content:center;
align-items:center;

margin:auto;

margin-bottom:20px;

background:#d4af37;

color:#111;

border-radius:50%;

font-size:26px;

}

.contact-box h3{

margin-bottom:10px;

font-size:22px;

}

.contact-box p{

color:#d8d8d8;

line-height:1.7;

}

/* ================= RESPONSIVE ================= */

@media(max-width:1100px){

.reviews-grid{

grid-template-columns:1fr;

}

.contact-container{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.contact-container{

grid-template-columns:1fr;

}

.booking-form{

padding:30px;

}

}

/* ==========================================
   PART 4
   MAP + FOOTER + TOP BUTTON + ANIMATIONS
========================================== */

/* ================= MAP ================= */

.map{

width:100%;
height:450px;

}

.map iframe{

width:100%;
height:100%;

border:none;

filter:grayscale(20%);

}

/* ================= FOOTER ================= */

footer{

background:#0c0c0c;

padding:70px 0 25px;

}

.footer-container{

width:90%;
max-width:1300px;

margin:auto;

display:grid;

grid-template-columns:2fr 1fr 1fr;

gap:60px;

}

.footer-logo h2{

font-size:34px;

font-weight:800;

color:#fff;

}

.footer-logo span{

color:#d4af37;

}

.footer-logo p{

margin-top:15px;

color:#cfcfcf;

line-height:1.8;

}

.footer-links{

display:flex;

flex-direction:column;

gap:15px;

}

.footer-links h3,
.footer-social h3{

margin-bottom:15px;

}

.footer-links a{

color:#d7d7d7;

transition:.3s;

}

.footer-links a:hover{

color:#d4af37;

padding-left:8px;

}

.footer-social a{

display:inline-flex;

justify-content:center;
align-items:center;

width:48px;
height:48px;

margin-right:12px;

border-radius:50%;

background:#1f1f1f;

transition:.35s;

}

.footer-social a:hover{

background:#d4af37;

color:#111;

transform:translateY(-5px);

}

.copyright{

margin-top:50px;

padding-top:20px;

text-align:center;

border-top:1px solid rgba(255,255,255,.08);

color:#999;

}

/* ================= TOP BUTTON ================= */

#topBtn{

position:fixed;

right:30px;
bottom:30px;

width:55px;
height:55px;

border:none;

background:#d4af37;

color:#111;

font-size:22px;

border-radius:50%;

cursor:pointer;

display:none;

transition:.35s;

z-index:999;

}

#topBtn:hover{

transform:translateY(-6px);

box-shadow:0 20px 35px rgba(212,175,55,.35);

}

/* ================= SCROLLBAR ================= */

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#111;

}

::-webkit-scrollbar-thumb{

background:#d4af37;

border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

background:#f0c95c;

}

/* ================= ANIMATIONS ================= */

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(50px);

}

to{

opacity:1;

transform:translateY(0);

}

}

.hero-content,
.about,
.services,
.gallery,
.reviews,
.booking,
.contact{

animation:fadeUp 1s ease;

}

/* ================= RESPONSIVE ================= */

@media(max-width:1100px){

.footer-container{

grid-template-columns:1fr;

text-align:center;

}

}

@media(max-width:768px){

nav{

display:none;

}

.hero h1{

font-size:46px;

}

.hero p{

font-size:18px;

}

.hero-buttons{

flex-direction:column;

align-items:center;

}

.about .container{

grid-template-columns:1fr;

}

.stats{

grid-template-columns:1fr;

}

.section-title h2{

font-size:38px;

}

section{

padding:90px 0;

}

}

@media(max-width:500px){

.logo{

font-size:24px;

}

.hero h1{

font-size:34px;

}

.hero p{

font-size:16px;

}

.book-btn,
.btn-primary,
.btn-secondary{

padding:15px 30px;

}

}

.back-btn{
position:fixed;
top:92px;
left:clamp(16px,5vw,42px);
display:inline-flex;
align-items:center;
gap:10px;
padding:13px 22px;
background:#fff;
color:#111;
border-radius:50px;
font-size:14px;
font-weight:600;
line-height:1;
white-space:nowrap;
box-shadow:0 10px 25px rgba(0,0,0,.15);
z-index:1001;
transition:.3s;
}

.back-btn:hover{
background:#111;
color:#fff;
transform:translateY(-4px);
}

.menu-toggle{
display:none;
background:transparent;
border:0;
padding:0;
font:inherit;
}

@media(max-width:768px){

header{
padding:14px 0;
}

header .container{
width:min(92%,1300px);
justify-content:space-between;
gap:8px;
padding-left:0;
}

.logo{
order:2;
flex:1;
min-width:0;
margin-left:0;
margin-right:0;
font-size:clamp(17px,4vw,21px);
line-height:1;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

nav{
display:none;
}

.menu-toggle{
order:1;
width:42px;
height:42px;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
cursor:pointer;
color:#fff;
}

.book-btn{
order:3;
display:inline-flex;
align-items:center;
justify-content:center;
height:40px;
padding:0 12px;
margin-left:0;
border-radius:22px;
font-size:clamp(11px,2.5vw,13px);
font-weight:700;
white-space:nowrap;
flex-shrink:0;
}

nav.active{
display:block;
position:absolute;
top:100%;
left:0;
width:100%;
background:#111;
padding:18px 0;
border-top:1px solid rgba(255,255,255,.08);
box-shadow:0 20px 35px rgba(0,0,0,.35);
z-index:9999;
}

nav.active ul{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:10px;
list-style:none;
margin:0;
padding:0;
}

nav.active li{
width:100%;
text-align:center;
}

nav.active a{
display:block;
width:100%;
padding:14px 0;
font-size:17px;
font-weight:600;
color:#fff;
}

.back-btn{
top:84px;
left:16px;
padding:12px 18px;
font-size:13px;
}

.hero{
height:auto;
min-height:100svh;
padding:145px 18px 90px;
}

.hero-content{
max-width:100%;
}

.hero p{
max-width:380px;
margin-left:auto;
margin-right:auto;
}

}

@media(max-width:500px){

.logo{
font-size:clamp(16px,4vw,19px);
}

.book-btn{
height:38px;
padding:0 10px;
font-size:clamp(10px,3.2vw,12px);
}

.menu-toggle{
width:38px;
height:38px;
font-size:22px;
}

.back-btn{
max-width:calc(100vw - 32px);
}

}
