/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fcf8f8;
    color: #333333;
    line-height: 1.6;
    padding-bottom: 40px;
}

/* Header Section */
.header-container {
    background-color: #4a154b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px 20px;
    text-align: center;
}

.header-container h1 {
    font-size: 2.2rem;
    font-weight: 600;
}

.header-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Introduction */
.intro-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.intro-section p {
    font-size: 1.1rem;
    color: #555555;
}

/* Shortcuts Section */
.shortcuts-section {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
}

.shortcuts-section h2 {
    margin-bottom: 25px;
    color: #4a154b;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.shortcut-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.shortcut-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(74, 21, 75, 0.15);
}

.shortcut-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.shortcut-card h3 {
    font-size: 1.2rem;
    color: #333;
}

/* Main Content & Positions Layout */
.content-container {
    max-width: 800px;
    margin: 60px auto 0 auto;
    padding: 0 20px;
}

.curvature-section {
    margin-bottom: 60px;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    scroll-margin-top: 20px; /* Gives spacing when using shortcuts */
}

.section-title {
    color: #4a154b;
    border-bottom: 3px solid #ffb7b2;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.position-item {
    margin-bottom: 40px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 30px;
}

.position-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.position-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #222;
}

.position-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #f0f0f0;
}

.position-item p {
    color: #444444;
    font-size: 1.05rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 60px;
    border-top: 1px solid #eaeaea;
    color: #888888;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .header-container {
        flex-direction: column-reverse;
    }
    .header-container h1 {
        font-size: 1.6rem;
    }
}
.ad-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}