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

:root {
    --primary-color: #ea580c;
    --primary-hover: #c2410c;
    --text-dark: #111827;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-gray: #f9fafb;
    --white: #ffffff;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
    padding: 0 1.5rem;
}

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

.desktop-nav {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

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

.header-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.phone-info i {
    width: 1rem;
    height: 1rem;
    color: var(--primary-color);
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn i {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.mobile-nav.active {
    display: flex;
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.mobile-phone i {
    width: 1rem;
    height: 1rem;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 4rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 5rem 1.5rem;
}

.hero-text {
    max-width: 48rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.875rem;
    color: #d1d5db;
}

/* Section Common Styles */
section {
    padding: 4rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 42rem;
    margin: 0 auto;
}

/* Services Section */
.services {
    background-color: var(--bg-gray);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background-color: #fed7aa;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    width: 2rem;
    height: 2rem;
    color: var(--primary-color);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-gray);
    line-height: 1.75;
}

/* Projects Section */
.projects {
    background-color: var(--white);
}

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

.project-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.project-card:hover {
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

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

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

.project-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-gray);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-gray);
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
}

.quote-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star-filled {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-color);
    fill: var(--primary-color);
}

.testimonial-text {
    color: var(--text-gray);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

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

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

.info-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 1rem;
}

.info-icon {
    background-color: #fed7aa;
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-color);
}

.info-content h3 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.info-content p {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.contact-form-wrapper {
    width: 100%;
}

.form-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

/* Footer */
.footer {
    background-color: #111827;
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

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

.social-link {
    background-color: #1f2937;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
}

.social-link i {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

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

.footer-services li {
    color: #9ca3af;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-list li {
    display: flex;
    gap: 0.75rem;
}

.contact-list i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-list p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #10b981;
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(200%);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.toast.show {
    transform: translateY(0);
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

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

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

@media (min-width: 768px) {
    .header-content {
        height: 5rem;
    }

    .logo h1 {
        font-size: 1.75rem;
    }

    .desktop-nav {
        display: flex;
    }

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

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

    .section-subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .header-cta {
        display: flex;
    }

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

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

    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1280px) {
    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}
