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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('../bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

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

/* Header Styles */
.main-header {
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: #16213e;
    color: #7a9ec4;
}

/* Hero Section */
.hero {
    background: transparent;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    color: #7a9ec4;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #7a9ec4;
    color: #fff;
}

.btn-primary:hover {
    background-color: #3a8eef;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 158, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1a1a2e;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(26, 38, 51, 0.9) 0%, rgba(34, 48, 74, 0.9) 100%);
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #fff;
}

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

.feature-card {
    padding: 30px;
    background-color: rgba(45, 62, 80, 0.95);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(122, 158, 196, 0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 158, 255, 0.3);
    border-color: #7a9ec4;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #7a9ec4;
}

.feature-card p {
    color: #d0d0d0;
    line-height: 1.8;
}

/* Product Overview Section */
.product-overview {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(34, 48, 74, 0.9) 0%, rgba(26, 38, 51, 0.9) 100%);
}

.product-overview h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #7a9ec4;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: rgba(45, 62, 80, 0.95);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(122, 158, 196, 0.3);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.3);
}

.product-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #7a9ec4;
}

.product-card p {
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1.8;
}

.btn-link {
    color: #7a9ec4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #3a8eef;
    text-decoration: underline;
}

/* Footer */
.main-footer {
    background: linear-gradient(180deg, rgba(26, 38, 51, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #7a9ec4;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
}

.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 ease;
}

.footer-section a:hover {
    color: #7a9ec4;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0 -20px -20px -20px;
    border-top: 1px solid #333;
    background-color: #1a1a2e;
    color: #999;
}

/* Products Page Specific */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.content-section {
    padding: 60px 0;
}

.product-detail {
    max-width: 900px;
    margin: 0 auto;
}

.product-detail h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.product-detail h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #16213e;
}

.product-detail ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.product-detail li {
    margin-bottom: 10px;
    color: #666;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a2e;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #7a9ec4;
}

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

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

.success-message,
.error-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .product-cards {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }
}
