*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100vh;
}

:root {
    --primary: #c9a227;
    --dark: #0f0f0f;
    --dark-light: #1a1a1a;
    --text-light: #ccc;
}

body {
    background-color: var(--dark);
    color: #f1f1f1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

header {
    position: fixed;
    background: #0f0f0ff2;
    width: 100%;
    border-bottom: 1px solid var(--primary);
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-area span {
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--primary);
    transition: transform 0.5s;
}


.logo-area span:hover {
    transform: scale(1.10);

}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--primary);
    font-size: 16px;
    font-weight: bold;
}

nav a:hover {
    color: #856a11;
}

.home-section {
    background-image: url("../assets/logo-hero.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.home-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.home-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.home-textarea h1 {
    border-left: 3px solid var(--primary);
    padding-left: 15px;
    font-size: 5rem;
    color: var(--text-light);
}

.home-textarea p {
    font-size: 1.3rem;
    padding: 20px 0;
    color: var(--primary);
}

.home-textarea button {
    cursor: pointer;
    padding: 15px 25px;
    margin-right: 15px;
    border: none;
    border-radius: 30px;
    background: var(--primary);
    color: #fff;
    font-weight: bold;
    transition: transform 0.3s, opacity 0.3s;
}

.home-textarea button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}


.home-img {
    display: flex;
    justify-content: flex-end;
    margin-right: 70px;
}

.home-img img {
    width: 100%;
    max-width: 350px;
    border-radius: 50%;
    transition: transform 0.5s;
    -webkit-mask-image: radial-gradient(circle, #000000 50%, #00000000 100%);
    mask-image: radial-gradient(circle, #000000 50%, #00000000 100%);
}


.home-img img:hover {
    transform: scale(1.05);
}

section {
    padding: 4rem 2rem ;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin: 3rem;
}



.service-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-container h2 {
    display: inline-block;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 5px;
    
}

.service-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    flex-direction: column;
    gap: 1.5rem;
}

.service-card {
    display: flex;
    background: var(--dark-light);
    padding: 2.5rem;
    border-radius: 20px;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    border: 3px solid var(--primary);
    transition: transform 0.5s;
}

.service-card:hover {
    transform:translate(0, -15px);
}

.service-card i {
    color: var(--primary);
    font-size: 1.3rem;
    padding-bottom: 10px;
}

.service-card h3 {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: bold;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    
}

.service-card p {
    color: #b8b2b2;
    font-weight: 600;
}

.service-card span {
    color: var(--primary);
    font-weight: bold;
}


.haircut-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.haircut-container h2 {
    display: inline-block;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 5px;
}

.haircut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    flex-direction: column;
    gap: 1.5rem;
}

.haircut-card {
    display: flex;
    background: var(--dark-light);
    border-radius: 20px;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    border: 2px solid var(--primary);
    transition: transform 0.5s;
    overflow: hidden;
}

.haircut-card:hover {
    transform:translate(0, -15px);
}

.haircut-card img {
    width: 100%;
    height: 400px;  
    object-fit: cover;
    border-bottom: 2px solid var(--primary);
}

.haircut-card h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    width: 100%;
    max-width: 280px;
    padding-bottom: 15px;    
    margin: 0 auto;}

.haircut-card p {
    color: #b8b2b2;
    font-weight: 600;
    padding-top: 20px;
    margin: 0 20px;
}

.price {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
    margin: 20px 0;
    text-align: center;
}


.barbers-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.barbers-container h2 {
    display: inline-block;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 5px;
}


.barbers-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    flex-direction: column;
    gap: 1.5rem;
}

.barbers-card {
    display: flex;
    background: var(--dark-light);
    border-radius: 20px;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    border: 3px solid var(--primary);
    transition: transform 0.5s;
    overflow: hidden;
    height: 450px;
}

.barbers-card:hover {
    transform:translate(0, -15px);
}

.barbers-card img {
    width: 100%;
    height: 350px;  
    object-fit: cover;
    border-bottom: 2px solid var(--primary);
}

.barbers-card h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    width: 100%;
    max-width: 280px;   
    margin: 0 auto;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border-top: 3px solid var(--primary);
}

.footer-container small {
    display: flex;
    width: 100%;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
    padding: 20px 0;
}

.icon-socials i {
    margin: 8px;
    font-size: 1.8rem;
}

.fa-whatsapp {
    color: var(--primary);
    transition: transform 0.5s;
}

.fa-whatsapp:hover {
    color: #25D366;
    transform: scale(1.2);
}

.fa-instagram {
    color: var(--primary);
    transition: transform 0.5s;
}

.fa-instagram:hover {
    color: #E1306C;
    transform: scale(1.2);
}

.fa-facebook {
    color: var(--primary);
    transition: transform 0.5s;
}

.fa-facebook:hover {
    color: #1877F2;
    transform: scale(1.2);
}



