/* imports */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Audiowide&display=swap');

/* global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #0d0d0d;
    color: #fff;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #00a859;
    transition: color 0.3s;
}

a:hover {
    color: #00d46f;
}

.highlight {
    color: #00a859;
}

/* header */
header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 60px;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(0, 168, 89, 0.1);
    gap: 15px;
}

.logo {
    font-family: 'Audiowide', sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 0.05em;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

nav ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 12px;
    display: inline-block;
}

nav ul li a:hover {
    color: #00a859;
}

.sign-in {
    padding: 10px 20px;
    background: #00a859;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
    white-space: nowrap;
    flex-basis: 100%;
    order: 10;
    margin-top: 25px;
}

.sign-in:hover {
    background: #00d46f;
}

/* main sections */
main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 100px 60px;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.left {
    flex: 1;
    padding-top: 20px;
}

.left h1 {
    font-family: 'Audiowide', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.tagline {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 40px;
    line-height: 1.6;
}

.buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn.green {
    background: #00a859;
    color: #000;
}

.btn.green:hover {
    background: #00d46f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 89, 0.3);
}

.btn.outline {
    background: transparent;
    color: #fff;
    border: 2px solid #00a859;
}

.btn.outline:hover {
    background: #00a859;
    color: #000;
}

.right {
    flex: 1;
    padding-left: 40px;
}

.right h2 {
    font-family: 'Audiowide', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 25px;
    letter-spacing: 0.02em;
}

.right p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1rem;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.number {
    font-family: 'Audiowide', sans-serif;
    font-size: 2.5rem;
    color: #00a859;
    font-weight: bold;
    margin-bottom: 8px;
}

.label {
    font-size: 0.9rem;
    color: #888;
}

/* services section */
.services-section {
    padding: 80px 60px;
    background: #111;
    text-align: center;
}

.services-section h2 {
    font-family: 'Audiowide', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 60px;
    letter-spacing: 0.02em;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: left;
    border: 1px solid rgba(0, 168, 89, 0.1);
    transition: all 0.3s;
}

.service-card:hover {
    background: #222;
    border-color: rgba(0, 168, 89, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 168, 89, 0.1);
}

.service-card h3 {
    color: #00a859;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #aaa;
    line-height: 1.6;
}

.features {
    list-style: none;
    margin: 15px 0 20px 0;
    padding: 0;
}

.features li {
    color: #aaa;
    padding: 5px 0;
    font-size: 0.9rem;
}

.features li:before {
    content: "✓ ";
    color: #00a859;
    font-weight: bold;
    margin-right: 8px;
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.8rem;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 50px;
    font-size: 1rem;
}

/* about section */
.about-section {
    padding: 80px 60px;
    background: #0d0d0d;
}

.about-section h2 {
    font-family: 'Audiowide', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 0.02em;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h3 {
    color: #00a859;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-item {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(0, 168, 89, 0.1);
}

.value-item h4 {
    color: #00a859;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.value-item p {
    color: #aaa;
    font-size: 0.9rem;
    margin: 0;
}

/* blog section */
.blog-section {
    padding: 80px 60px;
    background: #111;
}

.blog-section h2 {
    font-family: 'Audiowide', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 0.02em;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(0, 168, 89, 0.1);
    transition: all 0.3s;
}

.blog-card:hover {
    background: #222;
    border-color: rgba(0, 168, 89, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 168, 89, 0.1);
}

.blog-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.blog-date {
    color: #00a859;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: block;
}

.blog-card p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more {
    color: #00a859;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #00d46f;
}

/* contact section */
.contact-section {
    padding: 80px 60px;
    background: #0d0d0d;
}

.contact-section h2 {
    font-family: 'Audiowide', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 0.02em;
}

.contact-section > p {
    color: #888;
    margin-bottom: 50px;
    font-size: 1.1rem;
    text-align: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 12px 16px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #00a859;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

.contact-info h3 {
    color: #00a859;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-info a {
    color: #00a859;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #00d46f;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    display: inline-block;
    padding: 10px 15px;
    background: #00a859;
    color: #000;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.social-btn:hover {
    background: #00d46f;
}

/* footer */
footer {
    background: #000;
    padding: 60px;
    border-top: 1px solid rgba(0, 168, 89, 0.1);
}

/* blog page */
.blog-hero {
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 80px 60px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 168, 89, 0.2);
}

.blog-hero h1 {
    font-family: 'Audiowide', sans-serif;
    font-size: 3rem;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
}

.blog-hero p {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.search-container {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.blog-search {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #00a859;
    border-radius: 4px 0 0 4px;
    background: rgba(26, 26, 26, 0.8);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.blog-search:focus {
    outline: none;
    background: rgba(26, 26, 26, 1);
    box-shadow: 0 0 10px rgba(0, 168, 89, 0.3);
}

.blog-search::placeholder {
    color: #666;
}

.search-btn {
    padding: 12px 20px;
    background: #00a859;
    border: 2px solid #00a859;
    border-radius: 0 4px 4px 0;
    color: #000;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #00d46f;
    border-color: #00d46f;
}

.blog-main {
    padding: 60px 40px;
    background: #0d0d0d;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.blog-post {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid #00a859;
    transition: all 0.3s;
}

.blog-post:hover {
    background: #222;
    box-shadow: 0 5px 15px rgba(0, 168, 89, 0.1);
}

.blog-header {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.blog-header h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
}

.blog-header:hover h2 {
    color: #00a859;
}

.expand-icon {
    color: #00a859;
    font-size: 1.5rem;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
    margin-top: 5px;
    transition: all 0.3s;
}

.blog-header:hover .expand-icon {
    transform: scale(1.2);
}

.blog-content {
    margin-top: 20px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 25px;
    display: block;
}

.category {
    background: rgba(0, 168, 89, 0.2);
    color: #00a859;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

.blog-post h3 {
    color: #00a859;
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.blog-post p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 15px;
}

.post-list {
    list-style: none;
    margin: 20px 0;
    padding-left: 0;
}

.post-list li {
    color: #aaa;
    padding: 8px 0 8px 20px;
    line-height: 1.6;
    position: relative;
}

.post-list li:before {
    content: "▸";
    color: #00a859;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.blog-post a {
    color: #00a859;
    font-weight: bold;
}

.blog-post a:hover {
    color: #00d46f;
}

/* blog sidebar */
.blog-sidebar {
    height: fit-content;
}

.sidebar-widget {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 168, 89, 0.1);
}

.sidebar-widget h3 {
    color: #00a859;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.category-list,
.product-list,
.quick-links {
    list-style: none;
    padding: 0;
}

.category-list li,
.product-list li,
.quick-links li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 168, 89, 0.1);
}

.category-list li:last-child,
.product-list li:last-child,
.quick-links li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-list a,
.product-list a,
.quick-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.category-list a:hover,
.product-list a:hover,
.quick-links a:hover {
    color: #00a859;
}

/* blog responsive */
@media (max-width: 1024px) {
    .blog-container {
        grid-template-columns: 1fr;
    }

    .blog-post {
        padding: 30px;
    }

    .blog-hero {
        padding: 60px 40px;
    }

    .blog-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .blog-main {
        padding: 40px 20px;
    }

    .blog-hero {
        padding: 40px 20px;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-post {
        padding: 20px;
        border-left-width: 3px;
    }

    .blog-post h2 {
        font-size: 1.4rem;
    }

    .blog-post h3 {
        font-size: 1.1rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    color: #00a859;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #00a859;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 168, 89, 0.1);
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    nav ul {
        gap: 20px;
    }

    main {
        padding: 60px 40px;
        gap: 40px;
    }

    .left h1 {
        font-size: 2.5rem;
    }

    .right h2 {
        font-size: 2rem;
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    nav {
        width: 100%;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    nav ul li a {
        padding: 10px 15px;
        font-size: 0.85rem;
        border-radius: 4px;
        background: rgba(0, 168, 89, 0.05);
    }

    nav ul li a:hover {
        background: rgba(0, 168, 89, 0.15);
    }

    .sign-in {
        margin-left: 0;
    }

    main {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .left h1 {
        font-size: 2rem;
    }

    .right {
        padding-left: 0;
    }

    .right h2 {
        font-size: 1.5rem;
    }

    .stats {
        gap: 20px;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .blog-cards {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-section,
    .services-section,
    .about-section,
    .blog-section {
        padding: 50px 20px;
    }

    .contact-section h2,
    .services-section h2,
    .about-section h2,
    .blog-section h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    footer {
        padding: 40px 20px;
    }
}
