/* Razvan Tur Company - Style */
:root {
    --red: #C8102E;
    --red-dark: #A30E27;
    --red-light: #E63946;
    --black: #0E0E0E;
    --gray-900: #1a1a1a;
    --gray-700: #4a4a4a;
    --gray-500: #7a7a7a;
    --gray-300: #d1d1d1;
    --gray-100: #f4f4f4;
    --gray-50: #fafafa;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
    --radius: 6px;
    --radius-lg: 14px;
    --container: 1240px;
    --t-fast: .2s ease;
    --t: .35s cubic-bezier(.4,.0,.2,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Barlow', -apple-system, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: auto; }

a { color: var(--red); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--red-dark); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4, h5, h6 { font-family: 'Bebas Neue', 'Barlow', sans-serif; font-weight: 400; letter-spacing: 0.02em; line-height: 1.1; color: var(--black); }

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p { margin-bottom: 1rem; }

/* Selection */
::selection { background: var(--red); color: var(--white); }

/* === TOP BAR === */
.topbar {
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 2px solid var(--red);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.tb-link { color: var(--white); display: inline-flex; gap: 8px; align-items: center; }
.tb-link:hover { color: var(--red-light); }
.tb-link i { color: var(--red); }
@media (max-width: 720px) { .tb-hide-mobile { display: none; } .topbar-inner { justify-content: center; } }

/* === HEADER === */
.header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-100);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 64px; width: auto; }

.nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav a {
    padding: 10px 16px;
    color: var(--black);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-radius: var(--radius);
    transition: all var(--t-fast);
    position: relative;
}
.nav a:hover { color: var(--red); }
.nav a.active { color: var(--red); }
.nav a.active::after, .nav a:hover::after {
    content: ''; position: absolute; bottom: 4px; left: 16px; right: 16px; height: 2px; background: var(--red); border-radius: 2px;
}
.nav-cta { background: var(--red); color: var(--white) !important; padding: 12px 22px !important; border-radius: 999px !important; transition: all var(--t) !important; }
.nav-cta:hover { background: var(--black); color: var(--white) !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200,16,46,.3); }
.nav-cta::after { display: none !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 28px; height: 3px; background: var(--black); border-radius: 2px; transition: var(--t-fast); }

@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .nav { position: fixed; top: 0; right: -100%; width: 85%; max-width: 380px; height: 100vh; background: var(--white); flex-direction: column; padding: 90px 30px 30px; box-shadow: -10px 0 40px rgba(0,0,0,.15); transition: right var(--t); z-index: 99; align-items: stretch; gap: 0; }
    .nav.open { right: 0; }
    .nav a { padding: 16px 12px; font-size: 16px; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
    .nav a.active::after, .nav a:hover::after { display: none; }
    .nav-cta { margin-top: 16px; text-align: center; border-radius: var(--radius) !important; }
    body.menu-open { overflow: hidden; }
    body.menu-open::before { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 98; }
}

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .05em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--t);
    text-align: center;
    line-height: 1;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--black); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,16,46,.35); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--black); color: var(--white); }
.btn-wa { background: #25D366; color: var(--white); }
.btn-wa:hover { background: #1da851; color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37,211,102,.35); }
.btn i { font-size: 16px; }

/* === HERO === */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex; align-items: center;
    color: var(--white);
    overflow: hidden;
    background: var(--black);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.2); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 50%, rgba(200,16,46,.4) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 80px 0; max-width: 880px; }
.hero-tag { display: inline-flex; gap: 10px; align-items: center; background: rgba(200,16,46,.2); border: 1px solid var(--red); padding: 8px 18px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 24px; backdrop-filter: blur(10px); }
.hero-tag i { color: var(--red-light); }
.hero h1 { color: var(--white); margin-bottom: 24px; font-size: clamp(2.6rem, 7vw, 5.4rem); }
.hero h1 .accent { color: var(--red); }
.hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); margin-bottom: 36px; opacity: .92; max-width: 700px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* === SECTIONS === */
.section { padding: 90px 0; }
.section-light { background: var(--gray-50); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-head .eyebrow { display: inline-block; color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--gray-700); font-size: 1.05rem; }

