/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #ff7f7f;
    transition: color 0.3s;
}

a:hover {
    color: #e56c6c;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

/* Button styles */
.btn {
    display: inline-block;
    background-color: #ff7f7f;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #e56c6c;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #ff7f7f;
    color: #ff7f7f;
}

.btn-outline:hover {
    background-color: #ff7f7f;
    color: white;
}

/* Header styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.logo h1 {
    color: #ff7f7f;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #555;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
}

nav ul li a:hover, nav ul li a.active {
    color: #ff7f7f;
    background-color: rgba(255, 127, 127, 0.1);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x800');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* About section */
.about {
    padding: 80px 0;
    text-align: center;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

.about p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 60px;
}

.feature {
    flex: 1;
    min-width: 300px;
    margin: 20px;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 50px;
    color: #ff7f7f;
    margin-bottom: 20px;
}

/* Services preview section */
.services-preview {
    background-color: #f0f4fa;
    padding: 80px 0;
    text-align: center;
}

.services-preview h2 {
    font-size: 36px;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    width: calc(25% - 30px);
    min-width: 250px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card i {
    font-size: 40px;
    color: #ff7f7f;
    margin-bottom: 20px;
}

/* CTA section */
.cta {
    background-color: #ff7f7f;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
}

.cta .btn {
    background-color: white;
    color: #ff7f7f;
}

.cta .btn:hover {
    background-color: #f0f4fa;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding-right: 20px;
}

.footer-section h3 {
    color: #ff7f7f;
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-section p i {
    margin-right: 10px;
    color: #ff7f7f;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #999;
}

/* Page Header */
.page-header {
    background-color: #ff7f7f;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
}

/* Services List Page */
.services-list {
    padding: 80px 0;
}

.service-category {
    margin-bottom: 60px;
}

.service-category h2 {
    color: #ff7f7f;
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.service-category h2 i {
    margin-right: 15px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    color: #333;
    margin-bottom: 15px;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.info-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
}

.info-item i {
    font-size: 30px;
    color: #ff7f7f;
    margin-bottom: 15px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.contact-form h2 {
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.map-section {
    padding: 40px 0 80px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.placeholder-map {
    width: 100%;
    height: auto;
    display: block;
}

/* Featured Tools Section */
.featured-tools {
    padding: 80px 0;
    background-color: white;
}

.featured-tools h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
}

.featured-tools > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
}

.tools-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.tool-card {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    flex: 0 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon i {
    font-size: 40px;
    color: #ff7f7f;
}

.tool-info {
    flex: 1;
    padding-left: 20px;
}

.tool-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.tool-info p {
    margin-bottom: 15px;
    color: #666;
}

.tool-link {
    display: inline-block;
    font-weight: 500;
    color: #ff7f7f;
    transition: color 0.3s;
}

.tool-link:hover {
    color: #e56c6c;
    text-decoration: underline;
}

.tool-link i {
    font-size: 14px;
    margin-left: 5px;
}

/* Responsive adjustments for featured tools */
@media (max-width: 768px) {
    .tool-card {
        flex-direction: column;
        text-align: center;
    }
    
    .tool-icon {
        margin-bottom: 20px;
    }
    
    .tool-info {
        padding-left: 0;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .feature, .card {
        width: 100%;
    }
    
    .footer-section {
        width: 100%;
        padding-right: 0;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .contact-section .container {
        flex-direction: column;
    }
}

/* Tools & Resources Page */
.tools-resources {
    padding: 80px 0;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 18px;
    line-height: 1.7;
}

.resource-category {
    margin-bottom: 70px;
}

.resource-category h2 {
    color: #ff7f7f;
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.resource-category h2 i {
    margin-right: 15px;
}

.resource-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.resource-item {
    display: flex;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.resource-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.resource-logo {
    flex: 0 0 150px;
    margin-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-logo img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.resource-content {
    flex: 1;
}

.resource-content h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.resource-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

.resource-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.resource-content ul li {
    margin-bottom: 8px;
    list-style-type: disc;
    color: #555;
}

.resource-link {
    display: inline-block;
    font-weight: 500;
    color: #ff7f7f;
    transition: color 0.3s;
}

.resource-link:hover {
    color: #e56c6c;
    text-decoration: underline;
}

.resource-link i {
    font-size: 14px;
    margin-left: 5px;
}

/* Responsive adjustments for tools & resources page */
@media (max-width: 768px) {
    .resource-item {
        flex-direction: column;
    }
    
    .resource-logo {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .resource-logo img {
        max-width: 150px;
    }
}

/* Category Navigation */
.category-navigation {
    margin: 40px 0;
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-navigation h2 {
    margin-bottom: 25px;
    font-size: 24px;
    color: #333;
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    background-color: #f8f9fa;
    color: #555;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.category-link i {
    margin-right: 8px;
    color: #ff7f7f;
}

.category-link:hover {
    background-color: #ff7f7f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.category-link:hover i {
    color: white;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Add padding to section headings for anchor links */
.resource-category {
    scroll-margin-top: 100px;
}

/* Responsive adjustments for category navigation */
@media (max-width: 768px) {
    .category-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-link {
        text-align: left;
    }
}

/* Hardware repair section - Enhanced image */
.hardware-image {
    flex: 1;
    margin-bottom: 15px;
    position: relative;
    cursor: pointer;
}

.hardware-image::after {
    content: "\f00e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(255, 127, 127, 0.8);
    color: white;
    padding: 8px;
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
}

.hardware-image:hover::after {
    transform: scale(1.2);
}

.hardware-image img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hardware-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

/* Image modal/lightbox */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.image-modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .hardware-image img {
        max-width: 400px;
    }
} 