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

:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --dark-color: #2C1810;
    --light-color: #F5F5DC;
    --text-color: #333;
    --white: #fff;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a0f08 50%, var(--dark-color) 100%);
    color: var(--white);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-bottom: 3px solid var(--secondary-color);
}

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

.logo {
    font-size: 2.2rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--secondary-color), #FFB347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo::before {
    content: '✂️ ';
    -webkit-text-fill-color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s;
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--secondary-color);
    background: rgba(210, 105, 30, 0.1);
}

nav a:hover::after {
    width: 80%;
}

.hero {
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.services-grid, .gallery-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card, .gallery-item, .team-member {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover, .gallery-item:hover, .team-member:hover {
    transform: translateY(-5px);
}

.service-card img, .gallery-item img, .team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card-content, .team-member-content {
    padding: 1.5rem;
}

.service-card h3, .team-member h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.price-table {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.price-item:last-child {
    border-bottom: none;
}

.price-name {
    font-weight: bold;
    color: var(--dark-color);
}

.price-value {
    color: var(--primary-color);
    font-weight: bold;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    padding: 2rem;
    background: var(--light-color);
    border-radius: 8px;
    text-align: center;
}

.contact-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}

footer {
    background: linear-gradient(135deg, #1a0f08 0%, var(--dark-color) 50%, #1a0f08 100%);
    color: var(--white);
    padding: 4rem 0 1rem;
    margin-top: 4rem;
    border-top: 4px solid var(--secondary-color);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(210, 105, 30, 0.03) 10px,
        rgba(210, 105, 30, 0.03) 20px
    );
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
    padding-left: 20px;
    position: relative;
}

.footer-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(210, 105, 30, 0.2);
    color: var(--secondary-color);
    transition: all 0.3s;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: var(--white);
    padding: 1.5rem;
    display: none;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.cookie-banner.show {
    display: block;
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-banner p {
    flex: 1;
}

.cookie-banner .cookie-buttons {
    display: flex;
    gap: 1rem;
}

.privacy-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.privacy-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p {
    margin-bottom: 1rem;
}

.privacy-content ul {
    margin-bottom: 1rem;
    margin-left: 2rem;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.testimonials-section {
    background: #f9f9f9;
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 10px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}

.testimonial-rating {
    color: #FFB347;
    margin-top: 0.5rem;
}

.cta-section {
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.95), rgba(26, 15, 8, 0.95)), url('../images/barbershop_tools_sci_1deb5738.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.working-hours-section {
    padding: 4rem 0;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.hours-card {
    background: linear-gradient(135deg, var(--light-color), #fff);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-left: 4px solid var(--secondary-color);
}

.hours-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.hours-card .time {
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: bold;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid, .gallery-grid, .team-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
    }
}
