/* Global Styles */
:root {
    --primary-color: #1a237e;
    --secondary-color: #ff6d00;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), #283593);
    --link-color: #1a237e;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    margin: 0;
    padding-top: 80px;
}

/* Common Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Header */
header {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    object-fit: contain;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

nav a:visited {
    color: var(--white);
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav a:hover::before {
    transform: scaleX(1);
}

nav a:active {
    color: var(--white);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./images/background\ 1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    animation: backgroundSlideshow 6s infinite;
}

@keyframes backgroundSlideshow {
    0%, 45% {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./images/background\ 1.jpg');
    }
    50%, 95% {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./images/background\ 2.jpg');
    }
    100% {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./images/background\ 1.jpg');
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.3), rgba(255, 109, 0, 0.3));
    mix-blend-mode: overlay;
}

.hero-content {
    max-width: 800px;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-button {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 109, 0, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-section {
    padding: 3rem 2rem;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(26, 35, 126, 0.05), transparent 70%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-image {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding: 0 1rem;
}

/* Product Section */
.product-showcase {
    padding: 3rem 2rem;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.product-category {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.category-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    text-align: center;
    font-weight: 700;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem;
    background: var(--light-bg);
    border-radius: 12px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-bg);
}

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

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.2rem;
    background: var(--white);
}

.product-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.product-info p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 3rem 2rem;
    background: var(--white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.map-container {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-item p {
    font-size: 1rem;
    margin: 0;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.submit-button {
    background: var(--gradient);
    color: var(--white);
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.2);
}

/* Footer */
footer {
    background: var(--gradient);
    color: var(--white);
    padding: 3rem 2rem 2rem;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.5rem 0;
}

.footer-section a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 2.8rem;
    }

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

    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 200px;
    }

    .logo img {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 200px;
    }
    
    .contact-info,
    .contact-form {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2.2rem;
    }

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

    .service-card {
        padding: 1.5rem;
    }

    .service-image {
        width: 100px;
        height: 100px;
    }

    .product-card {
        min-width: 280px;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* Product Navigation Styles */
.product-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.nav-button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #007bff;
    background: transparent;
    color: #007bff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: #007bff;
    color: white;
}

.nav-button.active {
    background: #007bff;
    color: white;
}

/* Product Slides Styles */
.product-slides {
    position: relative;
    overflow: hidden;
}

.product-category {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-category.active {
    display: block;
    opacity: 1;
}

/* About Section Layout */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.about-text {
    padding: 0;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.about-intro h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Experience Section */
.experience-section {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 0;
}

.experience-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.experience-period {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.experience-list {
    list-style: none;
    padding: 0;
}

.experience-list li {
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.experience-list li:last-child {
    margin-bottom: 0;
}

/* Business Activities Section */
.business-activities {
    margin-top: 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-top: 1px solid #e9ecef;
}

.business-activities h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.activities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.activities-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.2rem;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 160px;
    justify-content: center;
}

.activities-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.activities-list li i {
    font-size: 1.8rem;
    color: #007bff;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.activities-list li:hover i {
    background-color: #007bff;
    color: white;
}

.activities-list li span {
    color: #495057;
    line-height: 1.4;
    font-size: 0.9rem;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

@media (max-width: 1200px) {
    .activities-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 1rem;
    }

    .about-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .profile-image {
        width: 80px;
        height: 80px;
    }

    .experience-section,
    .business-activities {
        padding: 1rem;
    }

    .activities-list li {
        padding: 1rem;
        min-height: 140px;
    }

    .activities-list li i {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }

    .activities-list li span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .activities-list {
        grid-template-columns: 1fr;
    }

    .activities-list li {
        min-height: 130px;
    }
}

/* Active navigation link */
nav ul li a.active {
    color: #007bff;
    font-weight: bold;
}

/* Link Styles */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:visited {
    color: var(--link-color);
}

a:hover {
    color: var(--secondary-color);
}

a:active {
    color: var(--link-color);
}

/* Footer Link Styles */
.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:visited {
    color: var(--white);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section a:active {
    color: var(--white);
}

/* Footer Bottom Link Styles */
.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:visited {
    color: var(--white);
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

.footer-bottom a:active {
    color: var(--white);
}
