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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #8e44ad;
    --accent-color: #d5b88f;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --text-color: #444;
    --border-color: #ddd;
    --footer-color: #1a252f;
    --success-color: #27ae60;
    --error-color: #e74c3c;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.logo h1 span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
}

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

nav ul li a {
    font-weight: 600;
    position: relative;
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 400px;
    background-image: url('../assets/hero-image.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
}

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

/* About Preview Section */
.about-preview {
    padding: 80px 0;
}

.about-preview .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Preview Section */
.services-preview {
    padding: 80px 0;
    background-color: var(--light-color);
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.services-cta {
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
}

.testimonials h2 {
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 0 20px;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.client {
    font-weight: 600;
    color: var(--accent-color);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

/* Contact Preview Section */
.contact-preview {
    padding: 80px 0;
}

.contact-preview .container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    margin-bottom: 30px;
}

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

.contact-info p i {
    margin-right: 15px;
    color: var(--secondary-color);
    width: 20px;
}

.contact-form {
    flex: 1;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
}

.contact-form h3 {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
}

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

/* Footer */
footer {
    background-color: var(--footer-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo,
.footer-contact,
.footer-links {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 10px;
}

.footer-contact h4,
.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h4:after,
.footer-links h4:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: white;
}

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

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    color: white;
    margin-bottom: 0;
}

/* About Page */
.about-section {
    padding: 80px 0;
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.attorney-profile {
    padding: 80px 0;
    background-color: var(--light-color);
}

.profile-content {
    max-width: 800px;
    margin: 0 auto;
}

.values {
    padding: 80px 0;
}

.values h3 {
    text-align: center;
    margin-bottom: 50px;
}

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

.value-card {
    text-align: center;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.why-us {
    padding: 80px 0;
    background-color: var(--light-color);
}

.why-us h3 {
    text-align: center;
    margin-bottom: 40px;
}

.why-us-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: disc;
    padding-left: 20px;
}

.why-us-list li {
    margin-bottom: 15px;
    padding-left: 10px;
}

/* Services Page */
.services-intro {
    padding: 50px 0;
    max-width: 800px;
    margin: 0 auto;
}

.services-detailed {
    padding: 50px 0 80px;
}

.service-category {
    margin-bottom: 40px;
}

.service-category h3 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-category h3 i {
    margin-right: 15px;
}

.service-details ul {
    list-style: disc;
    padding-left: 40px;
}

.service-details ul li {
    margin-bottom: 10px;
}

.pricing {
    padding: 50px 0 80px;
    background-color: var(--light-color);
}

.pricing h3 {
    margin-bottom: 30px;
}

.pricing ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.pricing ul li {
    margin-bottom: 10px;
}

.cta-button {
    text-align: center;
    margin-top: 40px;
}

/* Contact Page - Updated with side profile image */
.contact-details {
    padding: 80px 0;
}

.contact-layout {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    gap: 50px;
}

.contact-info-detailed {
    flex: 2;
}

.contact-profile-side {
    flex: 1;
    text-align: center;
}

.contact-profile-side .profile-image {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-profile-side h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-profile-side p {
    color: var(--secondary-color);
    font-weight: 500;
}

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

.contact-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 20px;
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    margin-bottom: 10px;
}

.contact-cta {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-preview .container,
    .about-section .container,
    .contact-preview .container,
    .contact-details .container {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo,
    .footer-contact,
    .footer-links {
        margin-bottom: 40px;
    }
    
    .logo-image {
        max-height: 60px;
    }
    
    .contact-layout {
        flex-direction: column-reverse;
    }
    
    .contact-profile-side {
        margin-bottom: 40px;
    }
    
    .contact-profile-side .profile-image {
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 500px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

.logo-image {
    max-height: 150px;
    width: auto;
} 