/* My.CollectionLibrary Landing Page Styles */
/* Color Palette derived from logo:
   Primary (Forest Green): #2F5233
   Secondary (Gold): #D4AF37
   Light Green: #4A7C59
   Accent Blue: #5DADE2
   Light Background: #F8F9FA
*/

:root {
    --brand-primary: #2F5233;
    --brand-secondary: #D4AF37;
    --brand-light-green: #4A7C59;
    --brand-accent-blue: #5DADE2;
    --brand-light-bg: #F8F9FA;
    --brand-dark: #1a2e1f;
}

/* Navbar Branding */
.bg-brand {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-light-green) 100%) !important;
}

.navbar-logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.brand-name {
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-light-green) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

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

.hero-section .lead {
    font-size: 1.25rem;
    line-height: 1.6;
}

.hero-section img {
    animation: float 6s ease-in-out infinite;
}

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

/* Feature Cards */
.features-section {
    background-color: #fff;
}

.feature-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(47, 82, 51, 0.15);
    border-color: var(--brand-primary);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--brand-primary);
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--brand-light-bg);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-light-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    color: white;
    font-size: 1.5rem;
}

.benefit-item h5 {
    color: var(--brand-primary);
    font-weight: 600;
}

/* Stats Card */
.stats-card {
    border: 3px solid var(--brand-primary);
    border-radius: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* Use Cases */
.use-case-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: var(--brand-secondary);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.use-case-icon {
    font-size: 3rem;
    color: var(--brand-secondary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

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

/* Button Overrides */
.btn-light {
    background-color: white;
    border-color: white;
    color: var(--brand-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: var(--brand-secondary);
    border-color: var(--brand-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

/* Footer */
.footer-section {
    background-color: #1a1a1a;
}

.footer-section a:hover {
    color: var(--brand-secondary) !important;
    text-decoration: underline !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .navbar-logo {
        height: 35px;
        width: 35px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .use-case-icon {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Anchor offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Add ID anchors for smooth scrolling */
.features-section {
    scroll-margin-top: 80px;
}

.benefits-section {
    scroll-margin-top: 80px;
}
