/* =================================================================
   AdoPhoto Group - Product Pages Stylesheet
   Professional, Clean, Mobile-First Design
   ================================================================= */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.logo a:hover {
    color: #3498db;
}

/* Breadcrumbs */
.breadcrumb {
    margin-top: 10px;
    font-size: 14px;
    color: #7f8c8d;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #bdc3c7;
}

.breadcrumb .current {
    color: #2c3e50;
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.main-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Product Article */
.product-article {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Product Metadata */
.product-metadata {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ecf0f1;
}

.metadata-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.metadata-item .label {
    font-size: 12px;
    text-transform: uppercase;
    color: #7f8c8d;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.metadata-item .value {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

/* Product Description */
.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.product-description p {
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
}

.cta-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: #ffffff;
    color: #667eea;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #f8f9fa;
}

.cta-note {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    margin-top: 15px;
}

/* Additional Info Sidebar */
.additional-info {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.additional-info h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.additional-info ul {
    list-style: none;
}

.additional-info li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    font-size: 15px;
}

.additional-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 18px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0;
    margin-top: 60px;
}

.footer p {
    margin-bottom: 15px;
}

.footer-nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #5dade2;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    .main-content .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-article {
        padding: 25px;
    }
    
    .product-title {
        font-size: 26px;
    }
    
    .additional-info {
        position: static;
    }
}

@media (max-width: 640px) {
    .product-metadata {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .product-article {
        padding: 20px;
    }
    
    .cta-section {
        padding: 20px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
}

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

.product-article {
    animation: fadeIn 0.5s ease-in-out;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta-section,
    .additional-info {
        display: none;
    }
    
    .product-article {
        box-shadow: none;
        padding: 0;
    }
}
