 /* Variables & Reset */
 :root {
    --primary: #8B4513;
    --secondary: #D2B48C;
    --light: #F5F5DC;
    --dark: #4B3621;
    --white: #FFFFFF;
    --gray: #E5E5E5;
    --cream: #F8F4E9;
    --gold: #C5A880;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

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

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

.logo-img {
    height: 60px;
    width: auto;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img img {
    max-height: 50px;
    width: auto;
}



#adminLoginSection {
    margin: 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

#adminLoginSection input {
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}











.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
}

.logo-tagline {
    font-size: 0.9rem;
    color: var(--dark);
    font-style: italic;
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section with Video Background */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Playfair Display', serif;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-light {
    background: transparent;
    border: 2px solid var(--white);
}

.btn-light:hover {
    background: var(--white);
    color: var(--dark);
}

/* About Intro Section - Full Screen */
.about-intro {
    height: 100vh;
    display:flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(245, 245, 220, 0.9)), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    position: relative;
    text-align: center;
    padding: 70px 0;
    box-sizing: border-box;
}

.about-intro-content {
    max-width: 800px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.about-intro h2 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
}

.about-intro h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold);
}

.about-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #333;
}

.signature {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 30px;
    color: var(--primary);
}

/* Services Section - Co wykonujemy */
.services {
    background: var(--cream);
    padding: 100px 0;
}

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

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 200px;
    background: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.service-img:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(139, 69, 19, 0.1), rgba(139, 69, 19, 0.4));
}

.service-icon {
    font-size: 3.5rem;
    color: var(--gold);
    z-index: 2;
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.service-content p {
    margin-bottom: 20px;
    color: #555;
    flex-grow: 1;
}

/* Projects Gallery */
.projects {
    padding: 100px 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 300px;
}

.project-img {
    width: 100%;
    height: 100%;
    background: var(--gray);
    transition: transform 0.5s ease;
    object-fit: cover;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.project-overlay p {
    font-size: 0.9rem;
}

/* Stats */
.stats {
    background: var(--primary);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

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

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.stat-text {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Process */
.process {
    background: var(--light);
    padding: 100px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
    flex-wrap: wrap;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--gold);
}

.step {
    width: 20%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.8rem;
    border: 5px solid var(--cream);
}

.step h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid var(--gold);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    margin-bottom: 25px;
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gray);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}

.author-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

/* Contact */
.contact {
    background: var(--cream);
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-form .form-group {
    margin-bottom: 20px;
}
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-author {
    font-weight: bold;
    font-size: 18px;
}

.review-date {
    color: #777;
    font-size: 14px;
}

.review-rating {
    color: #FFD700;
    margin: 10px 0;
}

.review-text {
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.review-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.review-image:hover {
    transform: scale(1.05);
}

.add-review-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    margin: 20px 0;
}

.add-review-btn:hover {
    background: #1a252f;
}

/* Modal do dodawania opinii */
.review-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow: auto;
}

.review-modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close-review-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.review-form .form-group {
    margin-bottom: 20px;
}

.review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

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

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

.star-rating {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.star-rating i {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}
.price-list-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow: auto;
}

.price-list-content {
    background: white;
    margin: 2% auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    border-radius: 10px;
    position: relative;
}

.close-price-list {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.price-list-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.price-list-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #2c3e50;
}

.price-list-header h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
}
.price-edit { display: none; }
        

