/*
Theme Name: Firesmart Professional
Description: A professional, single-page WordPress theme for Firesmart - Leading Fire Safety Solutions Provider in Sri Lanka. Features rich visuals, comprehensive content, and prominent contact CTAs.
Author: Manus AI
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: firesmart-professional
Tags: business, fire-safety, single-page, responsive, professional

This theme is designed specifically for Firesmart and includes:
- Professional single-page design with rich imagery
- Comprehensive fire safety equipment and services content
- Prominent phone number and contact CTAs
- Responsive design for all devices
- Professional fire safety color scheme
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(rgba(220, 38, 38, 0.9), rgba(153, 27, 27, 0.9)), url('images/firesmart_hero_banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.header-content {
    width: 100%;
}

.header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header .subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-phone {
    display: inline-block;
    background-color: #fff;
    color: #dc2626;
    padding: 18px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin: 10px;
}

.cta-phone:hover {
    background-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.cta-secondary {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    border: 3px solid #fff;
    transition: all 0.3s ease;
    margin: 10px;
}

.cta-secondary:hover {
    background-color: #fff;
    color: #dc2626;
    transform: translateY(-3px);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #dc2626;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Equipment Section */
.equipment {
    background-color: #fff;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.equipment-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

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

.equipment-card h3 {
    color: #dc2626;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.equipment-card ul {
    list-style: none;
    text-align: left;
}

.equipment-card ul li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.equipment-card ul li:before {
    content: "✓";
    color: #dc2626;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Services Section */
.services {
    background-color: #f8f9fa;
    background-image: url('images/fire_services_image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.95);
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #dc2626;
}

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

.service-card h3 {
    color: #dc2626;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "🔥";
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    text-align: center;
}

.contact .section-title {
    color: white;
}

.contact .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.contact-item {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-item.phone p {
    font-size: 1.4rem;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.2rem;
    }
    
    .header .subtitle {
        font-size: 1.1rem;
    }
    
    .cta-phone, .cta-secondary {
        display: block;
        margin: 10px auto;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .equipment-grid, .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .equipment-card, .service-card {
        padding: 25px;
    }
    
    .contact-item {
        padding: 25px;
    }
}
