/* Nicole di Bella - Info Pages Styles */

/* Info Hero Section - Same format as About Hero */
.info-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.info-hero .hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    display: block;
}

/* Fallback gradient if image doesn't load */
.info-hero .hero-image-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-background);
    z-index: -1;
}

.info-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 182, 213, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: var(--font-size-5xl);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
    color: white;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: var(--font-size-xl);
    color: white;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Info Main */
.info-main {
    padding: 0;
}

/* Guide Section */
.guide-section {
    margin-bottom: 80px;
}

.guide-section:first-child {
    padding-top: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-600);
}

/* Age Guide */
.age-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.age-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.age-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.age-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.age-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.age-features {
    text-align: left;
}

.age-features h4 {
    color: var(--primary-purple);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.age-features ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.age-features li {
    margin-bottom: 8px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Hair Guide */
.hair-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.hair-card {
    background: var(--gray-50);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.hair-card:hover {
    border-color: var(--primary-purple);
    background: white;
    box-shadow: var(--shadow-md);
}

.hair-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hair-card h3 i {
    font-size: 1.5rem;
}

.hair-tips ul {
    padding-left: 20px;
}

.hair-tips li {
    margin-bottom: 10px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Occasion Guide */
.occasion-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.occasion-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-base);
}

.occasion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.occasion-header {
    background: var(--gradient-primary);
    color: white;
    padding: 25px;
    text-align: center;
}

.occasion-header i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.occasion-header h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin: 0;
}

.occasion-content {
    padding: 25px;
}

.occasion-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-style: italic;
}

.occasion-content ul {
    padding-left: 20px;
}

.occasion-content li {
    margin-bottom: 8px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tip-card {
    background: var(--gray-50);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all var(--transition-base);
}

.tip-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.tip-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.tip-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.tip-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Size Chart */
.size-chart {
    overflow-x: auto;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.size-chart table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.size-chart th,
.size-chart td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.size-chart th {
    background: var(--gradient-primary);
    color: white;
    font-family: var(--font-primary);
    font-weight: 600;
}

.size-chart tr:nth-child(even) {
    background: var(--gray-50);
}

.size-chart tr:hover {
    background: var(--gray-100);
}

/* Help Section */
.help-section {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 0;
    border-radius: 20px;
    text-align: center;
    margin-top: 80px;
}

.help-content h2 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.help-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.help-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.help-buttons .btn {
    min-width: 200px;
}

/* Care Instructions */
.care-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.care-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-purple);
}

.care-card h3 {
    font-family: var(--font-primary);
    color: var(--primary-purple);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.care-card h3 i {
    font-size: 1.5rem;
}

.care-steps {
    counter-reset: step-counter;
}

.care-step {
    counter-increment: step-counter;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.care-step::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-purple);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.care-step p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    border-left: 4px solid #f39c12;
}

.warning-box h4 {
    color: #856404;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-box h4 i {
    font-size: 1.2rem;
}

.warning-box p {
    color: #856404;
    margin: 0;
    line-height: 1.6;
}

/* Tablet-specific responsive adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .info-hero {
        padding: 20px 0 60px; /* Minimal top padding for tablets */
        margin-top: 0;
    }
}

/* Mobile responsive design */
@media (max-width: 767px) {
    .info-hero {
        min-height: 200px !important; /* Height of 200px for mobile */
        padding: 60px 0px 40px !important; /* Match about.html: 60px top, 0px sides, 40px bottom */
        margin: -60px 0px 0px !important; /* Match about.html: -60px top to move up */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-overlay {
        background: rgba(255, 182, 213, 0.4);
    }
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .age-guide,
    .hair-guide,
    .occasion-guide,
    .tips-grid,
    .care-instructions {
        grid-template-columns: 1fr;
    }
    
    .age-card,
    .hair-card,
    .occasion-card,
    .tip-card,
    .care-card {
        padding: 20px;
    }
    
    .help-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .help-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .info-hero {
        padding: 80px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .info-main {
        padding: 0;
    }
    
    .guide-section {
        margin-bottom: 60px;
    }
    
    .guide-section:first-child {
        padding-top: 60px;
    }
    
    .age-icon,
    .tip-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .help-section {
        padding: 40px 0;
        margin-top: 60px;
    }
    
    .help-content h2 {
        font-size: 1.8rem;
    }
}