:root {
    --primary-color: rgb(158 44 57);
    --secondary-color: rgb(178 64 77);
    --accent-color: rgb(198 84 97);
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Header & Navigation */
.main-header {
    background-color: var(--primary-color);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 100%;
    width: 300%;
    display: flex;
    animation: slideshow 15s infinite;
}

.slide {
    position: relative;
    width: 33.333%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

.slide-content {
    position: relative;
    text-align: center;
    padding: 4rem 2rem 2rem;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-content h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.slide-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s 0.3s forwards;
}

@keyframes slideshow {
    0%, 32% {
        transform: translateX(0);
    }
    33%, 65% {
        transform: translateX(-33.333%);
    }
    66%, 100% {
        transform: translateX(-66.666%);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome Section */
.welcome {
    padding: 4rem 0;
    background-color: var(--white);
}

.welcome h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Specialties Section */
.specialties {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

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

.specialty-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.specialty-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.specialty-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Downloads Section */
.downloads {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.download-box {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.download-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s ease;
}

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

.download-item i.fa-file-pdf {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.download-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.download-item p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: var(--secondary-color);
}

.download-button i {
    font-size: 1.1rem;
}

/* Contact Preview Section */
.contact-preview {
    padding: 4rem 0;
    background-color: var(--white);
}

.contact-preview .contact-info {
    margin-top: 2rem;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-preview .contact-info p {
    margin-bottom: 1rem;
}

.contact-preview .contact-info i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

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

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

.opening-hours {
    text-align: left;
    margin-top: 1rem;
}

.opening-hours p {
    margin: 0.3rem 0;
    color: var(--text-color);
}

.opening-hours p:nth-child(1),
.opening-hours p:nth-child(4) {
    font-weight: bold;
    margin-top: 0.8rem;
}

.opening-hours p:first-child {
    margin-top: 0;
}

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

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '\f107';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    min-width: 200px;
    padding: 0.5rem 0;
    border-radius: 4px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--white);
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Mobile Dropdown */
@media screen and (max-width: 768px) {
    .dropdown-menu {
        position: static;
        background-color: var(--secondary-color);
        min-width: 100%;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 1rem 2rem;
    }
}

/* Map Section */
.map-section {
    padding: 4em 0;
    background-color: var(--light-bg);
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5em;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2em;
}

.map-container iframe {
    display: block;
    width: 100%;
    border: none;
}

.map-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2em;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.address-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

.address-info h3 i {
    margin-right: 0.5em;
}

.address-info p {
    color: var(--text-color);
    line-height: 1.6;
}

.route-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8em 1.5em;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.route-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.route-button i {
    margin-right: 0.5em;
}

@media (max-width: 768px) {
    .map-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5em;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* Content Section */
.content-section {
    padding: 120px 0 60px;
    min-height: calc(100vh - 200px);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.about-content p {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.about-content .signature {
    margin-top: 3em;
    font-weight: bold;
}

.about-content h1 {
    color: var(--primary-color);
    margin-bottom: 1.5em;
}

.about-content .image-gallery {
    margin-top: 3em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    padding: 20px 0;
}

.about-content .image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about-content .image-gallery img:hover {
    transform: scale(1.02);
}

/* Reviews Section */
.reviews-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.rating-summary {
    text-align: center;
    margin-bottom: 3em;
}

.rating-stars {
    color: #ffd700;
    font-size: 2em;
    margin-bottom: 0.5em;
}

.rating-text {
    color: var(--text-color);
}

.rating-text p {
    margin-bottom: 0.5em;
}

.all-reviews-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.all-reviews-link:hover {
    text-decoration: underline;
}

.reviews-list {
    margin: 2em 0;
}

.review-item {
    border-bottom: 1px solid #eee;
    padding: 1.5em 0;
}

.review-item:last-child {
    border-bottom: none;
}

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

.review-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.review-stars {
    color: #ffd700;
}

.review-date {
    color: #666;
    font-size: 0.9em;
}

.review-actions {
    text-align: center;
    margin: 2em 0;
}

.review-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8em 1.5em;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

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

.review-button i {
    margin-left: 0.5em;
}

.anwalt-branding {
    text-align: center;
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid #eee;
}

.anwalt-logo {
    max-width: 200px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.anwalt-logo:hover {
    opacity: 1;
}

.anwalt-widget {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 2em;
    margin-bottom: 2em;
}

.anwalt-profile {
    text-align: center;
    margin-bottom: 2em;
}

.anwalt-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1em;
}

.review-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8em 1.5em;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1em;
    transition: background-color 0.3s ease;
}

.review-button:hover {
    background: var(--secondary-color);
}

.review-button i {
    margin-left: 0.5em;
}

#anwalt-reviews-widget {
    margin-top: 2em;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section .contact-info {
    margin-top: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.footer-section .contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    color: var(--white);
}

.footer-section .contact-info i {
    margin-right: 0.5rem;
    width: 20px;
    color: var(--white);
}

.footer-section .contact-info a {
    color: var(--white);
    text-decoration: none;
}

.footer-section .contact-info a:hover {
    color: var(--accent-color);
}

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

/* Responsive Design */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 70px;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
    }
    
    .nav-active li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}
