/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 0;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8b4513;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-link:hover {
    background: #8b4513;
    color: white;
}

.dropdown-menu li:last-child .dropdown-link {
    border-bottom: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/img/tlo.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px 2rem;
    flex-wrap: wrap;
    gap: 10rem;
}

.hero-content {
    flex: 0 1 500px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero-gallery {
    flex: 0 1 500px; 
    padding: 2rem;
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.gallery-slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active,
.gallery-dot:hover {
    background: white;
    transform: scale(1.2);
}

.hero-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #8b4513;
    color: white;
}

.btn-primary:hover {
    background: #6d3410;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #8b4513;
    border: 2px solid #8b4513;
}

.btn-secondary:hover {
    background: #8b4513;
    color: white;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    background: #f8f9fa;
}

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

.services-grid-symmetric {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card-link:hover .service-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-image {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 8px;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1rem;
    text-align: center;
    border: 2px dashed #ccc;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: #8b4513;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Why Choose Us Section */
.why-choose-us {
    background: white;
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Contact Section */
/* Visual Separator */
.visual-separator-wrapper {
    background: #f8f9fa; /* dowolny kolor lub gradient */
    padding: 3rem 0; /* odpowiadało dawnym marginesom */
    display: flex;
    justify-content: center;
}

.visual-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.separator-line {
    height: 3px;
    background: linear-gradient(to right, #2c3e50, #2c3e50); 
    flex: 1;
    min-width: 200px; 
    border-radius: 2px;
}

.separator-diamond {
    width: 12px;
    height: 12px;
    background: #2c3e50;
    transform: rotate(45deg);
    margin: 0 2rem;
    box-shadow: 0 0 10px rgba(44, 62, 80, 0.3);
}

.contact {
    background: #f8f9fa;
    padding-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-content-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-content-centered .contact-info {
    text-align: center;
    max-width: 500px;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info h3,
.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b4513;
}

/* Page Styles */
.page-header {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-title {
    color: #2c3e50;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-wrapper h2 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.content-wrapper h3 {
    color: #8b4513;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.content-wrapper p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.content-wrapper ul {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.content-wrapper strong {
    color: #2c3e50;
}

/* Active nav link */
.nav-link.active {
    color: #8b4513;
    font-weight: 600;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.gallery-item {
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item .image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    border: 2px dashed #ccc;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.gallery-item .image-placeholder:hover {
    border-color: #8b4513;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.gallery-item p {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Tablet Styles */
    .hero {
        gap: 3rem;
        padding: 100px 1rem 2rem;
    }
    
    .hero-content {
        flex: 0 1 400px;
    }
    
    .hero-gallery {
        flex: 0 1 400px;
    }
    
    .gallery-slideshow {
        height: 300px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* Hero Section Mobile */
    .hero {
        flex-direction: column;
        text-align: center;
        background-attachment: scroll;
        padding: 100px 1rem 2rem;
        gap: 2rem;
    }
    
    .hero-content {
        flex: none;
        width: 100%;
        padding: 1rem;
        order: 1;
    }
    
    .hero-gallery {
        flex: none;
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        order: 2;
    }
    
    .gallery-slideshow {
        height: 250px;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
        min-width: 140px;
    }
    
    .visual-separator-wrapper {
        padding: 2rem 0;
    }
    
    .separator-line {
        max-width: 150px;
        min-width: 80px;
    }
    
    .separator-diamond {
        margin: 0 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        background-attachment: scroll;
    }
    
    .hero-gallery {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .gallery-slideshow {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid-symmetric {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    /* Hero Section Small Mobile */
    .hero {
        padding: 80px 0.5rem 1rem;
        gap: 1.5rem;
    }
    
    .hero-content {
        padding: 0.5rem;
    }
    
    .hero-gallery {
        padding: 0.5rem;
    }
    
    .gallery-slideshow {
        height: 200px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .gallery-dots {
        margin-top: 15px;
    }
    
    .gallery-dot {
        width: 12px;
        height: 12px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .gallery-dot::before {
        content: '';
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: inherit;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 5rem 0 2rem;
    }
    
    .services-grid,
    .services-grid-symmetric,
    .features-grid {
        grid-template-columns: 1fr;
    }
}
