/**
 * Eaglescliffe Gas - Custom CSS Styles
 * 
 * This file contains all custom styles for the Eaglescliffe Gas website
 */

/* Global Styles
-------------------------------------------------------------- */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --white-color: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Typography
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* Utilities
-------------------------------------------------------------- */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

/* Header & Navigation
-------------------------------------------------------------- */
.top-bar {
    font-size: 0.9rem;
    border-bottom: 1px solid #e9ecef;
}

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: var(--transition);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--primary-color);
}

.navbar .btn {
    padding: 0.5rem 1.25rem;
}

/* Hero Section
-------------------------------------------------------------- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white-color);
    padding: 8rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white-color);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Page Header
-------------------------------------------------------------- */
.page-header {
    background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.9)), url('../img/page-header-bg.jpg') no-repeat center center/cover;
    padding: 4rem 0;
    color: var(--white-color);
}

.page-header h1 {
    color: var(--white-color);
    margin-bottom: 1rem;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

/* Cards & Content Boxes
-------------------------------------------------------------- */
.card {
    border: none;
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-header {
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.feature-box {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Lists
-------------------------------------------------------------- */
.list-check {
    list-style: none;
    padding-left: 0;
}

.list-check li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
}

.list-check li::before {
    content: '\F633';
    font-family: 'Bootstrap Icons';
    position: absolute;
    top: 2px;
    left: 0;
    color: var(--primary-color);
}

/* Timeline
-------------------------------------------------------------- */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: -3rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -1.85rem;
    top: 2.5rem;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item:last-child::after {
    display: none;
}

/* Pricing
-------------------------------------------------------------- */
.pricing-table .card {
    transition: var(--transition);
}

.pricing-table .card:hover {
    transform: translateY(-10px);
}

.pricing-card-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.price-old {
    text-decoration: line-through;
    color: var(--secondary-color);
    margin-right: 1rem;
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: 20px;
}

.offer-price {
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--warning-color);
    color: #000;
    border-radius: 2rem;
    font-weight: 600;
}

/* Forms
-------------------------------------------------------------- */
.form-label {
    font-weight: 500;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Testimonials
-------------------------------------------------------------- */
.testimonial {
    position: relative;
    padding: 1rem;
    border-radius: 0.375rem;
}

/* Footer
-------------------------------------------------------------- */
.footer {
    background-color: var(--dark-color);
}

.footer h5 {
    color: var(--white-color);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links a, .footer-contact a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    font-size: 0.9rem;
}

/* Back to Top Button
-------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top i {
    font-size: 1.5rem;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: var(--white-color);
}

/* Media Queries
-------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 6rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 5rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 3rem 0;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .top-bar {
        text-align: center;
    }
    
    .top-bar .text-md-end {
        text-align: center !important;
        margin-top: 0.5rem;
    }
} 