:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-light: #555555;
    --primary-red: #d32f2f;
    --accent-red: #ff5252;
    --dark-card: #f8f9fa;
    --border-color: #e5e7eb;
    --gradient-red: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.7;
    padding-top: var(--nav-height);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
}

p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.text-red {
    color: var(--accent-red);
}

/* Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-red);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 1rem auto 0;
}

/* Navbar */
nav {
    height: var(--nav-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(-45deg, #ffffff, #f8f9fa, #fff5f5, #ffffff);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    overflow: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Abstract Graphics */
.graphic-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
}

.shape-circle {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-red) 0%, transparent 70%);
    filter: blur(60px);
    animation: float 10s infinite ease-in-out;
}

.shape-dots {
    width: 400px;
    height: 400px;
    background-image: radial-gradient(#d32f2f 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.05;
}

.hero .shape-circle-1 { top: -200px; right: -200px; }
.hero .shape-circle-2 { bottom: -200px; left: -200px; animation-delay: 5s; }
.hero .shape-dots { top: 20%; right: 10%; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 50px); }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    display: block;
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.2s; }
.reveal-delay-2 { animation-delay: 0.4s; }
.reveal-delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    max-width: 600px;
    border-left: 3px solid var(--primary-red);
    padding-left: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.hero .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1s;
}

/* Page Header (for subpages) */
.page-header {
    background: var(--dark-card);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.05) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Services Grid */
.services {
    padding: 8rem 0;
    background: #ffffff;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.service-card {
    background: var(--dark-card);
    padding: 3rem;
    border: 1px solid var(--border-color);
    transition: transform 0.1s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border-radius: 8px;
    transform-style: preserve-3d;
}

.service-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(211, 47, 47, 0.15);
    z-index: 10;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transform: translateZ(20px);
}

.service-card p {
    transform: translateZ(20px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    transform: translateZ(30px);
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    height: 500px;
    background: linear-gradient(45deg, #f1f1f1, #ffffff);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--card-shadow);
    border-radius: 8px;
}

.about-visual::after {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border: 2px solid var(--primary-red);
    transform: translate(20px, 20px);
    z-index: -1;
    transition: transform 0.3s ease;
}

.about-visual:hover::after {
    transform: translate(10px, 10px);
}

/* Contact Form */
.contact-section {
    padding: 8rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-top: 5px;
}

.contact-form {
    background: var(--dark-card);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-red);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Mobile menu simplified */
}
