/* ========================================
   RFE Holdings LLC - Corporate Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --navy: #0a1628;
    --navy-light: #152238;
    --navy-dark: #050d18;
    --white: #ffffff;
    --silver: #c0c0c0;
    --silver-light: #e8e8e8;
    --silver-dark: #8a8a8a;
    --accent: #1e3a5f;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--navy);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.navbar {
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

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

.nav-link {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--silver);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--white);
    color: var(--navy) !important;
    padding: 10px 24px !important;
    border-radius: 4px;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--silver-light);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger .bar {
    width: 28px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--accent) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ffffff;stop-opacity:0.03"/><stop offset="100%" style="stop-color:%23ffffff;stop-opacity:0"/></linearGradient></defs><polygon points="0,100 100,0 100,100" fill="url(%23g)"/></svg>');
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--silver-light);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--silver-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--white);
}

.section-dark {
    background-color: var(--navy);
    color: var(--white);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--silver);
    margin: 20px auto 0;
}

.section-dark .section-title::after {
    background-color: var(--silver);
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: inherit;
}

.section-light .lead-text {
    color: var(--navy-light);
}

.section-dark .lead-text {
    color: var(--silver-light);
}

/* ========================================
   Values Section
   ======================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    color: var(--navy);
    margin-bottom: 24px;
}

.value-title {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.value-description {
    color: var(--silver-dark);
    line-height: 1.7;
}

/* ========================================
   Connect Section
   ======================================== */
.connect-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--navy);
}

.contact-info p {
    color: var(--silver-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--navy);
}

.contact-item svg {
    color: var(--navy);
    flex-shrink: 0;
}

.contact-item a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--navy);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid var(--silver-light);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Alerts */
.form-alert {
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--navy-dark);
    padding: 40px 0;
}

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

.copyright {
    color: var(--silver);
    font-size: 0.9rem;
}

.privacy-link {
    color: var(--silver);
    font-size: 0.9rem;
}

.privacy-link:hover {
    color: var(--white);
}

/* ========================================
   Privacy Policy Page
   ======================================== */
.page-header {
    background-color: var(--navy);
    padding: 140px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
}

.page-content {
    padding: 80px 0;
}

.page-content h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin: 40px 0 20px;
}

.page-content h2:first-of-type {
    margin-top: 0;
}

.page-content p,
.page-content ul {
    color: var(--silver-dark);
    margin-bottom: 16px;
}

.page-content ul {
    padding-left: 24px;
}

.page-content li {
    margin-bottom: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 500;
    margin-top: 40px;
}

.back-link:hover {
    color: var(--accent);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
    .connect-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .nav-cta {
        margin-top: 20px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .lead-text {
        font-size: 1rem;
    }
}