/* Custom CSS for Suarez Professional Services */

/* Root Variables */
:root {
    --primary-color: #0066cc;
    --secondary-color: #28a745;
    --accent-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --navbar-height: 76px;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
}

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-weight: 700;
}

.fw-bold {
    font-weight: 700 !important;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1030;
}

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

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
}

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

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Page Headers */
.page-header {
    padding: calc(var(--navbar-height) + 2rem) 0 2rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    min-height: 100vh;
    padding-top: var(--navbar-height);
    display: flex;
    align-items: center;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-image i {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

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

.service-feature {
    transition: transform 0.3s ease;
}

.service-feature:hover {
    transform: translateY(-3px);
}

.service-feature ul li {
    display: flex;
    align-items: flex-start;
}

.service-feature ul li i {
    flex-shrink: 0;
    margin-right: 0.5rem;
    margin-top: 0.15rem;
}

/* Zoho Books Items Spacing */
@media (max-width: 576px) {
    .bg-light .row.g-3 .col-sm-6 {
        margin-bottom: 0 !important;
    }
    
    .bg-light .row.g-3 .col-sm-6 .d-flex.mb-3 {
        margin-bottom: 1.5rem !important;
    }
    
    .bg-light .row.g-3 .col-sm-6:first-child .d-flex:last-child {
        margin-bottom: 1.5rem !important;
    }
    
    .bg-light .row.g-3 .col-sm-6:last-child .d-flex:last-child {
        margin-bottom: 0 !important;
    }
}

/* Package Cards */
.package-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.package-card.bg-success {
    position: relative;
}

.package-card.bg-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary-color), #20c997);
    z-index: -1;
}

/* Feature Items */
.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

/* Contact Form */
#contactForm {
    background: transparent;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-select {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Contact Information Cards */
.contact-info .bg-white {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info .bg-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item i {
    min-width: 2rem;
}

/* Service Area Cards */
.service-area-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-area-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Button Styles */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
}

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

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-1px);
}

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

.btn-info:hover {
    background-color: #138496;
    border-color: #138496;
    transform: translateY(-1px);
}

.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-info:hover,
.btn-outline-light:hover {
    transform: translateY(-1px);
}

/* Utility Classes */
.shadow-soft {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: calc(var(--navbar-height) + 1rem);
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: calc(var(--navbar-height) + 1rem) 0 1rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .service-feature .d-flex i {
        margin-right: 1rem !important;
        font-size: 1.5rem !important;
        flex-shrink: 0;
    }
    
    .service-feature h3 {
        font-size: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .display-1, .display-2, .display-3, .display-4 {
        font-size: 1.5rem !important;
    }
    
    .service-feature .d-flex {
        align-items: flex-start !important;
    }
    
    .service-feature .d-flex i {
        margin-right: 0.75rem !important;
        margin-top: 0.25rem;
        font-size: 1.5rem !important;
        flex-shrink: 0;
        width: 1.5rem;
    }
    
    .service-feature h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: left;
    }
}

/* Print Styles */
@media print {
    .navbar, .btn, .alert {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .bg-primary, .bg-success, .bg-info, .bg-dark {
        background: white !important;
        color: black !important;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}
