/*
Theme Name: IMPRO Showroom
Theme URI: https://impro.ro
Author: IMPRO
Author URI: https://impro.ro
Description: Premium WordPress theme for IMPRO - Ferestre, Uși și Sisteme Premium
Version: 1.0.0
Text Domain: impro-showroom
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header & Navigation */
/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 10px 0;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-item svg {
    opacity: 0.7;
    flex-shrink: 0;
}

a.top-bar-item:hover {
    color: #f39c12;
}

a.top-bar-item:hover svg {
    opacity: 1;
    stroke: #f39c12;
}

.top-bar-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
}

/* Main Header */
.site-header {
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.98) 0%, rgba(22, 33, 62, 0.95) 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
}

.site-header.scrolled {
    background: rgba(22, 33, 62, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    min-height: 100px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 10;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.03);
}

.site-logo img {
    height: 75px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-text-impro {
    font-size: 22px;
    font-weight: 700;
}

.logo-text-aluminium {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 4px;
    opacity: 0.8;
}

.site-header.scrolled .site-logo img {
    height: 75px;
}

/* Main Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation > ul > li > a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
}

.main-navigation > ul > li > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.main-navigation > ul > li > a.active {
    color: #f39c12;
}

.main-navigation > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.main-navigation > ul > li > a:hover::after,
.main-navigation > ul > li > a.active::after {
    transform: scaleX(1);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.main-navigation li.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    min-width: 240px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 0;
    margin-top: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: #1a1a2e;
}

.main-navigation li.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f39c12;
    border-left-color: #f39c12;
    padding-left: 28px;
}

.dropdown-menu a.active {
    color: #f39c12;
    border-left-color: #f39c12;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Header Phone Button */
.header-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.header-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    color: #fff;
}

.phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.phone-icon svg {
    stroke: #fff;
}

.phone-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.phone-label {
    font-size: 14px;
    font-weight: 700;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-number {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Slider Section */
.hero-slider {
    position: relative;
    margin-top: 0;
}

.hero-slide {
    width: 100%;
    padding-top: 65.6%; /* 948/1444 aspect ratio */
    display: block;
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: transform;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    color: white;
}

.hero-content p {
    font-size: 24px;
    line-height: 1.8;
    margin-bottom: 15px;
    font-weight: 500;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7), 0 0 15px rgba(0,0,0,0.5);
    color: white;
}

.hero-content .subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.7), 0 0 12px rgba(0,0,0,0.5);
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    text-shadow: none;
}

.hero-button.primary {
    background: #f39c12;
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.hero-button.primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
}

.hero-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.hero-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* About Section */
.about-section {
    padding: 100px 20px;
    background: #fff;
}

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

.section-title {
    text-align: center;
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2c3e50;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #2c3e50;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

/* Process Steps */
.process-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

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

.process-item {
    text-align: center;
    padding: 30px 20px;
}

.process-number {
    width: 60px;
    height: 60px;
    background: #2c3e50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #f39c12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.3);
    transition: all 0.3s ease;
}

.process-icon svg {
    stroke: #f39c12;
}

.process-item:hover .process-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(26, 26, 46, 0.4);
}

