/**
 * Red Rocket Digital - Main CSS
 * Base styles and resets
 * Version: 2.5.0
 */

/* CSS Variables */
:root {
    --rr-purple: #1e1666;
    --rr-purple-dark: #150f4a;
    --rr-orange: #ff6c26;
    --rr-orange-hover: #e55a1a;
    --rr-blue: #1e3497;
    --rr-gray: #666666;
    --rr-light-gray: #f8f9fa;
    --rr-border: #e0e0e0;
    --rr-white: #ffffff;
    --rr-gradient: linear-gradient(135deg, #1e1666 0%, #1e3497 100%);
    --rr-gradient-orange: linear-gradient(135deg, #ff6c26 0%, #ff8c4a 100%);
    --rr-font-primary: 'Poppins', sans-serif;
    --rr-font-body: 'Roboto', sans-serif;
    --rr-shadow: 0 4px 20px rgba(30, 22, 102, 0.1);
    --rr-radius: 8px;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--rr-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--rr-gray);
    background: var(--rr-white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--rr-font-primary);
    color: var(--rr-purple);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
}
h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }

@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
}

p { margin-top: 0; margin-bottom: 1em; }
a { color: var(--rr-orange); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--rr-orange-hover); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 50px 0; } }

/* Buttons */
.btn, button, input[type="submit"] {
    display: inline-block;
    font-family: var(--rr-font-primary);
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--rr-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-primary, .btn-orange {
    background: var(--rr-gradient-orange);
    color: var(--rr-white);
}
.btn-primary:hover, .btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 108, 38, 0.4);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--rr-orange);
    color: var(--rr-orange);
}
.btn-outline:hover {
    background: var(--rr-orange);
    color: var(--rr-white);
}
.btn-white { background: var(--rr-white); color: var(--rr-orange); }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"],
input[type="url"], select, textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid var(--rr-border);
    border-radius: var(--rr-radius);
    transition: border-color 0.3s, box-shadow 0.3s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--rr-orange);
    box-shadow: 0 0 0 3px rgba(255, 108, 38, 0.1);
}
textarea { min-height: 150px; resize: vertical; }
label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--rr-purple); }

/* Cards */
.card {
    background: var(--rr-white);
    border-radius: 12px;
    box-shadow: var(--rr-shadow);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(30,22,102,0.15); }

/* Images */
img { max-width: 100%; height: auto; }

/* Utilities */
.text-center { text-align: center; }
.text-white { color: var(--rr-white); }
.text-purple { color: var(--rr-purple); }
.text-orange { color: var(--rr-orange); }
.bg-light { background-color: var(--rr-light-gray); }
.bg-gradient { background: var(--rr-gradient); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
