/* Marble Care Instructions Styles */

/* Container */
.marble-care-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.marble-care-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.marble-care-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="marble" patternUnits="userSpaceOnUse" width="100" height="100"><path d="M0,0 Q25,25 50,0 T100,0 L100,100 Q75,75 50,100 T0,100 Z" fill="%23ffffff" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23marble)"/></svg>') center/cover;
    opacity: 0.4;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.hero-icon:hover {
    transform: scale(1.1) rotate(10deg);
}

.hero-icon i {
    font-size: 36px;
    color: #667eea;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.care-content {
    margin: 40px 0;
}

/* Section Styles */
.care-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
    border: 1px solid #e3f2fd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.care-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.section-header i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 10px;
    color: #1a237e;
}

.section-header p {
    font-size: 1.1rem;
    color: #5c6bc0;
    margin: 0;
}

/* Care Grid */
.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.care-card {
    background: linear-gradient(135deg, #f3f8ff 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e3f2fd;
}

.care-card:hover {
    background: white;
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.care-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon i {
    font-size: 24px;
    color: white;
}

.care-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 15px;
    color: #495057;
}

.care-card p {
    color: #6c757d;
    margin: 0 0 15px;
    line-height: 1.6;
}

.care-tip {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 10px 15px;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: #1976d2;
}

/* Cleaning Steps */
.cleaning-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 10px;
    color: #495057;
}

.step-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Stain Types */
.stain-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.stain-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border-left: 5px solid #6c757d;
    transition: all 0.3s ease;
}

.stain-card:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left-color: #495057;
}

.stain-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 15px;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stain-card h4 i {
    color: #6c757d;
}

.stain-card p {
    margin: 0 0 10px;
    color: #6c757d;
    line-height: 1.5;
}

.stain-card p strong {
    color: #495057;
}

/* Prevention Grid */
.prevention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.prevention-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.prevention-item:hover {
    background: white;
    border-color: #6c757d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.15);
}

.prevention-item i {
    font-size: 2.5rem;
    color: #6c757d;
    margin-bottom: 15px;
    display: block;
}

.prevention-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 15px;
    color: #495057;
}

.prevention-item p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Professional Services */
.professional-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-item:hover {
    background: white;
    border-color: #6c757d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.15);
}

.service-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 15px;
    color: #495057;
}

.service-item p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Contact Section */
.care-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    border-radius: 16px;
    padding: 50px 40px;
    margin-top: 50px;
}

.contact-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 15px;
}

.contact-content p {
    font-size: 1.1rem;
    margin: 0 0 30px;
    opacity: 0.9;
}

.contact-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-btn.primary {
    background: white;
    color: #667eea;
}

.contact-btn.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.contact-btn.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.contact-btn.secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .marble-care-container {
        padding: 0 15px;
    }
    
    .marble-care-hero {
        padding: 40px 20px;
        margin: 20px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .care-section {
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .care-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cleaning-steps {
        gap: 20px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .stain-types {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .prevention-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .professional-services {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .care-section {
        padding: 20px 15px;
    }
    
    .care-card {
        padding: 20px;
    }
    
    .step-item {
        padding: 20px;
    }
    
    .stain-card {
        padding: 20px;
    }
    
    .prevention-item {
        padding: 20px;
    }
    
    .service-item {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .marble-care-hero {
        background: none !important;
        box-shadow: none !important;
    }
    
    .care-section {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
    
    .contact-actions {
        display: none;
    }
}

/* Accessibility */
.care-section:focus-within {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.care-card:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.contact-btn:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

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

.care-section {
    animation: fadeInUp 0.6s ease-out;
}

.care-section:nth-child(2) { animation-delay: 0.1s; }
.care-section:nth-child(3) { animation-delay: 0.2s; }
.care-section:nth-child(4) { animation-delay: 0.3s; }
.care-section:nth-child(5) { animation-delay: 0.4s; }
.care-section:nth-child(6) { animation-delay: 0.5s; }