/* 
 * Main Stylesheet for Amore Home Health Services Website
 */

/* Global Styles */
:root {
    --primary-color: #d6336c; /* Darker pink as primary color */
    --secondary-color: #e64980; /* Medium pink as secondary color */
    --light-color: #ffffff; /* White */
    --dark-color: #333333; /* Dark gray for contrast */
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --white-color: #ffffff;
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
    --footer-bg: #333333; /* Dark gray for footer background */
    --footer-text: #ffffff; /* White text for footer */
    --accent-color: #f783ac; /* Light accent pink */
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

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

.bg-primary * {
    color: var(--white-color) !important;
}

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

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color) !important;
}

.btn-primary, 
.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    color: var(--white-color) !important;
}

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

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

.btn-outline-primary:hover, 
.btn-outline-primary:focus:hover, 
.btn-outline-primary:active:hover {
    color: var(--white-color) !important;
}

/* Header Styles */
.top-bar {
    font-size: 0.9rem;
    background-color: var(--primary-color) !important;
}

.top-bar a {
    color: var(--white-color) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar {
    padding: 1rem 0;
    background-color: var(--white-color) !important;
}

.navbar-nav .nav-item {
    margin: 0 1px;
}

.navbar-nav .nav-link {
    padding: 0.5rem 0.5rem;
    font-weight: 700;
    color: var(--dark-color) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Navbar logo specific styles */
.navbar-brand img {
    max-height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Navigation button specific styles */
.navbar .nav-item .btn-primary {
    color: var(--white-color) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar .nav-item .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.navbar .nav-item .btn-primary i {
    font-size: 0.9em;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.hero h1 {
    font-weight: 800;
    color: var(--primary-color);
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    margin-bottom: 2rem;
}

.carousel-item {
    height: 500px;
    background-color: #000;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0;
}

.carousel-caption h1 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2.5rem;
}

.carousel-caption p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--primary-color) !important;
}

/* Responsive adjustments for hero slider */
@media (max-width: 768px) {
    .carousel-item {
        height: 450px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .carousel-caption .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Card Styles */
.card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--white-color);
}

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

.card-title {
    font-weight: 700;
    color: var(--primary-color);
}

.icon-wrapper {
    margin-bottom: 1.5rem;
}

.icon-wrapper i {
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--white-color);
}

.services .card {
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.services .card-title {
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.services .card-text {
    color: #666;
    margin-bottom: 1rem;
}

.services .btn-link {
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.services .btn-link:hover {
    color: var(--secondary-color) !important;
    padding-left: 5px;
}

.services .fa-check-circle {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.services .object-fit-cover {
    object-fit: cover;
}

/* Responsive fix for services section images */
@media (max-width: 767.98px) {
  .services .object-fit-cover,
  .services .card .object-fit-cover {
    height: 180px !important;
    width: 100% !important;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0 !important;
  }
  .services .card .row.g-0 {
    flex-direction: column !important;
  }
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5rem 0;
}

.testimonials .card-title,
.testimonials .card-text,
.testimonials h2,
.testimonials p {
    color: var(--white-color) !important;
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 5rem 0 3rem;
}

footer h3, footer h5 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--white-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

footer a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* Process Steps */
.process-step {
    position: relative;
}

.process-icon {
    margin-bottom: 1.5rem;
}

.process-step-number {
    width: 40px;
    height: 40px;
    font-weight: bold;
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
    background-color: rgba(255, 105, 180, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 105, 180, 0.25);
}

/* Blog Styles */
.object-cover {
    object-fit: cover;
}

/* Contact Form */
.map-container {
    height: 450px;
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        padding: 3rem 0;
    }
    
    .services, .testimonials {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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