/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #555;
    background-color: #fff;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* Site Wrapper */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: var(--dark-color);
    color: white;
    position: relative;
    z-index: 100;
    border: none;
    box-shadow: none;
}

.header.header-transparent {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
}

.header.header-transparent .header-top {
    background-color: transparent;
    border-bottom: none;
    box-shadow: none;
}

.header.header-transparent .navbar {
    background-color: transparent;
    border-top: none;
    box-shadow: none;
}

/* Scrolled Header Styles */
.header.header-scrolled .header-top,
.header.header-scrolled .navbar {
    background-color: #000;
}

.header-top, .navbar {
    transition: background-color 0.3s ease-in-out;
    border: none;
    box-shadow: none;
}

.header::before,
.header::after,
.header-top::before,
.header-top::after,
.navbar::before,
.navbar::after {
    content: none !important;
}

.header-top {
    background-color: #f5f5f5;
    padding: 0.8rem 0;
    border-bottom: none;
}

.header.header-transparent .header-top {
    padding: 0.8rem 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 1rem;
}

.header.header-transparent .logo-section .logo-img {
    height: 65px;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header.header-transparent .consultation-text {
    color: #fff;
}

.btn-call-top {
    background-color: #d32f2f;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-call-top:hover {
    background-color: #b71c1c;
}

.consultation-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.phone-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.phone-link:hover {
    color: #fff;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 0.25rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.lang-btn:hover {
    background-color: rgba(211, 47, 47, 0.1);
    border-color: #d32f2f;
}

.lang-btn.active {
    background-color: #d32f2f;
    border-color: #d32f2f;
}

.lang-btn .flag {
    display: inline-block;
    line-height: 1;
}

.header.header-transparent .lang-btn {
    background-color: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.header.header-transparent .lang-btn:hover {
    background-color: rgba(211, 47, 47, 0.3);
}

.main-navigation {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

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

.logo-name {
    font-weight: 700;
    font-size: 1rem;
}

.logo-tagline {
    font-size: 0.65rem;
    color: #ccc;
    font-weight: 400;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #d32f2f;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Main Content */
.site-content {
    flex: 1;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: 20% center;
    background-attachment: fixed;
    color: white;
    padding: 0;
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    margin-top: -40px;
    padding-top: 200px;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 0;
}

.hero-section > .container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-content {
    max-width: 600px;
    padding: 2rem;
    text-align: left;
    transform: translateX(20px);
}

.stats-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #ffd700;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.stat-icon {
    font-size: 1.2rem;
}

.hero-text {
    color: #ffffff !important;
}

.hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-text p {
    font-size: 1.0rem;
    margin-bottom: 2rem;
    color: #ffffff !important;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

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

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

.btn-outline {
    background-color: transparent;
    color: #d32f2f;
    border: 2px solid #d32f2f;
}

.btn-outline:hover {
    background-color: #d32f2f;
    color: white;
}

/* Stats Section */
.stats-section {
    background-color: #f9f9f9;
    padding: 3rem 0;
    border-bottom: 1px solid #e9ecef;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d32f2f;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header h3 {
    font-size: 1.5rem;
    color: #d32f2f;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.about-subtitle {
    font-size: 0.9rem;
    color: #d32f2f;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2rem;
    font-weight: 600;
}

/* About Section */
.about-section {
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    max-width: 400px;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: left center;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1.5;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.read-more {
    color: #d32f2f;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #b71c1c;
}

/* Why Choose Section */
.why-choose-section {
    background-color: #fff;
    padding: 5rem 0;
}

.why-choose-section h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

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

.feature-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.feature-icon {
    background-color: #d32f2f;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.practice-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #d32f2f;
    transition: transform 0.3s ease;
}

.practice-card:hover .practice-icon {
    transform: scale(1.15);
}

.recognition-section {
    margin-top: 3rem;
    text-align: center;
}

.recognition-section h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-weight: 600;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.logo-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* Practice Areas Section */
.practice-section {
    background-color: #f9f9f9;
}

.view-all {
    color: #d32f2f;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #b71c1c;
}

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

.practice-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.practice-card h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.practice-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.learn-more {
    color: #d32f2f;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #b71c1c;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #fff;
    padding: 5rem 0;
}

.testimonial-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    width: 100%;
}

.testimonial-left {
    width: 100%;
    max-width: 800px;
}

.testimonial-left h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #555;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.video-placeholder {
    position: relative;
    cursor: pointer;
}

.video-placeholder img {
    width: 100%;
    border-radius: 8px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: #d32f2f;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: background-color 0.3s ease;
}

.video-placeholder:hover .play-button {
    background-color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Testimonials Carousel */
.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
}

.testimonial-slide {
    display: none;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    animation: fadeIn 0.5s ease-in;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-avatar {
    font-size: 3rem;
    margin: 0 auto 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #555;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.carousel-btn {
    background-color: #d32f2f;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: #b71c1c;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #d32f2f;
}

.view-testimonials {
    color: #d32f2f;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-testimonials:hover {
    color: #b71c1c;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* CTA Section */
.cta-section {
    background-color: #f9f9f9;
    padding: 5rem 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-left h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.cta-left p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.cta-left h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.cta-phone {
    font-size: 1.8rem;
    font-weight: 600;
    color: #d32f2f;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d32f2f;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
}

/* Footer */
.site-footer {
    background-color: #111;
    color: #aaa;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 40px;
}

.footer-contact-info p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-social a {
    color: #111;
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    background-color: #d32f2f;
    color: white;
    transform: translateY(-3px) scale(1.05);
}

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

.footer-section h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
    transition: color 0.3s ease;
}

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

.working-hours p {
    margin: 0 0 0.8rem;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .about-content,
    .testimonial-grid,
    .cta-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-social {
        margin-top: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus {
    outline: 2px solid #d32f2f;
    outline-offset: 2px;
}

/* Blog Post Styles */
.blog-post-section {
    padding: 4rem 0;
    background-color: #fff;
}

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

.post-header {
    margin-bottom: 3rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 2rem;
}

.post-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.post-meta {
    display: flex;
    gap: 2rem;
    color: #999;
    font-size: 0.95rem;
}

.post-date {
    display: flex;
    align-items: center;
}

.post-category {
    background-color: #d32f2f;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.post-body {
    line-height: 1.8;
    color: #555;
}

.post-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.post-body h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.post-body ul.blog-list {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-body ul.blog-list li {
    margin-bottom: 0.8rem;
    list-style-type: disc;
    color: #555;
}

.post-cta {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: center;
}

.post-cta h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-cta p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Related Posts Section */
.related-posts-section {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.related-posts-section h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

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

.related-post-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.related-post-card h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.related-post-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-link {
    color: #d32f2f;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-link:hover {
    color: #b71c1c;
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .mobile-menu-toggle {
        display: none;
    }

    .hero-section {
        background: none;
        color: #000;
    }

    .practice-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
