/* ===========================
   CSS Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #DC2626;
    --dark-red: #B91C1C;
    --primary-black: #0F0F0F;
    --secondary-black: #1A1A1A;
    --light-gray: #F5F5F5;
    --medium-gray: #9CA3AF;
    --white: #FFFFFF;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===========================
   Container & Layout
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ===========================
   Navigation
   =========================== */
.navbar {
    background-color: var(--primary-black);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-black);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--primary-black);
    color: var(--white);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-black);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    background-image:
        linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(220,38,38,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Section Titles
   =========================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 3rem;
}

/* ===========================
   Introduction Section
   =========================== */
.intro-section {
    padding: 4rem 0;
    background-color: var(--white);
}

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

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

/* ===========================
   Benefits Section
   =========================== */
.benefits-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
}

.benefit-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ===========================
   Portfolio Preview/Grid
   =========================== */
.portfolio-preview {
    padding: 4rem 0;
    background-color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.portfolio-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.portfolio-industry {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.portfolio-info p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Portfolio Full Grid */
.portfolio-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.portfolio-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials-section {
    padding: 4rem 0;
    background-color: var(--primary-black);
    color: var(--white);
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--secondary-black);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
}

.testimonial-stars {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--light-gray);
}

.testimonial-author {
    font-weight: 600;
    color: var(--white);
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

/* ===========================
   Page Header
   =========================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===========================
   About Page Sections
   =========================== */
.about-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--primary-black);
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.why-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
}

.why-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.difference-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.difference-content {
    max-width: 900px;
    margin: 3rem auto 0;
}

.difference-item {
    margin-bottom: 2.5rem;
}

.difference-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: var(--primary-red);
}

.difference-item p {
    line-height: 1.8;
    color: var(--primary-black);
}

.values-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.value-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ===========================
   Services Page
   =========================== */
.services-detailed {
    padding: 4rem 0;
    background-color: var(--white);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.service-item-reverse {
    direction: rtl;
}

.service-item-reverse > * {
    direction: ltr;
}

.service-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.service-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--primary-black);
}

.service-features {
    list-style: none;
}

.service-features li {
    margin-bottom: 0.75rem;
    color: var(--primary-black);
    font-size: 1rem;
}

.service-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pricing-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
    text-align: center;
}

.pricing-content {
    max-width: 700px;
    margin: 2rem auto;
}

.pricing-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.faq-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-red);
}

.faq-item p {
    color: var(--primary-black);
    line-height: 1.6;
}

/* ===========================
   Contact Page
   =========================== */
.contact-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-black);
}

.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;
    color: var(--primary-black);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.error-message {
    color: var(--primary-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    background-color: #10B981;
    color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: none;
}

.success-message.show {
    display: block;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.contact-info-item p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.contact-info-item .social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info-item .social-links a {
    color: var(--primary-red);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info-item .social-links a:hover {
    color: var(--dark-red);
}

.contact-cta {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.contact-cta h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-red);
}

.contact-cta p {
    color: var(--primary-black);
    line-height: 1.6;
}

.why-contact-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
}

.process-step p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.map-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.map-placeholder {
    background-color: var(--light-gray);
    padding: 4rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
}

.map-placeholder p {
    font-size: 1.5rem;
    color: var(--medium-gray);
}

/* ===========================
   Stats Section
   =========================== */
.stats-section {
    padding: 4rem 0;
    background-color: var(--primary-black);
    color: var(--white);
}

.stats-section .section-title {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--light-gray);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 3rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--secondary-black);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-red);
    font-size: 1.2rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

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

.footer-section p {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid,
    .service-item {
        grid-template-columns: 1fr;
    }

    .service-item-reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .benefits-grid,
    .portfolio-grid,
    .testimonials-grid,
    .why-grid,
    .values-grid,
    .faq-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-full-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
