:root {
    --primary: #00BCD4;
    --primary-dark: #0097A7;
    --secondary: #1a1a2e;
    --dark: #0f0f1a;
    --light: #f0f4f8;
    --gray: #b0bec5;
    --white: #ffffff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary);
}

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

/* Navigation */
header {
    background: var(--secondary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 188, 212, 0.1);
}

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

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--light);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 26, 0.7);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--gray);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.3);
}

/* Sections */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 188, 212, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.card-content p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.price {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
}

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

.service-card {
    background: var(--secondary);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 188, 212, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* About Content */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-content img {
    width: 100%;
    border-radius: 10px;
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 15px;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 12px;
    font-size: 1rem;
}

.contact-form h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    background: var(--secondary);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 5px;
    color: var(--light);
    font-size: 1rem;
}

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

.contact-form button {
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button:hover {
    background: var(--primary-dark);
}

/* Footer */
footer {
    background: var(--secondary);
    border-top: 1px solid rgba(0, 188, 212, 0.1);
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.footer-about img {
    height: 40px;
    margin-bottom: 15px;
}

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

.footer-links h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-links a,
.footer-links p {
    display: block;
    color: var(--gray);
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 188, 212, 0.1);
    color: var(--gray);
    font-size: 0.85rem;
}

/* Nowrap for email */
.nowrap {
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }

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

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

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