/* ====================================
   FRIG - INDEX PAGE - CSS
   ==================================== */

/* ==================== HERO SECTION ==================== */
/* Navbar hidden initially on index page */
nav {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
}

nav.scrolled {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 80%, #000000 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    padding: 0 1rem;
}

.hero-tag {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #86868b;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.05;
    color: #f5f5f7;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.hero-title span {
    background: linear-gradient(90deg, #d4d4d8 0%, #ffffff 50%, #d4d4d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: #86868b;
    margin-bottom: 3rem;
    line-height: 1.5;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    padding: 0.85rem 2.75rem;
    font-weight: 600;
}

.btn-primary {
    background-color: #FBBF24;
    color: #000;
}

.btn-primary:hover {
    background-color: #FCD34D;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    border: 1.5px solid #fff;
    color: #fff;
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #FBBF24;
    color: #FBBF24;
    transform: translateY(-3px) scale(1.02);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 0;
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: #FBBF24;
    margin: 0;
    line-height: 1;
    display: block;
}

.stat-label {
    color: #D1D5DB;
    font-size: 0.8rem;
    margin: 0.75rem 0 0 0;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: block;
    text-transform: uppercase;
}

/* ==================== PREVIEW SECTIONS ==================== */
.preview-section {
    padding: 5rem 1rem;
}

.preview-section > div {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: #f5f5f7;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-header p {
    color: #86868b;
    font-size: 1.25rem;
    margin: 0;
}



.cta-button-center {
    text-align: center;
    margin-top: 2rem;
}

.cta-button-center p {
    color: #4B5563;
    margin-bottom: 1rem;
    margin: 0 0 1rem 0;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: #000;
    color: #f5f5f7;
    padding: 8rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    margin-top: 0;
    letter-spacing: -0.04em;
}

.cta-section p {
    font-size: 1.5rem;
    color: #86868b;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 0.75rem 2rem;
}

.cta-buttons .btn:first-child {
    background-color: #FBBF24;
    color: #000;
}

.cta-buttons .btn:last-child {
    border: 2px solid #FBBF24;
    color: #FBBF24;
    background-color: transparent;
}

.cta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.7rem;
    margin-top: 2rem;
}

.cta-info-item {
    text-align: center;
}

.cta-info-label {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.5rem;
    margin: 0;
}

.cta-info-value {
    font-size: 1.1rem;
    color: #FBBF24;
    font-weight: 600;
    margin: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem 4rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn {
        padding: 0.75rem 2rem;
    }
}

/* ==================== CLIENTS SHOWCASE (MARQUEE) ==================== */
.clients-showcase {
    overflow: hidden;
    padding: 2rem 0;
    margin-bottom: 3rem;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 6rem;
    animation: scroll-marquee 20s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-logo {
    height: 95px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.4s ease, transform 0.4s ease;
    border-radius: 12px;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll-marquee {
    to {
        transform: translateX(calc(-50% - 3rem));
    }
}

/* ==================== PROJECT IMAGES ==================== */
.project-image {
    background: linear-gradient(135deg, #D1D5DB, #9CA3AF);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background-size: cover;
    background-position: center;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: #000;
    color: #999;
    padding: 3rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-brand span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.footer-grid > div > p {
    font-size: 0.9rem;
    color: #666;
}

.footer-grid h4 {
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    margin-top: 0;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid li {
    margin-bottom: 0.5rem;
}

.footer-grid a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-grid a:hover {
    color: #FBBF24;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #FBBF24;
    color: #000;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.footer-bottom p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-links a {
    color: #999;
    text-decoration: none;
}

.footer-links a:hover {
    color: #FBBF24;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}
