/* Aron Medical Center - Brand Style Overrides */
/* Official Brand Colors: Primary #47C2C5 (Teal/Cyan) | Secondary #15608B (Navy Blue) */

/* Restore rounded corners for modern medical aesthetic */
.card, .service-card, .doctor-card {
    border-radius: 20px !important;
}

.gallery-item {
    border-radius: 15px !important;
}

.form-control, .btn {
    border-radius: 10px !important;
}

.btn {
    border-radius: 50px !important;
}

/* Hero section gradient update */
.hero-section {
    /* background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important; */
}

.hero-section::before {
    /* background: linear-gradient(135deg, rgba(71, 194, 197, 0.08) 0%, transparent 100%) !important; */
}

/* Update primary colors throughout */
.text-primary, .service-card:hover .text-primary {
    color: var(--primary-color) !important;
}

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

/* Service icons - gradient style */
.service-icon {
    background: var(--gradient-primary) !important;
    color: white !important;
    border-radius: 50% !important;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg) !important;
}

/* Cards with brand colors */
.card {
    border: 1px solid rgba(71, 194, 197, 0.15) !important;
    box-shadow: 0 5px 20px rgba(71, 194, 197, 0.08) !important;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(71, 194, 197, 0.15) !important;
    border-color: var(--primary-color) !important;
}

/* Typography refinements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    letter-spacing: 0.5px;
}

.hero-title {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Hero content text styling */
.hero-content,
.hero-content p,
.hero-subtitle {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* Buttons - modern rounded style */
.btn {
    border-radius: 50px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    padding: 14px 40px !important;
}

.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
}

.btn-primary:hover {
    background: var(--secondary-color) !important;
    box-shadow: 0 10px 30px rgba(71, 194, 197, 0.3) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    border-width: 2px !important;
}

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

/* Form elements */
.form-control, .form-select {
    border-radius: 10px !important;
    border: 2px solid rgba(71, 194, 197, 0.2) !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(71, 194, 197, 0.1) !important;
}

/* Gallery overlay - brand gradient */
.gallery-overlay {
    background: linear-gradient(135deg, rgba(71, 194, 197, 0.9) 0%, rgba(21, 96, 139, 0.9) 100%) !important;
}

/* Section backgrounds */
#about, #appointment {
    background: var(--accent-color) !important;
}

/* Doctor profile card */
.doctor-card {
    border: 1px solid rgba(71, 194, 197, 0.1) !important;
    border-radius: 20px !important;
}

.doctor-image {
    border-color: var(--primary-color) !important;
    border-width: 4px !important;
}

/* Mission/Vision cards icon backgrounds */
.card-body .me-3[style*="background"] {
    background: var(--gradient-primary) !important;
    border-radius: 15px !important;
}

/* Alert boxes */
.alert {
    border-radius: 15px !important;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(71, 194, 197, 0.1) !important;
    color: var(--text-color) !important;
    border-left-color: var(--primary-color) !important;
}

.alert-danger {
    background: rgba(21, 96, 139, 0.1) !important;
    color: var(--text-color) !important;
    border-left-color: var(--secondary-color) !important;
}

/* Modal styling */
.modal-content {
    border-radius: 20px !important;
    border: 1px solid rgba(71, 194, 197, 0.1) !important;
}

.modal-header {
    border-bottom: 1px solid rgba(71, 194, 197, 0.1) !important;
}

/* Section title underline */
.section-title::after {
    background: var(--gradient-primary) !important;
    border-radius: 2px !important;
}

/* Social links */
.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Contact info boxes */
.contact-info .d-flex {
    border: 1px solid rgba(71, 194, 197, 0.15) !important;
    border-radius: 15px !important;
    background: white !important;
}

/* Appointment section boxes */
#appointment .d-flex {
    border: 1px solid rgba(71, 194, 197, 0.15) !important;
    border-radius: 15px !important;
}

/* Placeholder images styling */
.placeholder-image {
    border-radius: 15px !important;
    background: linear-gradient(135deg, rgba(71, 194, 197, 0.05) 0%, #f8f9fa 100%) !important;
}

/* Hero image container */
.hero-image > div {
    border-radius: 30px !important;
    background: var(--gradient-primary) !important;
}

/* Navbar refinements */
.navbar {
    border-bottom: 1px solid rgba(71, 194, 197, 0.1);
}

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

.navbar-brand:hover {
    color: var(--secondary-color) !important;
}

/* Service cards specific */
.service-card {
    border: 1px solid rgba(71, 194, 197, 0.15) !important;
    box-shadow: 0 5px 20px rgba(71, 194, 197, 0.1) !important;
}

.service-card:hover {
    box-shadow: 0 15px 40px rgba(71, 194, 197, 0.2) !important;
    border-color: var(--primary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn {
        padding: 12px 30px !important;
        font-size: 0.9rem !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .navbar-brand img {
        height: 50px !important;
    }
}

/* Print optimizations */
@media print {
    .navbar, .footer, #appointment, #contact {
        display: none !important;
    }
    
    .service-card, .card {
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
}

/* Hero section gradient update */
.hero-section {
    /* background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%) !important; */
}

/* Update primary colors throughout */
.text-primary, .service-card:hover .text-primary {
    color: var(--primary-color) !important;
}

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

/* Service icons - minimalist style */
.service-icon {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    border-radius: 0 !important;
}

.service-card:hover .service-icon {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color);
}

/* Cards with subtle borders */
.card {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--secondary-color) !important;
}

/* Typography refinements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    letter-spacing: 1px;
}

.hero-title {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Buttons - clean and bold */
.btn {
    border-radius: 0 !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    padding: 16px 45px !important;
}

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

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

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

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

/* Form elements */
.form-control, .form-select {
    border-radius: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.05) !important;
}

/* Gallery overlay - elegant black */
.gallery-overlay {
    background: rgba(26, 26, 26, 0.9) !important;
}

/* Section backgrounds */
#about, #appointment {
    background: var(--accent-color) !important;
}

/* Doctor profile card */
.doctor-card {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 !important;
}

.doctor-image {
    border-color: var(--secondary-color) !important;
    border-width: 3px !important;
}

/* Mission/Vision cards */
.card-body .me-3 {
    border-radius: 0 !important;
}

/* Alert boxes */
.alert {
    border-radius: 0 !important;
    border-left: 4px solid;
}

.alert-success {
    background: #f8f9fa !important;
    color: var(--text-color) !important;
    border-left-color: var(--secondary-color) !important;
}

.alert-danger {
    background: #f8f9fa !important;
    color: var(--text-color) !important;
    border-left-color: var(--primary-color) !important;
}

/* Modal styling */
.modal-content {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Section title underline */
.section-title::after {
    background: var(--secondary-color) !important;
    border-radius: 0 !important;
}

/* Social links */
.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Contact info boxes */
.contact-info .d-flex {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 !important;
    background: white !important;
}

/* Appointment section boxes */
#appointment .d-flex {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 !important;
}

/* Placeholder images styling */
.placeholder-image {
    border-radius: 0 !important;
    background: linear-gradient(135deg, #f8f8f8 0%, #e9ecef 100%) !important;
}

/* Hero image container */
.hero-image > div {
    border-radius: 0 !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%) !important;
}

/* Icon backgrounds in cards */
.card-body .me-3[style*="background"] {
    border-radius: 0 !important;
}

/* Navbar refinements */
.navbar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand span {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn {
        padding: 14px 35px !important;
        font-size: 0.9rem !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
}

/* Print optimizations */
@media print {
    .navbar, .footer, #appointment, #contact {
        display: none !important;
    }
    
    .service-card, .card {
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
}
