/* ============================
   SDR STEEL - PREMIUM STYLES
   ============================ */

:root {
    --primary: #005BAA; /* Deep Industrial Blue */
    --primary-light: #00A9FF;
    --primary-dark: #003768;
    
    --bg-dark: #07090F;
    --bg-surface: #0F131F;
    --bg-surface-light: #1A1F30;
    
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --text-white: #FFFFFF;
    
    --glass-bg: rgba(15, 19, 31, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-glow: 0 0 20px rgba(0, 91, 170, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.highlight {
    color: var(--primary-light);
    text-shadow: var(--shadow-glow);
}

.section-subtitle {
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Utilities */
.section {
    padding: 100px 0;
}
.bg-dark {
    background-color: var(--bg-surface);
}
.center {
    text-align: center;
}
.d-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 91, 170, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 91, 170, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-muted);
}
.btn-secondary:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.btn-primary-outline {
    border: 2px solid var(--primary);
    color: var(--primary-light);
    background: transparent;
    padding: 10px 24px;
}
.btn-primary-outline:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo CSS matching provided SDR STEEL brand image */
.logo {
    display: flex;
    align-items: baseline;
    font-size: 2.2rem;
    font-style: italic;
    letter-spacing: -1px;
}
.logo-sdr {
    font-weight: 900;
    color: #000;
    background: #fff;
    padding: 0 10px 0 5px;
    display: inline-block;
    border-radius: 2px;
}
.logo-steel {
    font-weight: 800;
    color: var(--primary-light);
    margin-left: 5px;
    letter-spacing: 2px;
}
header.scrolled .logo-sdr {
    color: #E2E8F0;
    background: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links li a:not(.btn-primary-outline)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.nav-links li a:hover:not(.btn-primary-outline)::after,
.nav-links li a.active:not(.btn-primary-outline)::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05); /* for inner parralax/animation */
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7,9,15,0.95) 0%, rgba(7,9,15,0.7) 40%, rgba(7,9,15,0.3) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 750px;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: 1.05;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator p {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-light), transparent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 5px;
}

.stat-card span {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0 1px var(--glass-border);
    border-radius: 8px;
    pointer-events: none;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.product-card {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 91, 170, 0.4);
    border-color: rgba(0, 169, 255, 0.4);
}

.product-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 20px;
    background: var(--bg-surface-light);
    border-top: 1px solid var(--glass-border);
}

.product-info h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--primary-light);
}

.product-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-muted);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-surface-light);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: rgba(0, 169, 255, 0.3);
}

.service-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    position: relative;
}

.service-content {
    padding: 30px;
    position: relative;
}

.service-icon {
    position: absolute;
    top: -25px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 91, 170, 0.5);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-light);
    transform: rotateY(180deg);
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-content p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* CTA */
.cta-banner {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('assets/images/welding.png') center / cover no-repeat;
    background-attachment: fixed;
    text-align: center;
    padding: 120px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cta-banner h2 {
    font-size: 3rem;
}

.cta-banner p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* Footer */
footer {
    background-color: #040509;
    padding-top: 80px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-light);
}

.links-col ul, .contact-info {
    list-style: none;
}

.links-col ul li, .contact-info li {
    margin-bottom: 15px;
}

.links-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-muted);
}

.contact-info li i {
    color: var(--primary-light);
    margin-top: 5px;
}

.footer-bottom {
    background: #020305;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-image { order: -1; }
    .hero-content h1 { font-size: 4rem; }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple hidden for mobile, can be made into drawer via js */
    }
    .hamburger { display: block; }
    .hero-content h1 { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
}
