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

:root {
    --primary-dark: #1a2332;
    --primary-navy: #2d3e50;
    --accent-orange: #ff6b35;
    --accent-light: #ff8c61;
    --text-light: #f4f4f4;
    --text-gray: #b0b0b0;
    --bg-light: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--primary-dark);
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: none;
    transition: all 0.3s ease;
}

.top-bar {
    background: var(--primary-dark);
    padding: 10px 20px;
    font-size: 0.75rem;
    display: none;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-gray);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.contact-info a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.license-text {
    white-space: nowrap;
    font-size: 0.75rem;
    color: var(--text-gray);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    gap: 15px;
    border-bottom: none;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

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

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

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

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

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

.nav-links {
    gap: 20px;
    list-style: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(26, 35, 50, 0.98);
    padding: 20px;
    border-top: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-links.active {
    max-height: 300px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 12px 0;
    display: block;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
    display: none;
}

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

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

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 60vh;
    height: auto;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    max-width: 100%;
    padding: 20px 0;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid var(--accent-orange);
    border-radius: 50px;
    color: var(--accent-orange);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.4);
}

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

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-dark);
}

/* Services Section */
.services {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 2px 12px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.service-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Why Choose Us */
.why-choose {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
    padding: 60px 20px;
    color: var(--text-light);
}

.why-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.why-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.why-text p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.features {
    display: grid;
    gap: 25px;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Projects Gallery */
.projects {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.project-card {
    position: relative;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 12px var(--shadow);
}

.project-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-navy));
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 30px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.project-overlay p {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* Contact Form */
.contact {
    padding: 60px 20px;
    background: #f9f9f9;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
}

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

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--text-gray);
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.footer-section h3 {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-section p {
    line-height: 1.6;
    font-size: 0.8rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
    font-size: 0.8rem;
}

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

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 20px 20px;
    overflow-y: auto;
}

.gallery-grid-container {
    width: 100%;
    max-width: 1200px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    width: 100%;
}

.gallery-grid-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-grid-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--accent-orange);
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
}

.gallery-close:hover {
    color: var(--accent-orange);
}

.project-card {
    cursor: pointer;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }

    .gallery-grid-image {
        height: 180px;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }

    .gallery-grid-image {
        height: 220px;
    }
}

/* Responsive - Tablet */
@media (min-width: 640px) {
    .top-bar-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .contact-info {
        flex-direction: row;
        gap: 15px;
    }

    nav {
        height: 70px;
        padding: 0 30px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        margin-top: 90px;
        min-height: 70vh;
        padding: 50px 30px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        gap: 15px;
    }

    .services {
        padding: 80px 30px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

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

    .why-choose {
        padding: 80px 30px;
    }

    .why-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        text-align: left;
    }

    .projects {
        padding: 80px 30px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .project-card {
        height: 200px;
    }

    .contact {
        padding: 80px 30px;
    }

    .contact-wrapper {
        padding: 40px;
    }

    .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    footer {
        padding: 50px 30px 25px;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
    header {
        box-shadow: 0 2px 20px var(--shadow);
    }

    .top-bar {
        display: block;
        padding: 8px 0;
        font-size: 0.85rem;
    }

    .top-bar-content {
        padding: 0 40px;
    }

    .contact-info {
        gap: 30px;
    }

    nav {
        height: 80px;
        padding: 0 40px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hamburger {
        display: none;
    }

    .nav-links {
        max-height: 100%;
        display: flex;
        position: static;
        background: none;
        padding: 0;
        flex-direction: row;
        gap: 40px;
        border: none;
        overflow: visible;
        border-top: none;
    }

    .nav-links.active {
        max-height: 100%;
    }

    .nav-links a {
        font-size: 0.95rem;
        padding: 0;
        min-height: auto;
    }

    .nav-links a::after {
        display: block;
    }

    .hero {
        margin-top: 118px;
        min-height: 85vh;
        padding: 40px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .services {
        padding: 120px 40px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .service-card {
        padding: 40px 30px;
    }

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

    .why-choose {
        padding: 120px 40px;
    }

    .why-content {
        gap: 80px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .projects {
        padding: 120px 40px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .project-card {
        height: 220px;
    }

    .contact {
        padding: 120px 40px;
    }

    .contact-wrapper {
        padding: 60px;
    }

    .form-grid {
        gap: 25px;
    }

    footer {
        padding: 60px 40px 30px;
    }

    .footer-content {
        gap: 60px;
        margin-bottom: 40px;
    }

    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .footer-section p {
        font-size: 0.95rem;
    }

    .footer-links li {
        margin-bottom: 12px;
        font-size: 0.95rem;
    }
}
