@import url('style-products.css');

:root {
    --bg-color: #050a14;
    --card-bg: #0f172a;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-color: #d4af37;
    /* Metallic Gold */
    --accent-hover: #fcd34d;
    /* Brighter Gold */
    --secondary-color: #1e293b;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Anton', sans-serif;
    --border-color: rgba(212, 175, 55, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--accent-color), #fff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

nav {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    margin: 0 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.auth-btn {
    background: linear-gradient(135deg, var(--accent-color), #b8860b);
    color: #000;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Hero Section with Diagonal Design */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 150px 50px 100px;
    background:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(30, 41, 59, 0.5) 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    max-width: 1400px;
    width: 100%;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
}

/* Glitch Effect */
.text-highlight {
    color: var(--accent-color);
    display: block;
    position: relative;
    animation: glitch 3s infinite;
}

.text-highlight::before,
.text-highlight::after {
    content: "ET DE L'IMAGE";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    overflow: hidden;
}

.text-highlight::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.text-highlight::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(20px, 9999px, 10px, 0);
    }

    100% {
        clip: rect(80px, 9999px, 100px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(120px, 9999px, 10px, 0);
    }

    100% {
        clip: rect(10px, 9999px, 140px, 0);
    }
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: left 0.1s, top 0.1s;
}

body:hover .cursor {
    transform: translate(-50%, -50%) scale(1.5);
}


.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    border-left: 3px solid var(--accent-color);
    padding-left: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    z-index: -1;
    transition: transform 0.3s;
    transform: scaleX(0);
    transform-origin: right;
}

.btn-primary:hover {
    color: #000;
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 15px;
    position: absolute;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 250px;
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 10%;
    left: 0%;
    animation-delay: 2s;
    z-index: 2;
}

.card-3 {
    top: 40%;
    right: 5%;
    animation-delay: 4s;
}

/* Optional if needed */

.floating-card h4 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-card p {
    font-size: 0.9rem;
    color: #cbd5e1;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Services Section */
.services-section {
    padding: 100px 50px;
    background: #080f1e;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
}

.section-title .line {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.pole-container {
    margin-bottom: 60px;
}

.pole-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.pole-title i {
    color: var(--accent-color);
}


.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    color: var(--text-muted);
}

/* Products Gallery - Masonry Style Attempt */
.portfolio-section {
    padding: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    gap: 10px;
}

.filter-divider {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
}

.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.modern-search {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--text-muted);
    padding: 15px 10px;
    width: 100%;
    max-width: 500px;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    transition: border-color 0.3s;
}

.modern-search:focus {
    outline: none;
    border-color: var(--accent-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-thumb {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.project-item:hover .project-thumb {
    transform: scale(1.05);
}

.project-details {
    padding: 25px;
    background: linear-gradient(to top, var(--card-bg) 0%, rgba(15, 23, 42, 0.9) 100%);
    position: relative;
    z-index: 2;
}

.project-cat {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.project-title {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    margin: 10px 0;
    color: #fff;
}

.project-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    float: right;
}

/* Footer */
footer {
    background: #02050a;
    padding: 80px 50px 30px;
    border-top: 1px solid #111;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Process / Timeline Section */
.process-section {
    padding: 100px 50px;
    background: linear-gradient(to bottom, #080f1e, var(--bg-color));
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(212, 175, 55, 0.2);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: transform 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.timeline-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: var(--accent-color);
    z-index: 2;
}

.timeline-content h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.payment-warning {
    background: rgba(212, 175, 55, 0.1);
    border: 1px dashed var(--accent-color);
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #fff;
}

.payment-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Team Section */
.team-section {
    padding: 100px 50px;
    background: var(--bg-color);
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    width: 350px;
    text-align: center;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-header {
    height: 120px;
    background: linear-gradient(135deg, var(--secondary-color), #000);
    position: relative;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--card-bg);
    background-size: cover;
    background-position: center;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.team-body {
    padding: 70px 30px 40px;
}

.team-role {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.team-name {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.team-socials a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.team-socials a:hover {
    color: var(--accent-color);
}

/* Arsenal / Tools Section */
.arsenal-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.tool-card {
    background: #0b1120;
    /* Darker than card-bg */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 35px 25px;
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    cursor: default;
}

.tool-card i {
    font-size: 3.5rem;
    color: #475569;
    /* Muted by default */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 0 transparent);
}

.tool-card span {
    font-weight: 700;
    color: #94a3b8;
    font-size: 0.95rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    background: #0f172a;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.tool-card:hover i {
    color: #fff;
    /* Icon turns white on hover */
    filter: drop-shadow(0 0 15px var(--accent-color));
    /* Glow effect */
    transform: scale(1.1);
}

.tool-card:hover span {
    color: #fff;
}

/* Bottom Accent Line */
.tool-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: all 0.3s;
}

.tool-card:hover::after {
    opacity: 1;
    bottom: 5px;
}

@media (max-width: 768px) {

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-visual {
        height: 300px;
    }

    .services-grid,
    .services-grid.three-col {
        grid-template-columns: 1fr;
    }

    header {
        padding: 15px 20px;
    }

    nav {
        display: none;
        /* Mobile menu implementation usually needed here */
    }
}