/*
Theme Name: Imperial Resources Ltd
Theme URI: https://imperialresourcesltd.com
Author: Imperial Resources Ltd
Author URI: https://imperialresourcesltd.com
Description: Custom WordPress theme for Imperial Resources Ltd - A manpower recruitment agency. Fully responsive with dynamic homepage sections, industries, client carousel, and gallery.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive, custom-logo, custom-menu, featured-images, translation-ready
Text Domain: imperial-resources
*/

/* This stylesheet is loaded in addition to style.css which is included in Bootstrap */

/* === Custom Theme Styles === */

/* Header Styles */
.site-logo img {
    max-width: 130px;
    height: auto;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.site-description {
    font-size: 14px;
    color: #666;
}

.rl-number {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #333;
    border-radius: 4px;
    font-weight: 600;
}

/* Navigation */
.main-navigation {
    background: #f8f9fa;
    border-top: 1px solid #ddd;
}

.sf-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-menu li {
    position: relative;
    display: inline-block;
}

.sf-menu a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.sf-menu a:hover {
    color: #007bff;
}

.sf-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

.sf-menu li:hover > ul {
    display: block;
}

.sf-menu ul li {
    display: block;
    border-bottom: 1px solid #eee;
}

.sf-menu ul li a {
    padding: 10px 15px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .slides {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-slider .slide {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.hero-slider .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-slider .slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-slider .slide-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-slider .slide-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

/* About Section */
.about-section {
    padding: 60px 0;
}

.about-content {
    padding: 20px;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-content p {
    line-height: 1.8;
    text-align: justify;
}

.about-image img {
    max-width: 100%;
    height: auto;
}

/* Industries Section */
.industries-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.industry-card {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.industry-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 14px;
    color: #666;
}

/* Why Choose Us */
.why-choose-us {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
}

.why-choose-us h3 {
    margin-bottom: 20px;
}

/* Client Carousel */
.clients-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.client-logo {
    text-align: center;
    padding: 20px;
}

.client-logo img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.client-logo img:hover {
    filter: grayscale(0%);
}

/* Contact Info Bar */
.contact-info-bar {
    background: #333;
    color: #fff;
    padding: 40px 0;
}

.contact-info-bar .info-block {
    text-align: center;
}

.contact-info-bar .info-block h5 {
    margin-top: 10px;
}

/* Footer */
.site-footer {
    background: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: bold;
}

.footer-logo .logo-subtext {
    font-size: 14px;
    color: #ccc;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
}

/* Newsletter */
.newsletter-widget h3 {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.newsletter-form button {
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Copyright */
.site-copyright {
    background: #111;
    color: #888;
    padding: 20px 0;
    text-align: center;
}

/* Page Title */
.page-title-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
}

.page-title-section h1 {
    margin: 0;
}

.breadcrumb {
    background: transparent;
    margin-top: 20px;
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb-item.active {
    color: #ddd;
}

/* Contact Form */
.contact-form {
    background: #222;
    padding: 40px;
    color: #fff;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #333;
    color: #fff;
}

.contact-form button {
    padding: 12px 30px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider .slide-title {
        font-size: 28px;
    }
    
    .hero-slider .slide-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .sf-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader_image {
    width: 50px;
    height: 50px;
    background: url('../images/preloader.gif') no-repeat center;
    background-size: contain;
}

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

.animate {
    animation: fadeInUp 0.6s ease-out;
}

/* Owl Carousel */
.owl-carousel .owl-nav button {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.owl-carousel .owl-dots button {
    background: #ccc;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    border: none;
    cursor: pointer;
}

.owl-carousel .owl-dots button.active {
    background: #333;
}
