/*
Theme Name: ProService Clean
Description: WordPress theme for PRO SERVICE & RELAY company
Version: 1.0.0
Author: PRO SERVICE & RELAY
*/

/* Import Tailwind CSS */
@import url('https://cdn.tailwindcss.com');

/* Custom CSS Variables */
:root {
    --background: #ffffff;
    --foreground: #171717;
    --pro-blue: #1D2D53;
    --pro-blue-dark: #2D3D63;
    --pro-red: #FF6666;
    --pro-light-blue: #0973D5;
}

/* Apply Prompt font family */
body {
    font-family: 'Prompt', Arial, sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1D2D53;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2D3D63;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Button hover effects */
.btn-hover {
    transition: all 0.3s ease;
}

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

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Hero Slider Styles */
.hero-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.slider-dot.active {
    width: 1rem !important;
    height: 1rem !important;
    background-color: white !important;
    border: 2px solid #1f2937 !important;
}

/* Responsive text sizes */
.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.section-title {
    font-size: 2rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

/* Services Section Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.service-image {
    aspect-ratio: 1;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1D2D53;
    margin-bottom: 1rem;
    text-align: center;
}

.service-description {
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.6;
}

/* Why Choose Us Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.feature-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1D2D53;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Red line separator */
.red-separator {
    width: 12rem;
    height: 0.25rem;
    background-color: #FF6666;
    margin: 0 auto 1.5rem;
    border-radius: 9999px;
}

/* About Page Styles */
.about-banner {
    position: relative;
    overflow: hidden;
}

.about-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(29, 45, 83, 0.1), rgba(45, 61, 99, 0.1));
    z-index: 1;
}

.company-image {
    transition: transform 0.3s ease;
}

.company-image:hover {
    transform: scale(1.02);
}

.founder-card {
    background: linear-gradient(135deg, #1D2D53 0%, #2D3D63 100%);
    box-shadow: 0 20px 40px rgba(29, 45, 83, 0.3);
}

.founder-image {
    transition: transform 0.3s ease;
}

.founder-image:hover {
    transform: scale(1.05);
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    border: 2px solid #1D2D53;
    z-index: 10;
}

.quality-policy-card {
    background: linear-gradient(135deg, #1D2D53 0%, #2D3D63 100%);
    box-shadow: 0 10px 30px rgba(29, 45, 83, 0.2);
}

.contact-button {
    transition: all 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(9, 115, 213, 0.3);
}

/* Founder Timeline Styles */
.founder-timeline-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.founder-timeline-item:hover {
    transform: translateX(8px);
    opacity: 0.9;
}

.founder-number-circle {
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.founder-number-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.founder-content {
    transition: color 0.3s ease;
}

.founder-content:hover .founder-title {
    color: white;
}

.founder-subtitle {
    transition: opacity 0.3s ease;
}

.founder-timeline-item:hover .founder-subtitle {
    opacity: 1;
}

/* Responsive adjustments for About page */
@media (max-width: 768px) {
    .about-banner {
        height: 250px;
    }
    
    .founder-card {
        padding: 2rem;
    }
    
    .founder-image {
        height: 300px;
        width: 250px;
    }
    
    .founder-timeline-item {
        margin-bottom: 1.5rem;
    }
    
    .founder-number-circle {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.875rem;
    }
}
