/* Home Page Specific Styles */

/* Hero Section with Video Background */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

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

.hero-w-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    z-index: 2;
    color: var(--white);
    display: flex;
    align-items: flex-start;
}

.hero-accent {
    width: 6px;
    height: 180px;
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    display: block;
    margin-right: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.35);
}

.hero-text {
    max-width: 650px;
}

.hero h1 {
    font-size: 3.75rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-family: var(--font-title);
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 700px;
    font-family: var(--font-subtitle);
}

.hero .btn-ghost {
    gap: 0.75rem;
    padding: 0.875rem 2.25rem;
}

.hero .btn-ghost .play-icon {
    width: 32px;
    height: 32px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.hero .btn-ghost:hover .play-icon {
    transform: scale(1.1);
    background: var(--primary-color);
    color: var(--white);
}

/* Content Sections */
.section {
    padding: 6rem 2rem;
}

.section-light {
    background: var(--bg-light);
}

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

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

.section-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--secondary-color);
    font-family: var(--font-title);
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--light-text);
    font-family: var(--font-body);
}

/* Section buttons inherit from base.css */

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 1rem 1.5rem;
    transition: transform 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30%;
    background: linear-gradient(180deg, transparent, rgba(231, 76, 60, 0.3), transparent);
}

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

.stat-number {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: var(--font-title);
    line-height: 1;
    text-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.stat-plus {
    font-size: 2.6rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-subtitle);
}

/* Innovation Section */
.innovation-section {
    background: var(--white);
    padding: 5rem 0;
}

.innovation-cards {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 0 2rem;
}