.process-item h4 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Products Grid */
.products-section {
    padding: 100px 20px;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(26,84,144,0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

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

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f0f0f0;
    transition: transform 0.5s;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: 30px 25px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.product-info h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-subcategories {
    color: #888;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.product-info a {
    display: inline-block;
    margin-top: 15px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 3px;
    transition: all 0.3s;
}

.product-info a:hover {
    color: #34495e;
    border-color: #34495e;
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.feature-item h3 {
    color: #1a5490;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.portfolio-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-content .date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.portfolio-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

.portfolio-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.portfolio-content a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.portfolio-content a:hover {
    color: #34495e;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 20px;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-item {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    border-left: 4px solid #2c3e50;
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: #2c3e50;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    color: #2c3e50;
    font-weight: 600;
}

/* Testimonials with Images */
.testimonials-with-images {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonials-with-images .testimonial-item {
    padding: 0;
    overflow: hidden;
    border-left: none;
    border: none;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.testimonials-with-images .testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.testimonials-with-images .testimonial-item::before {
    display: none;
}

.testimonial-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.testimonial-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

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

.testimonials-with-images .testimonial-item:hover .testimonial-image img {
    transform: scale(1.1);
}

.testimonial-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 24px;
    font-size: 80px;
    color: #f39c12;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}

.testimonials-with-images .testimonial-text {
    flex: 1;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    position: relative;
    z-index: 1;
}

.testimonials-with-images .testimonial-author {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 12px;
}

.testimonial-product {
    display: inline-block;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

/* Testimonials responsive */
@media (max-width: 1100px) {
    .testimonials-with-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .testimonials-with-images {
        grid-template-columns: 1fr;
    }

    .testimonial-image {
        height: 200px;
    }
}

/* Configurator CTA */
.configurator-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a5490 0%, #2d7bc4 100%);
    color: white;
    text-align: center;
}

.configurator-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.configurator-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.configurator-button {
    display: inline-block;
    background: white;
    color: #2c3e50;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none;
}

.configurator-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 80px 20px 30px;
}

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

.footer-section h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 10px;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: #2c3e50;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Styles */
.page-content {
    padding: 80px 20px;
    min-height: 60vh;
}

.page-article {
    max-width: 900px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    font-size: 42px;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-content-wrapper {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

.page-content-wrapper h2 {
    color: #2c3e50;
    font-size: 32px;
    margin: 40px 0 20px;
}

.page-content-wrapper h3 {
    color: #2c3e50;
    font-size: 24px;
    margin: 30px 0 15px;
}

.page-content-wrapper p {
    margin-bottom: 20px;
}

/* Single Post Styles */
.single-content {
    padding: 80px 20px;
    min-height: 60vh;
}

.single-article {
    max-width: 900px;
    margin: 0 auto;
}

.single-header {
    margin-bottom: 40px;
    text-align: center;
}

.single-title {
    font-size: 42px;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 20px;
}

.single-meta {
    color: #999;
    font-size: 14px;
}

.single-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-content-wrapper {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

.single-content-wrapper h2 {
    color: #2c3e50;
    font-size: 32px;
    margin: 40px 0 20px;
}

.single-content-wrapper h3 {
    color: #2c3e50;
    font-size: 24px;
    margin: 30px 0 15px;
}

.single-content-wrapper p {
    margin-bottom: 20px;
}

/* Products Page Styles */
.products-page {
    padding: 80px 20px;
}

.products-page .products-grid {
    margin-top: 60px;
}

.product-description {
    color: #666;
    line-height: 1.8;
    margin: 15px 0;
    min-height: 50px;
}

.product-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.product-category {
    background: #f0f0f0;
    color: #2c3e50;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.product-feature {
    background: #e8f4f8;
    color: #1a5490;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
}

.product-link {
    display: inline-block;
    margin-top: 15px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 3px;
    transition: all 0.3s;
}

.product-link:hover {
    color: #34495e;
    border-color: #34495e;
}

/* Single Product Page */
.single-product {
    padding: 80px 20px;
}

.product-breadcrumb {
    margin-bottom: 30px;
    color: #999;
    font-size: 14px;
}

.product-breadcrumb a {
    color: #2c3e50;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: center;
}

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

.product-detail-info h1 {
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.product-detail-description {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

/* Product Gallery Slider */
.product-gallery-slider {
    margin-bottom: 40px;
}

.product-gallery-slider h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 16px;
}

.gallery-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 220px;
    height: 165px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-prev,
.gallery-next {
    flex-shrink: 0;
    background: #fff;
    color: #2c3e50;
    border: 1px solid #e0e0e0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, box-shadow 0.3s;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-detail-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-section h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
}

.product-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
    font-size: 16px;
}

@media (max-width: 768px) {
    .product-features {
        grid-template-columns: 1fr;
    }
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c3e50;
    font-weight: bold;
    font-size: 20px;
}

.product-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
}

.cta-button {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #2c3e50;
}

.cta-button:hover {
    background: #34495e;
    border-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44,62,80,0.3);
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: #2c3e50;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #2c3e50;
}

.cta-button-secondary:hover {
    background: #2c3e50;
    color: white;
}

/* Services Page */
.services-page {
    padding: 80px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #2c3e50;
}

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

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.service-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2c3e50;
    font-weight: bold;
}

.services-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: #f8f9fa;
    border-radius: 12px;
}

.services-cta h2 {
    color: #2c3e50;
    font-size: 36px;
    margin-bottom: 15px;
}

.services-cta p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Portfolio Page */
.portfolio-page {
    padding: 80px 20px;
}

.portfolio-type {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1a5490;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.portfolio-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: #f8f9fa;
    border-radius: 12px;
}

.portfolio-cta h2 {
    color: #2c3e50;
    font-size: 36px;
    margin-bottom: 15px;
}

.portfolio-cta p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Contact Page */
.contact-page {
    padding: 80px 20px;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    line-height: 1.8;
}

.contact-card a {
    color: #2c3e50;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-map {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-map iframe {
    display: block;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-wrapper h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c3e50;
}

.form-group textarea {
    resize: vertical;
}

/* Configurator Page */
.configurator-page {
    padding: 80px 20px;
}

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

.configurator-intro h2 {
    color: #2c3e50;
    font-size: 36px;
    margin-bottom: 20px;
}

.configurator-intro p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

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

.configurator-step {
    text-align: center;
    padding: 30px 20px;
}

.configurator-step .step-number {
    width: 60px;
    height: 60px;
    background: #2c3e50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.configurator-step h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 10px;
}

.configurator-step p {
    color: #666;
    line-height: 1.8;
}

.configurator-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #1a5490 0%, #2d7bc4 100%);
    color: white;
    border-radius: 12px;
}

.configurator-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.configurator-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.configurator-cta .cta-button {
    background: white;
    color: #2c3e50;
}

.configurator-cta .cta-button:hover {
    background: #f0f0f0;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-container {
        gap: 20px;
        min-height: 80px;
    }

    .main-navigation > ul > li > a {
        padding: 10px 12px;
        font-size: 15px;
    }

    .phone-text {
        display: none;
    }

    .header-phone {
        padding: 12px;
        border-radius: 50%;
    }

    .phone-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 900px) {
    /* Top Bar - Hide on mobile */
    .top-bar {
        display: none;
    }

    /* Header */
    .header-container {
        min-height: 70px;
        padding: 0 20px;
    }

    .site-logo img {
        height: 45px;
    }

    /* Mobile Navigation */
    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
        flex-direction: column;
        justify-content: flex-start;
        padding: 30px 20px;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 999;
    }

    .main-navigation.active {
        transform: translateX(0);
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-navigation > ul > li > a {
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
        justify-content: center;
    }

    .main-navigation > ul > li > a::after {
        display: none;
    }

    .main-navigation > ul > li > a:hover {
        background: transparent;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        border-radius: 8px;
        margin: 10px 0;
        padding: 10px 0;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        align-items: center;
        min-width: 0;
        width: 100%;
    }

    .dropdown-menu::before {
        display: none;
    }

    .main-navigation li.has-dropdown.open > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        transform: none;
    }

    .main-navigation li.has-dropdown:hover > .dropdown-menu {
        transform: none;
    }

    .dropdown-menu a {
        padding: 12px 20px;
        text-align: center;
        border-left: none;
    }

    .dropdown-menu a:hover {
        padding-left: 20px;
        border-left: none;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Header Actions */
    .header-actions {
        gap: 10px;
    }

    .header-phone {
        padding: 10px;
    }

    .phone-icon {
        width: 28px;
        height: 28px;
        background: transparent;
    }
}

@media (max-width: 768px) {
    .product-detail-header {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        flex: 0 0 160px;
        height: 120px;
    }

    .gallery-prev,
    .gallery-next {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

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

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

    .configurator-steps {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-content .subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-button {
        width: 100%;
        max-width: 280px;
    }

    .section-title {
        font-size: 32px;
    }

    .products-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

/* Product Subcategories Grid */
.product-subcategories-grid {
    margin: 60px 0;
}

.product-subcategories-grid h2 {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.product-subcategories-grid .products-grid {
    margin-top: 0;
}

/* Product Subcategories (old style - kept for compatibility) */
.product-subcategories {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.product-subcategories h2 {
    color: #1a5490;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.subcategory-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.subcategory-card:hover {
    border-color: #1a5490;
    box-shadow: 0 5px 20px rgba(26, 84, 144, 0.15);
    transform: translateY(-2px);
}

.subcategory-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.subcategory-card:hover .subcategory-name {
    color: #1a5490;
}

.subcategory-arrow {
    font-size: 20px;
    color: #1a5490;
    transition: transform 0.3s ease;
}

.subcategory-card:hover .subcategory-arrow {
    transform: translateX(5px);
}

/* Product Extra Options (inline in right column) */
.product-extra-options .extra-options-grid {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 24px;
}

.extra-option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.extra-option-item:hover {
    transform: translateY(-3px);
}

.extra-option-image {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #e8ecf0;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.extra-option-item:hover .extra-option-image {
    box-shadow: 0 5px 18px rgba(44, 62, 80, 0.2);
    border-color: #2c3e50;
}

.extra-option-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.extra-option-name {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .product-extra-options .extra-options-grid {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .extra-option-image {
        width: 65px;
        height: 65px;
    }
}

/* Product Technical Specs (large images for garage doors, etc.) */
.product-tech-specs {
    grid-column: 1 / -1;
}

.product-tech-specs .extra-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.product-tech-specs .extra-option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e8ecf0;
}

.product-tech-specs .extra-option-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.product-tech-specs .extra-option-image {
    width: 85%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #fff;
}

.product-tech-specs .extra-option-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    padding: 10px;
}

.product-tech-specs .extra-options-grid:has(.option-small) {
    grid-template-columns: 1fr 1fr;
}

.product-tech-specs .extra-option-item.option-small .extra-option-image {
    width: 100%;
    max-width: 350px;
}

.product-tech-specs .extra-option-item:not(.option-small) {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .product-tech-specs .extra-options-grid,
    .product-tech-specs .extra-options-grid:has(.option-small) {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-tech-specs .extra-option-item {
        padding: 15px;
    }

    .product-tech-specs .extra-option-name {
        font-size: 14px;
    }
}

/* Product not found */
.product-not-found {
    text-align: center;
    padding: 60px 20px;
}

.product-not-found h1 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.product-not-found p {
    color: #666;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .subcategories-grid {
        grid-template-columns: 1fr;
    }

    .subcategory-card {
        padding: 15px 20px;
    }
}

/* Proiecte Page */
.proiecte-page {
    padding: 80px 20px;
}

.proiecte-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 40px 0 30px;
}

.proiecte-tab {
    padding: 10px 24px;
    border: 2px solid #1a5490;
    border-radius: 50px;
    background: transparent;
    color: #1a5490;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.proiecte-tab:hover {
    background: rgba(26, 84, 144, 0.08);
}

.proiecte-tab.active {
    background: linear-gradient(135deg, #1a5490 0%, #2d7bc4 100%);
    color: white;
    border-color: #1a5490;
}

.proiecte-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 25px;
}

.proiecte-subtab {
    padding: 6px 18px;
    border: 1.5px solid #ccc;
    border-radius: 30px;
    background: transparent;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.proiecte-subtab:hover {
    border-color: #1a5490;
    color: #1a5490;
}

.proiecte-subtab.active {
    background: #1a5490;
    color: white;
    border-color: #1a5490;
}

.proiecte-panel {
    display: none;
    animation: proiecteFadeIn 0.4s ease;
}

.proiecte-panel.active {
    display: block;
}

@keyframes proiecteFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.proiecte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.proiecte-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proiecte-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.proiecte-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.proiecte-item.hidden {
    display: none;
}

/* Video items */
.proiecte-video {
    position: relative;
}

.proiecte-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-play-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn.playing {
    opacity: 0;
}

.proiecte-video:hover .video-play-btn.playing {
    opacity: 0.7;
}

/* Lightbox */
.proiecte-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.proiecte-lightbox.active {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image,
.lightbox-video {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-video {
    display: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 2;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
}

/* Proiecte CTA */
.proiecte-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: #f8f9fa;
    border-radius: 12px;
}

.proiecte-cta h2 {
    color: #2c3e50;
    font-size: 36px;
    margin-bottom: 15px;
}

.proiecte-cta p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Proiecte responsive */
@media (max-width: 900px) {
    .proiecte-tabs {
        gap: 8px;
    }

    .proiecte-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .proiecte-page {
        padding: 60px 15px;
    }

    .proiecte-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .proiecte-cta {
        padding: 40px 20px;
    }

    .proiecte-cta h2 {
        font-size: 28px;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }
}
