/* Gram Altın Sayfası Stilleri */

.gram-altin-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.gram-altin-page h1 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 30px;
    text-align: center;
}

.price-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.current-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0;
    color: #ffffff !important;
}

.price-change {
    font-size: 1.5rem;
    font-weight: 600;
}

.price-change.positive {
    color: #10b981;
}

.price-change.negative {
    color: #ef4444;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.price-grid > div {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.price-grid span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.chart-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.chart-section h2 {
    font-size: 1.8rem;
    color: #1a202c;
    margin-bottom: 20px;
}

#gramAltinChart {
    width: 100%;
    height: 400px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-card h3::before {
    content: '📊';
    font-size: 1.6rem;
    -webkit-text-fill-color: initial;
    background: none;
}

.stat-card p {
    font-size: 1.05rem;
    color: #2d3748;
    margin: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-card p:last-child {
    border-bottom: none;
}

.stat-card p strong {
    font-weight: 600;
    color: #1a202c;
}

.calculator {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.3);
}

.calculator h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Accordion Styles */
.content-section, .faq-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-section h2, .faq-section h2 {
    font-size: 1.8rem;
    color: #1a202c;
    margin-bottom: 25px;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-header h3,
.accordion-header span:first-child {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
}

.accordion-icon {
    font-size: 1rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 5px;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    will-change: max-height;
}

.accordion-content.active {
    max-height: 2000px;
    padding: 5px;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p,
.accordion-content ul {
    margin: 10px 0;
    color: #4a5568;
    line-height: 1.6;
}

.accordion-content ul {
    padding-left: 20px;
}

.accordion-content li {
    margin: 8px 0;
}

.calc-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.calc-inputs input {
    width: 150px;
    padding: 10px;
    font-size: 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.calc-inputs input:focus {
    outline: none;
    border-color: #667eea;
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.calc-result-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.calc-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.calc-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 1rem;
}

.calc-value {
    font-weight: 700;
    color: #1a202c;
    font-size: 1.2rem;
}

.content-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 20px;
}

.content-section h3 {
    font-size: 1.5rem;
    color: #667eea;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 15px;
}

.content-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-section li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 10px;
}

.faq-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 15px;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

@media (max-width: 768px) {
    .gram-altin-page h1 {
        font-size: 1.8rem;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    .price-hero {
        padding: 25px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    #gramAltinChart {
        height: 300px;
    }
    
    .calc-inputs {
        flex-direction: column;
        font-size: 1.2rem;
    }
    
    .calc-inputs input {
        width: 100%;
    }
}