/* === GRID GENERIC === */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* === STATS === */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; margin-top: 50px; padding: 50px 30px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; z-index: 5; }
.stat { text-align: center; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); color: var(--red); line-height: 1; }
.stat-label { font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; color: var(--gray-700); margin-top: 8px; }

/* === SERVICES CARDS === */
.service-card { background: var(--white); border: 1px solid var(--gray-100); padding: 38px 30px; border-radius: var(--radius-lg); transition: all var(--t); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform var(--t); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); }
.service-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--red), var(--red-dark)); color: var(--white); display: flex; align-items: center; justify-content: center; border-radius: 14px; font-size: 24px; margin-bottom: 22px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--gray-700); margin-bottom: 0; font-size: 15px; }

/* === CATEGORY CARDS === */
.cat-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4/5; display: block; box-shadow: var(--shadow); transition: all var(--t); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card:hover img { transform: scale(1.07); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.85) 100%); }
.cat-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; color: var(--white); z-index: 2; }
.cat-overlay h3 { color: var(--white); margin-bottom: 6px; font-size: 1.6rem; }
.cat-overlay span { font-size: 13px; opacity: .9; }
.cat-overlay .cat-arrow { display: inline-flex; margin-top: 14px; align-items: center; gap: 8px; color: var(--red-light); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; }

/* === PRODUCT CARDS === */
.product-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-100); transition: all var(--t); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--gray-100); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.product-body .product-short { color: var(--gray-700); font-size: 14px; flex: 1; margin-bottom: 16px; }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.product-actions .btn { padding: 10px 16px; font-size: 12px; }
.product-tag { position: absolute; top: 14px; left: 14px; background: var(--red); color: var(--white); padding: 6px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; z-index: 2; }

/* === UTILAJE LIST === */
.util-list { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.util-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; border-bottom: 1px solid var(--gray-100); transition: var(--t-fast); gap: 16px; flex-wrap: wrap; }
.util-row:last-child { border-bottom: none; }
.util-row:hover { background: var(--gray-50); }
.util-name { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 14px; }
.util-name i { color: var(--red); font-size: 22px; min-width: 28px; }
.util-count { font-family: 'Bebas Neue', sans-serif; color: var(--red); font-size: 1.6rem; }

/* === GALLERY === */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-item { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(200,16,46,.85); color: var(--white); font-size: 32px; opacity: 0; transition: var(--t-fast); }
.gallery-item:hover::after { opacity: 1; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.95); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 95%; max-height: 90vh; object-fit: contain; }
.lightbox .lb-close { position: absolute; top: 24px; right: 30px; background: none; border: none; color: var(--white); font-size: 32px; cursor: pointer; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); color: var(--white); border: none; width: 54px; height: 54px; border-radius: 50%; font-size: 22px; cursor: pointer; transition: var(--t-fast); }
.lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--red); }
.lightbox .lb-prev { left: 30px; }
.lightbox .lb-next { right: 30px; }

