/*
Theme Name: RentSyst Demo
Theme URI: https://example.com/rentsyst-demo
Author: Demo Developer
Author URI: https://example.com
Description: A modern car rental theme designed to showcase the RentSyst plugin functionality.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rentsyst-demo
Tags: car-rental, business, modern, responsive
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
*/

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --dark-color: #0f172a;
    --dark-secondary: #1e293b;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --text-color: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo-text svg {
    display: block;
}

.site-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    letter-spacing: -0.025em;
}

.site-title a {
    color: inherit;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-title a:hover {
    opacity: 0.8;
}

.site-description {
    display: none;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.main-navigation li a {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--gray-600);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    display: block;
}

.main-navigation li a:hover,
.main-navigation .current-menu-item a {
    color: var(--primary-color);
    background: var(--gray-100);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    background: var(--gray-100);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 50%, #1e1b4b 100%);
    color: var(--white);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.3), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(6, 182, 212, 0.2), transparent),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(245, 158, 11, 0.15), transparent);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--gray-300);
}

.hero-badge svg {
    color: var(--accent-color);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title-gradient {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Hero Search Widget */
.hero-search-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-xl);
}

.hero-search-wrapper .rentsyst-search,
.hero-search-wrapper [class*="rentsyst"] {
    background: transparent !important;
}

/* Stats Bar */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark-color);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--dark-color);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--light-color);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Booking Section */
.booking-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.booking-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 48px;
    border: 1px solid var(--gray-200);
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
    background: var(--white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.2;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 3px solid var(--gray-200);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 24px;
    transition: var(--transition);
    position: relative;
}

.step-card:hover .step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.step-description {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* Fleet Carousel Section */
.fleet-section {
    padding: 100px 0;
    background: var(--light-color);
}

.fleet-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 -12px;
}

.fleet-carousel {
    overflow: hidden;
    flex: 1;
    margin: 0 auto;
}

.fleet-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
}

.fleet-carousel-track:active {
    cursor: grabbing;
}

.fleet-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 280px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.fleet-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.fleet-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.fleet-card-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    overflow: hidden;
}

.fleet-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-card-image img {
    transform: scale(1.05);
}

.fleet-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}

.fleet-card-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 8px 14px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 4px;
    box-shadow: var(--shadow-md);
}

.fleet-card-price .price-from {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.fleet-card-price .price-value {
    font-size: 1.25rem;
}

.fleet-card-price .price-period {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.fleet-card-content {
    padding: 20px;
}

.fleet-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 4px;
    line-height: 1.3;
}

.fleet-card-year {
    display: inline-block;
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.fleet-card-specs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.fleet-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.fleet-spec svg {
    color: var(--primary-color);
}

.fleet-spec-trans {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8125rem;
}

/* Carousel Navigation */
.fleet-carousel-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.fleet-carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.fleet-carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.fleet-carousel-btn:disabled:hover {
    background: var(--white);
    border-color: var(--gray-300);
    color: var(--gray-600);
    box-shadow: none;
}

/* Carousel Dots */
.fleet-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.fleet-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.fleet-carousel-dot:hover {
    background: var(--gray-400);
}

.fleet-carousel-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 5px;
}

.fleet-cta {
    text-align: center;
    margin-top: 48px;
}

/* Fleet Section Responsive */
@media (max-width: 1024px) {
    .fleet-card {
        flex: 0 0 calc(50% - 12px);
        min-width: 260px;
    }
}

@media (max-width: 768px) {
    .fleet-section {
        padding: 60px 0;
    }

    .fleet-carousel-btn {
        display: none;
    }

    .fleet-carousel-wrapper {
        margin: 0;
    }

    .fleet-card {
        flex: 0 0 calc(85% - 12px);
        min-width: 260px;
    }

    .fleet-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .fleet-carousel::-webkit-scrollbar {
        display: none;
    }

    .fleet-card {
        scroll-snap-align: center;
    }
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 50% 80% at 20% 40%, rgba(99, 102, 241, 0.2), transparent),
        radial-gradient(ellipse 50% 80% at 80% 60%, rgba(6, 182, 212, 0.15), transparent);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--gray-400);
    margin-top: 16px;
    max-width: 300px;
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: var(--gray-300);
}

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

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Content Area */
.site-content {
    padding: 120px 0 80px;
    min-height: 60vh;
}

.content-area {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: var(--shadow);
}

.entry-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.entry-content {
    color: var(--text-color);
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 24px;
}

/* WordPress Blocks Compatibility */
.wp-block-button__link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-sm);
    padding: 14px 28px;
    font-weight: 600;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-stat {
        flex: 1 1 40%;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        padding: 16px;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 4px;
    }

    .features-grid,
    .steps-container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .booking-wrapper {
        padding: 24px;
    }

    .hero-search-wrapper {
        padding: 16px;
    }
}

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

    .content-area {
        padding: 24px;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }
}

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

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

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-switcher-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.language-switcher-toggle:hover {
    background: var(--gray-200);
    color: var(--dark-color);
}

.language-switcher-toggle .current-lang {
    font-weight: 600;
}

.language-switcher-toggle .chevron {
    transition: transform 0.2s ease;
}

.language-switcher.active .language-switcher-toggle .chevron {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
}

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

.language-dropdown li {
    margin: 0;
}

.language-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--gray-600);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.language-dropdown li a:hover {
    background: var(--gray-100);
    color: var(--dark-color);
}

.language-dropdown li.current-lang a {
    background: var(--primary-color);
    color: var(--white);
}

.language-dropdown li.current-lang a:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.language-dropdown img.flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Polylang flags styling */
.pll-parent-menu-item .sub-menu {
    display: none;
}

@media (max-width: 768px) {
    .language-switcher {
        order: -1;
    }

    .language-switcher-toggle {
        padding: 6px 10px;
    }

    .language-switcher-toggle svg:first-child {
        display: none;
    }
}
