/* Estilos para a landing page da barbearia */
:root {
    --primary-color: #c59d5f;
    --secondary-color: #1e1e1e;
    --text-color: #333;
    --light-color: #f5f5f5;
    --dark-color: #121212;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Oswald', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--secondary-color);
}

/* Header / Navegação */
#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    color: #fff;
    letter-spacing: 1px;
    margin: 0;
}

.logo span {
    color: var(--primary-color);
    margin: 0 5px;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 30px;
}

.menu a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu a:hover::after {
    width: 100%;
}

.menu-mobile {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Seção HERO */
.hero {
    height: 100vh;
    background: url('../img/hero-bg.jpg') no-repeat center center/cover;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: 650px;
    margin-bottom: 50px;
}

.hero-content h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    align-items: center;
}

.hero-info {
    display: flex;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 5px;
    margin-top: auto;
}

.info-item {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 10px;
}

.info-item span {
    font-size: 14px;
}

/* Seção Sobre */
.sobre {
    padding: 100px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: #777;
    font-size: 1.1rem;
    margin-top: 10px;
}

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

.sobre-text h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.sobre-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.sobre-features {
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.feature p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.sobre-img {
    position: relative;
    height: 100%;
    min-height: 450px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.sobre-img::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--primary-color);
    z-index: -1;
    border-radius: 15px;
}

.sobre-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.sobre-img:hover img {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.img-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        padding: 20px 0;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin: 10px 0;
        text-align: center;
    }
    
    .menu-mobile {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .hero-info {
        flex-direction: column;
    }
    
    .info-item {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .info-item:last-child {
        margin-bottom: 0;
    }
}

/* Responsividade para a seção Sobre */
@media (max-width: 992px) {
    .sobre-content {
        grid-template-columns: 1fr;
    }
    
    .sobre-text {
        order: 1;
    }
    
    .sobre-img {
        order: 0;
        margin-bottom: 30px;
        min-height: 350px;
    }
    
    .sobre-img::before {
        top: -10px;
        right: -10px;
    }
}

@media (max-width: 768px) {
    .sobre {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .sobre-text h3 {
        font-size: 1.7rem;
    }
    
    .sobre-img {
        min-height: 300px;
    }
}

/* Seção Estilos */
.estilos {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.estilos-tabs {
    margin-top: 50px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 500;
    color: var(--secondary-color);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    width: 50px;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.estilos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.estilo-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.estilo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.estilo-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.estilo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.estilo-card:hover .estilo-img img {
    transform: scale(1.1);
}

.estilo-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    text-align: center;
}

.estilo-card p {
    padding: 0 20px 20px;
    color: #777;
    font-size: 0.9rem;
    text-align: center;
}

.estilos-cta {
    margin-top: 60px;
    text-align: center;
}

.estilos-cta p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

/* Responsividade para a seção Estilos */
@media (max-width: 768px) {
    .estilos {
        padding: 70px 0;
    }
    
    .tabs-header {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        margin-bottom: 15px;
    }
    
    .estilos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .estilo-img {
        height: 200px;
    }
}

/* Seção Galeria */
.galeria {
    padding: 100px 0;
    background-color: #f5f5f5;
    color: var(--secondary-color);
}

.galeria .section-header h2::after {
    background-color: var(--primary-color);
}

.galeria .section-header p {
    color: #555;
}

.galeria-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1/1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.galeria-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.galeria-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.galeria-item:hover .galeria-img img {
    transform: scale(1.1);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.galeria-info p {
    font-size: 0.9rem;
    color: #ddd;
    transform: translateY(20px);
    transition: transform 0.5s ease 0.1s;
}

.galeria-item:hover .galeria-info h3,
.galeria-item:hover .galeria-info p {
    transform: translateY(0);
}

/* Placeholder para imagens ainda não adicionadas */
.galeria-img.placeholder {
    background-color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #777;
}

.galeria-img.placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Responsividade para a seção Galeria */
@media (max-width: 992px) {
    .galeria-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .galeria-item {
        aspect-ratio: 1/1;
    }
}

@media (max-width: 768px) {
    .galeria {
        padding: 70px 0;
    }
    
    .galeria-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .galeria-item {
        aspect-ratio: 1/1;
    }
    
    .galeria-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 70%);
    }
    
    .galeria-info h3,
    .galeria-info p {
        transform: translateY(0);
    }
}
