/* ══════════════════════════════════════════
   NOS SECURITAS — PREMIUM LANDING PAGE
   Design System: Luxury Industrial × Modern Security
   ══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Light Theme */
    --nos-red: #E53030;
    --nos-red-deep: #B31D1D;
    --dark: #111827; /* Dark text */
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --muted: #6B7280; /* Medium gray */
    --glass: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.08);

    /* Shadows */
    --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.05);

    /* Spacing */
    --section-gap: 120px;
    --container-w: 1200px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --transition-smooth: 0.6s var(--ease-out-expo);
}

/* ══ Reset & Base ══ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, .font-display {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

ul { list-style: none; }

/* ══ Utilities ══ */
.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

.text-gradient {
    color: var(--dark);
    /* For light theme, a simple dark gray to black works better than gradient */
}

.bg-red { background-color: var(--nos-red); }

/* ══ Components ══ */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.btn-primary {
    background: var(--nos-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--nos-red-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(229, 48, 48, 0.3);
}

.btn-glass {
    background: var(--white);
    border: 1px solid var(--glass-border);
    color: var(--dark);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn-glass:hover {
    background: var(--off-white);
    border-color: rgba(0,0,0,0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}

/* Card */
.glass-card {
    background: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(229, 48, 48, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

/* ══ Sections ══ */

/* Navbar */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
    transition: var(--transition-smooth);
}

.nav.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

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

.logo img {
    height: 32px;
    width: auto;
    filter: invert(1) brightness(0.2);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden; /* Prevent image overflow */
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 80px;
    line-height: 1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 22px;
    color: var(--muted);
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.hero-img {
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

/* Background Glow Effects */
body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.1;
    top: -200px;
    left: -200px;
    background: var(--nos-red);
}

.hero-img img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
    /* If image has white background, let's treat it as a premium card */
    background: white;
    padding: 20px;
    border: 1px solid var(--glass-border);
}



/* Features */
.features {
    padding: var(--section-gap) 0;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 64px;
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: center;
}

/* Contact */
.contact {
    padding: var(--section-gap) 0;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 64px;
    height: 64px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* ══ Footer ══ */
.footer {
    background: var(--off-white);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--dark);
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--muted);
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--nos-red);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-img img {
    animation: float 6s ease-in-out infinite;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: 1.2s var(--ease-out-expo);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay Utilites */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 { font-size: 80px; }
    .hero-img { width: 600px; right: -50px; }
}

@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-content { margin: 0 auto; }
    .hero-img { position: relative; width: 100%; right: 0; top: 0; transform: none; margin-top: 60px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
}
