/* =========================================
   MA PRINT - ULTRA UI DESIGN SYSTEM
   ========================================= */

:root {
    --primary-red: #E63946;    /* Premium vibrant red */
    --primary-black: #111111;  /* Rich, deep black */
    --accent-yellow: #FFCA28;  /* Gold/Yellow for high-conversion buttons/icons */
    --bg-light: #F8F9FA;       /* Soft off-white for backgrounds */
    --surface-white: #FFFFFF;  /* Pure white for cards */
    --text-main: #333333;      /* Dark grey for readable text */
    --text-muted: #6C757D;     /* Muted grey for subtext */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(230, 57, 70, 0.15);
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Typography & Titles --- */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-black);
    font-weight: 700;
}

.section-title h2 span {
    color: var(--primary-red);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* --- Premium Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--surface-white);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.3);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--surface-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1EBE5D;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--surface-white);
    border-color: var(--primary-red);
}

/* --- Reusable Grid --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* --- Ultra Premium Service Cards --- */
.service-card {
    background: var(--surface-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03); /* Lighter, more modern shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-red), #b00320);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: 0.4s;
}

.service-card:hover {
    transform: translateY(-15px);
    color: white; /* Change text color on hover */
}

.service-card:hover::before {
    opacity: 1; /* Background turns red on hover */
}

.service-card:hover .icon, 
.service-card:hover h3, 
.service-card:hover p {
    color: white !important;
}

.service-card .icon {
    font-size: 50px;
    color: var(--primary-red);
    margin-bottom: 20px;
    transition: 0.3s;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Forms (Lead Generation) --- */
.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg-light);
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-red);
    background: var(--surface-white);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

/* --- Floating WhatsApp --- */
.floating-wa {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0px 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
}

.floating-wa:hover {
    transform: scale(1.1) rotate(-10deg);
}
/* --- Premium Top Bar --- */
.top-bar {
    background: linear-gradient(90deg, var(--primary-black) 0%, #2a2a2a 100%);
    color: var(--surface-white);
    font-size: 13.5px;
    padding: 10px 0;
    border-bottom: 2px solid var(--primary-red);
    letter-spacing: 0.5px;
}

/* --- Premium Navigation (Glassmorphism Effect) --- */
.navbar {
    background: rgba(255, 255, 255, 0.85); /* Slightly transparent white */
    backdrop-filter: blur(12px); /* The frosted glass blur */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Deep, soft shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5); /* Crisp edge */
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-black);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary-red);
}

/* --- Horizontal Desktop Navigation --- */
.nav-links {
    list-style: none;
    display: flex;       /* This forces items to be horizontal */
    flex-direction: row; /* Ensures they stay in a row */
    align-items: center;
    gap: 10px;           /* Spacing between menu items */
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 30px;
    transition: var(--transition);
    white-space: nowrap; /* Prevents text from wrapping to a second line */
}

/* Hover Effect */
.nav-links a:hover {
    background-color: var(--primary-red);
    color: var(--surface-white);
    box-shadow: var(--shadow-hover);
}
/* --- Hero Section Background (FORCED LOAD) --- */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), 
                      url('../images/banners/hero-bg.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll; /* Fixed can sometimes glitch on mobile */
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 1;
}