/* * Deligad Clean Services - Custom Styles
 * Primary Color (Blue): #003366 (Trust, Corporate)
 * Accent Color (Red): #D32F2F (Energy, Action)
 */

:root {
    --primary-blue: #003366;
    --accent-red: #D32F2F;
    --light-grey: #f9f9f9;
    --text-dark: #2c3e50;
}

/* Typography & Base */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    font-weight: 700;
}

/* Utility Helpers */
.has-text-primary-blue { color: var(--primary-blue) !important; }
.has-text-accent-red { color: var(--accent-red) !important; }
.has-bg-primary-blue { background-color: var(--primary-blue) !important; }
.has-bg-accent-red { background-color: var(--accent-red) !important; }
.has-bg-light-grey { background-color: var(--light-grey) !important; }

/* Navbar Customization */
.navbar {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 5.5rem; /* Increased height for logo */
    transition: all 0.3s ease;
}

.navbar-brand {
    align-items: center;
    display: flex;
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    line-height: 1.1;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-right: 0.75rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-item.is-active {
    color: var(--accent-red) !important;
    background-color: transparent !important;
    position: relative;
}

.navbar-item.is-active::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 15%;
    width: 70%;
    height: 3px;
    background-color: var(--accent-red);
    border-radius: 2px;
}

/* Hero Section */
.hero-background {
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.7)), url('../assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

/* Feature Boxes (Philosophy) */
.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--accent-red);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 51, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Experience Badge */
.experience-badge {
    background-color: var(--accent-red);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    display: inline-block;
    text-align: center;
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
    position: relative;
    z-index: 10;
}

.experience-years {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-text {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Service Cards (Grid) */
.service-grid-item {
    background: white;
    border: 1px solid #eee;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-grid-item:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-blue);
}

.service-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-red);
    transition: height 0.3s ease;
}

.service-grid-item:hover::before {
    height: 100%;
}

/* Buttons */
.button.is-primary-custom {
    background-color: var(--accent-red);
    color: white;
    border: none;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(211, 47, 47, 0.2);
}

.button.is-primary-custom:hover {
    background-color: #b71c1c;
    color: white;
    box-shadow: 0 6px 12px rgba(211, 47, 47, 0.3);
}

.button.is-outline-custom {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.button.is-outline-custom:hover {
    background-color: white;
    color: var(--primary-blue);
}

/* Footer */
.footer-custom {
    background-color: #002244;
    color: white;
    padding: 4rem 1.5rem;
}

.footer-custom h4 {
    color: white;
}

.footer-custom a {
    color: #a0c4ff;
    transition: color 0.2s;
}

.footer-custom a:hover {
    color: white;
    padding-left: 5px;
}