.innovation-card {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.innovation-card-reverse {
    flex-direction: row-reverse;
}

.innovation-card-image {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

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

.innovation-card:hover .innovation-card-image img {
    transform: scale(1.08);
}

.innovation-card-content {
    flex: 1;
    padding: 3.5rem 4rem;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.innovation-card-content h2 {
    font-size: 2.25rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    font-family: var(--font-title);
}

.innovation-card-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--light-text);
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

.innovation-card .btn-outline {
    align-self: flex-start;
}

.btn-arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.innovation-card .btn-outline:hover .btn-arrow {
    transform: translateX(5px);
}

/* Benefits Section */
.benefits-section {
    background: #f5f5f5;
    padding: 6rem 2rem;
}

.benefits-section .container {
    max-width: 1300px;
    margin: 0 auto;
}

.benefits-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.benefits-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-title);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.benefits-header p {
    font-size: 1.15rem;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-family: var(--font-body);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.benefit-item {
    text-align: left;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.75rem;
    color: var(--secondary-color);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-item h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-family: var(--font-title);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.benefit-item p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--light-text);
    font-family: var(--font-body);
}

/* Portfolio Section */
.portfolio-section {
    background: var(--white);
    padding: 6rem 2rem;
}

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

.portfolio-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-title);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.portfolio-header p {
    font-size: 1.15rem;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-family: var(--font-body);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.625rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: var(--white);
    color: var(--light-text);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-subtitle);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(231, 76, 60, 0.05);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c0392b 100%);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.25);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover::before {
    opacity: 0.7;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.portfolio-item-wide {
    grid-column: span 1;
}

.portfolio-item-tall {
    grid-row: span 1;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.portfolio-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(90, 90, 90, 0.85) 0%, rgba(90, 90, 90, 0.5) 60%, transparent 100%);
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.15rem;
    font-family: var(--font-subtitle);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.portfolio-overlay p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-subtitle);
    line-height: 1.4;
}

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

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive Home Page */
@media (max-width: 968px) {
    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }

    .hero-content {
        padding: 0 2rem;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-accent {
        height: 120px;
        margin-right: 1.5rem;
    }

    .hero-w-line {
        width: 50%;
    }

    .stats-section {
        padding: 2rem 1rem;
    }

    .stats-grid {
        gap: 1rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: space-between;
    }

    .stat-item {
        padding: 0.5rem 0.5rem;
    }

    .stat-number {
        font-size: 1.95rem;
    }

    .stat-plus {
        font-size: 1.95rem;
    }

    .stat-label {
        font-size: 0.52rem;
    }

    .innovation-section {
        padding: 3rem 0;
    }

    .innovation-cards {
        gap: 3rem;
        padding: 0 2rem;
    }

    .innovation-card {
        flex-direction: column !important;
        border-radius: 15px;
    }

    .innovation-card-image {
        flex: 0 0 300px;
        min-height: 300px;
    }

    .innovation-card-content {
        padding: 2.5rem 2rem;
    }

    .innovation-card-content h2 {
        font-size: 1.85rem;
    }

    .innovation-card-content p {
        font-size: 1rem;
    }

    /* Button styles inherited from base.css */

    .benefits-section {
        padding: 4rem 2rem;
    }

    .benefits-header {
        margin-bottom: 3.5rem;
    }

    .benefits-header h2 {
        font-size: 2rem;
    }

    .benefits-header p {
        font-size: 1.05rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .benefit-item h3 {
        font-size: 1.35rem;
    }

    .benefit-item p {
        font-size: 1rem;
    }

    .portfolio-section {
        padding: 4rem 2rem;
    }

    .portfolio-header h2 {
        font-size: 2rem;
    }

    .portfolio-header p {
        font-size: 1.05rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .portfolio-item-wide {
        grid-column: span 1;
    }

    .portfolio-overlay {
        padding: 0.85rem 0.85rem;
    }

    .portfolio-overlay h3 {
        font-size: 0.8rem;
    }

    .portfolio-overlay p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .hero-accent {
        height: 80px;
        width: 5px;
        margin-right: 0;
    }

    .hero-w-line {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }
    
    /* Button styles inherited from base.css */

    .stats-section {
        padding: 1.5rem 0.5rem;
    }

    .stats-grid {
        gap: 0.25rem;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0 0.25rem;
    }

    .stat-item {
        padding: 0.5rem 0.25rem;
        flex: 1;
        min-width: 0;
    }

    .stat-item:not(:last-child)::after {
        right: -0.125rem;
        height: 25%;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-plus {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.35rem;
        white-space: normal;
        word-break: break-word;
        line-height: 1.3;
    }

    .innovation-section {
        padding: 2rem 0;
    }

    .innovation-cards {
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .innovation-card {
        border-radius: 12px;
    }

    .innovation-card-image {
        flex: 0 0 240px;
        min-height: 240px;
    }

    .innovation-card-content {
        padding: 2rem 1.5rem;
    }

    .innovation-card-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .innovation-card-content p {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1.5rem;
    }

    /* Button styles inherited from base.css */

    .benefits-section {
        padding: 3rem 1.5rem;
    }

    .benefits-header {
        margin-bottom: 2.5rem;
    }

    .benefits-header h2 {
        font-size: 1.65rem;
    }

    .benefits-header p {
        font-size: 0.95rem;
    }

    .benefits-grid {
        gap: 2.5rem;
    }

    .benefit-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1.25rem;
    }

    .benefit-item h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .benefit-item p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .portfolio-section {
        padding: 3rem 1.5rem;
    }

    .portfolio-header {
        margin-bottom: 2rem;
    }

    .portfolio-header h2 {
        font-size: 1.65rem;
    }

    .portfolio-header p {
        font-size: 0.95rem;
    }

    .portfolio-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
    }

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

    .portfolio-item-wide,
    .portfolio-item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .portfolio-overlay {
        padding: 0.75rem 0.75rem;
    }

    .portfolio-overlay h3 {
        font-size: 0.75rem;
    }

    .portfolio-overlay p {
        font-size: 0.65rem;
    }
}

/* Mobile Landscape */
@media (max-width: 968px) and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 7rem 0 3rem;
    }

    .hero-content {
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-accent {
        height: 100px;
    }

    /* Button styles inherited from base.css */
}
