/* Reset i ustawienia podstawowe */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #8b7355;
    --accent-color: #c9a961;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

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

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.sticky {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* Logo z Godłem Polski */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.godlo-img {
    width: 60px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.logo .subtitle {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-style: italic;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 400px;/*600px;*/
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,150 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center bottom;
    background-size: cover;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--bg-white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: #b89850;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

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

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    margin-top: 30px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin: 20px 0;
}

.features-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-light);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-image, .notary-image {
    position: relative;
}

.placeholder-image {
    background: linear-gradient(135deg, #e0e0e0 0%, #c9c9c9 100%);
    border-radius: 10px;
    aspect-ratio: 2/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
}

.about-photo {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    object-fit: cover;
    aspect-ratio: 2/3;
}

/* Notary Section */
.notary-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.notary-bio h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.notary-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 30px;
}

.bio-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.qualifications {
    margin-top: 40px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.qualifications h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.qualifications ul {
    list-style: none;
}

.qualifications li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--text-light);
}

.qualifications li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Services Section */
.services {
    background: var(--bg-white);
}

.services-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 8px 0 8px 20px;
    position: relative;
    color: var(--text-light);
}

.service-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 1;
}

.pricing-info {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.pricing-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pricing-info p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.contact-info h3,
.documents-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    margin-top: 35px;
}

.contact-info h3:first-child,
.documents-info h3:first-child {
    margin-top: 0;
}

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

.contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.hours-table {
    width: 100%;
    margin: 15px 0;
}

.hours-table td {
    padding: 8px 0;
    color: var(--text-light);
}

.hours-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.hours-note {
    font-style: italic;
    color: var(--text-light);
    margin-top: 15px;
    font-size: 0.95rem;
}

.document-note {
    background: #fff3cd;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #ffc107;
    margin-top: 20px;
    margin-bottom: 20px;
}

.document-note p {
    margin-bottom: 8px;
    line-height: 1.8;
}

.document-note p:last-child {
    margin-bottom: 0;
}

.documents-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Form */
.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
}

.map-placeholder {
    background: var(--bg-white);
    padding: 20px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px dashed var(--border-color);
}

.map-placeholder p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.map-placeholder small {
    color: #999;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 8px;
    opacity: 0.9;
}

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

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}
.footer-email {
    color: white;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .header-content {
        padding: 15px 0;
    }

    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 30px;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .about-content,
    .notary-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .hero-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        margin-top: 70px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    section {
        padding: 50px 0;
    }

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

    .logo h1 {
        font-size: 1.4rem;
    }

    .logo .subtitle {
        font-size: 0.85rem;
    }
    
    .godlo-img {
        width: 45px;
    }
    
    .logo-wrapper {
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

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

    .service-card {
        padding: 25px;
    }
    
    .godlo-img {
        width: 40px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo .subtitle {
        font-size: 0.8rem;
    }
}