/* ===================================
   IMPETUS SPORTS CAPITAL - HOME PAGE
   Clean & Professional Design
   =================================== */

/* Complete reset for home page */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.home-main {
    flex: 1;
}

.footer {
    margin-top: auto;
    margin-bottom: 0 !important;
    flex-shrink: 0;
}

/* Home Page Specific Styles */
.home-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    background: #ffffff;
}

.home-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Logo Section */
.logo-section {
    margin-bottom: 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.logo-lines {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.line {
    width: 4px;
    height: 25px;
    background: var(--primary-red);
    border-radius: 2px;
}

.logo-text {
    text-align: left;
}

.logo-primary {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: 0.1em;
    line-height: 0.9;
    margin-bottom: 0.2rem;
}

.logo-secondary {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: 0.1em;
    line-height: 0.9;
}

/* Home Page Logo Styling */
.home-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.home-logo-img {
    max-width: 400px;           /* Large size for home page prominence */
    width: 100%;                /* Responsive width */
    height: auto;               /* Maintain aspect ratio */
    object-fit: contain;        /* Preserve aspect ratio */
    border-radius: 8px;         /* Subtle rounding */
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15); /* Subtle red shadow */
}

/* Company Information */
.company-info {
    margin-bottom: 4rem;
}

.company-type {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.company-name {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.company-tagline {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.company-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* Focus Areas */
.focus-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.focus-item {
    background: var(--light-red);
    border: 1px solid var(--medium-red);
    border-radius: 0.75rem;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.focus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
    background: var(--white);
    border-color: var(--primary-red);
}

.focus-item i {
    font-size: 1.3rem;
    color: var(--primary-red);
    min-width: 20px;
}

.focus-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Navigation Cards */
.navigation-section {
    margin-top: 4rem;
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.nav-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 0.5rem;
    padding: 1.25rem 1rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.nav-card:hover::before {
    transform: scaleY(1);
}

.nav-card:hover .card-arrow {
    transform: translateX(5px);
}

.card-icon {
    background: var(--light-red);
    border-radius: 0.4rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 1.2rem;
    color: var(--primary-red);
}

.card-content {
    flex: 1;
    text-align: center;
}

.card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.card-content p {
    font-size: 0.8rem;
    color: var(--text-medium);
    line-height: 1.3;
    margin: 0;
}

.card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    margin-top: auto;
}

.card-arrow i {
    font-size: 1rem;
    color: var(--primary-red);
}

/* Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-cards {
        gap: 0.75rem;
        max-width: 750px;
    }
    
    .nav-card {
        padding: 1rem 0.75rem;
    }
    
    .card-content h3 {
        font-size: 0.9rem;
    }
    
    .card-content p {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .home-main {
        padding: 1rem 0;
    }
    
    .home-container {
        padding: 0 1rem;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-text {
        text-align: center;
    }
    
    .logo-primary,
    .logo-secondary {
        font-size: 1.4rem; /* Reduced from 2rem for mobile readability */
    }
    
    .home-logo-img {
        max-width: 250px; /* Smaller on mobile */
    }
    
    .company-name {
        font-size: 1.3rem; /* Reduced from 2rem for mobile */
        line-height: 1.3;
    }
    
    .company-tagline {
        font-size: 0.95rem; /* Reduced from 1.2rem */
        line-height: 1.4;
    }
    
    .company-description {
        font-size: 0.85rem; /* Reduced from 1rem */
        line-height: 1.5;
    }
    
    .focus-areas {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .focus-item {
        padding: 1rem;
        justify-content: center;
    }
    
    .nav-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }
    
    .nav-card {
        padding: 1.2rem; /* Reduced padding for mobile */
        gap: 0.8rem;
    }
    
    .card-content {
        text-align: center;
    }
    
    /* Mobile font optimizations for nav cards */
    .nav-card h3 {
        font-size: 0.95rem !important;
        line-height: 1.3;
    }
    
    .nav-card p {
        font-size: 0.8rem !important;
        line-height: 1.4;
    }
    
    /* Focus areas mobile text */
    .focus-item h4 {
        font-size: 0.9rem;
    }
    
    .focus-item p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    animation: fadeInUp 0.8s ease-out;
}

.company-info {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.navigation-section {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Additional styling for better visual hierarchy */
.company-type::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--primary-red);
    margin: 1rem auto 0;
}

/* Subtle background pattern */


.home-container {
    position: relative;
    z-index: 1;
}