/* === FAQ === */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: var(--t-fast); }
.faq-item.open { border-color: var(--red); box-shadow: var(--shadow); }
.faq-q { width: 100%; padding: 22px 28px; font-weight: 700; font-size: 16px; text-align: left; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--black); gap: 12px; }
.faq-q i { color: var(--red); transition: transform var(--t-fast); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { padding: 0 28px; max-height: 0; overflow: hidden; transition: all var(--t); color: var(--gray-700); }
.faq-item.open .faq-a { padding: 0 28px 24px; max-height: 600px; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { background: var(--black); color: var(--white); padding: 40px; border-radius: var(--radius-lg); }
.contact-info h3 { color: var(--white); margin-bottom: 24px; }
.ci-item { display: flex; gap: 18px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ci-item:last-child { border-bottom: none; }
.ci-icon { width: 44px; height: 44px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.ci-text { font-size: 15px; }
.ci-text strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; margin-bottom: 4px; font-weight: 600; }
.ci-text a { color: var(--white); }
.ci-text a:hover { color: var(--red-light); }

.contact-form { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.form-control { width: 100%; padding: 12px 16px; border: 2px solid var(--gray-100); border-radius: var(--radius); font-family: inherit; font-size: 15px; transition: border-color var(--t-fast); background: var(--white); }
.form-control:focus { outline: none; border-color: var(--red); }
textarea.form-control { resize: vertical; min-height: 120px; }

.map-wrap { margin-top: 50px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* === BREADCRUMB === */
.breadcrumb { background: var(--gray-50); padding: 14px 0; font-size: 13px; border-bottom: 1px solid var(--gray-100); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--gray-500); }
.breadcrumb a { color: var(--gray-700); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li[aria-current] { color: var(--red); font-weight: 600; }

/* === PAGE HEADER === */
.page-header { background: var(--black); color: var(--white); padding: 80px 0 60px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background-image: url('../images/banner-hero.jpg'); background-size: cover; background-position: center; opacity: .35; }
.page-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 0%, transparent 100%); }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 720px; margin: 0; }

/* === PRODUCT DETAIL === */
.prod-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 900px) { .prod-detail { grid-template-columns: 1fr; gap: 32px; } }
.prod-detail-img { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.prod-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-detail h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 16px; }
.prod-detail .prod-desc { color: var(--gray-700); font-size: 1.05rem; line-height: 1.8; white-space: pre-line; margin-bottom: 26px; }
.prod-uses, .prod-specs { background: var(--gray-50); padding: 22px 26px; border-radius: var(--radius); border-left: 4px solid var(--red); margin-bottom: 22px; }
.prod-uses h4, .prod-specs h4 { font-family: 'Barlow', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin-bottom: 12px; font-weight: 800; }
.prod-uses ul { list-style: none; }
.prod-uses li { padding: 6px 0 6px 26px; position: relative; font-size: 15px; }
.prod-uses li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--red); }
.prod-specs dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 15px; }
.prod-specs dt { font-weight: 700; color: var(--black); }
.prod-specs dd { color: var(--gray-700); }
.prod-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* === SCROLL TOP === */
.scroll-top {
    position: fixed; bottom: 100px; right: 24px;
    width: 48px; height: 48px;
    background: var(--black); color: var(--white);
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; pointer-events: none;
    transition: all var(--t);
    z-index: 90; box-shadow: var(--shadow);
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--red); transform: translateY(-3px); }

