:root {
    --black: #000000;
    --dark-bg: #050505;
    --petronas: #00a19c; 
    --silver-bright: #e0e0e0;
    --silver-metal: #a8a8a8;
    --silver-dark: #2a2a2a;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--black); 
    color: var(--white); 
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* HEADER */
header { 
    background: rgba(0,0,0,0.98); 
    border-bottom: 4px solid; 
    border-image: linear-gradient(to right, var(--silver-dark), var(--petronas), var(--silver-dark)) 1; 
    padding: 10px 3%; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

nav { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 100px; }

nav ul { display: flex; list-style: none; }
nav ul li a { 
    color: var(--white); 
    text-decoration: none; 
    margin-left: 25px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
}
nav ul li a:hover, nav ul li a.active { color: var(--petronas); }

/* HERO SECTION */
.hero { 
    height: 70vh; 
    display: flex; 
    align-items: center; 
    padding: 0 10%; 
    background: url('traliccio.jpg') no-repeat center bottom; 
    background-size: cover; 
    position: relative; 
    border-bottom: 4px solid; 
    border-image: linear-gradient(to right, var(--silver-dark), var(--petronas), var(--silver-dark)) 1;
}

.hero::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.tagline { color: var(--petronas); letter-spacing: 4px; font-size: 0.8rem; font-weight: 800; }
h1 { font-size: 3.5rem; font-weight: 800; margin: 20px 0; text-transform: uppercase; line-height: 1.1; }
.highlight { color: var(--petronas); }
.hero p { color: var(--silver-metal); font-size: 1.1rem; line-height: 1.6; }

/* SERVICES SECTION */
.services { padding: 90px 3%; background: var(--dark-bg); text-align: center; }
.section-header h2 { font-size: 2rem; letter-spacing: 2px; text-transform: uppercase; margin: 0; }
.line { width: 60px; height: 4px; background: var(--petronas); margin: 15px auto 50px; }

.horizontal-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px; 
    padding: 0 2%;
}

.card { 
    background: #0d0d0d; 
    border-top: 2px solid var(--silver-dark); 
    padding: 40px 15px; 
    transition: 0.4s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.card:hover { 
    border-top-color: var(--petronas); 
    transform: translateY(-5px);
    background: #111;
}

.card-icon { font-size: 2.8rem; color: var(--petronas); margin-bottom: 20px; }
.card h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--silver-bright); line-height: 1.3; }

/* FOOTER */
footer { padding: 60px 10% 20px; border-top: 1px solid var(--silver-dark); background: #000; }
.footer-elegant { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; align-items: center; }
.f-left h3 { color: var(--petronas); margin: 0; letter-spacing: 2px; }
.social-links { margin-top: 15px; }
.social-links a { color: var(--petronas); font-size: 1.4rem; margin-right: 20px; transition: 0.3s; }
.social-links a:hover { color: var(--white); filter: drop-shadow(0 0 8px var(--petronas)); }

.f-center { padding: 0 40px; border-left: 1px solid var(--silver-dark); border-right: 1px solid var(--silver-dark); text-align: center; }
.f-center p, .f-right p { margin: 5px 0; color: var(--silver-metal); font-size: 0.9rem; }
.f-right a { color: var(--white); text-decoration: none; font-weight: 600; }

.legal { margin-top: 40px; font-size: 0.65rem; color: var(--silver-dark); text-align: center; border-top: 1px solid #111; padding-top: 20px; }

/* RESPONSIVE */
@media (max-width: 1300px) {
    .horizontal-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    nav { flex-direction: column; gap: 15px; }
    nav ul li a { margin: 0 10px; font-size: 0.7rem; }
    .logo-img { height: 70px; }
    h1 { font-size: 2.2rem; }
    .hero { height: 50vh; padding: 0 5%; text-align: center; }
    .hero p { display: none; }
    .horizontal-grid { grid-template-columns: 1fr; }
    .footer-elegant { flex-direction: column; text-align: center; }
    .f-center { border: none; padding: 0; }
}