/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.tagline {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 300;
}

.nav {
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem 0;
}

.nav-list a:hover,
.nav-list a.active {
    opacity: 0.8;
    border-bottom: 2px solid var(--white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-info p {
    margin-bottom: 0.5rem;
    color: #666;
}

.product-desc {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.5rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-box p {
    color: #666;
}

/* Content Section */
.content-section {
    padding: 3rem 0;
    background-color: var(--white);
}

.about-content,
.policy-content,
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2,
.policy-content h2,
.contact-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.about-content h2:first-child,
.policy-content h2:first-child,
.contact-content h2:first-child {
    margin-top: 0;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #444;
}

.about-content p,
.policy-content p,
.contact-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.about-content ul,
.policy-content ul,
.contact-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.about-content li,
.policy-content li,
.contact-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: #555;
}

.about-content ol,
.policy-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.about-content ol li,
.policy-content ol li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: #555;
}

.last-updated {
    color: #888;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Services List */
.services-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-item {
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.service-item p {
    color: #666;
    margin-bottom: 0;
}

/* Products List */
.products-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.product-item {
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.product-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-item p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Contact Details */
.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin-top: 0.5rem;
}

.contact-card address {
    font-style: normal;
    line-height: 1.8;
    color: #666;
}

.address-link {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 1rem;
    margin: -1rem;
    cursor: pointer;
    border: 1px solid rgba(52, 152, 219, 0.3);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(52, 152, 219, 0.02) 100%);
    position: relative;
}

.address-link::before {
    content: "📍";
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.address-link:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15) 0%, rgba(52, 152, 219, 0.08) 100%);
    border-color: rgba(52, 152, 219, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.address-link:hover::before {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.address-link:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(52, 152, 219, 0.2);
}

.address-link address {
    color: var(--secondary-color) !important;
    font-weight: 500;
}

.click-hint {
    font-size: 0.85rem;
    color: var(--secondary-color);
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        width: 200px;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
        gap: 0;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.4rem;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .products-section,
    .features-section {
        padding: 2.5rem 0;
    }

    .content-section {
        padding: 2rem 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