.price-list-city {
    background: #f1c40f;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}

.price-category {
    margin-bottom: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.category-header {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-header h3 {
    margin: 0;
    font-size: 18px;
}

.category-header i {
    transition: transform 0.3s;
}

.category-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.category-content.active {
    max-height: 5000px;
    padding: 20px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.price-table th {
    background: #ecf0f1;
    padding: 12px 15px;
    text-align: left;
}

.price-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ecf0f1;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-input {
    width: 100px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: right;
}

.price-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    gap: 10px;
}
.admin-controls {
            background-color: #e3f2fd;
            padding: 15px;
            margin: 15px 0;
            border-radius: 5px;
            border-left: 4px solid #2196F3;
        }
.price-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.save-btn {
    background: #27ae60;
    color: white;
}

.save-btn:hover {
    background: #219653;
}

.cancel-btn {
    background: #e74c3c;
    color: white;
}

.cancel-btn:hover {
    background: #c0392b;
}

.edit-btn {
    background: #3498db;
    color: white;
}

.edit-btn:hover {
    background: #2980b9;
}


.price-summary {
    background: #e8f4fd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Responsywność */
@media (max-width: 768px) {
    .price-list-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .price-table {
        display: block;
        overflow-x: auto;
    }
    
    .price-actions {
        flex-direction: column;
    }
    
    .price-btn {
        width: 100%;
        margin-bottom: 10px;
    }
}
.star-rating i.active {
    color: #FFD700;
}

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.image-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    position: relative;
}

.remove-image {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

.submit-review {
    background: #27ae60;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.submit-review:hover {
    background: #219653;
}

/* Responsywność */
@media (max-width: 768px) {
    .review-modal-content {
        margin: 10% auto;
        width: 95%;
    }
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
}

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

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary);
}

.footer-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    transform: translateY(-5px);
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.client-comments {
    background-color: #f9f9f9;
    padding: 60px 0;
}

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

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.add-comment-btn {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* Hidden by default, shown only for admin */
}

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

.comment-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.comment-client {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.comment-address {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.comment-work {
    font-style: italic;
    margin-bottom: 15px;
    color: #34495e;
}

.comment-text {
    line-height: 1.6;
    color: #555;
}




/* Общие стили для всех устройств */
.fullscreen-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

.gallery-container {
    width: 90%;
    max-width: 1200px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    max-height: 95vh;
}

.gallery-content-wrapper {
    display: flex;
    height: 100%;
}

.gallery-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

.gallery-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.gallery-image.loaded {
    opacity: 1;
}

.gallery-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.gallery-arrow {
    position: relative;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 10px;
    transition: background 0.3s;
}

.gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.gallery-description-container {
    background: #fff;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-x: hidden;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.gallery-description {
    font-size: 15px;
    line-height: 1.7;
    white-space: normal;
    word-break: break-word;
}

.gallery-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 35px;
    cursor: pointer;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.3s;
}

.gallery-close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Стили для ДЕСКТОПОВ (большие экраны) */
@media (min-width: 992px) {
    .gallery-content-wrapper {
        flex-direction: row;
        height: 80vh;
    }
    
    .gallery-image-container {
        flex: 0 0 65%;
        height: 100%;
    }
    
    .gallery-image {
        padding: 30px;
        max-height: 100%;
    }
    
    .gallery-description-container {
        flex: 0 0 35%;
        max-height: 100%;
        padding: 30px;
    }
    
    .gallery-description {
        font-size: 16px;
        padding: 10px 5px;
    }
    
    .gallery-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .left-arrow {
        left: 15px;
    }
    
    .right-arrow {
        right: 15px;
    }
}

/* Стили для МОБИЛЬНЫХ устройств */
@media (max-width: 991px) {
    .gallery-content-wrapper {
        flex-direction: column;
        height: 90vh;
    }
    
    .gallery-image-container {
        flex: 0 0 50%;
        min-height: 50vh;
        max-height: 50vh;
    }
    
    .gallery-image {
        max-height: 50vh;
        padding: 15px;
    }
    
    .gallery-description-container {
        flex: 1;
        max-height: 40vh;
        padding: 20px;
        font-size: 16px;
        overflow-y: auto;
    }
    
    .gallery-description {
        font-size: 16px;
        line-height: 1.8;
        padding-bottom: 30px;
    }
    
    .gallery-arrow {
        font-size: 30px;
        width: 50px;
        height: 50px;
    }
    
    .gallery-close-btn {
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
    }
}

/* Оптимизация для маленьких экранов */
@media (max-width: 480px) {
    .gallery-image-container {
        flex: 0 0 45%;
        min-height: 45vh;
        max-height: 45vh;
    }
    
    .gallery-description-container {
        max-height: 45vh;
        padding: 15px;
        font-size: 15px;
    }
    
    .gallery-description {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .gallery-arrow {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }
}

/* Анимация и дополнительные стили */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#fullscreenGallery {
    animation: fadeIn 0.3s forwards;
}

.service-img {
    cursor: pointer;
    transition: transform 0.3s;
}

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


/* Modal styles for adding comments */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.close-modal {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.comment-form textarea {
    min-height: 100px;
}

.save-comment {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
}

/* Responsive */

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-intro h2 {
        font-size: 2.8rem;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .step {
        width: 50%;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .footer-actions {
        flex-direction: column;
    }
    
    /* POPRAWIONA SEKCJA "O NAS" */
    .about-intro {
        padding: 20px 15px;
        height: auto; /* Zamiast stałej wysokości */
        min-height: unset; /* Usunięcie minimalnej wysokości */
    }
    
    .about-intro-content {
        padding: 20px 15px; /* Zmniejszony padding */
    }
    
    .about-intro h2 {
        font-size: 2rem; /* Zmniejszony rozmiar czcionki */
        margin-bottom: 15px;
    }
    
    .about-intro p {
        font-size: 1rem; /* Zmniejszony rozmiar czcionki */
        margin-bottom: 12px;
    }
    
    /* DODATKOWY MARGINES DOLNY */
    .about-intro {
        margin-bottom: 30px; /* Dodana przestrzeń po sekcji */
    }

    nav ul {
        display: none;
    }
    
    .logo-name {
        font-size: 1.5rem;
    }
    
    .logo-tagline {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .logo-name {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-intro h2 {
        font-size: 2rem;
    }
    
    .signature {
        font-size: 1.2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: 100%;
    }
    
    /* Poprawione: Zamiast ukrywać tekst, zmniejszamy czcionkę */
    .logo-text {
        display: flex;
        flex-direction: column;
    }
    
    .logo-name {
        font-size: 1.2rem;
    }
    
    .logo-tagline {
        font-size: 0.7rem;
    }
}

@media (max-width: 400px) {
    .logo-tagline {
        display: none; /* Ukrywamy tylko na bardzo małych ekranach */
    }
    
    .logo-name {
        font-size: 1.1rem;
    }
}

.zdjj{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Mobile Menu Styles */
/* Hamburger Menu Icon */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 20px;
    z-index: 1100;
}

.hamburger-line {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1000;
    padding: 80px 20px 20px;
    transition: all 0.4s ease;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.mobile-nav ul li a:hover {
    color: var(--secondary-color);
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav ul {
        display: none;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
}
@media (max-width: 768px) {
    .services-grid,
    .projects-grid,
    .stats-grid,
    .process-steps,
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .step {
        width: 100%;
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .logo-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .logo-name {
        font-size: 1.1rem;
    }
    
    .logo-tagline {
        font-size: 0.7rem;
    }
}
  /* Стили для галереи домов */
        .house-gallery-section {
            background: var(--cream);
            padding: 100px 0;
        }
        
        .view-toggle {
            display: flex;
            justify-content: center;
            margin: 20px 0 40px;
            background: rgba(139, 69, 19, 0.1);
            border-radius: 50px;
            padding: 5px;
            width: fit-content;
            margin: 0 auto 40px;
        }
        
        .view-btn {
            padding: 12px 25px;
            background: transparent;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            font-weight: 600;
            color: var(--dark);
        }
        
        .view-btn.active {
            background: var(--primary);
            color: var(--white);
        }
        
        .comparison-section {
            display: none;
            background: var(--white);
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
        }
        
        .comparison-section.active {
            display: block;
        }
        
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 20px;
        }
        
        .house-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
            border: 1px solid rgba(139, 69, 19, 0.1);
        }
        
        .house-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        
        .house-img {
            height: 250px;
            width: 100%;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        
        .price-tag {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--primary);
            color: var(--white);
            padding: 10px 20px;
            border-radius: 30px;
            font-size: 1.4rem;
            font-weight: bold;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            font-family: 'Playfair Display', serif;
        }
        
        .house-content {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .house-title {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 15px;
            border-bottom: 2px solid var(--gold);
            padding-bottom: 10px;
            font-family: 'Playfair Display', serif;
        }
        
        .house-features {
            list-style: none;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .house-features li {
            padding: 8px 0;
            display: flex;
            align-items: flex-start;
        }
        
        .house-features i {
            color: var(--primary);
            margin-right: 10px;
            margin-top: 5px;
            min-width: 20px;
        }
        
        .pros-cons {
            display: flex;
            gap: 15px;
            margin: 15px 0;
        }
        
        .pros, .cons {
            flex: 1;
            padding: 15px;
            border-radius: 10px;
            font-size: 0.9rem;
        }
        
        .pros {
            background: rgba(139, 69, 19, 0.05);
            border-left: 4px solid var(--gold);
        }
        
        .cons {
            background: rgba(210, 180, 140, 0.1);
            border-left: 4px solid var(--secondary);
        }
        
        .pros h3, .cons h3 {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            color: var(--primary);
            font-family: 'Playfair Display', serif;
            font-size: 1.1rem;
        }
        
        .pros h3 i {
            color: var(--gold);
            margin-right: 8px;
        }
        
        .cons h3 i {
            color: var(--secondary);
            margin-right: 8px;
        }
        
        .specs-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            background: rgba(139, 69, 19, 0.05);
            padding: 15px;
            border-radius: 10px;
            margin-top: 15px;
        }
        
        .spec-item {
            display: flex;
            flex-direction: column;
            text-align: center;
        }
        
        .spec-value {
            font-weight: bold;
            font-size: 1.2rem;
            color: var(--primary);
        }
        
        .spec-label {
            font-size: 0.9rem;
            color: var(--dark);
        }
        
        .house-btn {
            display: inline-block;
            background: var(--primary);
            color: var(--white);
            padding: 12px 25px;
            text-decoration: none;
            border-radius: 50px;
            margin-top: 15px;
            font-weight: bold;
            transition: background 0.3s ease;
            text-align: center;
            width: 100%;
            border: none;
            cursor: pointer;
            font-family: 'Raleway', sans-serif;
            font-size: 1rem;
        }
        
        .house-btn:hover {
            background: var(--dark);
        }
        
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            background: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .comparison-table th {
            background: var(--primary);
            color: var(--white);
            padding: 15px;
            text-align: left;
            font-weight: 600;
            font-family: 'Playfair Display', serif;
        }
        
        .comparison-table td {
            padding: 15px;
            border-bottom: 1px solid rgba(139, 69, 19, 0.1);
        }
        
        .comparison-table tr:nth-child(even) {
            background: rgba(245, 222, 179, 0.1);
        }
        
        .comparison-table tr:hover {
            background: rgba(210, 180, 140, 0.2);
        }
        
        /* Responsywność */
        @media (max-width: 992px) {
            .gallery {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
            
            .pros-cons {
                flex-direction: column;
            }
        }
        
        @media (max-width: 768px) {
            .section-title {
                font-size: 2rem;
            }
            
            .house-card {
                max-width: 500px;
                margin: 0 auto;
            }
            
            .comparison-table {
                display: block;
                overflow-x: auto;
            }
        }
        
        @media (max-width: 480px) {
            .section-title {
                font-size: 1.8rem;
            }
            
            .view-toggle {
                flex-direction: column;
                width: 100%;
                max-width: 300px;
            }
            
            .view-btn {
                width: 100%;
            }
        }
        