/* Custom styling for homepage */
.home-page .main-content {
    padding: 0;
    max-width: 100%;
    margin-left: 60px;
    width: calc(100% - 60px);
}

/* Hero Section */
.hero-section {
    background-color: #1a365d;
    background-image: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Responsive text width for better desktop display */
@media (min-width: 1200px) {
    .hero-section p {
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    .hero-section p {
        max-width: 90%;
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-button.primary {
    background-color: #2b6cb0;
    color: white;
    border: 2px solid #2b6cb0;
}

.cta-button.primary:hover {
    background-color: #2d4e6f;
    border-color: #2d4e6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #ebf8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    color: #2b6cb0;
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Views Section - Updated for Smaller Centered Buttons */
.views-section {
    background-color: #f7fafc;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.views-section h2 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.views-section > p {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #4a5568;
}

/* Updated Button Container - 60% width */
.views-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 480px; /* 60% of original 800px */
    margin: 0 auto;
}

/* Updated Button Design - 50% height, centered text, 10% hover */
.view-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 8px;
    padding: 1rem 2rem; /* 50% of original 2rem padding */
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 60px; /* 50% of original ~120px height */
}

.view-button:hover {
    transform: scale(1.10); /* Reduced from 1.15 to 1.10 (10% instead of 15%) */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #2b6cb0;
    background-color: #fefefe;
}

.view-button h3 {
    color: #2b6cb0;
    margin: 0; /* Removed bottom margin for centered layout */
    font-size: 1.2rem; /* Slightly smaller font for compact design */
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-button:hover h3 {
    color: #1a365d;
}

/* Coming Soon Section */
.coming-soon-section {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.coming-soon-section h2 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.coming-soon-section > p {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #4a5568;
}

.coming-soon-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.coming-soon-tool {
    background-color: #ebf8ff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2b6cb0;
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.coming-soon-tool h3 {
    margin-bottom: 1rem;
    color: #2d3748;
    font-size: 1.3rem;
}

.coming-soon-tool p {
    color: #4a5568;
    line-height: 1.6;
}

/* Northern Roots Section */
.northern-roots {
    display: flex;
    align-items: center;
    background-color: #2d3748;
    color: white;
    padding: 0;
    margin-bottom: 4rem;
}

.roots-content {
    flex: 1;
    padding: 3rem;
}

.roots-image {
    flex: 1;
    height: 400px;
}

.roots-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.northern-roots h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.northern-roots p {
    margin-bottom: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.roots-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.roots-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Email Capture Section */
.email-capture {
    background-color: #ebf8ff;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.email-capture h2 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.email-capture p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #4a5568;
}

.signup-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.signup-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.signup-form button {
    padding: 0.75rem 1.5rem;
    background-color: #2b6cb0;
    color: white;
    border: 1px solid #2b6cb0;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.signup-form button:hover {
    background-color: #2c5282;
}

.form-note {
    font-size: 0.875rem;
    color: #718096;
}

/* Global Footer Styling */
.global-footer {
    background-color: #2d3748;
    color: #cbd5e0;
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    margin-bottom: 1rem;
}

.footer-text p {
    margin: 0 0 0.75rem 0;
    font-size: 0.875rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
}

.footer-emojis {
    margin-top: 1rem;
    text-align: center;
}

.footer-emojis span {
    font-size: 1.2rem;
    letter-spacing: 0.25rem;
}

/* Coffee Button Styles (if needed) */
.coffee-button-container {
    margin-top: 1.5rem;
}

.coffee-button {
    display: inline-flex;
    align-items: center;
    background-color: #FFDD00;
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.coffee-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.coffee-button img {
    height: 24px;
    margin-right: 0.75rem;
}

/* Placeholder styling */
img[src="/assets/images/placeholder.jpg"] {
    background-color: #f7fafc;
    background-image: linear-gradient(135deg, #f0f4f7 25%, #e2e8f0 25%, #e2e8f0 50%, #f0f4f7 50%, #f0f4f7 75%, #e2e8f0 75%, #e2e8f0 100%);
    background-size: 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .features-grid,
    .coming-soon-tools {
        grid-template-columns: 1fr;
    }
    
    /* Mobile-optimized button design */
    .views-buttons {
        gap: 0.75rem;
        padding: 0 1rem;
        max-width: 90%;
    }
    
    .view-button {
        padding: 0.75rem 1rem;
        min-height: 50px;
    }
    
    .view-button:hover {
        transform: scale(1.05); /* Reduced hover for mobile */
    }
    
    .view-button h3 {
        font-size: 1rem;
    }
    
    /* Mobile footer adjustments */
    .footer-links {
        gap: 1rem;
        flex-direction: column;
    }
    
    .footer-text p {
        font-size: 0.8rem;
    }
    
    .footer-emojis span {
        font-size: 1rem;
        letter-spacing: 0.15rem;
    }
    
    .northern-roots {
        flex-direction: column;
    }
    
    .roots-content,
    .roots-image {
        flex: auto;
        width: 100%;
    }
    
    .roots-image {
        height: 250px;
        order: -1;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    .signup-form input {
        border-right: 1px solid #e2e8f0;
        border-radius: 4px;
        margin-bottom: 0.75rem;
    }
    
    .signup-form button {
        border-radius: 4px;
    }
}