/* === WHATSAPP FLOAT === */
.wa-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 60px; height: 60px;
    background: #25D366; color: var(--white) !important;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 26px rgba(37,211,102,.45);
    z-index: 91; transition: var(--t);
}
.wa-float:hover { transform: scale(1.1); }
.wa-pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: wa-pulse 2s infinite; z-index: -1; }
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: .6; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* === FOOTER === */
.footer { background: var(--black); color: var(--gray-300); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 50px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.f-col h4 { color: var(--white); font-family: 'Barlow', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 22px; font-weight: 800; }
.f-col h4::after { content: ''; display: block; width: 32px; height: 3px; background: var(--red); margin-top: 10px; }
.f-col ul { list-style: none; }
.f-col ul li { padding: 5px 0; }
.f-col ul li a { color: var(--gray-300); font-size: 14px; }
.f-col ul li a:hover { color: var(--red-light); padding-left: 4px; }
.f-logo { height: 64px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.f-text { font-size: 14px; line-height: 1.7; opacity: .85; }
.f-social { display: flex; gap: 10px; margin-top: 18px; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); display: flex; align-items: center; justify-content: center; transition: var(--t-fast); }
.f-social a:hover { background: var(--red); transform: translateY(-3px); }
.f-contact { list-style: none; }
.f-contact li { padding: 7px 0; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.f-contact li i { color: var(--red); margin-top: 4px; flex-shrink: 0; }
.f-contact a { color: var(--gray-300); }
.footer-bottom { background: rgba(0,0,0,.5); padding: 22px 0; border-top: 1px solid rgba(255,255,255,.06); text-align: center; font-size: 13px; }
.footer-bottom p { margin: 0; opacity: .7; }

/* === ALERT/FLASH === */
.alert { padding: 14px 20px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 600; font-size: 14px; }
.alert-success { background: #e8f5e8; color: #1b5e20; border-left: 4px solid #2e7d32; }
.alert-error { background: #fdecea; color: #b71c1c; border-left: 4px solid #c62828; }
.alert-info { background: #e3f2fd; color: #0d47a1; border-left: 4px solid #1976d2; }

/* === ABOUT/CONTENT === */
.content-block { max-width: 920px; margin: 0 auto; }
.content-block p { color: var(--gray-700); font-size: 1.02rem; line-height: 1.85; margin-bottom: 1.2rem; }
.content-block ul { padding-left: 24px; margin-bottom: 1.5rem; color: var(--gray-700); }
.content-block li { padding: 4px 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; margin-top: 40px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature-icon { width: 50px; height: 50px; background: var(--red); color: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.feature h4 { font-family: 'Barlow', sans-serif; font-size: 17px; margin-bottom: 4px; }
.feature p { font-size: 14px; color: var(--gray-700); }

/* === ANIMATIONS === */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; }
.fade-up.visible { animation: fadeUp .8s ease forwards; }

/* === ADMIN === */
.admin-body { background: var(--gray-50); min-height: 100vh; }
.admin-header { background: var(--black); color: var(--white); padding: 16px 0; }
.admin-header .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.admin-header img { height: 40px; filter: brightness(0) invert(1); }
.admin-header .admin-nav a { color: var(--white); padding: 8px 16px; margin-right: 4px; border-radius: var(--radius); font-size: 14px; font-weight: 600; }
.admin-header .admin-nav a:hover, .admin-header .admin-nav a.active { background: var(--red); color: var(--white); }
.admin-header .logout { color: var(--red-light) !important; }
.admin-main { padding: 40px 0; }
.admin-card { background: var(--white); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 24px; }
.admin-card h2 { font-family: 'Barlow', sans-serif; font-size: 22px; margin-bottom: 20px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 14px; text-align: left; border-bottom: 1px solid var(--gray-100); font-size: 14px; vertical-align: middle; }
.tbl th { background: var(--gray-50); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; }
.tbl tr:hover { background: var(--gray-50); }
.tbl img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius); }
.tbl .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tbl .btn { padding: 8px 14px; font-size: 12px; }
.tbl .btn-sm { padding: 6px 10px; font-size: 11px; }

.btn-danger { background: #c62828; color: var(--white); }
.btn-danger:hover { background: #8e0000; color: var(--white); }
.btn-success { background: #2e7d32; color: var(--white); }
.btn-success:hover { background: #1b5e20; color: var(--white); }

.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 100%); padding: 20px; }
.login-box { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.3); width: 100%; max-width: 420px; }
.login-box img { height: 70px; margin: 0 auto 24px; display: block; }
.login-box h1 { font-family: 'Barlow', sans-serif; font-size: 22px; text-align: center; margin-bottom: 30px; font-weight: 800; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.admin-stat { background: var(--white); padding: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border-left: 4px solid var(--red); }
.admin-stat .label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); font-weight: 700; }
.admin-stat .num { font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; color: var(--red); line-height: 1; margin-top: 6px; }

.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius-lg); padding: 30px; max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-box h2 { font-family: 'Barlow', sans-serif; font-size: 22px; margin-bottom: 20px; font-weight: 800; }
.modal-close { float: right; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--gray-700); }

/* Misc */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.no-select { user-select: none; -webkit-user-select: none; }

/* Print/save protection (additional layer) */
@media print { body { display: none; } }

/* Disable image right-click overlay */
.protected-img { position: relative; }
.protected-img::after { content: ''; position: absolute; inset: 0; pointer-events: none; }

/* === ADMIN RESPONSIVE === */
@media (max-width: 900px) {
    .admin-header .container { flex-direction: column; align-items: stretch; gap: 12px; padding: 0 16px; }
    .admin-header img { height: 36px; align-self: center; }
    .admin-nav { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
    .admin-nav a { padding: 8px 12px; font-size: 13px; flex: 1 1 auto; text-align: center; min-width: 0; white-space: nowrap; }
    .admin-nav a i { margin-right: 4px; }

    .admin-main { padding: 20px 0; }
    .admin-card { padding: 18px; border-radius: 10px; margin-bottom: 16px; }
    .admin-card h2 { font-size: 17px; gap: 10px; flex-direction: column; align-items: stretch; }
    .admin-card h2 > span { display: flex !important; flex-direction: column; gap: 8px; align-items: stretch; }
    .admin-card h2 > span select { width: 100% !important; }

    .admin-stats { gap: 12px; }
    .admin-stat { padding: 16px; }
    .admin-stat .num { font-size: 2rem; }

    /* Tables become cards on mobile */
    .tbl { display: block; }
    .tbl thead { display: none; }
    .tbl tbody, .tbl tr { display: block; width: 100%; }
    .tbl tr { background: var(--white); border: 1px solid var(--gray-100); border-radius: 10px; padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
    .tbl tr:hover { background: var(--white); }
    .tbl td { display: block; padding: 6px 0; border: none; font-size: 14px; }
    .tbl td:first-child { padding-top: 0; display: flex; gap: 6px; }
    .tbl td img { width: 100% !important; max-width: 280px; height: auto !important; aspect-ratio: 4/3; object-fit: cover; margin: 4px 0 8px; }
    .tbl td .actions { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 8px; border-top: 1px dashed var(--gray-100); margin-top: 6px; }
    .tbl td .actions .btn { flex: 1 1 auto; justify-content: center; min-width: 80px; }
    .tbl td .btn { padding: 9px 12px; font-size: 12px; }
    .tbl td form[style*="display: flex"] { flex-direction: column; gap: 8px !important; }
    .tbl td form[style*="display: flex"] input { width: 100% !important; }

    /* Add labels via data-attribute fallback - but since we don't have, use inline label below */
    .tbl td:not(:first-child)::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        font-size: 11px;
        color: var(--gray-500);
        text-transform: uppercase;
        letter-spacing: .08em;
        margin-bottom: 2px;
    }

    /* Modal */
    .modal { padding: 12px; }
    .modal-box { padding: 20px; border-radius: 10px; max-height: 92vh; }
    .modal-box h2 { font-size: 18px; }
    .modal .form-row { grid-template-columns: 1fr; }
    .modal-close { font-size: 28px; padding: 0 8px; }

    /* Forms in admin */
    .login-box { padding: 28px 22px; }

    /* Add-image gallery form */
    .admin-card form[style*="background: var(--gray-50)"] { padding: 14px !important; flex-direction: column !important; align-items: stretch !important; }
    .admin-card form[style*="background: var(--gray-50)"] .form-group { width: 100% !important; min-width: 0 !important; }
    .admin-card form[style*="background: var(--gray-50)"] button { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .admin-nav a { font-size: 12px; padding: 7px 10px; }
    .admin-nav a span, .admin-nav a:not(:has(i)) { display: none; }
    .admin-card { padding: 14px; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
}

/* ===========================
   UTILAJ CARDS
   =========================== */
.utilaj-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.utilaj-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.utilaj-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-100);
}
.utilaj-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.utilaj-card:hover .utilaj-img img {
    transform: scale(1.05);
}
.utilaj-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--red);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: .04em;
}
.utilaj-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.utilaj-body h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--black);
    line-height: 1.3;
    margin: 0;
}
.utilaj-body p {
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.55;
    flex: 1;
    margin: 0;
}
.utilaj-body .btn-sm {
    align-self: flex-start;
    margin-top: 6px;
    padding: 8px 16px;
    font-size: 13px;
}

/* ===========================
   PROIECTE REALIZATE
   =========================== */
.proiecte-coming-soon {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 70px 20px;
}
.proiecte-icon {
    width: 90px;
    height: 90px;
    background: rgba(200,16,46,.1);
    border: 2px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}
.proiecte-icon i {
    font-size: 36px;
    color: var(--red);
}
.proiecte-coming-soon h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    letter-spacing: .06em;
    margin-bottom: 16px;
    color: var(--black);
}
.proiecte-coming-soon > p {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.7;
}
.proiecte-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}
.ps-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 22px 32px;
    min-width: 120px;
}
.ps-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.6rem;
    color: var(--red);
    line-height: 1;
}
.ps-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .utilaj-img { aspect-ratio: 16/10; }
    .utilaj-body h3 { font-size: 15px; }
    .proiecte-stats { gap: 14px; }
    .ps-item { padding: 16px 22px; min-width: 100px; }
    .ps-num { font-size: 2rem; }
}
