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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2a2a2a;
    --accent-color: #d4af37;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #334155;
    --border-color: #475569;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --gradient-primary: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Dark theme */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

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

.logo h1 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.logo span {
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 0.875rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    background: transparent;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

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

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 600px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.7;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--accent-color);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Services Section - Dark theme */
.services {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

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

.service-card {
    background: transparent;
    border: 1px solid #333;
    color: var(--text-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background: #111;
    transform: none;
    box-shadow: none;
}

.service-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Projects Page - Dark theme */
.projects-hero,
.reviews-hero,
.contact-hero {
    padding: 8rem 0 4rem;
    background: var(--bg-secondary);
    text-align: center;
}

.projects-hero h1,
.reviews-hero h1,
.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.projects-grid {
    padding: 4rem 0;
}

.project-card {
    background: transparent;
    border: 1px solid #333;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.project-card:hover {
    transform: translateY(-5px);
    background: #475569;
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.project-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-color);
    color: var(--bg-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-top: 1rem;
}

/* Reviews Page - Dark theme */
.reviews-container {
    padding: 4rem 0;
}

.review-card {
    background: transparent;
    border: 1px solid #333;
    border-radius: 0;
    padding: 2rem;
    margin-bottom: 2rem;
}

.rating {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.reviewer h4 {
    color: var(--accent-color);
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.reviewer span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Contact Page - Dark theme */
.contact-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 24px;
}

.contact-form {
    background: transparent;
    border: 1px solid #333;
    border-radius: 0;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #333;
    border-radius: 0;
    font-family: inherit;
    transition: var(--transition);
    background: transparent;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Footer - Dark theme */
footer {
    background: var(--bg-primary);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid #333;
}

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

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

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 2rem;
    }

    .projects-grid .container {
        padding: 0 15px;
    }

    .project-card {
        margin-bottom: 1.5rem;
    }

    .project-image {
        height: 250px;
    }

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

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .services {
        padding: 3rem 0;
    }

    .services h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card i {
        font-size: 2.5rem;
    }

    .projects-hero h1,
    .reviews-hero h1,
    .contact-hero h1 {
        font-size: 2.25rem;
    }

    .review-card {
        padding: 1.5rem;
    }

    .contact-section {
        padding: 2rem 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.625rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .service-card,
    .project-card,
    .review-card {
        cursor: pointer;
    }

    .cta-button {
        min-height: 44px;
    }

    .nav-link {
        padding: 0.75rem 0;
    }
}

/* Improve tap targets */
.nav-link,
.cta-button,
.hamburger {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optimize images for mobile */
img {
    max-width: 100%;
    height: auto;
}

/* Better form experience on mobile */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="tel"],
select,
textarea {
    font-size: 16px; /* Prevents zoom on iOS */
}

/* Smooth scrolling on mobile */
html {
    scroll-behavior: smooth;
}

/* Loading states for mobile */
.loading {
    opacity: 0.7;
    pointer-events: none;
}