/*

Theme Name: RMS Modern (Classic)

*/

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

:root {
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --red: #dc2626;
    --red-hover: #b91c1c;
    --white: #ffffff;
    --gray: #a3a3a3;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

@font-face {
    font-family: 'DoctorGlitch';
    src: url('assets/fonts/doctor-glitch.otf') format("opentype");
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    font-family: 'DoctorGlitch', sans-serif;
    letter-spacing: 0.1em;
}

.logo span {
    color: var(--red);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--red);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--black) 0%, #1a0a0a 50%, var(--black) 100%);
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--white), var(--red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--gray);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    display: inline-block;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
}

.btn-primary:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

/* Section Styling */
section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header h2 span {
    color: var(--red);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* News Feed */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--dark-gray);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--red);
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.2);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.news-content p {
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Projects Section */
.project {
    background: var(--dark-gray);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(220, 38, 38, 0.2);
    position: relative;
    overflow: hidden;
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--red);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-title h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.project-tagline {
    color: var(--gray);
    font-style: italic;
    font-size: 1.1rem;
}

.status-badge {
    background: rgba(220, 38, 38, 0.2);
    color: var(--red);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--red);
}

.project-description {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.features-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
}

.features-list strong {
    color: var(--white);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark-gray) 0%, rgba(220, 38, 38, 0.3) 100%);
    margin: 0 auto 1.5rem;
    border: 3px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--red);
}

.team-member h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--red);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-bio {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: var(--dark-gray);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 4px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
}

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--dark-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s;
}

.social-link:hover {
    border-color: var(--red);
    transform: translateX(10px);
    background: rgba(220, 38, 38, 0.1);
}

.social-icon {
    font-size: 2rem;
    color: var(--red);
}

.social-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.social-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: var(--dark-gray);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .project {
        padding: 2rem 1.5rem;
    }

    .project-header {
        flex-direction: column;
    }
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}
