/*
Theme Name: DH Barber
Theme URI: https://dhbarber.cz
Author: DH Barber
Author URI: https://dhbarber.cz
Description: Clean, modern barbershop theme with dark grey and white design
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dhbarber
Tags: barbershop, modern, dark, clean
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #ffffff;
    background-color: #2a2a2a;
    line-height: 1.6;
}

/* Header Styles */
.site-header {
    background-color: #1a1a1a;
    padding: 0;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.site-logo {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    margin-left: calc((100% - 1200px) / 2 + 2rem);
}

@media (max-width: 1248px) {
    .site-logo {
        margin-left: 2rem;
    }
}

.logo-container {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
    position: relative;
}

.logo-flag {
    display: block;
    width: 120px;
    height: 150px;
    margin: 0;
    padding: 0;
    vertical-align: top;
    position: relative;
    top: 0;
    left: 0;
    z-index: 10;
}

.logo-flag image {
    width: 87%;
    height: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.1em;
}

.logo-text .logo-d,
.logo-text .logo-h {
    display: block;
}

.main-navigation {
    margin-left: auto;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.main-navigation a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
}

.hero-text {
    font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    max-width: 600px;
    line-height: 1.3;
    margin: 0;
}

/* Section Styles */
.section {
    width: 100%;
    padding: 5rem 0;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    font-weight: 300;
}

/* Prices Section */
.prices-section {
    background-color: #1a1a1a;
    width: 100%;
}

.prices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 4rem;
    margin-bottom: 3rem;
}

.price-item {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    text-align: left;
}

.price-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 400;
}

.price-item .price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.price-item .description {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

.price-item .description p {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.price-item .description p:last-child {
    margin-bottom: 0;
}

.prices-section .section-content {
    position: relative;
}

.booking-button-container {
    text-align: center;
    margin-top: 2rem;
}

.booking-button {
    display: inline-block;
    background-color: #e0e0e0;
    color: #000000;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    width: auto;
}

.booking-button:hover {
    background-color: #d0d0d0;
}

/* About Section */
.about-section {
    background-color: #2a2a2a;
    width: 100%;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-button {
    display: inline-block;
    background-color: #e0e0e0;
    color: #000000;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    margin-top: 2rem;
    text-align: center;
}

.about-button-container {
    text-align: center;
    margin-top: 2rem;
}

/* Gallery Section */
.gallery-section {
    background-color: #575757;
    width: 100%;
}

.gallery-container {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    background-color: #e0e0e0;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2a2a2a;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-nav.prev {
    left: -60px;
}

.gallery-nav.next {
    right: -60px;
}

/* Contact Section */
.contact-section {
    background-color: #696969;
    width: 100%;
}

.contact-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-column {
    color: #ffffff;
}

.contact-column .widget {
    margin-bottom: 1.5rem;
}

.contact-column .widget:last-child {
    margin-bottom: 0;
}

.contact-column .widget-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-column .widget p,
.contact-column .widget ul,
.contact-column .widget li {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-column .widget ul {
    list-style: none;
    padding: 0;
}

.contact-column .widget ul li {
    margin-bottom: 0.5rem;
}

.contact-column .widget a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-column .widget a:hover {
    opacity: 0.7;
}

.contact-column .widget strong {
    display: inline;
    margin-right: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-map {
    margin-top: 2rem;
    width: 100%;
    height: 300px;
    border-radius: 0;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    padding: 2rem;
    text-align: center;
    color: #cccccc;
}

.site-info {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .prices-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-widgets {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-nav {
        display: none;
    }
    
    .main-navigation ul {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .site-logo {
        position: absolute;
        margin-left: 2rem !important;
    }
    
    .logo-text {
        flex-direction: row;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        font-size: 1.5rem;
    }
    
    .logo-flag {
        width: 90px;
        height: 112px;
    }
}

