/* Custom styles for High Altitude Bookkeeping and Accounting */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #2D2D2D;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Custom color palette */
:root {
    --charcoal-900: #1A1A1A;
    --charcoal-800: #2D2D2D;
    --charcoal-700: #404040;
    --charcoal-600: #535353;
    --coral-50: #FFF5F0;
    --coral-100: #FFE8E0;
    --coral-200: #FFD4C4;
    --coral-300: #FFB89C;
    --coral-400: #FF966A;
    --coral-500: #FF7040;
    --coral-600: #F05A28;
    --coral-700: #D94419;
}

/* Navigation styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--coral-50) 0%, #ffffff 50%, var(--coral-50) 100%);
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--charcoal-900);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--coral-500);
}

.hero p {
    font-size: 1.25rem;
    color: var(--charcoal-600);
    margin-bottom: 2rem;
}

/* Button styles */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--coral-500);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--coral-600);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 112, 64, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ffffff;
    color: var(--coral-500);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--coral-500);
}

.btn-secondary:hover {
    background-color: var(--coral-50);
    transform: translateY(-2px);
}

/* Section styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--charcoal-900);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--charcoal-600);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Service cards */
.service-card {
    background: linear-gradient(135deg, var(--coral-50) 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--coral-100);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--coral-500);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--charcoal-900);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--charcoal-600);
    line-height: 1.7;
}

/* About section */
.about-section {
    background: linear-gradient(135deg, var(--charcoal-900) 0%, var(--charcoal-800) 100%);
}

.about-content h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.about-stat {
    text-align: center;
}

.about-stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coral-500);
    font-family: 'Montserrat', sans-serif;
}

.about-stat .label {
    color: #9ca3af;
}

/* Testimonials */
.testimonial-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card .stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-card .stars svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--coral-500);
}

.testimonial-card p {
    color: var(--charcoal-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    background-color: var(--coral-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--coral-600);
}

.testimonial-info .name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--charcoal-900);
}

.testimonial-info .role {
    font-size: 0.875rem;
    color: var(--charcoal-500);
}

/* Contact section */
.contact-section {
    background-color: #ffffff;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--charcoal-900);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--coral-100);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--coral-500);
}

.contact-item .label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--charcoal-900);
    margin-bottom: 0.25rem;
}

.contact-item .value {
    color: var(--charcoal-600);
}

.contact-item a {
    color: var(--coral-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--coral-600);
}

/* Contact form */
.contact-form-container {
    background: linear-gradient(135deg, var(--coral-50) 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--coral-100);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    color: var(--charcoal-900);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--charcoal-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: var(--charcoal-800);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral-500);
    box-shadow: 0 0 0 3px rgba(255, 112, 64, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    resize: none;
}

/* Success message */
.success-message {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #d1fae5;
    border: 1px solid #6ee7b7;
    border-radius: 0.75rem;
}

.success-message.show {
    display: block;
}

.success-message .success-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.success-message .success-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #059669;
}

.success-message .success-text {
    color: #065f46;
    font-weight: 600;
}

.success-message .success-subtext {
    color: #047857;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--charcoal-900);
    color: #ffffff;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--coral-500);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .logo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #ffffff;
}

.footer-logo .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.7;
}

.footer-links h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--coral-500);
}

.footer-contact h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact ul li {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-contact ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact ul li a:hover {
    color: var(--coral-500);
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 20rem;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 60;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu.closed {
    transform: translateX(100%);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--charcoal-900);
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal-700);
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--coral-500);
}

.mobile-menu-content {
    padding: 1.5rem;
}

.mobile-menu-content ul {
    list-style: none;
}

.mobile-menu-content ul li {
    margin-bottom: 1rem;
}

.mobile-menu-content ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--charcoal-700);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu-content ul li a:hover {
    color: var(--coral-500);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 60px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* Utility classes */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.transition-all {
    transition: all 0.3s ease;
}

.transform {
    transform: translateY(-2px);
}

.hover\:transform:hover {
    transform: translateY(-5px);
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--coral-500);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .mobile-menu,
    .btn-primary,
    .btn-secondary {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}
